Metamath Proof Explorer


Theorem finsumvtxdgeven

Description: The sum of the degrees of all vertices of a finite pseudograph of finite size is even. See equation (2) in section I.1 in Bollobas p. 4, where it is also called thehandshaking lemma. (Contributed by AV, 22-Dec-2021)

Ref Expression
Hypotheses finsumvtxdgeven.v V=VtxG
finsumvtxdgeven.i I=iEdgG
finsumvtxdgeven.d D=VtxDegG
Assertion finsumvtxdgeven GUPGraphVFinIFin2vVDv

Proof

Step Hyp Ref Expression
1 finsumvtxdgeven.v V=VtxG
2 finsumvtxdgeven.i I=iEdgG
3 finsumvtxdgeven.d D=VtxDegG
4 hashcl IFinI0
5 4 3ad2ant3 GUPGraphVFinIFinI0
6 5 nn0zd GUPGraphVFinIFinI
7 eqidd GUPGraphVFinIFin2I=2I
8 2teven I2I=2I22I
9 6 7 8 syl2anc GUPGraphVFinIFin22I
10 1 2 3 finsumvtxdg2size GUPGraphVFinIFinvVDv=2I
11 9 10 breqtrrd GUPGraphVFinIFin2vVDv