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

Theorem wspthsnon 27936
Description: The set of simple paths of a fixed length between two vertices as word. (Contributed by Alexander van der Vekens, 1-Mar-2018.) (Revised by AV, 11-May-2021.)
Hypothesis
Ref Expression
wwlksnon.v 𝑉 = (Vtx‘𝐺)
Assertion
Ref Expression
wspthsnon ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑁 WSPathsNOn 𝐺) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
Distinct variable groups:   𝐺,𝑎,𝑏,𝑤   𝑁,𝑎,𝑏,𝑤   𝑉,𝑎,𝑏   𝑓,𝐺,𝑎,𝑏,𝑤   𝑓,𝑁
Allowed substitution hints:   𝑈(𝑤,𝑓,𝑎,𝑏)   𝑉(𝑤,𝑓)

Proof of Theorem wspthsnon
Dummy variables 𝑔 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-wspthsnon 27918 . . 3 WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}))
21a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤})))
3 fveq2 6717 . . . . . 6 (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺))
4 wwlksnon.v . . . . . 6 𝑉 = (Vtx‘𝐺)
53, 4eqtr4di 2796 . . . . 5 (𝑔 = 𝐺 → (Vtx‘𝑔) = 𝑉)
65adantl 485 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → (Vtx‘𝑔) = 𝑉)
7 oveq12 7222 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑛 WWalksNOn 𝑔) = (𝑁 WWalksNOn 𝐺))
87oveqd 7230 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎(𝑛 WWalksNOn 𝑔)𝑏) = (𝑎(𝑁 WWalksNOn 𝐺)𝑏))
9 fveq2 6717 . . . . . . . . 9 (𝑔 = 𝐺 → (SPathsOn‘𝑔) = (SPathsOn‘𝐺))
109oveqd 7230 . . . . . . . 8 (𝑔 = 𝐺 → (𝑎(SPathsOn‘𝑔)𝑏) = (𝑎(SPathsOn‘𝐺)𝑏))
1110breqd 5064 . . . . . . 7 (𝑔 = 𝐺 → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1211adantl 485 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1312exbidv 1929 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤 ↔ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
148, 13rabeqbidv 3396 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤} = {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤})
156, 6, 14mpoeq123dv 7286 . . 3 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
1615adantl 485 . 2 (((𝑁 ∈ ℕ0𝐺𝑈) ∧ (𝑛 = 𝑁𝑔 = 𝐺)) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
17 simpl 486 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝑁 ∈ ℕ0)
18 elex 3426 . . 3 (𝐺𝑈𝐺 ∈ V)
1918adantl 485 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝐺 ∈ V)
204fvexi 6731 . . . 4 𝑉 ∈ V
2120, 20mpoex 7850 . . 3 (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V
2221a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V)
232, 16, 17, 19, 22ovmpod 7361 1 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑁 WSPathsNOn 𝐺) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wex 1787  wcel 2110  {crab 3065  Vcvv 3408   class class class wbr 5053  cfv 6380  (class class class)co 7213  cmpo 7215  0cn0 12090  Vtxcvtx 27087  SPathsOncspthson 27802   WWalksNOn cwwlksnon 27911   WSPathsNOn cwwspthsnon 27913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-ov 7216  df-oprab 7217  df-mpo 7218  df-1st 7761  df-2nd 7762  df-wspthsnon 27918
This theorem is referenced by:  iswspthsnon  27940
  Copyright terms: Public domain W3C validator