MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  finsumvtxdgeven Structured version   Visualization version   GIF version

Theorem finsumvtxdgeven 29422
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 the handshaking lemma. (Contributed by AV, 22-Dec-2021.)
Hypotheses
Ref Expression
finsumvtxdgeven.v 𝑉 = (Vtxβ€˜πΊ)
finsumvtxdgeven.i 𝐼 = (iEdgβ€˜πΊ)
finsumvtxdgeven.d 𝐷 = (VtxDegβ€˜πΊ)
Assertion
Ref Expression
finsumvtxdgeven ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ 2 βˆ₯ Σ𝑣 ∈ 𝑉 (π·β€˜π‘£))
Distinct variable groups:   𝑣,𝐺   𝑣,𝑉
Allowed substitution hints:   𝐷(𝑣)   𝐼(𝑣)

Proof of Theorem finsumvtxdgeven
StepHypRef Expression
1 hashcl 14347 . . . . 5 (𝐼 ∈ Fin β†’ (β™―β€˜πΌ) ∈ β„•0)
213ad2ant3 1132 . . . 4 ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ (β™―β€˜πΌ) ∈ β„•0)
32nn0zd 12614 . . 3 ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ (β™―β€˜πΌ) ∈ β„€)
4 eqidd 2726 . . 3 ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ (2 Β· (β™―β€˜πΌ)) = (2 Β· (β™―β€˜πΌ)))
5 2teven 16331 . . 3 (((β™―β€˜πΌ) ∈ β„€ ∧ (2 Β· (β™―β€˜πΌ)) = (2 Β· (β™―β€˜πΌ))) β†’ 2 βˆ₯ (2 Β· (β™―β€˜πΌ)))
63, 4, 5syl2anc 582 . 2 ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ 2 βˆ₯ (2 Β· (β™―β€˜πΌ)))
7 finsumvtxdgeven.v . . 3 𝑉 = (Vtxβ€˜πΊ)
8 finsumvtxdgeven.i . . 3 𝐼 = (iEdgβ€˜πΊ)
9 finsumvtxdgeven.d . . 3 𝐷 = (VtxDegβ€˜πΊ)
107, 8, 9finsumvtxdg2size 29420 . 2 ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ Σ𝑣 ∈ 𝑉 (π·β€˜π‘£) = (2 Β· (β™―β€˜πΌ)))
116, 10breqtrrd 5176 1 ((𝐺 ∈ UPGraph ∧ 𝑉 ∈ Fin ∧ 𝐼 ∈ Fin) β†’ 2 βˆ₯ Σ𝑣 ∈ 𝑉 (π·β€˜π‘£))
Colors of variables: wff setvar class
Syntax hints:   β†’ wi 4   ∧ w3a 1084   = wceq 1533   ∈ wcel 2098   class class class wbr 5148  β€˜cfv 6547  (class class class)co 7417  Fincfn 8962   Β· cmul 11143  2c2 12297  β„•0cn0 12502  β„€cz 12588  β™―chash 14321  Ξ£csu 15664   βˆ₯ cdvds 16230  Vtxcvtx 28865  iEdgciedg 28866  UPGraphcupgr 28949  VtxDegcvtxdg 29335
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5364  ax-pr 5428  ax-un 7739  ax-inf2 9664  ax-cnex 11194  ax-resscn 11195  ax-1cn 11196  ax-icn 11197  ax-addcl 11198  ax-addrcl 11199  ax-mulcl 11200  ax-mulrcl 11201  ax-mulcom 11202  ax-addass 11203  ax-mulass 11204  ax-distr 11205  ax-i2m1 11206  ax-1ne0 11207  ax-1rid 11208  ax-rnegex 11209  ax-rrecex 11210  ax-cnre 11211  ax-pre-lttri 11212  ax-pre-lttrn 11213  ax-pre-ltadd 11214  ax-pre-mulgt0 11215  ax-pre-sup 11216
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2931  df-nel 3037  df-ral 3052  df-rex 3061  df-rmo 3364  df-reu 3365  df-rab 3420  df-v 3465  df-sbc 3775  df-csb 3891  df-dif 3948  df-un 3950  df-in 3952  df-ss 3962  df-pss 3965  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4909  df-int 4950  df-iun 4998  df-disj 5114  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-se 5633  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6305  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6499  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-isom 6556  df-riota 7373  df-ov 7420  df-oprab 7421  df-mpo 7422  df-om 7870  df-1st 7992  df-2nd 7993  df-frecs 8285  df-wrecs 8316  df-recs 8390  df-rdg 8429  df-1o 8485  df-2o 8486  df-oadd 8489  df-er 8723  df-en 8963  df-dom 8964  df-sdom 8965  df-fin 8966  df-sup 9465  df-oi 9533  df-dju 9924  df-card 9962  df-pnf 11280  df-mnf 11281  df-xr 11282  df-ltxr 11283  df-le 11284  df-sub 11476  df-neg 11477  df-div 11902  df-nn 12243  df-2 12305  df-3 12306  df-n0 12503  df-xnn0 12575  df-z 12589  df-uz 12853  df-rp 13007  df-xadd 13125  df-fz 13517  df-fzo 13660  df-seq 13999  df-exp 14059  df-hash 14322  df-cj 15078  df-re 15079  df-im 15080  df-sqrt 15214  df-abs 15215  df-clim 15464  df-sum 15665  df-dvds 16231  df-vtx 28867  df-iedg 28868  df-edg 28917  df-uhgr 28927  df-upgr 28951  df-vtxdg 29336
This theorem is referenced by:  vtxdgoddnumeven  29423
  Copyright terms: Public domain W3C validator