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

Theorem dlwwlknondlwlknonen 30793
Description: The sets of the two representations of double loops of a fixed length on a fixed vertex are equinumerous. (Contributed by AV, 30-May-2022.) (Proof shortened by AV, 3-Nov-2022.)
Hypotheses
Ref Expression
dlwwlknondlwlknonbij.v 𝑉 = (Vtx‘𝐺)
dlwwlknondlwlknonbij.w 𝑊 = {𝑤 ∈ (ClWalks‘𝐺) ∣ ((♯‘(1st𝑤)) = 𝑁 ∧ ((2nd𝑤)‘0) = 𝑋 ∧ ((2nd𝑤)‘(𝑁 − 2)) = 𝑋)}
dlwwlknondlwlknonbij.d 𝐷 = {𝑤 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ∣ (𝑤‘(𝑁 − 2)) = 𝑋}
Assertion
Ref Expression
dlwwlknondlwlknonen ((𝐺 ∈ USPGraph ∧ 𝑋𝑉𝑁 ∈ (ℤ‘2)) → 𝑊𝐷)
Distinct variable groups:   𝑤,𝐺   𝑤,𝑁   𝑤,𝑋
Allowed substitution hints:   𝐷(𝑤)   𝑉(𝑤)   𝑊(𝑤)

Proof of Theorem dlwwlknondlwlknonen
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 dlwwlknondlwlknonbij.w . . 3 𝑊 = {𝑤 ∈ (ClWalks‘𝐺) ∣ ((♯‘(1st𝑤)) = 𝑁 ∧ ((2nd𝑤)‘0) = 𝑋 ∧ ((2nd𝑤)‘(𝑁 − 2)) = 𝑋)}
2 fvex 6899 . . 3 (ClWalks‘𝐺) ∈ V
31, 2rabex2 5313 . 2 𝑊 ∈ V
4 dlwwlknondlwlknonbij.d . . 3 𝐷 = {𝑤 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ∣ (𝑤‘(𝑁 − 2)) = 𝑋}
5 ovex 7453 . . 3 (𝑋(ClWWalksNOn‘𝐺)𝑁) ∈ V
64, 5rabex2 5313 . 2 𝐷 ∈ V
7 dlwwlknondlwlknonbij.v . . 3 𝑉 = (Vtx‘𝐺)
8 eqid 2765 . . 3 (𝑐𝑊 ↦ ((2nd𝑐) prefix (♯‘(1st𝑐)))) = (𝑐𝑊 ↦ ((2nd𝑐) prefix (♯‘(1st𝑐))))
97, 1, 4, 8dlwwlknondlwlknonf1o 30792 . 2 ((𝐺 ∈ USPGraph ∧ 𝑋𝑉𝑁 ∈ (ℤ‘2)) → (𝑐𝑊 ↦ ((2nd𝑐) prefix (♯‘(1st𝑐)))):𝑊1-1-onto𝐷)
10 f1oen2g 8972 . 2 ((𝑊 ∈ V ∧ 𝐷 ∈ V ∧ (𝑐𝑊 ↦ ((2nd𝑐) prefix (♯‘(1st𝑐)))):𝑊1-1-onto𝐷) → 𝑊𝐷)
113, 6, 9, 10mp3an12i 1494 1 ((𝐺 ∈ USPGraph ∧ 𝑋𝑉𝑁 ∈ (ℤ‘2)) → 𝑊𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  w3a 1103   = wceq 1570  wcel 2146  {crab 3418  Vcvv 3457   class class class wbr 5111  cmpt 5194  1-1-ontowf1o 6540  cfv 6541  (class class class)co 7420  1st c1st 7991  2nd c2nd 7992  cen 8947  0cc0 11120  cmin 11461  2c2 12315  cuz 12883  chash 14389   prefix cpfx 14735  Vtxcvtx 29406  USPGraphcuspgr 29561  ClWalkscclwlks 30189  ClWWalksNOncclwwlknon 30510
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-rep 5240  ax-sep 5259  ax-nul 5271  ax-pow 5338  ax-pr 5406  ax-un 7743  ax-cnex 11176  ax-resscn 11177  ax-1cn 11178  ax-icn 11179  ax-addcl 11180  ax-addrcl 11181  ax-mulcl 11182  ax-mulrcl 11183  ax-mulcom 11184  ax-addass 11185  ax-mulass 11186  ax-distr 11187  ax-i2m1 11188  ax-1ne0 11189  ax-1rid 11190  ax-rnegex 11191  ax-rrecex 11192  ax-cnre 11193  ax-pre-lttri 11194  ax-pre-lttrn 11195  ax-pre-ltadd 11196  ax-pre-mulgt0 11197
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1079  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-nel 3067  df-ral 3082  df-rex 3092  df-reu 3372  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-int 4915  df-iun 4960  df-br 5112  df-opab 5176  df-mpt 5195  df-tr 5221  df-id 5558  df-eprel 5563  df-po 5571  df-so 5572  df-fr 5616  df-we 5618  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7870  df-1st 7993  df-2nd 7994  df-frecs 8285  df-wrecs 8316  df-recs 8365  df-rdg 8404  df-1o 8460  df-2o 8461  df-oadd 8464  df-er 8701  df-map 8833  df-pm 8834  df-en 8951  df-dom 8952  df-sdom 8953  df-fin 8954  df-dju 9904  df-card 9942  df-pnf 11265  df-mnf 11266  df-xr 11267  df-ltxr 11268  df-le 11269  df-sub 11463  df-neg 11464  df-nn 12254  df-2 12323  df-n0 12525  df-xnn0 12598  df-z 12612  df-uz 12884  df-rp 13038  df-fz 13557  df-fzo 13705  df-hash 14390  df-word 14574  df-lsw 14623  df-concat 14631  df-s1 14658  df-substr 14704  df-pfx 14736  df-edg 29458  df-uhgr 29468  df-upgr 29492  df-uspgr 29563  df-wlks 30012  df-clwlks 30190  df-clwwlk 30405  df-clwwlkn 30448  df-clwwlknon 30511
This theorem is used by:  numclwlk1lem2  30797
  Copyright terms: Public domain W3C validator