Step | Hyp | Ref
| Expression |
1 | | eqidd 2739 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1))) |
2 | | eqid 2738 |
. . . . 5
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
3 | | wwlksnredwwlkn.e |
. . . . 5
⊢ 𝐸 = (Edg‘𝐺) |
4 | 2, 3 | wwlknp 28208 |
. . . 4
⊢ (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) |
5 | | simprl 768 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → 𝑊 ∈ Word (Vtx‘𝐺)) |
6 | | peano2nn0 12273 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ0) |
7 | | peano2nn0 12273 |
. . . . . . . . . . . . 13
⊢ ((𝑁 + 1) ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ0) |
8 | 6, 7 | syl 17 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ0) |
9 | | id 22 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℕ0) |
10 | | nn0p1nn 12272 |
. . . . . . . . . . . . . 14
⊢ ((𝑁 + 1) ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ) |
11 | 6, 10 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ) |
12 | | nn0re 12242 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℝ) |
13 | | id 22 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℝ → 𝑁 ∈
ℝ) |
14 | | peano2re 11148 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℝ → (𝑁 + 1) ∈
ℝ) |
15 | | peano2re 11148 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑁 + 1) ∈ ℝ →
((𝑁 + 1) + 1) ∈
ℝ) |
16 | 14, 15 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℝ → ((𝑁 + 1) + 1) ∈
ℝ) |
17 | 13, 14, 16 | 3jca 1127 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℝ → (𝑁 ∈ ℝ ∧ (𝑁 + 1) ∈ ℝ ∧
((𝑁 + 1) + 1) ∈
ℝ)) |
18 | 12, 17 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ (𝑁 ∈ ℝ
∧ (𝑁 + 1) ∈
ℝ ∧ ((𝑁 + 1) + 1)
∈ ℝ)) |
19 | 12 | ltp1d 11905 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ 𝑁 < (𝑁 + 1)) |
20 | | nn0re 12242 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑁 + 1) ∈ ℕ0
→ (𝑁 + 1) ∈
ℝ) |
21 | 6, 20 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℝ) |
22 | 21 | ltp1d 11905 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) < ((𝑁 + 1) + 1)) |
23 | | lttr 11051 |
. . . . . . . . . . . . . . 15
⊢ ((𝑁 ∈ ℝ ∧ (𝑁 + 1) ∈ ℝ ∧
((𝑁 + 1) + 1) ∈
ℝ) → ((𝑁 <
(𝑁 + 1) ∧ (𝑁 + 1) < ((𝑁 + 1) + 1)) → 𝑁 < ((𝑁 + 1) + 1))) |
24 | 23 | imp 407 |
. . . . . . . . . . . . . 14
⊢ (((𝑁 ∈ ℝ ∧ (𝑁 + 1) ∈ ℝ ∧
((𝑁 + 1) + 1) ∈
ℝ) ∧ (𝑁 <
(𝑁 + 1) ∧ (𝑁 + 1) < ((𝑁 + 1) + 1))) → 𝑁 < ((𝑁 + 1) + 1)) |
25 | 18, 19, 22, 24 | syl12anc 834 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ 𝑁 < ((𝑁 + 1) + 1)) |
26 | | elfzo0 13428 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ (0..^((𝑁 + 1) + 1)) ↔ (𝑁 ∈ ℕ0 ∧ ((𝑁 + 1) + 1) ∈ ℕ ∧
𝑁 < ((𝑁 + 1) + 1))) |
27 | 9, 11, 25, 26 | syl3anbrc 1342 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
(0..^((𝑁 + 1) +
1))) |
28 | | fz0add1fz1 13457 |
. . . . . . . . . . . 12
⊢ ((((𝑁 + 1) + 1) ∈
ℕ0 ∧ 𝑁
∈ (0..^((𝑁 + 1) + 1)))
→ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1))) |
29 | 8, 27, 28 | syl2anc 584 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1))) |
30 | 29 | adantr 481 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → (𝑁 + 1) ∈ (1...((𝑁 + 1) + 1))) |
31 | | oveq2 7283 |
. . . . . . . . . . . . 13
⊢
((♯‘𝑊) =
((𝑁 + 1) + 1) →
(1...(♯‘𝑊)) =
(1...((𝑁 + 1) +
1))) |
32 | 31 | eleq2d 2824 |
. . . . . . . . . . . 12
⊢
((♯‘𝑊) =
((𝑁 + 1) + 1) →
((𝑁 + 1) ∈
(1...(♯‘𝑊))
↔ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1)))) |
33 | 32 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → ((𝑁 + 1) ∈ (1...(♯‘𝑊)) ↔ (𝑁 + 1) ∈ (1...((𝑁 + 1) + 1)))) |
34 | 33 | adantl 482 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → ((𝑁 + 1) ∈
(1...(♯‘𝑊))
↔ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1)))) |
35 | 30, 34 | mpbird 256 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → (𝑁 + 1) ∈
(1...(♯‘𝑊))) |
36 | 5, 35 | jca 512 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(♯‘𝑊)))) |
37 | 36 | 3adantr3 1170 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(♯‘𝑊)))) |
38 | | pfxfvlsw 14408 |
. . . . . . 7
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(♯‘𝑊))) → (lastS‘(𝑊 prefix (𝑁 + 1))) = (𝑊‘((𝑁 + 1) − 1))) |
39 | 37, 38 | syl 17 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (lastS‘(𝑊 prefix (𝑁 + 1))) = (𝑊‘((𝑁 + 1) − 1))) |
40 | | lsw 14267 |
. . . . . . . 8
⊢ (𝑊 ∈ Word (Vtx‘𝐺) → (lastS‘𝑊) = (𝑊‘((♯‘𝑊) − 1))) |
41 | 40 | 3ad2ant1 1132 |
. . . . . . 7
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → (lastS‘𝑊) = (𝑊‘((♯‘𝑊) − 1))) |
42 | 41 | adantl 482 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (lastS‘𝑊) = (𝑊‘((♯‘𝑊) − 1))) |
43 | 39, 42 | preq12d 4677 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} = {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘((♯‘𝑊) − 1))}) |
44 | | oveq1 7282 |
. . . . . . . . . . 11
⊢
((♯‘𝑊) =
((𝑁 + 1) + 1) →
((♯‘𝑊) −
1) = (((𝑁 + 1) + 1) −
1)) |
45 | 44 | 3ad2ant2 1133 |
. . . . . . . . . 10
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → ((♯‘𝑊) − 1) = (((𝑁 + 1) + 1) − 1)) |
46 | 45 | adantl 482 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → ((♯‘𝑊) − 1) = (((𝑁 + 1) + 1) − 1)) |
47 | 46 | fveq2d 6778 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (𝑊‘((♯‘𝑊) − 1)) = (𝑊‘(((𝑁 + 1) + 1) − 1))) |
48 | 47 | preq2d 4676 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘((♯‘𝑊) − 1))} = {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘(((𝑁 + 1) + 1) − 1))}) |
49 | | nn0cn 12243 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℂ) |
50 | | 1cnd 10970 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ 1 ∈ ℂ) |
51 | 49, 50 | pncand 11333 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ ((𝑁 + 1) − 1)
= 𝑁) |
52 | 51 | fveq2d 6778 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑊‘((𝑁 + 1) − 1)) = (𝑊‘𝑁)) |
53 | 6 | nn0cnd 12295 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℂ) |
54 | 53, 50 | pncand 11333 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (((𝑁 + 1) + 1)
− 1) = (𝑁 +
1)) |
55 | 54 | fveq2d 6778 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑊‘(((𝑁 + 1) + 1) − 1)) = (𝑊‘(𝑁 + 1))) |
56 | 52, 55 | preq12d 4677 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ0
→ {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘(((𝑁 + 1) + 1) − 1))} = {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))}) |
57 | 56 | adantr 481 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘(((𝑁 + 1) + 1) − 1))} = {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))}) |
58 | 48, 57 | eqtrd 2778 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘((♯‘𝑊) − 1))} = {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))}) |
59 | | fveq2 6774 |
. . . . . . . . . . . 12
⊢ (𝑖 = 𝑁 → (𝑊‘𝑖) = (𝑊‘𝑁)) |
60 | | fvoveq1 7298 |
. . . . . . . . . . . 12
⊢ (𝑖 = 𝑁 → (𝑊‘(𝑖 + 1)) = (𝑊‘(𝑁 + 1))) |
61 | 59, 60 | preq12d 4677 |
. . . . . . . . . . 11
⊢ (𝑖 = 𝑁 → {(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} = {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))}) |
62 | 61 | eleq1d 2823 |
. . . . . . . . . 10
⊢ (𝑖 = 𝑁 → ({(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸 ↔ {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
63 | 62 | rspcv 3557 |
. . . . . . . . 9
⊢ (𝑁 ∈ (0..^(𝑁 + 1)) → (∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸 → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
64 | | fzonn0p1 13464 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈ (0..^(𝑁 + 1))) |
65 | 63, 64 | syl11 33 |
. . . . . . . 8
⊢
(∀𝑖 ∈
(0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸 → (𝑁 ∈ ℕ0 → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
66 | 65 | 3ad2ant3 1134 |
. . . . . . 7
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → (𝑁 ∈ ℕ0 → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
67 | 66 | impcom 408 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸) |
68 | 58, 67 | eqeltrd 2839 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘((♯‘𝑊) − 1))} ∈ 𝐸) |
69 | 43, 68 | eqeltrd 2839 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸) |
70 | 4, 69 | sylan2 593 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸) |
71 | | wwlksnred 28257 |
. . . . 5
⊢ (𝑁 ∈ ℕ0
→ (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 prefix (𝑁 + 1)) ∈ (𝑁 WWalksN 𝐺))) |
72 | 71 | imp 407 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊 prefix (𝑁 + 1)) ∈ (𝑁 WWalksN 𝐺)) |
73 | | eqeq2 2750 |
. . . . . 6
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → ((𝑊 prefix (𝑁 + 1)) = 𝑦 ↔ (𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)))) |
74 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → (lastS‘𝑦) = (lastS‘(𝑊 prefix (𝑁 + 1)))) |
75 | 74 | preq1d 4675 |
. . . . . . 7
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → {(lastS‘𝑦), (lastS‘𝑊)} = {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)}) |
76 | 75 | eleq1d 2823 |
. . . . . 6
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → ({(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸 ↔ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸)) |
77 | 73, 76 | anbi12d 631 |
. . . . 5
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → (((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸) ↔ ((𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)) ∧ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸))) |
78 | 77 | adantl 482 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) ∧ 𝑦 = (𝑊 prefix (𝑁 + 1))) → (((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸) ↔ ((𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)) ∧ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸))) |
79 | 72, 78 | rspcedv 3554 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (((𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)) ∧ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸))) |
80 | 1, 70, 79 | mp2and 696 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸)) |
81 | 80 | ex 413 |
1
⊢ (𝑁 ∈ ℕ0
→ (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸))) |