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

Theorem wspthsnon 28196
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 28178 . . 3 WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}))
21a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤})))
3 fveq2 6768 . . . . . 6 (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺))
4 wwlksnon.v . . . . . 6 𝑉 = (Vtx‘𝐺)
53, 4eqtr4di 2797 . . . . 5 (𝑔 = 𝐺 → (Vtx‘𝑔) = 𝑉)
65adantl 481 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → (Vtx‘𝑔) = 𝑉)
7 oveq12 7277 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑛 WWalksNOn 𝑔) = (𝑁 WWalksNOn 𝐺))
87oveqd 7285 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎(𝑛 WWalksNOn 𝑔)𝑏) = (𝑎(𝑁 WWalksNOn 𝐺)𝑏))
9 fveq2 6768 . . . . . . . . 9 (𝑔 = 𝐺 → (SPathsOn‘𝑔) = (SPathsOn‘𝐺))
109oveqd 7285 . . . . . . . 8 (𝑔 = 𝐺 → (𝑎(SPathsOn‘𝑔)𝑏) = (𝑎(SPathsOn‘𝐺)𝑏))
1110breqd 5089 . . . . . . 7 (𝑔 = 𝐺 → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1211adantl 481 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1312exbidv 1927 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤 ↔ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
148, 13rabeqbidv 3418 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤} = {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤})
156, 6, 14mpoeq123dv 7341 . . 3 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
1615adantl 481 . 2 (((𝑁 ∈ ℕ0𝐺𝑈) ∧ (𝑛 = 𝑁𝑔 = 𝐺)) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
17 simpl 482 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝑁 ∈ ℕ0)
18 elex 3448 . . 3 (𝐺𝑈𝐺 ∈ V)
1918adantl 481 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝐺 ∈ V)
204fvexi 6782 . . . 4 𝑉 ∈ V
2120, 20mpoex 7906 . . 3 (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V
2221a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V)
232, 16, 17, 19, 22ovmpod 7416 1 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑁 WSPathsNOn 𝐺) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1541  wex 1785  wcel 2109  {crab 3069  Vcvv 3430   class class class wbr 5078  cfv 6430  (class class class)co 7268  cmpo 7270  0cn0 12216  Vtxcvtx 27347  SPathsOncspthson 28062   WWalksNOn cwwlksnon 28171   WSPathsNOn cwwspthsnon 28173
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-ov 7271  df-oprab 7272  df-mpo 7273  df-1st 7817  df-2nd 7818  df-wspthsnon 28178
This theorem is referenced by:  iswspthsnon  28200
  Copyright terms: Public domain W3C validator