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

Theorem wspthsnon 28266
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 28248 . . 3 WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}))
21a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤})))
3 fveq2 6804 . . . . . 6 (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺))
4 wwlksnon.v . . . . . 6 𝑉 = (Vtx‘𝐺)
53, 4eqtr4di 2794 . . . . 5 (𝑔 = 𝐺 → (Vtx‘𝑔) = 𝑉)
65adantl 483 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → (Vtx‘𝑔) = 𝑉)
7 oveq12 7316 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑛 WWalksNOn 𝑔) = (𝑁 WWalksNOn 𝐺))
87oveqd 7324 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎(𝑛 WWalksNOn 𝑔)𝑏) = (𝑎(𝑁 WWalksNOn 𝐺)𝑏))
9 fveq2 6804 . . . . . . . . 9 (𝑔 = 𝐺 → (SPathsOn‘𝑔) = (SPathsOn‘𝐺))
109oveqd 7324 . . . . . . . 8 (𝑔 = 𝐺 → (𝑎(SPathsOn‘𝑔)𝑏) = (𝑎(SPathsOn‘𝐺)𝑏))
1110breqd 5092 . . . . . . 7 (𝑔 = 𝐺 → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1211adantl 483 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1312exbidv 1922 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤 ↔ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
148, 13rabeqbidv 3427 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤} = {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤})
156, 6, 14mpoeq123dv 7382 . . 3 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
1615adantl 483 . 2 (((𝑁 ∈ ℕ0𝐺𝑈) ∧ (𝑛 = 𝑁𝑔 = 𝐺)) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
17 simpl 484 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝑁 ∈ ℕ0)
18 elex 3455 . . 3 (𝐺𝑈𝐺 ∈ V)
1918adantl 483 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝐺 ∈ V)
204fvexi 6818 . . . 4 𝑉 ∈ V
2120, 20mpoex 7952 . . 3 (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V
2221a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V)
232, 16, 17, 19, 22ovmpod 7457 1 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑁 WSPathsNOn 𝐺) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1539  wex 1779  wcel 2104  {crab 3303  Vcvv 3437   class class class wbr 5081  cfv 6458  (class class class)co 7307  cmpo 7309  0cn0 12283  Vtxcvtx 27415  SPathsOncspthson 28132   WWalksNOn cwwlksnon 28241   WSPathsNOn cwwspthsnon 28243
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3305  df-rab 3306  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-ov 7310  df-oprab 7311  df-mpo 7312  df-1st 7863  df-2nd 7864  df-wspthsnon 28248
This theorem is referenced by:  iswspthsnon  28270
  Copyright terms: Public domain W3C validator