Proof of Theorem elwspths2spth
Step | Hyp | Ref
| Expression |
1 | | elwwlks2.v |
. . . 4
⊢ 𝑉 = (Vtx‘𝐺) |
2 | 1 | wspthsnwspthsnon 28290 |
. . 3
⊢ (𝑊 ∈ (2 WSPathsN 𝐺) ↔ ∃𝑎 ∈ 𝑉 ∃𝑐 ∈ 𝑉 𝑊 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)) |
3 | 2 | a1i 11 |
. 2
⊢ (𝐺 ∈ UPGraph → (𝑊 ∈ (2 WSPathsN 𝐺) ↔ ∃𝑎 ∈ 𝑉 ∃𝑐 ∈ 𝑉 𝑊 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐))) |
4 | 1 | elwspths2on 28334 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉) → (𝑊 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐) ↔ ∃𝑏 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)))) |
5 | 4 | 3expb 1119 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ (𝑎 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑊 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐) ↔ ∃𝑏 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)))) |
6 | 5 | 2rexbidva 3229 |
. 2
⊢ (𝐺 ∈ UPGraph →
(∃𝑎 ∈ 𝑉 ∃𝑐 ∈ 𝑉 𝑊 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐) ↔ ∃𝑎 ∈ 𝑉 ∃𝑐 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)))) |
7 | | rexcom 3235 |
. . . 4
⊢
(∃𝑐 ∈
𝑉 ∃𝑏 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)) ↔ ∃𝑏 ∈ 𝑉 ∃𝑐 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐))) |
8 | | wspthnon 28232 |
. . . . . . 7
⊢
(〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐) ↔ (〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐) ∧ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉)) |
9 | | ancom 461 |
. . . . . . . . 9
⊢
((〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐) ∧ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉) ↔ (∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐))) |
10 | | 19.41v 1954 |
. . . . . . . . 9
⊢
(∃𝑓(𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐)) ↔ (∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐))) |
11 | 9, 10 | bitr4i 277 |
. . . . . . . 8
⊢
((〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐) ∧ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉) ↔ ∃𝑓(𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐))) |
12 | | simpr 485 |
. . . . . . . . . . . . . 14
⊢ ((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) → 𝑎 ∈ 𝑉) |
13 | | simpr 485 |
. . . . . . . . . . . . . 14
⊢ ((𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉) → 𝑐 ∈ 𝑉) |
14 | 12, 13 | anim12i 613 |
. . . . . . . . . . . . 13
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑎 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) |
15 | | vex 3437 |
. . . . . . . . . . . . . 14
⊢ 𝑓 ∈ V |
16 | | s3cli 14603 |
. . . . . . . . . . . . . 14
⊢
〈“𝑎𝑏𝑐”〉 ∈ Word V |
17 | 15, 16 | pm3.2i 471 |
. . . . . . . . . . . . 13
⊢ (𝑓 ∈ V ∧
〈“𝑎𝑏𝑐”〉 ∈ Word V) |
18 | 1 | isspthonpth 28126 |
. . . . . . . . . . . . 13
⊢ (((𝑎 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉) ∧ (𝑓 ∈ V ∧ 〈“𝑎𝑏𝑐”〉 ∈ Word V)) → (𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ↔ (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐))) |
19 | 14, 17, 18 | sylancl 586 |
. . . . . . . . . . . 12
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ↔ (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐))) |
20 | | wwlknon 28231 |
. . . . . . . . . . . . 13
⊢
(〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐) ↔ (〈“𝑎𝑏𝑐”〉 ∈ (2 WWalksN 𝐺) ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) |
21 | | 2nn0 12259 |
. . . . . . . . . . . . . . 15
⊢ 2 ∈
ℕ0 |
22 | | iswwlksn 28212 |
. . . . . . . . . . . . . . 15
⊢ (2 ∈
ℕ0 → (〈“𝑎𝑏𝑐”〉 ∈ (2 WWalksN 𝐺) ↔ (〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)))) |
23 | 21, 22 | mp1i 13 |
. . . . . . . . . . . . . 14
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (〈“𝑎𝑏𝑐”〉 ∈ (2 WWalksN 𝐺) ↔ (〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)))) |
24 | 23 | 3anbi1d 1439 |
. . . . . . . . . . . . 13
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → ((〈“𝑎𝑏𝑐”〉 ∈ (2 WWalksN 𝐺) ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐) ↔ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) |
25 | 20, 24 | syl5bb 283 |
. . . . . . . . . . . 12
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐) ↔ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) |
26 | 19, 25 | anbi12d 631 |
. . . . . . . . . . 11
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → ((𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐)) ↔ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)))) |
27 | 26 | adantr 481 |
. . . . . . . . . 10
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑊 = 〈“𝑎𝑏𝑐”〉) → ((𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐)) ↔ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)))) |
28 | 16 | a1i 11 |
. . . . . . . . . . . . 13
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → 〈“𝑎𝑏𝑐”〉 ∈ Word V) |
29 | | simprl1 1217 |
. . . . . . . . . . . . . . . 16
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) ∧ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) → 𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉) |
30 | | spthiswlk 28105 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 → 𝑓(Walks‘𝐺)〈“𝑎𝑏𝑐”〉) |
31 | | wlklenvm1 27998 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑓(Walks‘𝐺)〈“𝑎𝑏𝑐”〉 → (♯‘𝑓) =
((♯‘〈“𝑎𝑏𝑐”〉) − 1)) |
32 | | simpl 483 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(((♯‘𝑓)
= ((♯‘〈“𝑎𝑏𝑐”〉) − 1) ∧
((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) → (♯‘𝑓) = ((♯‘〈“𝑎𝑏𝑐”〉) − 1)) |
33 | | oveq1 7291 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢
((♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1) →
((♯‘〈“𝑎𝑏𝑐”〉) − 1) = ((2 + 1) −
1)) |
34 | | 2cn 12057 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ 2 ∈
ℂ |
35 | | pncan1 11408 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (2 ∈
ℂ → ((2 + 1) − 1) = 2) |
36 | 34, 35 | ax-mp 5 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((2 + 1)
− 1) = 2 |
37 | 33, 36 | eqtrdi 2795 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢
((♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1) →
((♯‘〈“𝑎𝑏𝑐”〉) − 1) =
2) |
38 | 37 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) →
((♯‘〈“𝑎𝑏𝑐”〉) − 1) =
2) |
39 | 38 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
(((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐) → ((♯‘〈“𝑎𝑏𝑐”〉) − 1) =
2) |
40 | 39 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(((♯‘𝑓)
= ((♯‘〈“𝑎𝑏𝑐”〉) − 1) ∧
((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) → ((♯‘〈“𝑎𝑏𝑐”〉) − 1) =
2) |
41 | 32, 40 | eqtrd 2779 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(((♯‘𝑓)
= ((♯‘〈“𝑎𝑏𝑐”〉) − 1) ∧
((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) → (♯‘𝑓) = 2) |
42 | 41 | ex 413 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((♯‘𝑓) =
((♯‘〈“𝑎𝑏𝑐”〉) − 1) →
(((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐) → (♯‘𝑓) = 2)) |
43 | 30, 31, 42 | 3syl 18 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 → (((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐) → (♯‘𝑓) = 2)) |
44 | 43 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) → (((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐) → (♯‘𝑓) = 2)) |
45 | 44 | imp 407 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) → (♯‘𝑓) = 2) |
46 | 45 | adantl 482 |
. . . . . . . . . . . . . . . 16
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) ∧ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) → (♯‘𝑓) = 2) |
47 | | s3fv0 14613 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑎 ∈ V →
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎) |
48 | 47 | elv 3439 |
. . . . . . . . . . . . . . . . . . 19
⊢
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 |
49 | 48 | eqcomi 2748 |
. . . . . . . . . . . . . . . . . 18
⊢ 𝑎 = (〈“𝑎𝑏𝑐”〉‘0) |
50 | | s3fv1 14614 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑏 ∈ V →
(〈“𝑎𝑏𝑐”〉‘1) = 𝑏) |
51 | 50 | elv 3439 |
. . . . . . . . . . . . . . . . . . 19
⊢
(〈“𝑎𝑏𝑐”〉‘1) = 𝑏 |
52 | 51 | eqcomi 2748 |
. . . . . . . . . . . . . . . . . 18
⊢ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) |
53 | | s3fv2 14615 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑐 ∈ V →
(〈“𝑎𝑏𝑐”〉‘2) = 𝑐) |
54 | 53 | elv 3439 |
. . . . . . . . . . . . . . . . . . 19
⊢
(〈“𝑎𝑏𝑐”〉‘2) = 𝑐 |
55 | 54 | eqcomi 2748 |
. . . . . . . . . . . . . . . . . 18
⊢ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2) |
56 | 49, 52, 55 | 3pm3.2i 1338 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑎 = (〈“𝑎𝑏𝑐”〉‘0) ∧ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) ∧ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2)) |
57 | 56 | a1i 11 |
. . . . . . . . . . . . . . . 16
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) ∧ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) → (𝑎 = (〈“𝑎𝑏𝑐”〉‘0) ∧ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) ∧ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2))) |
58 | 29, 46, 57 | 3jca 1127 |
. . . . . . . . . . . . . . 15
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) ∧ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) → (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (〈“𝑎𝑏𝑐”〉‘0) ∧ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) ∧ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2)))) |
59 | | breq2 5079 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑓(SPaths‘𝐺)𝑝 ↔ 𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉)) |
60 | | fveq1 6782 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑝‘0) = (〈“𝑎𝑏𝑐”〉‘0)) |
61 | 60 | eqeq2d 2750 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑎 = (𝑝‘0) ↔ 𝑎 = (〈“𝑎𝑏𝑐”〉‘0))) |
62 | | fveq1 6782 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑝‘1) = (〈“𝑎𝑏𝑐”〉‘1)) |
63 | 62 | eqeq2d 2750 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑏 = (𝑝‘1) ↔ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1))) |
64 | | fveq1 6782 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑝‘2) = (〈“𝑎𝑏𝑐”〉‘2)) |
65 | 64 | eqeq2d 2750 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑐 = (𝑝‘2) ↔ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2))) |
66 | 61, 63, 65 | 3anbi123d 1435 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → ((𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)) ↔ (𝑎 = (〈“𝑎𝑏𝑐”〉‘0) ∧ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) ∧ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2)))) |
67 | 59, 66 | 3anbi13d 1437 |
. . . . . . . . . . . . . . . 16
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) ↔ (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (〈“𝑎𝑏𝑐”〉‘0) ∧ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) ∧ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2))))) |
68 | 67 | ad2antlr 724 |
. . . . . . . . . . . . . . 15
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) ∧ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) → ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) ↔ (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (〈“𝑎𝑏𝑐”〉‘0) ∧ 𝑏 = (〈“𝑎𝑏𝑐”〉‘1) ∧ 𝑐 = (〈“𝑎𝑏𝑐”〉‘2))))) |
69 | 58, 68 | mpbird 256 |
. . . . . . . . . . . . . 14
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) ∧ ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) → (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) |
70 | 69 | ex 413 |
. . . . . . . . . . . . 13
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) → (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
71 | 28, 70 | spcimedv 3535 |
. . . . . . . . . . . 12
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) → ∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
72 | | spthiswlk 28105 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑓(SPaths‘𝐺)𝑝 → 𝑓(Walks‘𝐺)𝑝) |
73 | | wlklenvp1 27994 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑓(Walks‘𝐺)𝑝 → (♯‘𝑝) = ((♯‘𝑓) + 1)) |
74 | | oveq1 7291 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((♯‘𝑓) =
2 → ((♯‘𝑓)
+ 1) = (2 + 1)) |
75 | | 2p1e3 12124 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (2 + 1) =
3 |
76 | 74, 75 | eqtrdi 2795 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((♯‘𝑓) =
2 → ((♯‘𝑓)
+ 1) = 3) |
77 | 76 | eqeq2d 2750 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((♯‘𝑓) =
2 → ((♯‘𝑝)
= ((♯‘𝑓) + 1)
↔ (♯‘𝑝) =
3)) |
78 | 77 | biimpcd 248 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((♯‘𝑝) =
((♯‘𝑓) + 1)
→ ((♯‘𝑓) =
2 → (♯‘𝑝)
= 3)) |
79 | 72, 73, 78 | 3syl 18 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑓(SPaths‘𝐺)𝑝 → ((♯‘𝑓) = 2 → (♯‘𝑝) = 3)) |
80 | 79 | imp 407 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2) → (♯‘𝑝) = 3) |
81 | 80 | 3adant3 1131 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → (♯‘𝑝) = 3) |
82 | 81 | adantl 482 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → (♯‘𝑝) = 3) |
83 | | eqcom 2746 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑎 = (𝑝‘0) ↔ (𝑝‘0) = 𝑎) |
84 | | eqcom 2746 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑏 = (𝑝‘1) ↔ (𝑝‘1) = 𝑏) |
85 | | eqcom 2746 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑐 = (𝑝‘2) ↔ (𝑝‘2) = 𝑐) |
86 | 83, 84, 85 | 3anbi123i 1154 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)) ↔ ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐)) |
87 | 86 | biimpi 215 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)) → ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐)) |
88 | 87 | 3ad2ant3 1134 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐)) |
89 | 88 | adantl 482 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐)) |
90 | 82, 89 | jca 512 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → ((♯‘𝑝) = 3 ∧ ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐))) |
91 | 1 | wlkpwrd 27993 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑓(Walks‘𝐺)𝑝 → 𝑝 ∈ Word 𝑉) |
92 | 72, 91 | syl 17 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑓(SPaths‘𝐺)𝑝 → 𝑝 ∈ Word 𝑉) |
93 | 92 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → 𝑝 ∈ Word 𝑉) |
94 | 12 | anim1i 615 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑎 ∈ 𝑉 ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉))) |
95 | | 3anass 1094 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉) ↔ (𝑎 ∈ 𝑉 ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉))) |
96 | 94, 95 | sylibr 233 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) |
97 | | eqwrds3 14685 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑝 ∈ Word 𝑉 ∧ (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑝 = 〈“𝑎𝑏𝑐”〉 ↔ ((♯‘𝑝) = 3 ∧ ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐)))) |
98 | 93, 96, 97 | syl2anr 597 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → (𝑝 = 〈“𝑎𝑏𝑐”〉 ↔ ((♯‘𝑝) = 3 ∧ ((𝑝‘0) = 𝑎 ∧ (𝑝‘1) = 𝑏 ∧ (𝑝‘2) = 𝑐)))) |
99 | 90, 98 | mpbird 256 |
. . . . . . . . . . . . . . 15
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → 𝑝 = 〈“𝑎𝑏𝑐”〉) |
100 | 59 | biimpcd 248 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑓(SPaths‘𝐺)𝑝 → (𝑝 = 〈“𝑎𝑏𝑐”〉 → 𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉)) |
101 | 100 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → (𝑝 = 〈“𝑎𝑏𝑐”〉 → 𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉)) |
102 | 101 | adantl 482 |
. . . . . . . . . . . . . . . . . 18
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → (𝑝 = 〈“𝑎𝑏𝑐”〉 → 𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉)) |
103 | 102 | imp 407 |
. . . . . . . . . . . . . . . . 17
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → 𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉) |
104 | 48 | a1i 11 |
. . . . . . . . . . . . . . . . 17
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (〈“𝑎𝑏𝑐”〉‘0) = 𝑎) |
105 | | fveq2 6783 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((♯‘𝑓) =
2 → (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = (〈“𝑎𝑏𝑐”〉‘2)) |
106 | 105, 54 | eqtrdi 2795 |
. . . . . . . . . . . . . . . . . . 19
⊢
((♯‘𝑓) =
2 → (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) |
107 | 106 | 3ad2ant2 1133 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) |
108 | 107 | ad2antlr 724 |
. . . . . . . . . . . . . . . . 17
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) |
109 | 103, 104,
108 | 3jca 1127 |
. . . . . . . . . . . . . . . 16
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐)) |
110 | | wlkiswwlks1 28241 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝐺 ∈ UPGraph → (𝑓(Walks‘𝐺)𝑝 → 𝑝 ∈ (WWalks‘𝐺))) |
111 | 110 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) → (𝑓(Walks‘𝐺)𝑝 → 𝑝 ∈ (WWalks‘𝐺))) |
112 | 111 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (𝑓(Walks‘𝐺)𝑝 → 𝑝 ∈ (WWalks‘𝐺))) |
113 | 72, 112 | syl5com 31 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑓(SPaths‘𝐺)𝑝 → (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → 𝑝 ∈ (WWalks‘𝐺))) |
114 | 113 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → 𝑝 ∈ (WWalks‘𝐺))) |
115 | 114 | impcom 408 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → 𝑝 ∈ (WWalks‘𝐺)) |
116 | 115 | adantr 481 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → 𝑝 ∈ (WWalks‘𝐺)) |
117 | | eleq1 2827 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (𝑝 ∈ (WWalks‘𝐺) ↔ 〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺))) |
118 | 117 | bicomd 222 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑝 = 〈“𝑎𝑏𝑐”〉 → (〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ↔ 𝑝 ∈ (WWalks‘𝐺))) |
119 | 118 | adantl 482 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ↔ 𝑝 ∈ (WWalks‘𝐺))) |
120 | 116, 119 | mpbird 256 |
. . . . . . . . . . . . . . . . . 18
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → 〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺)) |
121 | | s3len 14616 |
. . . . . . . . . . . . . . . . . . 19
⊢
(♯‘〈“𝑎𝑏𝑐”〉) = 3 |
122 | | df-3 12046 |
. . . . . . . . . . . . . . . . . . 19
⊢ 3 = (2 +
1) |
123 | 121, 122 | eqtri 2767 |
. . . . . . . . . . . . . . . . . 18
⊢
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1) |
124 | 120, 123 | jctir 521 |
. . . . . . . . . . . . . . . . 17
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1))) |
125 | 54 | a1i 11 |
. . . . . . . . . . . . . . . . 17
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → (〈“𝑎𝑏𝑐”〉‘2) = 𝑐) |
126 | 124, 104,
125 | 3jca 1127 |
. . . . . . . . . . . . . . . 16
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) |
127 | 109, 126 | jca 512 |
. . . . . . . . . . . . . . 15
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑎 ∈
𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) ∧ 𝑝 = 〈“𝑎𝑏𝑐”〉) → ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) |
128 | 99, 127 | mpdan 684 |
. . . . . . . . . . . . . 14
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ (𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))) → ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐))) |
129 | 128 | ex 413 |
. . . . . . . . . . . . 13
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → ((𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)))) |
130 | 129 | exlimdv 1937 |
. . . . . . . . . . . 12
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))) → ((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)))) |
131 | 71, 130 | impbid 211 |
. . . . . . . . . . 11
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → (((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) ↔ ∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
132 | 131 | adantr 481 |
. . . . . . . . . 10
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑊 = 〈“𝑎𝑏𝑐”〉) → (((𝑓(SPaths‘𝐺)〈“𝑎𝑏𝑐”〉 ∧ (〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘(♯‘𝑓)) = 𝑐) ∧ ((〈“𝑎𝑏𝑐”〉 ∈ (WWalks‘𝐺) ∧
(♯‘〈“𝑎𝑏𝑐”〉) = (2 + 1)) ∧
(〈“𝑎𝑏𝑐”〉‘0) = 𝑎 ∧ (〈“𝑎𝑏𝑐”〉‘2) = 𝑐)) ↔ ∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
133 | 27, 132 | bitrd 278 |
. . . . . . . . 9
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑊 = 〈“𝑎𝑏𝑐”〉) → ((𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐)) ↔ ∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
134 | 133 | exbidv 1925 |
. . . . . . . 8
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑊 = 〈“𝑎𝑏𝑐”〉) → (∃𝑓(𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐)) ↔ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
135 | 11, 134 | syl5bb 283 |
. . . . . . 7
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑊 = 〈“𝑎𝑏𝑐”〉) → ((〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WWalksNOn 𝐺)𝑐) ∧ ∃𝑓 𝑓(𝑎(SPathsOn‘𝐺)𝑐)〈“𝑎𝑏𝑐”〉) ↔ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
136 | 8, 135 | syl5bb 283 |
. . . . . 6
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) ∧ 𝑊 = 〈“𝑎𝑏𝑐”〉) → (〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐) ↔ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2))))) |
137 | 136 | pm5.32da 579 |
. . . . 5
⊢ (((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) ∧ (𝑏 ∈ 𝑉 ∧ 𝑐 ∈ 𝑉)) → ((𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)) ↔ (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))))) |
138 | 137 | 2rexbidva 3229 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) → (∃𝑏 ∈ 𝑉 ∃𝑐 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)) ↔ ∃𝑏 ∈ 𝑉 ∃𝑐 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))))) |
139 | 7, 138 | syl5bb 283 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ 𝑎 ∈ 𝑉) → (∃𝑐 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)) ↔ ∃𝑏 ∈ 𝑉 ∃𝑐 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))))) |
140 | 139 | rexbidva 3226 |
. 2
⊢ (𝐺 ∈ UPGraph →
(∃𝑎 ∈ 𝑉 ∃𝑐 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ 〈“𝑎𝑏𝑐”〉 ∈ (𝑎(2 WSPathsNOn 𝐺)𝑐)) ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 ∃𝑐 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))))) |
141 | 3, 6, 140 | 3bitrd 305 |
1
⊢ (𝐺 ∈ UPGraph → (𝑊 ∈ (2 WSPathsN 𝐺) ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 ∃𝑐 ∈ 𝑉 (𝑊 = 〈“𝑎𝑏𝑐”〉 ∧ ∃𝑓∃𝑝(𝑓(SPaths‘𝐺)𝑝 ∧ (♯‘𝑓) = 2 ∧ (𝑎 = (𝑝‘0) ∧ 𝑏 = (𝑝‘1) ∧ 𝑐 = (𝑝‘2)))))) |