Step | Hyp | Ref
| Expression |
1 | | ovex 7288 |
. . . . 5
⊢ (𝑁 WWalksN 𝐺) ∈ V |
2 | 1 | mptrabex 7083 |
. . . 4
⊢ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ∈ V |
3 | 2 | resex 5928 |
. . 3
⊢ ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}) ∈ V |
4 | | eqid 2738 |
. . . . . 6
⊢ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) = (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) |
5 | | eqid 2738 |
. . . . . . 7
⊢ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} = {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} |
6 | 5, 4 | clwwlkf1o 28316 |
. . . . . 6
⊢ (𝑁 ∈ ℕ → (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)):{𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)}–1-1-onto→(𝑁 ClWWalksN 𝐺)) |
7 | | fveq1 6755 |
. . . . . . . . 9
⊢ (𝑦 = (𝑤 prefix 𝑁) → (𝑦‘0) = ((𝑤 prefix 𝑁)‘0)) |
8 | 7 | eqeq1d 2740 |
. . . . . . . 8
⊢ (𝑦 = (𝑤 prefix 𝑁) → ((𝑦‘0) = 𝑋 ↔ ((𝑤 prefix 𝑁)‘0) = 𝑋)) |
9 | 8 | 3ad2ant3 1133 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∧ 𝑦 = (𝑤 prefix 𝑁)) → ((𝑦‘0) = 𝑋 ↔ ((𝑤 prefix 𝑁)‘0) = 𝑋)) |
10 | | fveq2 6756 |
. . . . . . . . . . . . . 14
⊢ (𝑥 = 𝑤 → (lastS‘𝑥) = (lastS‘𝑤)) |
11 | | fveq1 6755 |
. . . . . . . . . . . . . 14
⊢ (𝑥 = 𝑤 → (𝑥‘0) = (𝑤‘0)) |
12 | 10, 11 | eqeq12d 2754 |
. . . . . . . . . . . . 13
⊢ (𝑥 = 𝑤 → ((lastS‘𝑥) = (𝑥‘0) ↔ (lastS‘𝑤) = (𝑤‘0))) |
13 | 12 | elrab 3617 |
. . . . . . . . . . . 12
⊢ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↔ (𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0))) |
14 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
15 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(Edg‘𝐺) =
(Edg‘𝐺) |
16 | 14, 15 | wwlknp 28109 |
. . . . . . . . . . . . . 14
⊢ (𝑤 ∈ (𝑁 WWalksN 𝐺) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1) ∧ ∀𝑖 ∈ (0..^𝑁){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺))) |
17 | | simpll 763 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) ∧ 𝑁 ∈ ℕ) → 𝑤 ∈ Word (Vtx‘𝐺)) |
18 | | nnz 12272 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℤ) |
19 | | uzid 12526 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
(ℤ≥‘𝑁)) |
20 | | peano2uz 12570 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈
(ℤ≥‘𝑁) → (𝑁 + 1) ∈
(ℤ≥‘𝑁)) |
21 | 18, 19, 20 | 3syl 18 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑁 ∈ ℕ → (𝑁 + 1) ∈
(ℤ≥‘𝑁)) |
22 | | elfz1end 13215 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈ ℕ ↔ 𝑁 ∈ (1...𝑁)) |
23 | 22 | biimpi 215 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑁 ∈ ℕ → 𝑁 ∈ (1...𝑁)) |
24 | | fzss2 13225 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑁 + 1) ∈
(ℤ≥‘𝑁) → (1...𝑁) ⊆ (1...(𝑁 + 1))) |
25 | 24 | sselda 3917 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (((𝑁 + 1) ∈
(ℤ≥‘𝑁) ∧ 𝑁 ∈ (1...𝑁)) → 𝑁 ∈ (1...(𝑁 + 1))) |
26 | 21, 23, 25 | syl2anc 583 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑁 ∈ ℕ → 𝑁 ∈ (1...(𝑁 + 1))) |
27 | 26 | adantl 481 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) ∧ 𝑁 ∈ ℕ) → 𝑁 ∈ (1...(𝑁 + 1))) |
28 | | oveq2 7263 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((♯‘𝑤) =
(𝑁 + 1) →
(1...(♯‘𝑤)) =
(1...(𝑁 +
1))) |
29 | 28 | eleq2d 2824 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((♯‘𝑤) =
(𝑁 + 1) → (𝑁 ∈
(1...(♯‘𝑤))
↔ 𝑁 ∈ (1...(𝑁 + 1)))) |
30 | 29 | adantl 481 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) → (𝑁 ∈ (1...(♯‘𝑤)) ↔ 𝑁 ∈ (1...(𝑁 + 1)))) |
31 | 30 | adantr 480 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) ∧ 𝑁 ∈ ℕ) → (𝑁 ∈ (1...(♯‘𝑤)) ↔ 𝑁 ∈ (1...(𝑁 + 1)))) |
32 | 27, 31 | mpbird 256 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) ∧ 𝑁 ∈ ℕ) → 𝑁 ∈ (1...(♯‘𝑤))) |
33 | 17, 32 | jca 511 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) ∧ 𝑁 ∈ ℕ) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤)))) |
34 | 33 | ex 412 |
. . . . . . . . . . . . . . 15
⊢ ((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1)) → (𝑁 ∈ ℕ → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤))))) |
35 | 34 | 3adant3 1130 |
. . . . . . . . . . . . . 14
⊢ ((𝑤 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (𝑁 + 1) ∧ ∀𝑖 ∈ (0..^𝑁){(𝑤‘𝑖), (𝑤‘(𝑖 + 1))} ∈ (Edg‘𝐺)) → (𝑁 ∈ ℕ → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤))))) |
36 | 16, 35 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑤 ∈ (𝑁 WWalksN 𝐺) → (𝑁 ∈ ℕ → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤))))) |
37 | 36 | adantr 480 |
. . . . . . . . . . . 12
⊢ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) → (𝑁 ∈ ℕ → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤))))) |
38 | 13, 37 | sylbi 216 |
. . . . . . . . . . 11
⊢ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} → (𝑁 ∈ ℕ → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤))))) |
39 | 38 | impcom 407 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ ∧ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)}) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤)))) |
40 | | pfxfv0 14333 |
. . . . . . . . . 10
⊢ ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑁 ∈ (1...(♯‘𝑤))) → ((𝑤 prefix 𝑁)‘0) = (𝑤‘0)) |
41 | 39, 40 | syl 17 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ ∧ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)}) → ((𝑤 prefix 𝑁)‘0) = (𝑤‘0)) |
42 | 41 | eqeq1d 2740 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ ∧ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)}) → (((𝑤 prefix 𝑁)‘0) = 𝑋 ↔ (𝑤‘0) = 𝑋)) |
43 | 42 | 3adant3 1130 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∧ 𝑦 = (𝑤 prefix 𝑁)) → (((𝑤 prefix 𝑁)‘0) = 𝑋 ↔ (𝑤‘0) = 𝑋)) |
44 | 9, 43 | bitrd 278 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ ∧ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∧ 𝑦 = (𝑤 prefix 𝑁)) → ((𝑦‘0) = 𝑋 ↔ (𝑤‘0) = 𝑋)) |
45 | 4, 6, 44 | f1oresrab 6981 |
. . . . 5
⊢ (𝑁 ∈ ℕ → ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→{𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ (𝑦‘0) = 𝑋}) |
46 | 45 | adantl 481 |
. . . 4
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→{𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ (𝑦‘0) = 𝑋}) |
47 | | clwwlknon 28355 |
. . . . . 6
⊢ (𝑋(ClWWalksNOn‘𝐺)𝑁) = {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ (𝑦‘0) = 𝑋} |
48 | 47 | a1i 11 |
. . . . 5
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑋(ClWWalksNOn‘𝐺)𝑁) = {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ (𝑦‘0) = 𝑋}) |
49 | 48 | f1oeq3d 6697 |
. . . 4
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁) ↔ ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→{𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ (𝑦‘0) = 𝑋})) |
50 | 46, 49 | mpbird 256 |
. . 3
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁)) |
51 | | f1oeq1 6688 |
. . . 4
⊢ (𝑓 = ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}) → (𝑓:{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁) ↔ ((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁))) |
52 | 51 | spcegv 3526 |
. . 3
⊢ (((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}) ∈ V → (((𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ↦ (𝑤 prefix 𝑁)) ↾ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}):{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁) → ∃𝑓 𝑓:{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁))) |
53 | 3, 50, 52 | mpsyl 68 |
. 2
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ∃𝑓 𝑓:{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁)) |
54 | | df-rab 3072 |
. . . . 5
⊢ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)} = {𝑤 ∣ (𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋))} |
55 | | anass 468 |
. . . . . . 7
⊢ (((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ∧ (𝑤‘0) = 𝑋) ↔ (𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋))) |
56 | 55 | bicomi 223 |
. . . . . 6
⊢ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)) ↔ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ∧ (𝑤‘0) = 𝑋)) |
57 | 56 | abbii 2809 |
. . . . 5
⊢ {𝑤 ∣ (𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋))} = {𝑤 ∣ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ∧ (𝑤‘0) = 𝑋)} |
58 | 13 | bicomi 223 |
. . . . . . . 8
⊢ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ↔ 𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)}) |
59 | 58 | anbi1i 623 |
. . . . . . 7
⊢ (((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ∧ (𝑤‘0) = 𝑋) ↔ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∧ (𝑤‘0) = 𝑋)) |
60 | 59 | abbii 2809 |
. . . . . 6
⊢ {𝑤 ∣ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ∧ (𝑤‘0) = 𝑋)} = {𝑤 ∣ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∧ (𝑤‘0) = 𝑋)} |
61 | | df-rab 3072 |
. . . . . 6
⊢ {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋} = {𝑤 ∣ (𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∧ (𝑤‘0) = 𝑋)} |
62 | 60, 61 | eqtr4i 2769 |
. . . . 5
⊢ {𝑤 ∣ ((𝑤 ∈ (𝑁 WWalksN 𝐺) ∧ (lastS‘𝑤) = (𝑤‘0)) ∧ (𝑤‘0) = 𝑋)} = {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋} |
63 | 54, 57, 62 | 3eqtri 2770 |
. . . 4
⊢ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)} = {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋} |
64 | | f1oeq2 6689 |
. . . 4
⊢ ({𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)} = {𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋} → (𝑓:{𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁) ↔ 𝑓:{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁))) |
65 | 63, 64 | mp1i 13 |
. . 3
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (𝑓:{𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁) ↔ 𝑓:{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁))) |
66 | 65 | exbidv 1925 |
. 2
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → (∃𝑓 𝑓:{𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁) ↔ ∃𝑓 𝑓:{𝑤 ∈ {𝑥 ∈ (𝑁 WWalksN 𝐺) ∣ (lastS‘𝑥) = (𝑥‘0)} ∣ (𝑤‘0) = 𝑋}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁))) |
67 | 53, 66 | mpbird 256 |
1
⊢ ((𝑋 ∈ 𝑉 ∧ 𝑁 ∈ ℕ) → ∃𝑓 𝑓:{𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((lastS‘𝑤) = (𝑤‘0) ∧ (𝑤‘0) = 𝑋)}–1-1-onto→(𝑋(ClWWalksNOn‘𝐺)𝑁)) |