Step | Hyp | Ref
| Expression |
1 | | eliun 4908 |
. . 3
⊢ (𝑦 ∈ ∪ 𝑥 ∈ 𝑉 (𝑥(ClWWalksNOn‘𝐺)𝑁) ↔ ∃𝑥 ∈ 𝑉 𝑦 ∈ (𝑥(ClWWalksNOn‘𝐺)𝑁)) |
2 | | isclwwlknon 28174 |
. . . . 5
⊢ (𝑦 ∈ (𝑥(ClWWalksNOn‘𝐺)𝑁) ↔ (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥)) |
3 | 2 | rexbii 3170 |
. . . 4
⊢
(∃𝑥 ∈
𝑉 𝑦 ∈ (𝑥(ClWWalksNOn‘𝐺)𝑁) ↔ ∃𝑥 ∈ 𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥)) |
4 | | simpl 486 |
. . . . . 6
⊢ ((𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥) → 𝑦 ∈ (𝑁 ClWWalksN 𝐺)) |
5 | 4 | rexlimivw 3201 |
. . . . 5
⊢
(∃𝑥 ∈
𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥) → 𝑦 ∈ (𝑁 ClWWalksN 𝐺)) |
6 | | clwwlknun.v |
. . . . . . . . 9
⊢ 𝑉 = (Vtx‘𝐺) |
7 | | eqid 2737 |
. . . . . . . . 9
⊢
(Edg‘𝐺) =
(Edg‘𝐺) |
8 | 6, 7 | clwwlknp 28120 |
. . . . . . . 8
⊢ (𝑦 ∈ (𝑁 ClWWalksN 𝐺) → ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) |
9 | 8 | anim2i 620 |
. . . . . . 7
⊢ ((𝐺 ∈ USGraph ∧ 𝑦 ∈ (𝑁 ClWWalksN 𝐺)) → (𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺)))) |
10 | 7, 6 | usgrpredgv 27285 |
. . . . . . . . . . . . 13
⊢ ((𝐺 ∈ USGraph ∧
{(lastS‘𝑦), (𝑦‘0)} ∈
(Edg‘𝐺)) →
((lastS‘𝑦) ∈
𝑉 ∧ (𝑦‘0) ∈ 𝑉)) |
11 | 10 | ex 416 |
. . . . . . . . . . . 12
⊢ (𝐺 ∈ USGraph →
({(lastS‘𝑦), (𝑦‘0)} ∈
(Edg‘𝐺) →
((lastS‘𝑦) ∈
𝑉 ∧ (𝑦‘0) ∈ 𝑉))) |
12 | | simpr 488 |
. . . . . . . . . . . 12
⊢
(((lastS‘𝑦)
∈ 𝑉 ∧ (𝑦‘0) ∈ 𝑉) → (𝑦‘0) ∈ 𝑉) |
13 | 11, 12 | syl6com 37 |
. . . . . . . . . . 11
⊢
({(lastS‘𝑦),
(𝑦‘0)} ∈
(Edg‘𝐺) → (𝐺 ∈ USGraph → (𝑦‘0) ∈ 𝑉)) |
14 | 13 | 3ad2ant3 1137 |
. . . . . . . . . 10
⊢ (((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺)) → (𝐺 ∈ USGraph → (𝑦‘0) ∈ 𝑉)) |
15 | 14 | impcom 411 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) → (𝑦‘0) ∈ 𝑉) |
16 | | simpr 488 |
. . . . . . . . . . . 12
⊢ (((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) ∧ 𝑥 = (𝑦‘0)) → 𝑥 = (𝑦‘0)) |
17 | 16 | eqcomd 2743 |
. . . . . . . . . . 11
⊢ (((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) ∧ 𝑥 = (𝑦‘0)) → (𝑦‘0) = 𝑥) |
18 | 17 | biantrud 535 |
. . . . . . . . . 10
⊢ (((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) ∧ 𝑥 = (𝑦‘0)) → (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ↔ (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥))) |
19 | 18 | bicomd 226 |
. . . . . . . . 9
⊢ (((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) ∧ 𝑥 = (𝑦‘0)) → ((𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥) ↔ 𝑦 ∈ (𝑁 ClWWalksN 𝐺))) |
20 | 15, 19 | rspcedv 3530 |
. . . . . . . 8
⊢ ((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) → (𝑦 ∈ (𝑁 ClWWalksN 𝐺) → ∃𝑥 ∈ 𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥))) |
21 | 20 | adantld 494 |
. . . . . . 7
⊢ ((𝐺 ∈ USGraph ∧ ((𝑦 ∈ Word 𝑉 ∧ (♯‘𝑦) = 𝑁) ∧ ∀𝑖 ∈ (0..^(𝑁 − 1)){(𝑦‘𝑖), (𝑦‘(𝑖 + 1))} ∈ (Edg‘𝐺) ∧ {(lastS‘𝑦), (𝑦‘0)} ∈ (Edg‘𝐺))) → ((𝐺 ∈ USGraph ∧ 𝑦 ∈ (𝑁 ClWWalksN 𝐺)) → ∃𝑥 ∈ 𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥))) |
22 | 9, 21 | mpcom 38 |
. . . . . 6
⊢ ((𝐺 ∈ USGraph ∧ 𝑦 ∈ (𝑁 ClWWalksN 𝐺)) → ∃𝑥 ∈ 𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥)) |
23 | 22 | ex 416 |
. . . . 5
⊢ (𝐺 ∈ USGraph → (𝑦 ∈ (𝑁 ClWWalksN 𝐺) → ∃𝑥 ∈ 𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥))) |
24 | 5, 23 | impbid2 229 |
. . . 4
⊢ (𝐺 ∈ USGraph →
(∃𝑥 ∈ 𝑉 (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝑦‘0) = 𝑥) ↔ 𝑦 ∈ (𝑁 ClWWalksN 𝐺))) |
25 | 3, 24 | syl5bb 286 |
. . 3
⊢ (𝐺 ∈ USGraph →
(∃𝑥 ∈ 𝑉 𝑦 ∈ (𝑥(ClWWalksNOn‘𝐺)𝑁) ↔ 𝑦 ∈ (𝑁 ClWWalksN 𝐺))) |
26 | 1, 25 | bitr2id 287 |
. 2
⊢ (𝐺 ∈ USGraph → (𝑦 ∈ (𝑁 ClWWalksN 𝐺) ↔ 𝑦 ∈ ∪
𝑥 ∈ 𝑉 (𝑥(ClWWalksNOn‘𝐺)𝑁))) |
27 | 26 | eqrdv 2735 |
1
⊢ (𝐺 ∈ USGraph → (𝑁 ClWWalksN 𝐺) = ∪
𝑥 ∈ 𝑉 (𝑥(ClWWalksNOn‘𝐺)𝑁)) |