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

Theorem numclwwlk1lem2 30519
Description: The set of double loops of length 𝑁 on vertex 𝑋 and the set of closed walks of length less by 2 on 𝑋 combined with the neighbors of 𝑋 are equinumerous. (Contributed by Alexander van der Vekens, 6-Jul-2018.) (Revised by AV, 29-May-2021.) (Revised by AV, 31-Jul-2022.) (Proof shortened by AV, 3-Nov-2022.)
Hypotheses
Ref Expression
extwwlkfab.v 𝑉 = (Vtx‘𝐺)
extwwlkfab.c 𝐶 = (𝑣𝑉, 𝑛 ∈ (ℤ‘2) ↦ {𝑤 ∈ (𝑣(ClWWalksNOn‘𝐺)𝑛) ∣ (𝑤‘(𝑛 − 2)) = 𝑣})
extwwlkfab.f 𝐹 = (𝑋(ClWWalksNOn‘𝐺)(𝑁 − 2))
Assertion
Ref Expression
numclwwlk1lem2 ((𝐺 ∈ USGraph ∧ 𝑋𝑉𝑁 ∈ (ℤ‘3)) → (𝑋𝐶𝑁) ≈ (𝐹 × (𝐺 NeighbVtx 𝑋)))
Distinct variable groups:   𝑛,𝐺,𝑣,𝑤   𝑛,𝑁,𝑣,𝑤   𝑛,𝑉,𝑣,𝑤   𝑛,𝑋,𝑣,𝑤   𝑤,𝐹
Allowed substitution hints:   𝐶(𝑤,𝑣,𝑛)   𝐹(𝑣,𝑛)

Proof of Theorem numclwwlk1lem2
Dummy variables 𝑢 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 extwwlkfab.v . . 3 𝑉 = (Vtx‘𝐺)
2 extwwlkfab.c . . 3 𝐶 = (𝑣𝑉, 𝑛 ∈ (ℤ‘2) ↦ {𝑤 ∈ (𝑣(ClWWalksNOn‘𝐺)𝑛) ∣ (𝑤‘(𝑛 − 2)) = 𝑣})
3 extwwlkfab.f . . 3 𝐹 = (𝑋(ClWWalksNOn‘𝐺)(𝑁 − 2))
4 oveq1 7398 . . . . 5 (𝑥 = 𝑢 → (𝑥 prefix (𝑁 − 2)) = (𝑢 prefix (𝑁 − 2)))
5 fveq1 6861 . . . . 5 (𝑥 = 𝑢 → (𝑥‘(𝑁 − 1)) = (𝑢‘(𝑁 − 1)))
64, 5opeq12d 4836 . . . 4 (𝑥 = 𝑢 → ⟨(𝑥 prefix (𝑁 − 2)), (𝑥‘(𝑁 − 1))⟩ = ⟨(𝑢 prefix (𝑁 − 2)), (𝑢‘(𝑁 − 1))⟩)
76cbvmptv 5201 . . 3 (𝑥 ∈ (𝑋𝐶𝑁) ↦ ⟨(𝑥 prefix (𝑁 − 2)), (𝑥‘(𝑁 − 1))⟩) = (𝑢 ∈ (𝑋𝐶𝑁) ↦ ⟨(𝑢 prefix (𝑁 − 2)), (𝑢‘(𝑁 − 1))⟩)
81, 2, 3, 7numclwwlk1lem2f1o 30518 . 2 ((𝐺 ∈ USGraph ∧ 𝑋𝑉𝑁 ∈ (ℤ‘3)) → (𝑥 ∈ (𝑋𝐶𝑁) ↦ ⟨(𝑥 prefix (𝑁 − 2)), (𝑥‘(𝑁 − 1))⟩):(𝑋𝐶𝑁)–1-1-onto→(𝐹 × (𝐺 NeighbVtx 𝑋)))
9 ovex 7424 . . 3 (𝑋𝐶𝑁) ∈ V
109f1oen 8947 . 2 ((𝑥 ∈ (𝑋𝐶𝑁) ↦ ⟨(𝑥 prefix (𝑁 − 2)), (𝑥‘(𝑁 − 1))⟩):(𝑋𝐶𝑁)–1-1-onto→(𝐹 × (𝐺 NeighbVtx 𝑋)) → (𝑋𝐶𝑁) ≈ (𝐹 × (𝐺 NeighbVtx 𝑋)))
118, 10syl 17 1 ((𝐺 ∈ USGraph ∧ 𝑋𝑉𝑁 ∈ (ℤ‘3)) → (𝑋𝐶𝑁) ≈ (𝐹 × (𝐺 NeighbVtx 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1097   = wceq 1559  wcel 2141  {crab 3413  cop 4585   class class class wbr 5097  cmpt 5178   × cxp 5641  1-1-ontowf1o 6515  cfv 6516  (class class class)co 7391  cmpo 7393  cen 8918  1c1 11068  cmin 11408  2c2 12266  3c3 12267  cuz 12833   prefix cpfx 14678  Vtxcvtx 29154  USGraphcusgr 29307   NeighbVtx cnbgr 29490  ClWWalksNOncclwwlknon 30246
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5224  ax-sep 5243  ax-nul 5253  ax-pow 5319  ax-pr 5387  ax-un 7713  ax-cnex 11123  ax-resscn 11124  ax-1cn 11125  ax-icn 11126  ax-addcl 11127  ax-addrcl 11128  ax-mulcl 11129  ax-mulrcl 11130  ax-mulcom 11131  ax-addass 11132  ax-mulass 11133  ax-distr 11134  ax-i2m1 11135  ax-1ne0 11136  ax-1rid 11137  ax-rnegex 11138  ax-rrecex 11139  ax-cnre 11140  ax-pre-lttri 11141  ax-pre-lttrn 11142  ax-pre-ltadd 11143  ax-pre-mulgt0 11144
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3061  df-ral 3076  df-rex 3086  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4580  df-pr 4582  df-op 4586  df-uni 4863  df-int 4903  df-iun 4948  df-br 5098  df-opab 5160  df-mpt 5179  df-tr 5205  df-id 5538  df-eprel 5543  df-po 5551  df-so 5552  df-fr 5596  df-we 5598  df-xp 5649  df-rel 5650  df-cnv 5651  df-co 5652  df-dm 5653  df-rn 5654  df-res 5655  df-ima 5656  df-pred 6283  df-ord 6344  df-on 6345  df-lim 6346  df-suc 6347  df-iota 6472  df-fun 6518  df-fn 6519  df-f 6520  df-f1 6521  df-fo 6522  df-f1o 6523  df-fv 6524  df-riota 7348  df-ov 7394  df-oprab 7395  df-mpo 7396  df-om 7842  df-1st 7965  df-2nd 7966  df-frecs 8256  df-wrecs 8287  df-recs 8336  df-rdg 8375  df-1o 8431  df-2o 8432  df-oadd 8435  df-er 8672  df-map 8804  df-en 8922  df-dom 8923  df-sdom 8924  df-fin 8925  df-dju 9853  df-card 9891  df-pnf 11212  df-mnf 11213  df-xr 11214  df-ltxr 11215  df-le 11216  df-sub 11410  df-neg 11411  df-nn 12205  df-2 12274  df-3 12275  df-n0 12476  df-xnn0 12549  df-z 12563  df-uz 12834  df-rp 12988  df-fz 13507  df-fzo 13654  df-hash 14338  df-word 14521  df-lsw 14570  df-concat 14578  df-s1 14604  df-substr 14649  df-pfx 14679  df-s2 14855  df-edg 29206  df-upgr 29240  df-umgr 29241  df-usgr 29309  df-nbgr 29491  df-wwlks 29987  df-wwlksn 29988  df-clwwlk 30141  df-clwwlkn 30184  df-clwwlknon 30247
This theorem is referenced by:  numclwwlk1  30520
  Copyright terms: Public domain W3C validator