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

Theorem wpthswwlks2on 27082
 Description: For two different vertices, a walk of length 2 between these vertices is a simple path of length 2 between these vertices in a simple graph. (Contributed by Alexander van der Vekens, 2-Mar-2018.) (Revised by AV, 13-May-2021.) (Revised by AV, 16-Mar-2022.)
Assertion
Ref Expression
wpthswwlks2on ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (𝐴(2 WSPathsNOn 𝐺)𝐵) = (𝐴(2 WWalksNOn 𝐺)𝐵))

Proof of Theorem wpthswwlks2on
Dummy variables 𝑓 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wwlknon 26963 . . . . . . 7 (𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ (𝑤 ∈ (2 WWalksN 𝐺) ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵))
21a1i 11 . . . . . 6 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ↔ (𝑤 ∈ (2 WWalksN 𝐺) ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)))
32anbi1d 743 . . . . 5 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → ((𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤) ↔ ((𝑤 ∈ (2 WWalksN 𝐺) ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
4 3anass 1081 . . . . . . 7 ((𝑤 ∈ (2 WWalksN 𝐺) ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ↔ (𝑤 ∈ (2 WWalksN 𝐺) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)))
54anbi1i 733 . . . . . 6 (((𝑤 ∈ (2 WWalksN 𝐺) ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤) ↔ ((𝑤 ∈ (2 WWalksN 𝐺) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))
6 anass 684 . . . . . 6 (((𝑤 ∈ (2 WWalksN 𝐺) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤) ↔ (𝑤 ∈ (2 WWalksN 𝐺) ∧ (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
75, 6bitri 264 . . . . 5 (((𝑤 ∈ (2 WWalksN 𝐺) ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤) ↔ (𝑤 ∈ (2 WWalksN 𝐺) ∧ (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
83, 7syl6bb 276 . . . 4 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → ((𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤) ↔ (𝑤 ∈ (2 WWalksN 𝐺) ∧ (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))))
98rabbidva2 3326 . . 3 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → {𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∣ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤} = {𝑤 ∈ (2 WWalksN 𝐺) ∣ (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)})
10 usgrupgr 26276 . . . . . . . . . . 11 (𝐺 ∈ USGraph → 𝐺 ∈ UPGraph)
11 wlklnwwlknupgr 26995 . . . . . . . . . . 11 (𝐺 ∈ UPGraph → (∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) ↔ 𝑤 ∈ (2 WWalksN 𝐺)))
1210, 11syl 17 . . . . . . . . . 10 (𝐺 ∈ USGraph → (∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) ↔ 𝑤 ∈ (2 WWalksN 𝐺)))
1312bicomd 213 . . . . . . . . 9 (𝐺 ∈ USGraph → (𝑤 ∈ (2 WWalksN 𝐺) ↔ ∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)))
1413adantr 472 . . . . . . . 8 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (𝑤 ∈ (2 WWalksN 𝐺) ↔ ∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)))
15 simprl 811 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → 𝑓(Walks‘𝐺)𝑤)
16 simprl 811 . . . . . . . . . . . . . . 15 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) → (𝑤‘0) = 𝐴)
1716adantr 472 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝑤‘0) = 𝐴)
18 fveq2 6352 . . . . . . . . . . . . . . . 16 ((♯‘𝑓) = 2 → (𝑤‘(♯‘𝑓)) = (𝑤‘2))
1918ad2antll 767 . . . . . . . . . . . . . . 15 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝑤‘(♯‘𝑓)) = (𝑤‘2))
20 simprr 813 . . . . . . . . . . . . . . . 16 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) → (𝑤‘2) = 𝐵)
2120adantr 472 . . . . . . . . . . . . . . 15 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝑤‘2) = 𝐵)
2219, 21eqtrd 2794 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝑤‘(♯‘𝑓)) = 𝐵)
23 eqid 2760 . . . . . . . . . . . . . . . . . . . . . 22 (Vtx‘𝐺) = (Vtx‘𝐺)
2423wlkp 26722 . . . . . . . . . . . . . . . . . . . . 21 (𝑓(Walks‘𝐺)𝑤𝑤:(0...(♯‘𝑓))⟶(Vtx‘𝐺))
25 oveq2 6821 . . . . . . . . . . . . . . . . . . . . . 22 ((♯‘𝑓) = 2 → (0...(♯‘𝑓)) = (0...2))
2625feq2d 6192 . . . . . . . . . . . . . . . . . . . . 21 ((♯‘𝑓) = 2 → (𝑤:(0...(♯‘𝑓))⟶(Vtx‘𝐺) ↔ 𝑤:(0...2)⟶(Vtx‘𝐺)))
2724, 26syl5ibcom 235 . . . . . . . . . . . . . . . . . . . 20 (𝑓(Walks‘𝐺)𝑤 → ((♯‘𝑓) = 2 → 𝑤:(0...2)⟶(Vtx‘𝐺)))
2827imp 444 . . . . . . . . . . . . . . . . . . 19 ((𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → 𝑤:(0...2)⟶(Vtx‘𝐺))
29 id 22 . . . . . . . . . . . . . . . . . . . . 21 (𝑤:(0...2)⟶(Vtx‘𝐺) → 𝑤:(0...2)⟶(Vtx‘𝐺))
30 2nn0 11501 . . . . . . . . . . . . . . . . . . . . . 22 2 ∈ ℕ0
31 0elfz 12630 . . . . . . . . . . . . . . . . . . . . . 22 (2 ∈ ℕ0 → 0 ∈ (0...2))
3230, 31mp1i 13 . . . . . . . . . . . . . . . . . . . . 21 (𝑤:(0...2)⟶(Vtx‘𝐺) → 0 ∈ (0...2))
3329, 32ffvelrnd 6523 . . . . . . . . . . . . . . . . . . . 20 (𝑤:(0...2)⟶(Vtx‘𝐺) → (𝑤‘0) ∈ (Vtx‘𝐺))
34 nn0fz0 12631 . . . . . . . . . . . . . . . . . . . . . . 23 (2 ∈ ℕ0 ↔ 2 ∈ (0...2))
3530, 34mpbi 220 . . . . . . . . . . . . . . . . . . . . . 22 2 ∈ (0...2)
3635a1i 11 . . . . . . . . . . . . . . . . . . . . 21 (𝑤:(0...2)⟶(Vtx‘𝐺) → 2 ∈ (0...2))
3729, 36ffvelrnd 6523 . . . . . . . . . . . . . . . . . . . 20 (𝑤:(0...2)⟶(Vtx‘𝐺) → (𝑤‘2) ∈ (Vtx‘𝐺))
3833, 37jca 555 . . . . . . . . . . . . . . . . . . 19 (𝑤:(0...2)⟶(Vtx‘𝐺) → ((𝑤‘0) ∈ (Vtx‘𝐺) ∧ (𝑤‘2) ∈ (Vtx‘𝐺)))
3928, 38syl 17 . . . . . . . . . . . . . . . . . 18 ((𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → ((𝑤‘0) ∈ (Vtx‘𝐺) ∧ (𝑤‘2) ∈ (Vtx‘𝐺)))
40 eleq1 2827 . . . . . . . . . . . . . . . . . . 19 ((𝑤‘0) = 𝐴 → ((𝑤‘0) ∈ (Vtx‘𝐺) ↔ 𝐴 ∈ (Vtx‘𝐺)))
41 eleq1 2827 . . . . . . . . . . . . . . . . . . 19 ((𝑤‘2) = 𝐵 → ((𝑤‘2) ∈ (Vtx‘𝐺) ↔ 𝐵 ∈ (Vtx‘𝐺)))
4240, 41bi2anan9 953 . . . . . . . . . . . . . . . . . 18 (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) → (((𝑤‘0) ∈ (Vtx‘𝐺) ∧ (𝑤‘2) ∈ (Vtx‘𝐺)) ↔ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))))
4339, 42syl5ib 234 . . . . . . . . . . . . . . . . 17 (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) → ((𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))))
4443adantl 473 . . . . . . . . . . . . . . . 16 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) → ((𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺))))
4544imp 444 . . . . . . . . . . . . . . 15 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)))
46 vex 3343 . . . . . . . . . . . . . . . 16 𝑓 ∈ V
47 vex 3343 . . . . . . . . . . . . . . . 16 𝑤 ∈ V
4846, 47pm3.2i 470 . . . . . . . . . . . . . . 15 (𝑓 ∈ V ∧ 𝑤 ∈ V)
4923iswlkon 26763 . . . . . . . . . . . . . . 15 (((𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) ∧ (𝑓 ∈ V ∧ 𝑤 ∈ V)) → (𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑤 ↔ (𝑓(Walks‘𝐺)𝑤 ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘(♯‘𝑓)) = 𝐵)))
5045, 48, 49sylancl 697 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑤 ↔ (𝑓(Walks‘𝐺)𝑤 ∧ (𝑤‘0) = 𝐴 ∧ (𝑤‘(♯‘𝑓)) = 𝐵)))
5115, 17, 22, 50mpbir3and 1428 . . . . . . . . . . . . 13 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → 𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑤)
52 simplll 815 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → 𝐺 ∈ USGraph)
53 simprr 813 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (♯‘𝑓) = 2)
54 simpllr 817 . . . . . . . . . . . . . 14 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → 𝐴𝐵)
55 usgr2wlkspth 26865 . . . . . . . . . . . . . 14 ((𝐺 ∈ USGraph ∧ (♯‘𝑓) = 2 ∧ 𝐴𝐵) → (𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑤𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))
5652, 53, 54, 55syl3anc 1477 . . . . . . . . . . . . 13 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → (𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑤𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))
5751, 56mpbid 222 . . . . . . . . . . . 12 ((((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) ∧ (𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2)) → 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)
5857ex 449 . . . . . . . . . . 11 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) → ((𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))
5958eximdv 1995 . . . . . . . . . 10 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)) → (∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))
6059ex 449 . . . . . . . . 9 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) → (∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
6160com23 86 . . . . . . . 8 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (∃𝑓(𝑓(Walks‘𝐺)𝑤 ∧ (♯‘𝑓) = 2) → (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) → ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
6214, 61sylbid 230 . . . . . . 7 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (𝑤 ∈ (2 WWalksN 𝐺) → (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) → ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
6362imp 444 . . . . . 6 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ 𝑤 ∈ (2 WWalksN 𝐺)) → (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) → ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤))
6463pm4.71d 669 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ 𝑤 ∈ (2 WWalksN 𝐺)) → (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ↔ (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)))
6564bicomd 213 . . . 4 (((𝐺 ∈ USGraph ∧ 𝐴𝐵) ∧ 𝑤 ∈ (2 WWalksN 𝐺)) → ((((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤) ↔ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)))
6665rabbidva 3328 . . 3 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → {𝑤 ∈ (2 WWalksN 𝐺) ∣ (((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤)} = {𝑤 ∈ (2 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)})
679, 66eqtrd 2794 . 2 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → {𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∣ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤} = {𝑤 ∈ (2 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)})
6823iswspthsnon 26961 . 2 (𝐴(2 WSPathsNOn 𝐺)𝐵) = {𝑤 ∈ (𝐴(2 WWalksNOn 𝐺)𝐵) ∣ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑤}
6923iswwlksnon 26957 . 2 (𝐴(2 WWalksNOn 𝐺)𝐵) = {𝑤 ∈ (2 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝐴 ∧ (𝑤‘2) = 𝐵)}
7067, 68, 693eqtr4g 2819 1 ((𝐺 ∈ USGraph ∧ 𝐴𝐵) → (𝐴(2 WSPathsNOn 𝐺)𝐵) = (𝐴(2 WWalksNOn 𝐺)𝐵))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∧ wa 383   ∧ w3a 1072   = wceq 1632  ∃wex 1853   ∈ wcel 2139   ≠ wne 2932  {crab 3054  Vcvv 3340   class class class wbr 4804  ⟶wf 6045  ‘cfv 6049  (class class class)co 6813  0cc0 10128  2c2 11262  ℕ0cn0 11484  ...cfz 12519  ♯chash 13311  Vtxcvtx 26073  UPGraphcupgr 26174  USGraphcusgr 26243  Walkscwlks 26702  WalksOncwlkson 26703  SPathsOncspthson 26821   WWalksN cwwlksn 26929   WWalksNOn cwwlksnon 26930   WSPathsNOn cwwspthsnon 26932 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114  ax-ac2 9477  ax-cnex 10184  ax-resscn 10185  ax-1cn 10186  ax-icn 10187  ax-addcl 10188  ax-addrcl 10189  ax-mulcl 10190  ax-mulrcl 10191  ax-mulcom 10192  ax-addass 10193  ax-mulass 10194  ax-distr 10195  ax-i2m1 10196  ax-1ne0 10197  ax-1rid 10198  ax-rnegex 10199  ax-rrecex 10200  ax-cnre 10201  ax-pre-lttri 10202  ax-pre-lttrn 10203  ax-pre-ltadd 10204  ax-pre-mulgt0 10205 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-ifp 1051  df-3or 1073  df-3an 1074  df-tru 1635  df-fal 1638  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rmo 3058  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-se 5226  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-isom 6058  df-riota 6774  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-om 7231  df-1st 7333  df-2nd 7334  df-wrecs 7576  df-recs 7637  df-rdg 7675  df-1o 7729  df-2o 7730  df-oadd 7733  df-er 7911  df-map 8025  df-pm 8026  df-en 8122  df-dom 8123  df-sdom 8124  df-fin 8125  df-card 8955  df-ac 9129  df-cda 9182  df-pnf 10268  df-mnf 10269  df-xr 10270  df-ltxr 10271  df-le 10272  df-sub 10460  df-neg 10461  df-nn 11213  df-2 11271  df-3 11272  df-n0 11485  df-xnn0 11556  df-z 11570  df-uz 11880  df-fz 12520  df-fzo 12660  df-hash 13312  df-word 13485  df-concat 13487  df-s1 13488  df-s2 13793  df-s3 13794  df-edg 26139  df-uhgr 26152  df-upgr 26176  df-umgr 26177  df-uspgr 26244  df-usgr 26245  df-wlks 26705  df-wlkson 26706  df-trls 26799  df-trlson 26800  df-pths 26822  df-spths 26823  df-pthson 26824  df-spthson 26825  df-wwlks 26933  df-wwlksn 26934  df-wwlksnon 26935  df-wspthsnon 26937 This theorem is referenced by:  usgr2wspthons3  27086  frgr2wsp1  27484
 Copyright terms: Public domain W3C validator