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

Theorem wspthsnon 26948
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 26929 . . 3 WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}))
21a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → WSPathsNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤})))
3 fveq2 6344 . . . . . 6 (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺))
4 wwlksnon.v . . . . . 6 𝑉 = (Vtx‘𝐺)
53, 4syl6eqr 2804 . . . . 5 (𝑔 = 𝐺 → (Vtx‘𝑔) = 𝑉)
65adantl 473 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → (Vtx‘𝑔) = 𝑉)
7 oveq12 6814 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑛 WWalksNOn 𝑔) = (𝑁 WWalksNOn 𝐺))
87oveqd 6822 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎(𝑛 WWalksNOn 𝑔)𝑏) = (𝑎(𝑁 WWalksNOn 𝐺)𝑏))
9 fveq2 6344 . . . . . . . . 9 (𝑔 = 𝐺 → (SPathsOn‘𝑔) = (SPathsOn‘𝐺))
109oveqd 6822 . . . . . . . 8 (𝑔 = 𝐺 → (𝑎(SPathsOn‘𝑔)𝑏) = (𝑎(SPathsOn‘𝐺)𝑏))
1110breqd 4807 . . . . . . 7 (𝑔 = 𝐺 → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1211adantl 473 . . . . . 6 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
1312exbidv 1991 . . . . 5 ((𝑛 = 𝑁𝑔 = 𝐺) → (∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤 ↔ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤))
148, 13rabeqbidv 3327 . . . 4 ((𝑛 = 𝑁𝑔 = 𝐺) → {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤} = {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤})
156, 6, 14mpt2eq123dv 6874 . . 3 ((𝑛 = 𝑁𝑔 = 𝐺) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
1615adantl 473 . 2 (((𝑁 ∈ ℕ0𝐺𝑈) ∧ (𝑛 = 𝑁𝑔 = 𝐺)) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑎(𝑛 WWalksNOn 𝑔)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝑔)𝑏)𝑤}) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
17 simpl 474 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝑁 ∈ ℕ0)
18 elex 3344 . . 3 (𝐺𝑈𝐺 ∈ V)
1918adantl 473 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → 𝐺 ∈ V)
20 fvex 6354 . . . . 5 (Vtx‘𝐺) ∈ V
214, 20eqeltri 2827 . . . 4 𝑉 ∈ V
2221, 21mpt2ex 7407 . . 3 (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V
2322a1i 11 . 2 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}) ∈ V)
242, 16, 17, 19, 23ovmpt2d 6945 1 ((𝑁 ∈ ℕ0𝐺𝑈) → (𝑁 WSPathsNOn 𝐺) = (𝑎𝑉, 𝑏𝑉 ↦ {𝑤 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ∣ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑏)𝑤}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1624  wex 1845  wcel 2131  {crab 3046  Vcvv 3332   class class class wbr 4796  cfv 6041  (class class class)co 6805  cmpt2 6807  0cn0 11476  Vtxcvtx 26065  SPathsOncspthson 26813   WWalksNOn cwwlksnon 26922   WSPathsNOn cwwspthsnon 26924
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1863  ax-4 1878  ax-5 1980  ax-6 2046  ax-7 2082  ax-8 2133  ax-9 2140  ax-10 2160  ax-11 2175  ax-12 2188  ax-13 2383  ax-ext 2732  ax-rep 4915  ax-sep 4925  ax-nul 4933  ax-pow 4984  ax-pr 5047  ax-un 7106
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1627  df-ex 1846  df-nf 1851  df-sb 2039  df-eu 2603  df-mo 2604  df-clab 2739  df-cleq 2745  df-clel 2748  df-nfc 2883  df-ne 2925  df-ral 3047  df-rex 3048  df-reu 3049  df-rab 3051  df-v 3334  df-sbc 3569  df-csb 3667  df-dif 3710  df-un 3712  df-in 3714  df-ss 3721  df-nul 4051  df-if 4223  df-pw 4296  df-sn 4314  df-pr 4316  df-op 4320  df-uni 4581  df-iun 4666  df-br 4797  df-opab 4857  df-mpt 4874  df-id 5166  df-xp 5264  df-rel 5265  df-cnv 5266  df-co 5267  df-dm 5268  df-rn 5269  df-res 5270  df-ima 5271  df-iota 6004  df-fun 6043  df-fn 6044  df-f 6045  df-f1 6046  df-fo 6047  df-f1o 6048  df-fv 6049  df-ov 6808  df-oprab 6809  df-mpt2 6810  df-1st 7325  df-2nd 7326  df-wspthsnon 26929
This theorem is referenced by:  iswspthsnon  26953  iswspthsnonOLD  26954
  Copyright terms: Public domain W3C validator