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

Theorem clwwlknonmpt2 27460
 Description: (ClWWalksNOn‘𝐺) is an operator mapping a vertex 𝑣 and a nonnegative integer 𝑛 to the set of closed walks on 𝑣 of length 𝑛 as words over the set of vertices in a graph 𝐺. (Contributed by AV, 25-Feb-2022.)
Assertion
Ref Expression
clwwlknonmpt2 (ClWWalksNOn‘𝐺) = (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣})
Distinct variable group:   𝑛,𝐺,𝑣,𝑤

Proof of Theorem clwwlknonmpt2
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6433 . . . 4 (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺))
2 eqidd 2826 . . . 4 (𝑔 = 𝐺 → ℕ0 = ℕ0)
3 oveq2 6913 . . . . 5 (𝑔 = 𝐺 → (𝑛 ClWWalksN 𝑔) = (𝑛 ClWWalksN 𝐺))
43rabeqdv 3407 . . . 4 (𝑔 = 𝐺 → {𝑤 ∈ (𝑛 ClWWalksN 𝑔) ∣ (𝑤‘0) = 𝑣} = {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣})
51, 2, 4mpt2eq123dv 6977 . . 3 (𝑔 = 𝐺 → (𝑣 ∈ (Vtx‘𝑔), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝑔) ∣ (𝑤‘0) = 𝑣}) = (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}))
6 df-clwwlknon 27459 . . 3 ClWWalksNOn = (𝑔 ∈ V ↦ (𝑣 ∈ (Vtx‘𝑔), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝑔) ∣ (𝑤‘0) = 𝑣}))
7 fvex 6446 . . . 4 (Vtx‘𝐺) ∈ V
8 nn0ex 11625 . . . 4 0 ∈ V
97, 8mpt2ex 7510 . . 3 (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}) ∈ V
105, 6, 9fvmpt 6529 . 2 (𝐺 ∈ V → (ClWWalksNOn‘𝐺) = (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}))
11 fvprc 6426 . . 3 𝐺 ∈ V → (ClWWalksNOn‘𝐺) = ∅)
12 fvprc 6426 . . . . 5 𝐺 ∈ V → (Vtx‘𝐺) = ∅)
13 eqidd 2826 . . . . 5 𝐺 ∈ V → ℕ0 = ℕ0)
14 eqidd 2826 . . . . 5 𝐺 ∈ V → {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣} = {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣})
1512, 13, 14mpt2eq123dv 6977 . . . 4 𝐺 ∈ V → (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}) = (𝑣 ∈ ∅, 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}))
16 mpt20 6985 . . . 4 (𝑣 ∈ ∅, 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}) = ∅
1715, 16syl6req 2878 . . 3 𝐺 ∈ V → ∅ = (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}))
1811, 17eqtrd 2861 . 2 𝐺 ∈ V → (ClWWalksNOn‘𝐺) = (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣}))
1910, 18pm2.61i 177 1 (ClWWalksNOn‘𝐺) = (𝑣 ∈ (Vtx‘𝐺), 𝑛 ∈ ℕ0 ↦ {𝑤 ∈ (𝑛 ClWWalksN 𝐺) ∣ (𝑤‘0) = 𝑣})
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   = wceq 1658   ∈ wcel 2166  {crab 3121  Vcvv 3414  ∅c0 4144  ‘cfv 6123  (class class class)co 6905   ↦ cmpt2 6907  0cc0 10252  ℕ0cn0 11618  Vtxcvtx 26294   ClWWalksN cclwwlkn 27362  ClWWalksNOncclwwlknon 27458 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1896  ax-4 1910  ax-5 2011  ax-6 2077  ax-7 2114  ax-8 2168  ax-9 2175  ax-10 2194  ax-11 2209  ax-12 2222  ax-13 2391  ax-ext 2803  ax-rep 4994  ax-sep 5005  ax-nul 5013  ax-pow 5065  ax-pr 5127  ax-un 7209  ax-cnex 10308  ax-1cn 10310  ax-addcl 10312 This theorem depends on definitions:  df-bi 199  df-an 387  df-or 881  df-3or 1114  df-3an 1115  df-tru 1662  df-ex 1881  df-nf 1885  df-sb 2070  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ne 3000  df-ral 3122  df-rex 3123  df-reu 3124  df-rab 3126  df-v 3416  df-sbc 3663  df-csb 3758  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-pss 3814  df-nul 4145  df-if 4307  df-pw 4380  df-sn 4398  df-pr 4400  df-tp 4402  df-op 4404  df-uni 4659  df-iun 4742  df-br 4874  df-opab 4936  df-mpt 4953  df-tr 4976  df-id 5250  df-eprel 5255  df-po 5263  df-so 5264  df-fr 5301  df-we 5303  df-xp 5348  df-rel 5349  df-cnv 5350  df-co 5351  df-dm 5352  df-rn 5353  df-res 5354  df-ima 5355  df-pred 5920  df-ord 5966  df-on 5967  df-lim 5968  df-suc 5969  df-iota 6086  df-fun 6125  df-fn 6126  df-f 6127  df-f1 6128  df-fo 6129  df-f1o 6130  df-fv 6131  df-ov 6908  df-oprab 6909  df-mpt2 6910  df-om 7327  df-1st 7428  df-2nd 7429  df-wrecs 7672  df-recs 7734  df-rdg 7772  df-nn 11351  df-n0 11619  df-clwwlknon 27459 This theorem is referenced by:  clwwlknon  27461  clwwlknonOLD  27462  clwwlk0on0  27465  clwwlknon0  27466  2clwwlk2clwwlklem  27730
 Copyright terms: Public domain W3C validator