Step | Hyp | Ref
| Expression |
1 | | eqid 2738 |
. . 3
⊢ (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) = (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
2 | | 2fveq3 6779 |
. . . . . . . 8
⊢ (𝑠 = 𝑤 → (♯‘(1st
‘𝑠)) =
(♯‘(1st ‘𝑤))) |
3 | 2 | breq2d 5086 |
. . . . . . 7
⊢ (𝑠 = 𝑤 → (1 ≤
(♯‘(1st ‘𝑠)) ↔ 1 ≤
(♯‘(1st ‘𝑤)))) |
4 | 3 | cbvrabv 3426 |
. . . . . 6
⊢ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} = {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} |
5 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑑 = 𝑐 → (2nd ‘𝑑) = (2nd ‘𝑐)) |
6 | | 2fveq3 6779 |
. . . . . . . . 9
⊢ (𝑑 = 𝑐 → (♯‘(2nd
‘𝑑)) =
(♯‘(2nd ‘𝑐))) |
7 | 6 | oveq1d 7290 |
. . . . . . . 8
⊢ (𝑑 = 𝑐 → ((♯‘(2nd
‘𝑑)) − 1) =
((♯‘(2nd ‘𝑐)) − 1)) |
8 | 5, 7 | oveq12d 7293 |
. . . . . . 7
⊢ (𝑑 = 𝑐 → ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1)) = ((2nd
‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
9 | 8 | cbvmptv 5187 |
. . . . . 6
⊢ (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))) = (𝑐 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
10 | 4, 9 | clwlkclwwlkf1o 28375 |
. . . . 5
⊢ (𝐺 ∈ USPGraph → (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))):{𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))}–1-1-onto→(ClWWalks‘𝐺)) |
11 | 10 | adantr 481 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))):{𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))}–1-1-onto→(ClWWalks‘𝐺)) |
12 | | 2fveq3 6779 |
. . . . . . . . . 10
⊢ (𝑤 = 𝑠 → (♯‘(1st
‘𝑤)) =
(♯‘(1st ‘𝑠))) |
13 | 12 | breq2d 5086 |
. . . . . . . . 9
⊢ (𝑤 = 𝑠 → (1 ≤
(♯‘(1st ‘𝑤)) ↔ 1 ≤
(♯‘(1st ‘𝑠)))) |
14 | 13 | cbvrabv 3426 |
. . . . . . . 8
⊢ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} = {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} |
15 | 14 | mpteq1i 5170 |
. . . . . . 7
⊢ (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) = (𝑐 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
16 | | fveq2 6774 |
. . . . . . . . 9
⊢ (𝑐 = 𝑑 → (2nd ‘𝑐) = (2nd ‘𝑑)) |
17 | | 2fveq3 6779 |
. . . . . . . . . 10
⊢ (𝑐 = 𝑑 → (♯‘(2nd
‘𝑐)) =
(♯‘(2nd ‘𝑑))) |
18 | 17 | oveq1d 7290 |
. . . . . . . . 9
⊢ (𝑐 = 𝑑 → ((♯‘(2nd
‘𝑐)) − 1) =
((♯‘(2nd ‘𝑑)) − 1)) |
19 | 16, 18 | oveq12d 7293 |
. . . . . . . 8
⊢ (𝑐 = 𝑑 → ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)) = ((2nd
‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))) |
20 | 19 | cbvmptv 5187 |
. . . . . . 7
⊢ (𝑐 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) = (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))) |
21 | 15, 20 | eqtri 2766 |
. . . . . 6
⊢ (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) = (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))) |
22 | 21 | a1i 11 |
. . . . 5
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) = (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1)))) |
23 | 4 | eqcomi 2747 |
. . . . . 6
⊢ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} = {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} |
24 | 23 | a1i 11 |
. . . . 5
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} = {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))}) |
25 | | eqidd 2739 |
. . . . 5
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) →
(ClWWalks‘𝐺) =
(ClWWalks‘𝐺)) |
26 | 22, 24, 25 | f1oeq123d 6710 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))):{𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))}–1-1-onto→(ClWWalks‘𝐺) ↔ (𝑑 ∈ {𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))} ↦ ((2nd ‘𝑑) prefix
((♯‘(2nd ‘𝑑)) − 1))):{𝑠 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑠))}–1-1-onto→(ClWWalks‘𝐺))) |
27 | 11, 26 | mpbird 256 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))):{𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))}–1-1-onto→(ClWWalks‘𝐺)) |
28 | | fveq2 6774 |
. . . . . 6
⊢ (𝑠 = ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)) → (♯‘𝑠) =
(♯‘((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) −
1)))) |
29 | 28 | 3ad2ant3 1134 |
. . . . 5
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∧ 𝑠 = ((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) − 1)))
→ (♯‘𝑠) =
(♯‘((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) −
1)))) |
30 | | 2fveq3 6779 |
. . . . . . . . 9
⊢ (𝑤 = 𝑐 → (♯‘(1st
‘𝑤)) =
(♯‘(1st ‘𝑐))) |
31 | 30 | breq2d 5086 |
. . . . . . . 8
⊢ (𝑤 = 𝑐 → (1 ≤
(♯‘(1st ‘𝑤)) ↔ 1 ≤
(♯‘(1st ‘𝑐)))) |
32 | 31 | elrab 3624 |
. . . . . . 7
⊢ (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↔ (𝑐 ∈ (ClWalks‘𝐺) ∧ 1 ≤
(♯‘(1st ‘𝑐)))) |
33 | | clwlknf1oclwwlknlem1 28445 |
. . . . . . 7
⊢ ((𝑐 ∈ (ClWalks‘𝐺) ∧ 1 ≤
(♯‘(1st ‘𝑐))) → (♯‘((2nd
‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) =
(♯‘(1st ‘𝑐))) |
34 | 32, 33 | sylbi 216 |
. . . . . 6
⊢ (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} → (♯‘((2nd
‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) =
(♯‘(1st ‘𝑐))) |
35 | 34 | 3ad2ant2 1133 |
. . . . 5
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∧ 𝑠 = ((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) − 1)))
→ (♯‘((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) − 1))) =
(♯‘(1st ‘𝑐))) |
36 | 29, 35 | eqtrd 2778 |
. . . 4
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∧ 𝑠 = ((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) − 1)))
→ (♯‘𝑠) =
(♯‘(1st ‘𝑐))) |
37 | 36 | eqeq1d 2740 |
. . 3
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∧ 𝑠 = ((2nd ‘𝑐) prefix ((♯‘(2nd
‘𝑐)) − 1)))
→ ((♯‘𝑠) =
𝑁 ↔
(♯‘(1st ‘𝑐)) = 𝑁)) |
38 | 1, 27, 37 | f1oresrab 6999 |
. 2
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) ↾ {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁}):{𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁}–1-1-onto→{𝑠 ∈ (ClWWalks‘𝐺) ∣ (♯‘𝑠) = 𝑁}) |
39 | | clwlknf1oclwwlkn.a |
. . . . 5
⊢ 𝐴 = (1st ‘𝑐) |
40 | | clwlknf1oclwwlkn.b |
. . . . 5
⊢ 𝐵 = (2nd ‘𝑐) |
41 | | clwlknf1oclwwlkn.c |
. . . . 5
⊢ 𝐶 = {𝑤 ∈ (ClWalks‘𝐺) ∣ (♯‘(1st
‘𝑤)) = 𝑁} |
42 | | clwlknf1oclwwlkn.f |
. . . . 5
⊢ 𝐹 = (𝑐 ∈ 𝐶 ↦ (𝐵 prefix (♯‘𝐴))) |
43 | 39, 40, 41, 42 | clwlknf1oclwwlknlem3 28447 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → 𝐹 = ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ (𝐵 prefix (♯‘𝐴))) ↾ 𝐶)) |
44 | 40 | a1i 11 |
. . . . . . 7
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))}) → 𝐵 = (2nd ‘𝑐)) |
45 | | clwlkwlk 28143 |
. . . . . . . . . . 11
⊢ (𝑐 ∈ (ClWalks‘𝐺) → 𝑐 ∈ (Walks‘𝐺)) |
46 | | wlkcpr 27996 |
. . . . . . . . . . . 12
⊢ (𝑐 ∈ (Walks‘𝐺) ↔ (1st
‘𝑐)(Walks‘𝐺)(2nd ‘𝑐)) |
47 | 39 | fveq2i 6777 |
. . . . . . . . . . . . 13
⊢
(♯‘𝐴) =
(♯‘(1st ‘𝑐)) |
48 | | wlklenvm1 27989 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑐)(Walks‘𝐺)(2nd ‘𝑐) → (♯‘(1st
‘𝑐)) =
((♯‘(2nd ‘𝑐)) − 1)) |
49 | 47, 48 | eqtrid 2790 |
. . . . . . . . . . . 12
⊢
((1st ‘𝑐)(Walks‘𝐺)(2nd ‘𝑐) → (♯‘𝐴) = ((♯‘(2nd
‘𝑐)) −
1)) |
50 | 46, 49 | sylbi 216 |
. . . . . . . . . . 11
⊢ (𝑐 ∈ (Walks‘𝐺) → (♯‘𝐴) =
((♯‘(2nd ‘𝑐)) − 1)) |
51 | 45, 50 | syl 17 |
. . . . . . . . . 10
⊢ (𝑐 ∈ (ClWalks‘𝐺) → (♯‘𝐴) =
((♯‘(2nd ‘𝑐)) − 1)) |
52 | 51 | adantr 481 |
. . . . . . . . 9
⊢ ((𝑐 ∈ (ClWalks‘𝐺) ∧ 1 ≤
(♯‘(1st ‘𝑐))) → (♯‘𝐴) = ((♯‘(2nd
‘𝑐)) −
1)) |
53 | 32, 52 | sylbi 216 |
. . . . . . . 8
⊢ (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} → (♯‘𝐴) = ((♯‘(2nd
‘𝑐)) −
1)) |
54 | 53 | adantl 482 |
. . . . . . 7
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))}) → (♯‘𝐴) = ((♯‘(2nd
‘𝑐)) −
1)) |
55 | 44, 54 | oveq12d 7293 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))}) → (𝐵 prefix (♯‘𝐴)) = ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
56 | 55 | mpteq2dva 5174 |
. . . . 5
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ (𝐵 prefix (♯‘𝐴))) = (𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)))) |
57 | 30 | eqeq1d 2740 |
. . . . . . . 8
⊢ (𝑤 = 𝑐 → ((♯‘(1st
‘𝑤)) = 𝑁 ↔
(♯‘(1st ‘𝑐)) = 𝑁)) |
58 | 57 | cbvrabv 3426 |
. . . . . . 7
⊢ {𝑤 ∈ (ClWalks‘𝐺) ∣
(♯‘(1st ‘𝑤)) = 𝑁} = {𝑐 ∈ (ClWalks‘𝐺) ∣ (♯‘(1st
‘𝑐)) = 𝑁} |
59 | | nnge1 12001 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ → 1 ≤
𝑁) |
60 | | breq2 5078 |
. . . . . . . . . . . 12
⊢
((♯‘(1st ‘𝑐)) = 𝑁 → (1 ≤
(♯‘(1st ‘𝑐)) ↔ 1 ≤ 𝑁)) |
61 | 59, 60 | syl5ibrcom 246 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ →
((♯‘(1st ‘𝑐)) = 𝑁 → 1 ≤
(♯‘(1st ‘𝑐)))) |
62 | 61 | adantl 482 |
. . . . . . . . . 10
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) →
((♯‘(1st ‘𝑐)) = 𝑁 → 1 ≤
(♯‘(1st ‘𝑐)))) |
63 | 62 | adantr 481 |
. . . . . . . . 9
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ (ClWalks‘𝐺)) →
((♯‘(1st ‘𝑐)) = 𝑁 → 1 ≤
(♯‘(1st ‘𝑐)))) |
64 | 63 | pm4.71rd 563 |
. . . . . . . 8
⊢ (((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) ∧ 𝑐 ∈ (ClWalks‘𝐺)) →
((♯‘(1st ‘𝑐)) = 𝑁 ↔ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁))) |
65 | 64 | rabbidva 3413 |
. . . . . . 7
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → {𝑐 ∈ (ClWalks‘𝐺) ∣
(♯‘(1st ‘𝑐)) = 𝑁} = {𝑐 ∈ (ClWalks‘𝐺) ∣ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁)}) |
66 | 58, 65 | eqtrid 2790 |
. . . . . 6
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → {𝑤 ∈ (ClWalks‘𝐺) ∣
(♯‘(1st ‘𝑤)) = 𝑁} = {𝑐 ∈ (ClWalks‘𝐺) ∣ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁)}) |
67 | 32 | anbi1i 624 |
. . . . . . . 8
⊢ ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∧ (♯‘(1st
‘𝑐)) = 𝑁) ↔ ((𝑐 ∈ (ClWalks‘𝐺) ∧ 1 ≤
(♯‘(1st ‘𝑐))) ∧ (♯‘(1st
‘𝑐)) = 𝑁)) |
68 | | anass 469 |
. . . . . . . 8
⊢ (((𝑐 ∈ (ClWalks‘𝐺) ∧ 1 ≤
(♯‘(1st ‘𝑐))) ∧ (♯‘(1st
‘𝑐)) = 𝑁) ↔ (𝑐 ∈ (ClWalks‘𝐺) ∧ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁))) |
69 | 67, 68 | bitri 274 |
. . . . . . 7
⊢ ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∧ (♯‘(1st
‘𝑐)) = 𝑁) ↔ (𝑐 ∈ (ClWalks‘𝐺) ∧ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁))) |
70 | 69 | rabbia2 3412 |
. . . . . 6
⊢ {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁} = {𝑐 ∈ (ClWalks‘𝐺) ∣ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁)} |
71 | 66, 41, 70 | 3eqtr4g 2803 |
. . . . 5
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → 𝐶 = {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁}) |
72 | 56, 71 | reseq12d 5892 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ (𝐵 prefix (♯‘𝐴))) ↾ 𝐶) = ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) ↾ {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁})) |
73 | 43, 72 | eqtrd 2778 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → 𝐹 = ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) ↾ {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁})) |
74 | | clwlknf1oclwwlknlem2 28446 |
. . . . 5
⊢ (𝑁 ∈ ℕ → {𝑤 ∈ (ClWalks‘𝐺) ∣
(♯‘(1st ‘𝑤)) = 𝑁} = {𝑐 ∈ (ClWalks‘𝐺) ∣ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁)}) |
75 | 74 | adantl 482 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → {𝑤 ∈ (ClWalks‘𝐺) ∣
(♯‘(1st ‘𝑤)) = 𝑁} = {𝑐 ∈ (ClWalks‘𝐺) ∣ (1 ≤
(♯‘(1st ‘𝑐)) ∧ (♯‘(1st
‘𝑐)) = 𝑁)}) |
76 | 75, 41, 70 | 3eqtr4g 2803 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → 𝐶 = {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁}) |
77 | | clwwlkn 28390 |
. . . 4
⊢ (𝑁 ClWWalksN 𝐺) = {𝑠 ∈ (ClWWalks‘𝐺) ∣ (♯‘𝑠) = 𝑁} |
78 | 77 | a1i 11 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (𝑁 ClWWalksN 𝐺) = {𝑠 ∈ (ClWWalks‘𝐺) ∣ (♯‘𝑠) = 𝑁}) |
79 | 73, 76, 78 | f1oeq123d 6710 |
. 2
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → (𝐹:𝐶–1-1-onto→(𝑁 ClWWalksN 𝐺) ↔ ((𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) ↾ {𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁}):{𝑐 ∈ {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} ∣ (♯‘(1st
‘𝑐)) = 𝑁}–1-1-onto→{𝑠 ∈ (ClWWalks‘𝐺) ∣ (♯‘𝑠) = 𝑁})) |
80 | 38, 79 | mpbird 256 |
1
⊢ ((𝐺 ∈ USPGraph ∧ 𝑁 ∈ ℕ) → 𝐹:𝐶–1-1-onto→(𝑁 ClWWalksN 𝐺)) |