Proof of Theorem wwlksnwwlksnon
Step | Hyp | Ref
| Expression |
1 | | wwlknbp1 28209 |
. . . 4
⊢ (𝑊 ∈ (𝑁 WWalksN 𝐺) → (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) |
2 | | wwlksnwwlksnon.v |
. . . . . . . . . . 11
⊢ 𝑉 = (Vtx‘𝐺) |
3 | 2 | eqcomi 2747 |
. . . . . . . . . 10
⊢
(Vtx‘𝐺) =
𝑉 |
4 | 3 | wrdeqi 14240 |
. . . . . . . . 9
⊢ Word
(Vtx‘𝐺) = Word 𝑉 |
5 | 4 | eleq2i 2830 |
. . . . . . . 8
⊢ (𝑊 ∈ Word (Vtx‘𝐺) ↔ 𝑊 ∈ Word 𝑉) |
6 | 5 | biimpi 215 |
. . . . . . 7
⊢ (𝑊 ∈ Word (Vtx‘𝐺) → 𝑊 ∈ Word 𝑉) |
7 | 6 | 3ad2ant2 1133 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → 𝑊 ∈ Word 𝑉) |
8 | | nn0p1nn 12272 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ) |
9 | | lbfzo0 13427 |
. . . . . . . . . 10
⊢ (0 ∈
(0..^(𝑁 + 1)) ↔ (𝑁 + 1) ∈
ℕ) |
10 | 8, 9 | sylibr 233 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 0 ∈ (0..^(𝑁 +
1))) |
11 | 10 | 3ad2ant1 1132 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → 0 ∈
(0..^(𝑁 +
1))) |
12 | | oveq2 7283 |
. . . . . . . . . 10
⊢
((♯‘𝑊) =
(𝑁 + 1) →
(0..^(♯‘𝑊)) =
(0..^(𝑁 +
1))) |
13 | 12 | eleq2d 2824 |
. . . . . . . . 9
⊢
((♯‘𝑊) =
(𝑁 + 1) → (0 ∈
(0..^(♯‘𝑊))
↔ 0 ∈ (0..^(𝑁 +
1)))) |
14 | 13 | 3ad2ant3 1134 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → (0 ∈
(0..^(♯‘𝑊))
↔ 0 ∈ (0..^(𝑁 +
1)))) |
15 | 11, 14 | mpbird 256 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → 0 ∈
(0..^(♯‘𝑊))) |
16 | 15 | adantl 482 |
. . . . . 6
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → 0 ∈
(0..^(♯‘𝑊))) |
17 | | wrdsymbcl 14230 |
. . . . . 6
⊢ ((𝑊 ∈ Word 𝑉 ∧ 0 ∈ (0..^(♯‘𝑊))) → (𝑊‘0) ∈ 𝑉) |
18 | 7, 16, 17 | syl2an2 683 |
. . . . 5
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → (𝑊‘0) ∈ 𝑉) |
19 | | fzonn0p1 13464 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈ (0..^(𝑁 + 1))) |
20 | 19 | 3ad2ant1 1132 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → 𝑁 ∈ (0..^(𝑁 + 1))) |
21 | 12 | eleq2d 2824 |
. . . . . . . . 9
⊢
((♯‘𝑊) =
(𝑁 + 1) → (𝑁 ∈
(0..^(♯‘𝑊))
↔ 𝑁 ∈ (0..^(𝑁 + 1)))) |
22 | 21 | 3ad2ant3 1134 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → (𝑁 ∈ (0..^(♯‘𝑊)) ↔ 𝑁 ∈ (0..^(𝑁 + 1)))) |
23 | 20, 22 | mpbird 256 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → 𝑁 ∈ (0..^(♯‘𝑊))) |
24 | | wrdsymbcl 14230 |
. . . . . . 7
⊢ ((𝑊 ∈ Word 𝑉 ∧ 𝑁 ∈ (0..^(♯‘𝑊))) → (𝑊‘𝑁) ∈ 𝑉) |
25 | 7, 23, 24 | syl2anc 584 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = (𝑁 + 1)) → (𝑊‘𝑁) ∈ 𝑉) |
26 | 25 | adantl 482 |
. . . . 5
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → (𝑊‘𝑁) ∈ 𝑉) |
27 | | simpl 483 |
. . . . 5
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → 𝑊 ∈ (𝑁 WWalksN 𝐺)) |
28 | | eqidd 2739 |
. . . . 5
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → (𝑊‘0) = (𝑊‘0)) |
29 | | eqidd 2739 |
. . . . 5
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → (𝑊‘𝑁) = (𝑊‘𝑁)) |
30 | | eqeq2 2750 |
. . . . . . 7
⊢ (𝑎 = (𝑊‘0) → ((𝑊‘0) = 𝑎 ↔ (𝑊‘0) = (𝑊‘0))) |
31 | 30 | 3anbi2d 1440 |
. . . . . 6
⊢ (𝑎 = (𝑊‘0) → ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏) ↔ (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = (𝑊‘0) ∧ (𝑊‘𝑁) = 𝑏))) |
32 | | eqeq2 2750 |
. . . . . . 7
⊢ (𝑏 = (𝑊‘𝑁) → ((𝑊‘𝑁) = 𝑏 ↔ (𝑊‘𝑁) = (𝑊‘𝑁))) |
33 | 32 | 3anbi3d 1441 |
. . . . . 6
⊢ (𝑏 = (𝑊‘𝑁) → ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = (𝑊‘0) ∧ (𝑊‘𝑁) = 𝑏) ↔ (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = (𝑊‘0) ∧ (𝑊‘𝑁) = (𝑊‘𝑁)))) |
34 | 31, 33 | rspc2ev 3572 |
. . . . 5
⊢ (((𝑊‘0) ∈ 𝑉 ∧ (𝑊‘𝑁) ∈ 𝑉 ∧ (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = (𝑊‘0) ∧ (𝑊‘𝑁) = (𝑊‘𝑁))) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏)) |
35 | 18, 26, 27, 28, 29, 34 | syl113anc 1381 |
. . . 4
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑁 ∈ ℕ0 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = (𝑁 + 1))) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏)) |
36 | 1, 35 | mpdan 684 |
. . 3
⊢ (𝑊 ∈ (𝑁 WWalksN 𝐺) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏)) |
37 | | simp1 1135 |
. . . . 5
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏) → 𝑊 ∈ (𝑁 WWalksN 𝐺)) |
38 | 37 | a1i 11 |
. . . 4
⊢ ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏) → 𝑊 ∈ (𝑁 WWalksN 𝐺))) |
39 | 38 | rexlimivv 3221 |
. . 3
⊢
(∃𝑎 ∈
𝑉 ∃𝑏 ∈ 𝑉 (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏) → 𝑊 ∈ (𝑁 WWalksN 𝐺)) |
40 | 36, 39 | impbii 208 |
. 2
⊢ (𝑊 ∈ (𝑁 WWalksN 𝐺) ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏)) |
41 | | wwlknon 28222 |
. . . 4
⊢ (𝑊 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏) ↔ (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏)) |
42 | 41 | bicomi 223 |
. . 3
⊢ ((𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏) ↔ 𝑊 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏)) |
43 | 42 | 2rexbii 3182 |
. 2
⊢
(∃𝑎 ∈
𝑉 ∃𝑏 ∈ 𝑉 (𝑊 ∈ (𝑁 WWalksN 𝐺) ∧ (𝑊‘0) = 𝑎 ∧ (𝑊‘𝑁) = 𝑏) ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑊 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏)) |
44 | 40, 43 | bitri 274 |
1
⊢ (𝑊 ∈ (𝑁 WWalksN 𝐺) ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑊 ∈ (𝑎(𝑁 WWalksNOn 𝐺)𝑏)) |