Step | Hyp | Ref
| Expression |
1 | | ovexd 7310 |
. 2
⊢ (𝜑 → (1...𝑁) ∈ V) |
2 | | poimirlem22.1 |
. . . 4
⊢ (𝜑 → 𝐹:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁))) |
3 | | poimir.0 |
. . . . . 6
⊢ (𝜑 → 𝑁 ∈ ℕ) |
4 | | nnm1nn0 12274 |
. . . . . 6
⊢ (𝑁 ∈ ℕ → (𝑁 − 1) ∈
ℕ0) |
5 | 3, 4 | syl 17 |
. . . . 5
⊢ (𝜑 → (𝑁 − 1) ∈
ℕ0) |
6 | | nn0fz0 13354 |
. . . . 5
⊢ ((𝑁 − 1) ∈
ℕ0 ↔ (𝑁 − 1) ∈ (0...(𝑁 − 1))) |
7 | 5, 6 | sylib 217 |
. . . 4
⊢ (𝜑 → (𝑁 − 1) ∈ (0...(𝑁 − 1))) |
8 | 2, 7 | ffvelrnd 6962 |
. . 3
⊢ (𝜑 → (𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑m (1...𝑁))) |
9 | | elmapfn 8653 |
. . 3
⊢ ((𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑m (1...𝑁)) → (𝐹‘(𝑁 − 1)) Fn (1...𝑁)) |
10 | 8, 9 | syl 17 |
. 2
⊢ (𝜑 → (𝐹‘(𝑁 − 1)) Fn (1...𝑁)) |
11 | | 1ex 10971 |
. . 3
⊢ 1 ∈
V |
12 | | fnconstg 6662 |
. . 3
⊢ (1 ∈
V → ((1...𝑁) ×
{1}) Fn (1...𝑁)) |
13 | 11, 12 | mp1i 13 |
. 2
⊢ (𝜑 → ((1...𝑁) × {1}) Fn (1...𝑁)) |
14 | | poimirlem12.2 |
. . . . . 6
⊢ (𝜑 → 𝑇 ∈ 𝑆) |
15 | | elrabi 3618 |
. . . . . . 7
⊢ (𝑇 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
16 | | poimirlem22.s |
. . . . . . 7
⊢ 𝑆 = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} |
17 | 15, 16 | eleq2s 2857 |
. . . . . 6
⊢ (𝑇 ∈ 𝑆 → 𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
18 | 14, 17 | syl 17 |
. . . . 5
⊢ (𝜑 → 𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
19 | | xp1st 7863 |
. . . . 5
⊢ (𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
20 | 18, 19 | syl 17 |
. . . 4
⊢ (𝜑 → (1st
‘𝑇) ∈
(((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
21 | | xp1st 7863 |
. . . 4
⊢
((1st ‘𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st
‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁))) |
22 | 20, 21 | syl 17 |
. . 3
⊢ (𝜑 → (1st
‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁))) |
23 | | elmapfn 8653 |
. . 3
⊢
((1st ‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st
‘(1st ‘𝑇)) Fn (1...𝑁)) |
24 | 22, 23 | syl 17 |
. 2
⊢ (𝜑 → (1st
‘(1st ‘𝑇)) Fn (1...𝑁)) |
25 | | fveq2 6774 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑇 → (2nd ‘𝑡) = (2nd ‘𝑇)) |
26 | 25 | breq2d 5086 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑇 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑇))) |
27 | 26 | ifbid 4482 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑇 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1))) |
28 | 27 | csbeq1d 3836 |
. . . . . . . . . . . 12
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
29 | | 2fveq3 6779 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑇 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑇))) |
30 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑇 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑇))) |
31 | 30 | imaeq1d 5968 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑇 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑇)) “
(1...𝑗))) |
32 | 31 | xpeq1d 5618 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑇 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1})) |
33 | 30 | imaeq1d 5968 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑇 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑇)) “ ((𝑗 + 1)...𝑁))) |
34 | 33 | xpeq1d 5618 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑇 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) |
35 | 32, 34 | uneq12d 4098 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑇 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
36 | 29, 35 | oveq12d 7293 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑇 → ((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
37 | 36 | csbeq2dv 3839 |
. . . . . . . . . . . 12
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
38 | 28, 37 | eqtrd 2778 |
. . . . . . . . . . 11
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
39 | 38 | mpteq2dv 5176 |
. . . . . . . . . 10
⊢ (𝑡 = 𝑇 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
40 | 39 | eqeq2d 2749 |
. . . . . . . . 9
⊢ (𝑡 = 𝑇 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
41 | 40, 16 | elrab2 3627 |
. . . . . . . 8
⊢ (𝑇 ∈ 𝑆 ↔ (𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
42 | 41 | simprbi 497 |
. . . . . . 7
⊢ (𝑇 ∈ 𝑆 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
43 | 14, 42 | syl 17 |
. . . . . 6
⊢ (𝜑 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
44 | | poimirlem11.3 |
. . . . . . . . . . . 12
⊢ (𝜑 → (2nd
‘𝑇) =
0) |
45 | | breq12 5079 |
. . . . . . . . . . . 12
⊢ ((𝑦 = (𝑁 − 1) ∧ (2nd
‘𝑇) = 0) →
(𝑦 < (2nd
‘𝑇) ↔ (𝑁 − 1) <
0)) |
46 | 44, 45 | sylan2 593 |
. . . . . . . . . . 11
⊢ ((𝑦 = (𝑁 − 1) ∧ 𝜑) → (𝑦 < (2nd ‘𝑇) ↔ (𝑁 − 1) < 0)) |
47 | 46 | ancoms 459 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → (𝑦 < (2nd ‘𝑇) ↔ (𝑁 − 1) < 0)) |
48 | | oveq1 7282 |
. . . . . . . . . . 11
⊢ (𝑦 = (𝑁 − 1) → (𝑦 + 1) = ((𝑁 − 1) + 1)) |
49 | 3 | nncnd 11989 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝑁 ∈ ℂ) |
50 | | npcan1 11400 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁) |
51 | 49, 50 | syl 17 |
. . . . . . . . . . 11
⊢ (𝜑 → ((𝑁 − 1) + 1) = 𝑁) |
52 | 48, 51 | sylan9eqr 2800 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → (𝑦 + 1) = 𝑁) |
53 | 47, 52 | ifbieq2d 4485 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1)) = if((𝑁 − 1) < 0, 𝑦, 𝑁)) |
54 | 5 | nn0ge0d 12296 |
. . . . . . . . . . . 12
⊢ (𝜑 → 0 ≤ (𝑁 − 1)) |
55 | | 0red 10978 |
. . . . . . . . . . . . 13
⊢ (𝜑 → 0 ∈
ℝ) |
56 | 5 | nn0red 12294 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (𝑁 − 1) ∈ ℝ) |
57 | 55, 56 | lenltd 11121 |
. . . . . . . . . . . 12
⊢ (𝜑 → (0 ≤ (𝑁 − 1) ↔ ¬ (𝑁 − 1) < 0)) |
58 | 54, 57 | mpbid 231 |
. . . . . . . . . . 11
⊢ (𝜑 → ¬ (𝑁 − 1) < 0) |
59 | 58 | iffalsed 4470 |
. . . . . . . . . 10
⊢ (𝜑 → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁) |
60 | 59 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁) |
61 | 53, 60 | eqtrd 2778 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1)) = 𝑁) |
62 | 61 | csbeq1d 3836 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋𝑁 / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
63 | | oveq2 7283 |
. . . . . . . . . . . . . . 15
⊢ (𝑗 = 𝑁 → (1...𝑗) = (1...𝑁)) |
64 | 63 | imaeq2d 5969 |
. . . . . . . . . . . . . 14
⊢ (𝑗 = 𝑁 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑇)) “
(1...𝑁))) |
65 | | xp2nd 7864 |
. . . . . . . . . . . . . . . . 17
⊢
((1st ‘𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd
‘(1st ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
66 | 20, 65 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (2nd
‘(1st ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
67 | | fvex 6787 |
. . . . . . . . . . . . . . . . 17
⊢
(2nd ‘(1st ‘𝑇)) ∈ V |
68 | | f1oeq1 6704 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑓 = (2nd
‘(1st ‘𝑇)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd
‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))) |
69 | 67, 68 | elab 3609 |
. . . . . . . . . . . . . . . 16
⊢
((2nd ‘(1st ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd
‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)) |
70 | 66, 69 | sylib 217 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2nd
‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)) |
71 | | f1ofo 6723 |
. . . . . . . . . . . . . . 15
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd
‘(1st ‘𝑇)):(1...𝑁)–onto→(1...𝑁)) |
72 | | foima 6693 |
. . . . . . . . . . . . . . 15
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–onto→(1...𝑁) → ((2nd
‘(1st ‘𝑇)) “ (1...𝑁)) = (1...𝑁)) |
73 | 70, 71, 72 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑁)) = (1...𝑁)) |
74 | 64, 73 | sylan9eqr 2800 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → ((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) = (1...𝑁)) |
75 | 74 | xpeq1d 5618 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → (((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) = ((1...𝑁) × {1})) |
76 | | oveq1 7282 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑁 → (𝑗 + 1) = (𝑁 + 1)) |
77 | 76 | oveq1d 7290 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑁 → ((𝑗 + 1)...𝑁) = ((𝑁 + 1)...𝑁)) |
78 | 3 | nnred 11988 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 𝑁 ∈ ℝ) |
79 | 78 | ltp1d 11905 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 < (𝑁 + 1)) |
80 | 3 | nnzd 12425 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → 𝑁 ∈ ℤ) |
81 | 80 | peano2zd 12429 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → (𝑁 + 1) ∈ ℤ) |
82 | | fzn 13272 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑁 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅)) |
83 | 81, 80, 82 | syl2anc 584 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅)) |
84 | 79, 83 | mpbid 231 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((𝑁 + 1)...𝑁) = ∅) |
85 | 77, 84 | sylan9eqr 2800 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → ((𝑗 + 1)...𝑁) = ∅) |
86 | 85 | imaeq2d 5969 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → ((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑇)) “
∅)) |
87 | 86 | xpeq1d 5618 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑇)) “ ∅) ×
{0})) |
88 | | ima0 5985 |
. . . . . . . . . . . . . . 15
⊢
((2nd ‘(1st ‘𝑇)) “ ∅) =
∅ |
89 | 88 | xpeq1i 5615 |
. . . . . . . . . . . . . 14
⊢
(((2nd ‘(1st ‘𝑇)) “ ∅) × {0}) = (∅
× {0}) |
90 | | 0xp 5685 |
. . . . . . . . . . . . . 14
⊢ (∅
× {0}) = ∅ |
91 | 89, 90 | eqtri 2766 |
. . . . . . . . . . . . 13
⊢
(((2nd ‘(1st ‘𝑇)) “ ∅) × {0}) =
∅ |
92 | 87, 91 | eqtrdi 2794 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = ∅) |
93 | 75, 92 | uneq12d 4098 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = (((1...𝑁) × {1}) ∪
∅)) |
94 | | un0 4324 |
. . . . . . . . . . 11
⊢
(((1...𝑁) ×
{1}) ∪ ∅) = ((1...𝑁) × {1}) |
95 | 93, 94 | eqtrdi 2794 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((1...𝑁) × {1})) |
96 | 95 | oveq2d 7291 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑗 = 𝑁) → ((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) ×
{1}))) |
97 | 3, 96 | csbied 3870 |
. . . . . . . 8
⊢ (𝜑 → ⦋𝑁 / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) ×
{1}))) |
98 | 97 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → ⦋𝑁 / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) ×
{1}))) |
99 | 62, 98 | eqtrd 2778 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 = (𝑁 − 1)) → ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘f + ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) ×
{1}))) |
100 | | ovexd 7310 |
. . . . . 6
⊢ (𝜑 → ((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) × {1})) ∈
V) |
101 | 43, 99, 7, 100 | fvmptd 6882 |
. . . . 5
⊢ (𝜑 → (𝐹‘(𝑁 − 1)) = ((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) ×
{1}))) |
102 | 101 | fveq1d 6776 |
. . . 4
⊢ (𝜑 → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st
‘𝑇))
∘f + ((1...𝑁) × {1}))‘𝑛)) |
103 | 102 | adantr 481 |
. . 3
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st
‘𝑇))
∘f + ((1...𝑁) × {1}))‘𝑛)) |
104 | | inidm 4152 |
. . . 4
⊢
((1...𝑁) ∩
(1...𝑁)) = (1...𝑁) |
105 | | eqidd 2739 |
. . . 4
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑛) = ((1st ‘(1st
‘𝑇))‘𝑛)) |
106 | 11 | fvconst2 7079 |
. . . . 5
⊢ (𝑛 ∈ (1...𝑁) → (((1...𝑁) × {1})‘𝑛) = 1) |
107 | 106 | adantl 482 |
. . . 4
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → (((1...𝑁) × {1})‘𝑛) = 1) |
108 | 24, 13, 1, 1, 104, 105, 107 | ofval 7544 |
. . 3
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → (((1st
‘(1st ‘𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛) = (((1st
‘(1st ‘𝑇))‘𝑛) + 1)) |
109 | 103, 108 | eqtrd 2778 |
. 2
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st
‘𝑇))‘𝑛) + 1)) |
110 | | elmapi 8637 |
. . . . . . 7
⊢
((1st ‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st
‘(1st ‘𝑇)):(1...𝑁)⟶(0..^𝐾)) |
111 | 22, 110 | syl 17 |
. . . . . 6
⊢ (𝜑 → (1st
‘(1st ‘𝑇)):(1...𝑁)⟶(0..^𝐾)) |
112 | 111 | ffvelrnda 6961 |
. . . . 5
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑛) ∈ (0..^𝐾)) |
113 | | elfzonn0 13432 |
. . . . 5
⊢
(((1st ‘(1st ‘𝑇))‘𝑛) ∈ (0..^𝐾) → ((1st
‘(1st ‘𝑇))‘𝑛) ∈
ℕ0) |
114 | 112, 113 | syl 17 |
. . . 4
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑛) ∈
ℕ0) |
115 | 114 | nn0cnd 12295 |
. . 3
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑛) ∈ ℂ) |
116 | | pncan1 11399 |
. . 3
⊢
(((1st ‘(1st ‘𝑇))‘𝑛) ∈ ℂ → ((((1st
‘(1st ‘𝑇))‘𝑛) + 1) − 1) = ((1st
‘(1st ‘𝑇))‘𝑛)) |
117 | 115, 116 | syl 17 |
. 2
⊢ ((𝜑 ∧ 𝑛 ∈ (1...𝑁)) → ((((1st
‘(1st ‘𝑇))‘𝑛) + 1) − 1) = ((1st
‘(1st ‘𝑇))‘𝑛)) |
118 | 1, 10, 13, 24, 109, 107, 117 | offveq 7557 |
1
⊢ (𝜑 → ((𝐹‘(𝑁 − 1)) ∘f −
((1...𝑁) × {1})) =
(1st ‘(1st ‘𝑇))) |