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 28109 |
. . . 4
⊢ (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) |
5 | | simprl 767 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → 𝑊 ∈ Word (Vtx‘𝐺)) |
6 | | peano2nn0 12203 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ0) |
7 | | peano2nn0 12203 |
. . . . . . . . . . . . 13
⊢ ((𝑁 + 1) ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ0) |
8 | 6, 7 | syl 17 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ0) |
9 | | id 22 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℕ0) |
10 | | nn0p1nn 12202 |
. . . . . . . . . . . . . 14
⊢ ((𝑁 + 1) ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ) |
11 | 6, 10 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ ((𝑁 + 1) + 1) ∈
ℕ) |
12 | | nn0re 12172 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℝ) |
13 | | id 22 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℝ → 𝑁 ∈
ℝ) |
14 | | peano2re 11078 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℝ → (𝑁 + 1) ∈
ℝ) |
15 | | peano2re 11078 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑁 + 1) ∈ ℝ →
((𝑁 + 1) + 1) ∈
ℝ) |
16 | 14, 15 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 ∈ ℝ → ((𝑁 + 1) + 1) ∈
ℝ) |
17 | 13, 14, 16 | 3jca 1126 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℝ → (𝑁 ∈ ℝ ∧ (𝑁 + 1) ∈ ℝ ∧
((𝑁 + 1) + 1) ∈
ℝ)) |
18 | 12, 17 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ (𝑁 ∈ ℝ
∧ (𝑁 + 1) ∈
ℝ ∧ ((𝑁 + 1) + 1)
∈ ℝ)) |
19 | 12 | ltp1d 11835 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ 𝑁 < (𝑁 + 1)) |
20 | | nn0re 12172 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑁 + 1) ∈ ℕ0
→ (𝑁 + 1) ∈
ℝ) |
21 | 6, 20 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℝ) |
22 | 21 | ltp1d 11835 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) < ((𝑁 + 1) + 1)) |
23 | | lttr 10982 |
. . . . . . . . . . . . . . 15
⊢ ((𝑁 ∈ ℝ ∧ (𝑁 + 1) ∈ ℝ ∧
((𝑁 + 1) + 1) ∈
ℝ) → ((𝑁 <
(𝑁 + 1) ∧ (𝑁 + 1) < ((𝑁 + 1) + 1)) → 𝑁 < ((𝑁 + 1) + 1))) |
24 | 23 | imp 406 |
. . . . . . . . . . . . . 14
⊢ (((𝑁 ∈ ℝ ∧ (𝑁 + 1) ∈ ℝ ∧
((𝑁 + 1) + 1) ∈
ℝ) ∧ (𝑁 <
(𝑁 + 1) ∧ (𝑁 + 1) < ((𝑁 + 1) + 1))) → 𝑁 < ((𝑁 + 1) + 1)) |
25 | 18, 19, 22, 24 | syl12anc 833 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ0
→ 𝑁 < ((𝑁 + 1) + 1)) |
26 | | elfzo0 13356 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ (0..^((𝑁 + 1) + 1)) ↔ (𝑁 ∈ ℕ0 ∧ ((𝑁 + 1) + 1) ∈ ℕ ∧
𝑁 < ((𝑁 + 1) + 1))) |
27 | 9, 11, 25, 26 | syl3anbrc 1341 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
(0..^((𝑁 + 1) +
1))) |
28 | | fz0add1fz1 13385 |
. . . . . . . . . . . 12
⊢ ((((𝑁 + 1) + 1) ∈
ℕ0 ∧ 𝑁
∈ (0..^((𝑁 + 1) + 1)))
→ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1))) |
29 | 8, 27, 28 | syl2anc 583 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1))) |
30 | 29 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → (𝑁 + 1) ∈ (1...((𝑁 + 1) + 1))) |
31 | | oveq2 7263 |
. . . . . . . . . . . . 13
⊢
((♯‘𝑊) =
((𝑁 + 1) + 1) →
(1...(♯‘𝑊)) =
(1...((𝑁 + 1) +
1))) |
32 | 31 | eleq2d 2824 |
. . . . . . . . . . . 12
⊢
((♯‘𝑊) =
((𝑁 + 1) + 1) →
((𝑁 + 1) ∈
(1...(♯‘𝑊))
↔ (𝑁 + 1) ∈
(1...((𝑁 + 1) +
1)))) |
33 | 32 | adantl 481 |
. . . . . . . . . . 11
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → ((𝑁 + 1) ∈ (1...(♯‘𝑊)) ↔ (𝑁 + 1) ∈ (1...((𝑁 + 1) + 1)))) |
34 | 33 | adantl 481 |
. . . . . . . . . 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 511 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1))) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(♯‘𝑊)))) |
37 | 36 | 3adantr3 1169 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(♯‘𝑊)))) |
38 | | pfxfvlsw 14336 |
. . . . . . 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 14195 |
. . . . . . . 8
⊢ (𝑊 ∈ Word (Vtx‘𝐺) → (lastS‘𝑊) = (𝑊‘((♯‘𝑊) − 1))) |
41 | 40 | 3ad2ant1 1131 |
. . . . . . 7
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → (lastS‘𝑊) = (𝑊‘((♯‘𝑊) − 1))) |
42 | 41 | adantl 481 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (lastS‘𝑊) = (𝑊‘((♯‘𝑊) − 1))) |
43 | 39, 42 | preq12d 4674 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} = {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘((♯‘𝑊) − 1))}) |
44 | | oveq1 7262 |
. . . . . . . . . . 11
⊢
((♯‘𝑊) =
((𝑁 + 1) + 1) →
((♯‘𝑊) −
1) = (((𝑁 + 1) + 1) −
1)) |
45 | 44 | 3ad2ant2 1132 |
. . . . . . . . . 10
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → ((♯‘𝑊) − 1) = (((𝑁 + 1) + 1) − 1)) |
46 | 45 | adantl 481 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → ((♯‘𝑊) − 1) = (((𝑁 + 1) + 1) − 1)) |
47 | 46 | fveq2d 6760 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → (𝑊‘((♯‘𝑊) − 1)) = (𝑊‘(((𝑁 + 1) + 1) − 1))) |
48 | 47 | preq2d 4673 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝑊 ∈ Word
(Vtx‘𝐺) ∧
(♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸)) → {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘((♯‘𝑊) − 1))} = {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘(((𝑁 + 1) + 1) − 1))}) |
49 | | nn0cn 12173 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℂ) |
50 | | 1cnd 10901 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ 1 ∈ ℂ) |
51 | 49, 50 | pncand 11263 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ ((𝑁 + 1) − 1)
= 𝑁) |
52 | 51 | fveq2d 6760 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑊‘((𝑁 + 1) − 1)) = (𝑊‘𝑁)) |
53 | 6 | nn0cnd 12225 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℂ) |
54 | 53, 50 | pncand 11263 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (((𝑁 + 1) + 1)
− 1) = (𝑁 +
1)) |
55 | 54 | fveq2d 6760 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑊‘(((𝑁 + 1) + 1) − 1)) = (𝑊‘(𝑁 + 1))) |
56 | 52, 55 | preq12d 4674 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ0
→ {(𝑊‘((𝑁 + 1) − 1)), (𝑊‘(((𝑁 + 1) + 1) − 1))} = {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))}) |
57 | 56 | adantr 480 |
. . . . . . 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 6756 |
. . . . . . . . . . . 12
⊢ (𝑖 = 𝑁 → (𝑊‘𝑖) = (𝑊‘𝑁)) |
60 | | fvoveq1 7278 |
. . . . . . . . . . . 12
⊢ (𝑖 = 𝑁 → (𝑊‘(𝑖 + 1)) = (𝑊‘(𝑁 + 1))) |
61 | 59, 60 | preq12d 4674 |
. . . . . . . . . . 11
⊢ (𝑖 = 𝑁 → {(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} = {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))}) |
62 | 61 | eleq1d 2823 |
. . . . . . . . . 10
⊢ (𝑖 = 𝑁 → ({(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸 ↔ {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
63 | 62 | rspcv 3547 |
. . . . . . . . 9
⊢ (𝑁 ∈ (0..^(𝑁 + 1)) → (∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸 → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
64 | | fzonn0p1 13392 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈ (0..^(𝑁 + 1))) |
65 | 63, 64 | syl11 33 |
. . . . . . . 8
⊢
(∀𝑖 ∈
(0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸 → (𝑁 ∈ ℕ0 → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
66 | 65 | 3ad2ant3 1133 |
. . . . . . 7
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊‘𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → (𝑁 ∈ ℕ0 → {(𝑊‘𝑁), (𝑊‘(𝑁 + 1))} ∈ 𝐸)) |
67 | 66 | impcom 407 |
. . . . . 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 592 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸) |
71 | | wwlksnred 28158 |
. . . . 5
⊢ (𝑁 ∈ ℕ0
→ (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 prefix (𝑁 + 1)) ∈ (𝑁 WWalksN 𝐺))) |
72 | 71 | imp 406 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊 prefix (𝑁 + 1)) ∈ (𝑁 WWalksN 𝐺)) |
73 | | eqeq2 2750 |
. . . . . 6
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → ((𝑊 prefix (𝑁 + 1)) = 𝑦 ↔ (𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)))) |
74 | | fveq2 6756 |
. . . . . . . 8
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → (lastS‘𝑦) = (lastS‘(𝑊 prefix (𝑁 + 1)))) |
75 | 74 | preq1d 4672 |
. . . . . . 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 630 |
. . . . 5
⊢ (𝑦 = (𝑊 prefix (𝑁 + 1)) → (((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸) ↔ ((𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)) ∧ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸))) |
78 | 77 | adantl 481 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) ∧ 𝑦 = (𝑊 prefix (𝑁 + 1))) → (((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸) ↔ ((𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)) ∧ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸))) |
79 | 72, 78 | rspcedv 3544 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (((𝑊 prefix (𝑁 + 1)) = (𝑊 prefix (𝑁 + 1)) ∧ {(lastS‘(𝑊 prefix (𝑁 + 1))), (lastS‘𝑊)} ∈ 𝐸) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸))) |
80 | 1, 70, 79 | mp2and 695 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸)) |
81 | 80 | ex 412 |
1
⊢ (𝑁 ∈ ℕ0
→ (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 prefix (𝑁 + 1)) = 𝑦 ∧ {(lastS‘𝑦), (lastS‘𝑊)} ∈ 𝐸))) |