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

Theorem clwlksndivn 30158
Description: The size of the set of closed walks of prime length 𝑁 is divisible by 𝑁. This corresponds to statement 9 in [Huneke] p. 2: "It follows that, if p is a prime number, then the number of closed walks of length p is divisible by p". (Contributed by Alexander van der Vekens, 6-Jul-2018.) (Revised by AV, 4-May-2021.)
Assertion
Ref Expression
clwlksndivn ((𝐺 ∈ FinUSGraph ∧ 𝑁 ∈ ℙ) → 𝑁 ∥ (♯‘{𝑐 ∈ (ClWalks‘𝐺) ∣ (♯‘(1st𝑐)) = 𝑁}))
Distinct variable groups:   𝐺,𝑐   𝑁,𝑐

Proof of Theorem clwlksndivn
StepHypRef Expression
1 clwwlkndivn 30152 . 2 ((𝐺 ∈ FinUSGraph ∧ 𝑁 ∈ ℙ) → 𝑁 ∥ (♯‘(𝑁 ClWWalksN 𝐺)))
2 fusgrusgr 29393 . . . 4 (𝐺 ∈ FinUSGraph → 𝐺 ∈ USGraph)
3 usgruspgr 29251 . . . 4 (𝐺 ∈ USGraph → 𝐺 ∈ USPGraph)
42, 3syl 17 . . 3 (𝐺 ∈ FinUSGraph → 𝐺 ∈ USPGraph)
5 prmnn 16645 . . 3 (𝑁 ∈ ℙ → 𝑁 ∈ ℕ)
6 clwlkssizeeq 30157 . . 3 ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (♯‘(𝑁 ClWWalksN 𝐺)) = (♯‘{𝑐 ∈ (ClWalks‘𝐺) ∣ (♯‘(1st𝑐)) = 𝑁}))
74, 5, 6syl2an 597 . 2 ((𝐺 ∈ FinUSGraph ∧ 𝑁 ∈ ℙ) → (♯‘(𝑁 ClWWalksN 𝐺)) = (♯‘{𝑐 ∈ (ClWalks‘𝐺) ∣ (♯‘(1st𝑐)) = 𝑁}))
81, 7breqtrd 5112 1 ((𝐺 ∈ FinUSGraph ∧ 𝑁 ∈ ℙ) → 𝑁 ∥ (♯‘{𝑐 ∈ (ClWalks‘𝐺) ∣ (♯‘(1st𝑐)) = 𝑁}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  {crab 3390   class class class wbr 5086  cfv 6500  (class class class)co 7369  1st c1st 7942  cn 12176  chash 14294  cdvds 16223  cprime 16642  USPGraphcuspgr 29219  USGraphcusgr 29220  FinUSGraphcfusgr 29387  ClWalkscclwlks 29840   ClWWalksN cclwwlkn 30096
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5213  ax-sep 5232  ax-nul 5242  ax-pow 5308  ax-pr 5376  ax-un 7691  ax-inf2 9564  ax-cnex 11096  ax-resscn 11097  ax-1cn 11098  ax-icn 11099  ax-addcl 11100  ax-addrcl 11101  ax-mulcl 11102  ax-mulrcl 11103  ax-mulcom 11104  ax-addass 11105  ax-mulass 11106  ax-distr 11107  ax-i2m1 11108  ax-1ne0 11109  ax-1rid 11110  ax-rnegex 11111  ax-rrecex 11112  ax-cnre 11113  ax-pre-lttri 11114  ax-pre-lttrn 11115  ax-pre-ltadd 11116  ax-pre-mulgt0 11117  ax-pre-sup 11118
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-ifp 1064  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-rmo 3343  df-reu 3344  df-rab 3391  df-v 3432  df-sbc 3730  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-pss 3910  df-nul 4275  df-if 4468  df-pw 4544  df-sn 4569  df-pr 4571  df-op 4575  df-uni 4852  df-int 4891  df-iun 4936  df-disj 5054  df-br 5087  df-opab 5149  df-mpt 5168  df-tr 5194  df-id 5527  df-eprel 5532  df-po 5540  df-so 5541  df-fr 5585  df-se 5586  df-we 5587  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-pred 6267  df-ord 6328  df-on 6329  df-lim 6330  df-suc 6331  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-isom 6509  df-riota 7326  df-ov 7372  df-oprab 7373  df-mpo 7374  df-om 7820  df-1st 7944  df-2nd 7945  df-frecs 8233  df-wrecs 8264  df-recs 8313  df-rdg 8351  df-1o 8407  df-2o 8408  df-oadd 8411  df-er 8645  df-ec 8647  df-qs 8651  df-map 8777  df-pm 8778  df-en 8896  df-dom 8897  df-sdom 8898  df-fin 8899  df-sup 9357  df-inf 9358  df-oi 9427  df-dju 9827  df-card 9865  df-pnf 11183  df-mnf 11184  df-xr 11185  df-ltxr 11186  df-le 11187  df-sub 11381  df-neg 11382  df-div 11810  df-nn 12177  df-2 12246  df-3 12247  df-n0 12440  df-xnn0 12513  df-z 12527  df-uz 12791  df-rp 12945  df-ico 13306  df-fz 13464  df-fzo 13611  df-fl 13753  df-mod 13831  df-seq 13966  df-exp 14026  df-hash 14295  df-word 14478  df-lsw 14527  df-concat 14535  df-s1 14561  df-substr 14606  df-pfx 14636  df-reps 14733  df-csh 14753  df-cj 15063  df-re 15064  df-im 15065  df-sqrt 15199  df-abs 15200  df-clim 15452  df-sum 15651  df-dvds 16224  df-gcd 16466  df-prm 16643  df-phi 16738  df-edg 29119  df-uhgr 29129  df-upgr 29153  df-umgr 29154  df-uspgr 29221  df-usgr 29222  df-fusgr 29388  df-wlks 29670  df-clwlks 29841  df-clwwlk 30054  df-clwwlkn 30097
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator