Metamath Proof Explorer


Theorem fusgr1th

Description: The sum of the degrees of all vertices of a finite simple graph is twice the size of the graph. See equation (1) in section I.1 in Bollobas p. 4. Also known as the "First Theorem of Graph Theory" (see https://charlesreid1.com/wiki/First_Theorem_of_Graph_Theory ). (Contributed by AV, 26-Dec-2021)

Ref Expression
Hypotheses sumvtxdg2size.v V=VtxG
sumvtxdg2size.i I=iEdgG
sumvtxdg2size.d D=VtxDegG
Assertion fusgr1th GFinUSGraphvVDv=2I

Proof

Step Hyp Ref Expression
1 sumvtxdg2size.v V=VtxG
2 sumvtxdg2size.i I=iEdgG
3 sumvtxdg2size.d D=VtxDegG
4 1 2 fusgrfupgrfs GFinUSGraphGUPGraphVFinIFin
5 1 2 3 finsumvtxdg2size GUPGraphVFinIFinvVDv=2I
6 4 5 syl GFinUSGraphvVDv=2I