Step | Hyp | Ref
| Expression |
1 | | 0nn0 11184 |
. 2
⊢ 0 ∈
ℕ0 |
2 | | wwlksn 41040 |
. . 3
⊢ (0 ∈
ℕ0 → (0 WWalkSN 𝐺) = {𝑤 ∈ (WWalkS‘𝐺) ∣ (#‘𝑤) = (0 + 1)}) |
3 | | eqid 2610 |
. . . . . . . 8
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
4 | | eqid 2610 |
. . . . . . . 8
⊢
(Edg‘𝐺) =
(Edg‘𝐺) |
5 | 3, 4 | iswwlks 41039 |
. . . . . . 7
⊢ (𝑤 ∈ (WWalkS‘𝐺) ↔ (𝑤 ≠ ∅ ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ ∀𝑖 ∈ (0..^((#‘𝑤) − 1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺))) |
6 | | 0p1e1 11009 |
. . . . . . . 8
⊢ (0 + 1) =
1 |
7 | 6 | eqeq2i 2622 |
. . . . . . 7
⊢
((#‘𝑤) = (0 +
1) ↔ (#‘𝑤) =
1) |
8 | 5, 7 | anbi12i 729 |
. . . . . 6
⊢ ((𝑤 ∈ (WWalkS‘𝐺) ∧ (#‘𝑤) = (0 + 1)) ↔ ((𝑤 ≠ ∅ ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ ∀𝑖 ∈ (0..^((#‘𝑤) − 1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) ∧ (#‘𝑤) = 1)) |
9 | | simp2 1055 |
. . . . . . . 8
⊢ ((𝑤 ≠ ∅ ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ ∀𝑖 ∈ (0..^((#‘𝑤) − 1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) → 𝑤 ∈ Word (Vtx‘𝐺)) |
10 | | vex 3176 |
. . . . . . . . . . . 12
⊢ 𝑤 ∈ V |
11 | | 0lt1 10429 |
. . . . . . . . . . . . 13
⊢ 0 <
1 |
12 | | breq2 4587 |
. . . . . . . . . . . . 13
⊢
((#‘𝑤) = 1
→ (0 < (#‘𝑤)
↔ 0 < 1)) |
13 | 11, 12 | mpbiri 247 |
. . . . . . . . . . . 12
⊢
((#‘𝑤) = 1
→ 0 < (#‘𝑤)) |
14 | | hashgt0n0 13017 |
. . . . . . . . . . . 12
⊢ ((𝑤 ∈ V ∧ 0 <
(#‘𝑤)) → 𝑤 ≠ ∅) |
15 | 10, 13, 14 | sylancr 694 |
. . . . . . . . . . 11
⊢
((#‘𝑤) = 1
→ 𝑤 ≠
∅) |
16 | 15 | adantr 480 |
. . . . . . . . . 10
⊢
(((#‘𝑤) = 1
∧ 𝑤 ∈ Word
(Vtx‘𝐺)) → 𝑤 ≠ ∅) |
17 | | simpr 476 |
. . . . . . . . . 10
⊢
(((#‘𝑤) = 1
∧ 𝑤 ∈ Word
(Vtx‘𝐺)) → 𝑤 ∈ Word (Vtx‘𝐺)) |
18 | | ral0 4028 |
. . . . . . . . . . . 12
⊢
∀𝑖 ∈
∅ {(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺) |
19 | | oveq1 6556 |
. . . . . . . . . . . . . . . 16
⊢
((#‘𝑤) = 1
→ ((#‘𝑤) −
1) = (1 − 1)) |
20 | | 1m1e0 10966 |
. . . . . . . . . . . . . . . 16
⊢ (1
− 1) = 0 |
21 | 19, 20 | syl6eq 2660 |
. . . . . . . . . . . . . . 15
⊢
((#‘𝑤) = 1
→ ((#‘𝑤) −
1) = 0) |
22 | 21 | oveq2d 6565 |
. . . . . . . . . . . . . 14
⊢
((#‘𝑤) = 1
→ (0..^((#‘𝑤)
− 1)) = (0..^0)) |
23 | | fzo0 12361 |
. . . . . . . . . . . . . 14
⊢ (0..^0) =
∅ |
24 | 22, 23 | syl6eq 2660 |
. . . . . . . . . . . . 13
⊢
((#‘𝑤) = 1
→ (0..^((#‘𝑤)
− 1)) = ∅) |
25 | 24 | raleqdv 3121 |
. . . . . . . . . . . 12
⊢
((#‘𝑤) = 1
→ (∀𝑖 ∈
(0..^((#‘𝑤) −
1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺) ↔ ∀𝑖 ∈ ∅ {(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺))) |
26 | 18, 25 | mpbiri 247 |
. . . . . . . . . . 11
⊢
((#‘𝑤) = 1
→ ∀𝑖 ∈
(0..^((#‘𝑤) −
1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) |
27 | 26 | adantr 480 |
. . . . . . . . . 10
⊢
(((#‘𝑤) = 1
∧ 𝑤 ∈ Word
(Vtx‘𝐺)) →
∀𝑖 ∈
(0..^((#‘𝑤) −
1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) |
28 | 16, 17, 27 | 3jca 1235 |
. . . . . . . . 9
⊢
(((#‘𝑤) = 1
∧ 𝑤 ∈ Word
(Vtx‘𝐺)) →
(𝑤 ≠ ∅ ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ ∀𝑖 ∈ (0..^((#‘𝑤) − 1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺))) |
29 | 28 | ex 449 |
. . . . . . . 8
⊢
((#‘𝑤) = 1
→ (𝑤 ∈ Word
(Vtx‘𝐺) → (𝑤 ≠ ∅ ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ ∀𝑖 ∈ (0..^((#‘𝑤) − 1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)))) |
30 | 9, 29 | impbid2 215 |
. . . . . . 7
⊢
((#‘𝑤) = 1
→ ((𝑤 ≠ ∅
∧ 𝑤 ∈ Word
(Vtx‘𝐺) ∧
∀𝑖 ∈
(0..^((#‘𝑤) −
1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) ↔ 𝑤 ∈ Word (Vtx‘𝐺))) |
31 | 30 | pm5.32ri 668 |
. . . . . 6
⊢ (((𝑤 ≠ ∅ ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ ∀𝑖 ∈ (0..^((#‘𝑤) − 1)){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) ∧ (#‘𝑤) = 1) ↔ (𝑤 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑤) = 1)) |
32 | 8, 31 | bitri 263 |
. . . . 5
⊢ ((𝑤 ∈ (WWalkS‘𝐺) ∧ (#‘𝑤) = (0 + 1)) ↔ (𝑤 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑤) = 1)) |
33 | 32 | a1i 11 |
. . . 4
⊢ (0 ∈
ℕ0 → ((𝑤 ∈ (WWalkS‘𝐺) ∧ (#‘𝑤) = (0 + 1)) ↔ (𝑤 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑤) = 1))) |
34 | 33 | rabbidva2 3162 |
. . 3
⊢ (0 ∈
ℕ0 → {𝑤 ∈ (WWalkS‘𝐺) ∣ (#‘𝑤) = (0 + 1)} = {𝑤 ∈ Word (Vtx‘𝐺) ∣ (#‘𝑤) = 1}) |
35 | 2, 34 | eqtrd 2644 |
. 2
⊢ (0 ∈
ℕ0 → (0 WWalkSN 𝐺) = {𝑤 ∈ Word (Vtx‘𝐺) ∣ (#‘𝑤) = 1}) |
36 | 1, 35 | ax-mp 5 |
1
⊢ (0
WWalkSN 𝐺) = {𝑤 ∈ Word (Vtx‘𝐺) ∣ (#‘𝑤) = 1} |