Step | Hyp | Ref
| Expression |
1 | | eldif 3577 |
. . . . . . 7
⊢ (𝑦 ∈ (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) ↔ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
2 | | imassrn 5465 |
. . . . . . . . . . . 12
⊢
((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) ⊆ ran (2^{nd}
‘(1^{st} ‘𝑇)) |
3 | | poimirlem12.2 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝑇 ∈ 𝑆) |
4 | | elrabi 3353 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑇 ∈ {𝑡 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 𝑇 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
5 | | poimirlem22.s |
. . . . . . . . . . . . . . . . 17
⊢ 𝑆 = {𝑡 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} |
6 | 4, 5 | eleq2s 2717 |
. . . . . . . . . . . . . . . 16
⊢ (𝑇 ∈ 𝑆 → 𝑇 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
7 | | xp1st 7183 |
. . . . . . . . . . . . . . . 16
⊢ (𝑇 ∈ ((((0..^𝐾) ↑_{𝑚}
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1^{st} ‘𝑇) ∈ (((0..^𝐾) ↑_{𝑚}
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
8 | 3, 6, 7 | 3syl 18 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (1^{st}
‘𝑇) ∈
(((0..^𝐾)
↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
9 | | xp2nd 7184 |
. . . . . . . . . . . . . . 15
⊢
((1^{st} ‘𝑇) ∈ (((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2^{nd}
‘(1^{st} ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
10 | 8, 9 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (2^{nd}
‘(1^{st} ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
11 | | fvex 6188 |
. . . . . . . . . . . . . . 15
⊢
(2^{nd} ‘(1^{st} ‘𝑇)) ∈ V |
12 | | f1oeq1 6114 |
. . . . . . . . . . . . . . 15
⊢ (𝑓 = (2^{nd}
‘(1^{st} ‘𝑇)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2^{nd}
‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))) |
13 | 11, 12 | elab 3344 |
. . . . . . . . . . . . . 14
⊢
((2^{nd} ‘(1^{st} ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2^{nd}
‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)) |
14 | 10, 13 | sylib 208 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (2^{nd}
‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)) |
15 | | f1of 6124 |
. . . . . . . . . . . . 13
⊢
((2^{nd} ‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2^{nd}
‘(1^{st} ‘𝑇)):(1...𝑁)⟶(1...𝑁)) |
16 | | frn 6040 |
. . . . . . . . . . . . 13
⊢
((2^{nd} ‘(1^{st} ‘𝑇)):(1...𝑁)⟶(1...𝑁) → ran (2^{nd}
‘(1^{st} ‘𝑇)) ⊆ (1...𝑁)) |
17 | 14, 15, 16 | 3syl 18 |
. . . . . . . . . . . 12
⊢ (𝜑 → ran (2^{nd}
‘(1^{st} ‘𝑇)) ⊆ (1...𝑁)) |
18 | 2, 17 | syl5ss 3606 |
. . . . . . . . . . 11
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ⊆ (1...𝑁)) |
19 | | poimirlem12.4 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑈 ∈ 𝑆) |
20 | | elrabi 3353 |
. . . . . . . . . . . . . . . 16
⊢ (𝑈 ∈ {𝑡 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 𝑈 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
21 | 20, 5 | eleq2s 2717 |
. . . . . . . . . . . . . . 15
⊢ (𝑈 ∈ 𝑆 → 𝑈 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
22 | | xp1st 7183 |
. . . . . . . . . . . . . . 15
⊢ (𝑈 ∈ ((((0..^𝐾) ↑_{𝑚}
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1^{st} ‘𝑈) ∈ (((0..^𝐾) ↑_{𝑚}
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
23 | 19, 21, 22 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (1^{st}
‘𝑈) ∈
(((0..^𝐾)
↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
24 | | xp2nd 7184 |
. . . . . . . . . . . . . 14
⊢
((1^{st} ‘𝑈) ∈ (((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2^{nd}
‘(1^{st} ‘𝑈)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
25 | 23, 24 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (2^{nd}
‘(1^{st} ‘𝑈)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
26 | | fvex 6188 |
. . . . . . . . . . . . . 14
⊢
(2^{nd} ‘(1^{st} ‘𝑈)) ∈ V |
27 | | f1oeq1 6114 |
. . . . . . . . . . . . . 14
⊢ (𝑓 = (2^{nd}
‘(1^{st} ‘𝑈)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2^{nd}
‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁))) |
28 | 26, 27 | elab 3344 |
. . . . . . . . . . . . 13
⊢
((2^{nd} ‘(1^{st} ‘𝑈)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2^{nd}
‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁)) |
29 | 25, 28 | sylib 208 |
. . . . . . . . . . . 12
⊢ (𝜑 → (2^{nd}
‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁)) |
30 | | f1ofo 6131 |
. . . . . . . . . . . 12
⊢
((2^{nd} ‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) → (2^{nd}
‘(1^{st} ‘𝑈)):(1...𝑁)–onto→(1...𝑁)) |
31 | | foima 6107 |
. . . . . . . . . . . 12
⊢
((2^{nd} ‘(1^{st} ‘𝑈)):(1...𝑁)–onto→(1...𝑁) → ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) = (1...𝑁)) |
32 | 29, 30, 31 | 3syl 18 |
. . . . . . . . . . 11
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) = (1...𝑁)) |
33 | 18, 32 | sseqtr4d 3634 |
. . . . . . . . . 10
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ⊆ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁))) |
34 | 33 | ssdifd 3738 |
. . . . . . . . 9
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) ⊆ (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
35 | | dff1o3 6130 |
. . . . . . . . . . . 12
⊢
((2^{nd} ‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) ↔ ((2^{nd}
‘(1^{st} ‘𝑈)):(1...𝑁)–onto→(1...𝑁) ∧ Fun ^{◡}(2^{nd} ‘(1^{st}
‘𝑈)))) |
36 | 35 | simprbi 480 |
. . . . . . . . . . 11
⊢
((2^{nd} ‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) → Fun ^{◡}(2^{nd} ‘(1^{st}
‘𝑈))) |
37 | | imadif 5961 |
. . . . . . . . . . 11
⊢ (Fun
^{◡}(2^{nd} ‘(1^{st}
‘𝑈)) →
((2^{nd} ‘(1^{st} ‘𝑈)) “ ((1...𝑁) ∖ (1...𝑀))) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
38 | 29, 36, 37 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((1...𝑁) ∖ (1...𝑀))) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
39 | | difun2 4039 |
. . . . . . . . . . . 12
⊢ ((((𝑀 + 1)...𝑁) ∪ (1...𝑀)) ∖ (1...𝑀)) = (((𝑀 + 1)...𝑁) ∖ (1...𝑀)) |
40 | | poimirlem12.6 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑀 ∈ (0...(𝑁 − 1))) |
41 | | elfznn0 12417 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ (0...(𝑁 − 1)) → 𝑀 ∈
ℕ_{0}) |
42 | | nn0p1nn 11317 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ ℕ_{0}
→ (𝑀 + 1) ∈
ℕ) |
43 | 40, 41, 42 | 3syl 18 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑀 + 1) ∈ ℕ) |
44 | | nnuz 11708 |
. . . . . . . . . . . . . . . 16
⊢ ℕ =
(ℤ_{≥}‘1) |
45 | 43, 44 | syl6eleq 2709 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (𝑀 + 1) ∈
(ℤ_{≥}‘1)) |
46 | | poimir.0 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 𝑁 ∈ ℕ) |
47 | 46 | nncnd 11021 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 ∈ ℂ) |
48 | | npcan1 10440 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁) |
49 | 47, 48 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((𝑁 − 1) + 1) = 𝑁) |
50 | | elfzuz3 12324 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ (0...(𝑁 − 1)) → (𝑁 − 1) ∈
(ℤ_{≥}‘𝑀)) |
51 | | peano2uz 11726 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑁 − 1) ∈
(ℤ_{≥}‘𝑀) → ((𝑁 − 1) + 1) ∈
(ℤ_{≥}‘𝑀)) |
52 | 40, 50, 51 | 3syl 18 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((𝑁 − 1) + 1) ∈
(ℤ_{≥}‘𝑀)) |
53 | 49, 52 | eqeltrrd 2700 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑁 ∈ (ℤ_{≥}‘𝑀)) |
54 | | fzsplit2 12351 |
. . . . . . . . . . . . . . 15
⊢ (((𝑀 + 1) ∈
(ℤ_{≥}‘1) ∧ 𝑁 ∈ (ℤ_{≥}‘𝑀)) → (1...𝑁) = ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) |
55 | 45, 53, 54 | syl2anc 692 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (1...𝑁) = ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) |
56 | | uncom 3749 |
. . . . . . . . . . . . . 14
⊢
((1...𝑀) ∪
((𝑀 + 1)...𝑁)) = (((𝑀 + 1)...𝑁) ∪ (1...𝑀)) |
57 | 55, 56 | syl6eq 2670 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (1...𝑁) = (((𝑀 + 1)...𝑁) ∪ (1...𝑀))) |
58 | 57 | difeq1d 3719 |
. . . . . . . . . . . 12
⊢ (𝜑 → ((1...𝑁) ∖ (1...𝑀)) = ((((𝑀 + 1)...𝑁) ∪ (1...𝑀)) ∖ (1...𝑀))) |
59 | | incom 3797 |
. . . . . . . . . . . . . 14
⊢ (((𝑀 + 1)...𝑁) ∩ (1...𝑀)) = ((1...𝑀) ∩ ((𝑀 + 1)...𝑁)) |
60 | 40, 41 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑀 ∈
ℕ_{0}) |
61 | 60 | nn0red 11337 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝑀 ∈ ℝ) |
62 | 61 | ltp1d 10939 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑀 < (𝑀 + 1)) |
63 | | fzdisj 12353 |
. . . . . . . . . . . . . . 15
⊢ (𝑀 < (𝑀 + 1) → ((1...𝑀) ∩ ((𝑀 + 1)...𝑁)) = ∅) |
64 | 62, 63 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((1...𝑀) ∩ ((𝑀 + 1)...𝑁)) = ∅) |
65 | 59, 64 | syl5eq 2666 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (((𝑀 + 1)...𝑁) ∩ (1...𝑀)) = ∅) |
66 | | disj3 4012 |
. . . . . . . . . . . . 13
⊢ ((((𝑀 + 1)...𝑁) ∩ (1...𝑀)) = ∅ ↔ ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...𝑁) ∖ (1...𝑀))) |
67 | 65, 66 | sylib 208 |
. . . . . . . . . . . 12
⊢ (𝜑 → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...𝑁) ∖ (1...𝑀))) |
68 | 39, 58, 67 | 3eqtr4a 2680 |
. . . . . . . . . . 11
⊢ (𝜑 → ((1...𝑁) ∖ (1...𝑀)) = ((𝑀 + 1)...𝑁)) |
69 | 68 | imaeq2d 5454 |
. . . . . . . . . 10
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((1...𝑁) ∖ (1...𝑀))) = ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
70 | 38, 69 | eqtr3d 2656 |
. . . . . . . . 9
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) = ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
71 | 34, 70 | sseqtrd 3633 |
. . . . . . . 8
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) ⊆ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
72 | 71 | sselda 3595 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∖ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
73 | 1, 72 | sylan2br 493 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
74 | | fveq2 6178 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (2^{nd} ‘𝑡) = (2^{nd} ‘𝑈)) |
75 | 74 | breq2d 4656 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑈 → (𝑦 < (2^{nd} ‘𝑡) ↔ 𝑦 < (2^{nd} ‘𝑈))) |
76 | 75 | ifbid 4099 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑈 → if(𝑦 < (2^{nd} ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2^{nd} ‘𝑈), 𝑦, (𝑦 + 1))) |
77 | 76 | csbeq1d 3533 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑈 → ⦋if(𝑦 < (2^{nd} ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
78 | | fveq2 6178 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (1^{st} ‘𝑡) = (1^{st} ‘𝑈)) |
79 | 78 | fveq2d 6182 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑈 → (1^{st}
‘(1^{st} ‘𝑡)) = (1^{st} ‘(1^{st}
‘𝑈))) |
80 | 78 | fveq2d 6182 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑈 → (2^{nd}
‘(1^{st} ‘𝑡)) = (2^{nd} ‘(1^{st}
‘𝑈))) |
81 | 80 | imaeq1d 5453 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑈 → ((2^{nd}
‘(1^{st} ‘𝑡)) “ (1...𝑗)) = ((2^{nd} ‘(1^{st}
‘𝑈)) “
(1...𝑗))) |
82 | 81 | xpeq1d 5128 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (((2^{nd}
‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1})) |
83 | 80 | imaeq1d 5453 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑈 → ((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2^{nd} ‘(1^{st}
‘𝑈)) “ ((𝑗 + 1)...𝑁))) |
84 | 83 | xpeq1d 5128 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})) |
85 | 82, 84 | uneq12d 3760 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑈 → ((((2^{nd}
‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
86 | 79, 85 | oveq12d 6653 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑈 → ((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
87 | 86 | csbeq2dv 3983 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑈 → ⦋if(𝑦 < (2^{nd} ‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
88 | 77, 87 | eqtrd 2654 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑈 → ⦋if(𝑦 < (2^{nd} ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
89 | 88 | mpteq2dv 4736 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑈 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
90 | 89 | eqeq2d 2630 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑈 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
91 | 90, 5 | elrab2 3360 |
. . . . . . . . . . . 12
⊢ (𝑈 ∈ 𝑆 ↔ (𝑈 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
92 | 91 | simprbi 480 |
. . . . . . . . . . 11
⊢ (𝑈 ∈ 𝑆 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
93 | 19, 92 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
94 | | breq1 4647 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑀 → (𝑦 < (2^{nd} ‘𝑈) ↔ 𝑀 < (2^{nd} ‘𝑈))) |
95 | | id 22 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑀 → 𝑦 = 𝑀) |
96 | 94, 95 | ifbieq1d 4100 |
. . . . . . . . . . . . 13
⊢ (𝑦 = 𝑀 → if(𝑦 < (2^{nd} ‘𝑈), 𝑦, (𝑦 + 1)) = if(𝑀 < (2^{nd} ‘𝑈), 𝑀, (𝑦 + 1))) |
97 | 46 | nnred 11020 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 ∈ ℝ) |
98 | | peano2rem 10333 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℝ → (𝑁 − 1) ∈
ℝ) |
99 | 97, 98 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑁 − 1) ∈ ℝ) |
100 | | elfzle2 12330 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ (0...(𝑁 − 1)) → 𝑀 ≤ (𝑁 − 1)) |
101 | 40, 100 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝑀 ≤ (𝑁 − 1)) |
102 | 97 | ltm1d 10941 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑁 − 1) < 𝑁) |
103 | 61, 99, 97, 101, 102 | lelttrd 10180 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑀 < 𝑁) |
104 | | poimirlem12.5 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2^{nd}
‘𝑈) = 𝑁) |
105 | 103, 104 | breqtrrd 4672 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑀 < (2^{nd} ‘𝑈)) |
106 | 105 | iftrued 4085 |
. . . . . . . . . . . . 13
⊢ (𝜑 → if(𝑀 < (2^{nd} ‘𝑈), 𝑀, (𝑦 + 1)) = 𝑀) |
107 | 96, 106 | sylan9eqr 2676 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → if(𝑦 < (2^{nd} ‘𝑈), 𝑦, (𝑦 + 1)) = 𝑀) |
108 | 107 | csbeq1d 3533 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋𝑀 / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
109 | | oveq2 6643 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑗 = 𝑀 → (1...𝑗) = (1...𝑀)) |
110 | 109 | imaeq2d 5454 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑗)) = ((2^{nd} ‘(1^{st}
‘𝑈)) “
(1...𝑀))) |
111 | 110 | xpeq1d 5128 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1})) |
112 | | oveq1 6642 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑗 = 𝑀 → (𝑗 + 1) = (𝑀 + 1)) |
113 | 112 | oveq1d 6650 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑗 = 𝑀 → ((𝑗 + 1)...𝑁) = ((𝑀 + 1)...𝑁)) |
114 | 113 | imaeq2d 5454 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) = ((2^{nd} ‘(1^{st}
‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
115 | 114 | xpeq1d 5128 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) |
116 | 111, 115 | uneq12d 3760 |
. . . . . . . . . . . . . . 15
⊢ (𝑗 = 𝑀 → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))) |
117 | 116 | oveq2d 6651 |
. . . . . . . . . . . . . 14
⊢ (𝑗 = 𝑀 → ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
118 | 117 | adantl 482 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑗 = 𝑀) → ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
119 | 40, 118 | csbied 3553 |
. . . . . . . . . . . 12
⊢ (𝜑 → ⦋𝑀 / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
120 | 119 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋𝑀 / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
121 | 108, 120 | eqtrd 2654 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2^{nd}
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
122 | | ovexd 6665 |
. . . . . . . . . 10
⊢ (𝜑 → ((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))) ∈ V) |
123 | 93, 121, 40, 122 | fvmptd 6275 |
. . . . . . . . 9
⊢ (𝜑 → (𝐹‘𝑀) = ((1^{st} ‘(1^{st}
‘𝑈))
∘_{𝑓} + ((((2^{nd} ‘(1^{st}
‘𝑈)) “
(1...𝑀)) × {1}) ∪
(((2^{nd} ‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
124 | 123 | fveq1d 6180 |
. . . . . . . 8
⊢ (𝜑 → ((𝐹‘𝑀)‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑈))
∘_{𝑓} + ((((2^{nd} ‘(1^{st}
‘𝑈)) “
(1...𝑀)) × {1}) ∪
(((2^{nd} ‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
125 | 124 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((𝐹‘𝑀)‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑈))
∘_{𝑓} + ((((2^{nd} ‘(1^{st}
‘𝑈)) “
(1...𝑀)) × {1}) ∪
(((2^{nd} ‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
126 | | imassrn 5465 |
. . . . . . . . . 10
⊢
((2^{nd} ‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) ⊆ ran (2^{nd}
‘(1^{st} ‘𝑈)) |
127 | | f1of 6124 |
. . . . . . . . . . 11
⊢
((2^{nd} ‘(1^{st} ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) → (2^{nd}
‘(1^{st} ‘𝑈)):(1...𝑁)⟶(1...𝑁)) |
128 | | frn 6040 |
. . . . . . . . . . 11
⊢
((2^{nd} ‘(1^{st} ‘𝑈)):(1...𝑁)⟶(1...𝑁) → ran (2^{nd}
‘(1^{st} ‘𝑈)) ⊆ (1...𝑁)) |
129 | 29, 127, 128 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → ran (2^{nd}
‘(1^{st} ‘𝑈)) ⊆ (1...𝑁)) |
130 | 126, 129 | syl5ss 3606 |
. . . . . . . . 9
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) ⊆ (1...𝑁)) |
131 | 130 | sselda 3595 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → 𝑦 ∈ (1...𝑁)) |
132 | | xp1st 7183 |
. . . . . . . . . . 11
⊢
((1^{st} ‘𝑈) ∈ (((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1^{st}
‘(1^{st} ‘𝑈)) ∈ ((0..^𝐾) ↑_{𝑚} (1...𝑁))) |
133 | | elmapfn 7865 |
. . . . . . . . . . 11
⊢
((1^{st} ‘(1^{st} ‘𝑈)) ∈ ((0..^𝐾) ↑_{𝑚} (1...𝑁)) → (1^{st}
‘(1^{st} ‘𝑈)) Fn (1...𝑁)) |
134 | 23, 132, 133 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → (1^{st}
‘(1^{st} ‘𝑈)) Fn (1...𝑁)) |
135 | 134 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (1^{st}
‘(1^{st} ‘𝑈)) Fn (1...𝑁)) |
136 | | 1ex 10020 |
. . . . . . . . . . . . . 14
⊢ 1 ∈
V |
137 | | fnconstg 6080 |
. . . . . . . . . . . . . 14
⊢ (1 ∈
V → (((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) |
138 | 136, 137 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) |
139 | | c0ex 10019 |
. . . . . . . . . . . . . 14
⊢ 0 ∈
V |
140 | | fnconstg 6080 |
. . . . . . . . . . . . . 14
⊢ (0 ∈
V → (((2^{nd} ‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
141 | 139, 140 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2^{nd} ‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) |
142 | 138, 141 | pm3.2i 471 |
. . . . . . . . . . . 12
⊢
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∧ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
143 | | imain 5962 |
. . . . . . . . . . . . . 14
⊢ (Fun
^{◡}(2^{nd} ‘(1^{st}
‘𝑈)) →
((2^{nd} ‘(1^{st} ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
144 | 29, 36, 143 | 3syl 18 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
145 | 64 | imaeq2d 5454 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ((2^{nd}
‘(1^{st} ‘𝑈)) “ ∅)) |
146 | | ima0 5469 |
. . . . . . . . . . . . . 14
⊢
((2^{nd} ‘(1^{st} ‘𝑈)) “ ∅) =
∅ |
147 | 145, 146 | syl6eq 2670 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ∅) |
148 | 144, 147 | eqtr3d 2656 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅) |
149 | | fnun 5985 |
. . . . . . . . . . . 12
⊢
((((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∧ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅) → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
150 | 142, 148,
149 | sylancr 694 |
. . . . . . . . . . 11
⊢ (𝜑 → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
151 | | imaundi 5533 |
. . . . . . . . . . . . 13
⊢
((2^{nd} ‘(1^{st} ‘𝑈)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
152 | 55 | imaeq2d 5454 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑁)) = ((2^{nd} ‘(1^{st}
‘𝑈)) “
((1...𝑀) ∪ ((𝑀 + 1)...𝑁)))) |
153 | 152, 32 | eqtr3d 2656 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
154 | 151, 153 | syl5eqr 2668 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
155 | 154 | fneq2d 5970 |
. . . . . . . . . . 11
⊢ (𝜑 → (((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ↔ ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁))) |
156 | 150, 155 | mpbid 222 |
. . . . . . . . . 10
⊢ (𝜑 → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
157 | 156 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
158 | | ovexd 6665 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (1...𝑁) ∈ V) |
159 | | inidm 3814 |
. . . . . . . . 9
⊢
((1...𝑁) ∩
(1...𝑁)) = (1...𝑁) |
160 | | eqidd 2621 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) = ((1^{st} ‘(1^{st}
‘𝑈))‘𝑦)) |
161 | | fvun2 6257 |
. . . . . . . . . . . . 13
⊢
(((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∧ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) ∧ ((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) → (((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2^{nd} ‘(1^{st}
‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦)) |
162 | 138, 141,
161 | mp3an12 1412 |
. . . . . . . . . . . 12
⊢
(((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2^{nd} ‘(1^{st}
‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦)) |
163 | 148, 162 | sylan 488 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2^{nd} ‘(1^{st}
‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦)) |
164 | 139 | fvconst2 6454 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦) = 0) |
165 | 164 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦) = 0) |
166 | 163, 165 | eqtrd 2654 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 0) |
167 | 166 | adantr 481 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ 𝑦 ∈ (1...𝑁)) → (((((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 0) |
168 | 135, 157,
158, 158, 159, 160, 167 | ofval 6891 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ 𝑦 ∈ (1...𝑁)) → (((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑈))‘𝑦) + 0)) |
169 | 131, 168 | mpdan 701 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((1^{st}
‘(1^{st} ‘𝑈)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑈))‘𝑦) + 0)) |
170 | | elmapi 7864 |
. . . . . . . . . . . . 13
⊢
((1^{st} ‘(1^{st} ‘𝑈)) ∈ ((0..^𝐾) ↑_{𝑚} (1...𝑁)) → (1^{st}
‘(1^{st} ‘𝑈)):(1...𝑁)⟶(0..^𝐾)) |
171 | 23, 132, 170 | 3syl 18 |
. . . . . . . . . . . 12
⊢ (𝜑 → (1^{st}
‘(1^{st} ‘𝑈)):(1...𝑁)⟶(0..^𝐾)) |
172 | 171 | ffvelrnda 6345 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) ∈ (0..^𝐾)) |
173 | | elfzonn0 12496 |
. . . . . . . . . . 11
⊢
(((1^{st} ‘(1^{st} ‘𝑈))‘𝑦) ∈ (0..^𝐾) → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) ∈
ℕ_{0}) |
174 | 172, 173 | syl 17 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) ∈
ℕ_{0}) |
175 | 174 | nn0cnd 11338 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) ∈ ℂ) |
176 | 175 | addid1d 10221 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → (((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) + 0) = ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦)) |
177 | 131, 176 | syldan 487 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) + 0) = ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦)) |
178 | 125, 169,
177 | 3eqtrd 2658 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((𝐹‘𝑀)‘𝑦) = ((1^{st} ‘(1^{st}
‘𝑈))‘𝑦)) |
179 | 73, 178 | syldan 487 |
. . . . 5
⊢ ((𝜑 ∧ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → ((𝐹‘𝑀)‘𝑦) = ((1^{st} ‘(1^{st}
‘𝑈))‘𝑦)) |
180 | | fveq2 6178 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (2^{nd} ‘𝑡) = (2^{nd} ‘𝑇)) |
181 | 180 | breq2d 4656 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑇 → (𝑦 < (2^{nd} ‘𝑡) ↔ 𝑦 < (2^{nd} ‘𝑇))) |
182 | 181 | ifbid 4099 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑇 → if(𝑦 < (2^{nd} ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2^{nd} ‘𝑇), 𝑦, (𝑦 + 1))) |
183 | 182 | csbeq1d 3533 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2^{nd} ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
184 | | fveq2 6178 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (1^{st} ‘𝑡) = (1^{st} ‘𝑇)) |
185 | 184 | fveq2d 6182 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑇 → (1^{st}
‘(1^{st} ‘𝑡)) = (1^{st} ‘(1^{st}
‘𝑇))) |
186 | 184 | fveq2d 6182 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑇 → (2^{nd}
‘(1^{st} ‘𝑡)) = (2^{nd} ‘(1^{st}
‘𝑇))) |
187 | 186 | imaeq1d 5453 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑇 → ((2^{nd}
‘(1^{st} ‘𝑡)) “ (1...𝑗)) = ((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑗))) |
188 | 187 | xpeq1d 5128 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (((2^{nd}
‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1})) |
189 | 186 | imaeq1d 5453 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑇 → ((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2^{nd} ‘(1^{st}
‘𝑇)) “ ((𝑗 + 1)...𝑁))) |
190 | 189 | xpeq1d 5128 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) |
191 | 188, 190 | uneq12d 3760 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑇 → ((((2^{nd}
‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
192 | 185, 191 | oveq12d 6653 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑇 → ((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
193 | 192 | csbeq2dv 3983 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2^{nd} ‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
194 | 183, 193 | eqtrd 2654 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2^{nd} ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
195 | 194 | mpteq2dv 4736 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑇 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
196 | 195 | eqeq2d 2630 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑇 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑡)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
197 | 196, 5 | elrab2 3360 |
. . . . . . . . . . . 12
⊢ (𝑇 ∈ 𝑆 ↔ (𝑇 ∈ ((((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
198 | 197 | simprbi 480 |
. . . . . . . . . . 11
⊢ (𝑇 ∈ 𝑆 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
199 | 3, 198 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
200 | | breq1 4647 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑀 → (𝑦 < (2^{nd} ‘𝑇) ↔ 𝑀 < (2^{nd} ‘𝑇))) |
201 | 200, 95 | ifbieq1d 4100 |
. . . . . . . . . . . . 13
⊢ (𝑦 = 𝑀 → if(𝑦 < (2^{nd} ‘𝑇), 𝑦, (𝑦 + 1)) = if(𝑀 < (2^{nd} ‘𝑇), 𝑀, (𝑦 + 1))) |
202 | | poimirlem12.3 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2^{nd}
‘𝑇) = 𝑁) |
203 | 103, 202 | breqtrrd 4672 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑀 < (2^{nd} ‘𝑇)) |
204 | 203 | iftrued 4085 |
. . . . . . . . . . . . 13
⊢ (𝜑 → if(𝑀 < (2^{nd} ‘𝑇), 𝑀, (𝑦 + 1)) = 𝑀) |
205 | 201, 204 | sylan9eqr 2676 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → if(𝑦 < (2^{nd} ‘𝑇), 𝑦, (𝑦 + 1)) = 𝑀) |
206 | 205 | csbeq1d 3533 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋𝑀 / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
207 | 109 | imaeq2d 5454 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑗)) = ((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀))) |
208 | 207 | xpeq1d 5128 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1})) |
209 | 113 | imaeq2d 5454 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) = ((2^{nd} ‘(1^{st}
‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
210 | 209 | xpeq1d 5128 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) |
211 | 208, 210 | uneq12d 3760 |
. . . . . . . . . . . . . . 15
⊢ (𝑗 = 𝑀 → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))) |
212 | 211 | oveq2d 6651 |
. . . . . . . . . . . . . 14
⊢ (𝑗 = 𝑀 → ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
213 | 212 | adantl 482 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑗 = 𝑀) → ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
214 | 40, 213 | csbied 3553 |
. . . . . . . . . . . 12
⊢ (𝜑 → ⦋𝑀 / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
215 | 214 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋𝑀 / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
216 | 206, 215 | eqtrd 2654 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2^{nd}
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
217 | | ovexd 6665 |
. . . . . . . . . 10
⊢ (𝜑 → ((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))) ∈ V) |
218 | 199, 216,
40, 217 | fvmptd 6275 |
. . . . . . . . 9
⊢ (𝜑 → (𝐹‘𝑀) = ((1^{st} ‘(1^{st}
‘𝑇))
∘_{𝑓} + ((((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀)) × {1}) ∪
(((2^{nd} ‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
219 | 218 | fveq1d 6180 |
. . . . . . . 8
⊢ (𝜑 → ((𝐹‘𝑀)‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑇))
∘_{𝑓} + ((((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀)) × {1}) ∪
(((2^{nd} ‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
220 | 219 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → ((𝐹‘𝑀)‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑇))
∘_{𝑓} + ((((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀)) × {1}) ∪
(((2^{nd} ‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
221 | 18 | sselda 3595 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → 𝑦 ∈ (1...𝑁)) |
222 | | xp1st 7183 |
. . . . . . . . . . 11
⊢
((1^{st} ‘𝑇) ∈ (((0..^𝐾) ↑_{𝑚} (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1^{st}
‘(1^{st} ‘𝑇)) ∈ ((0..^𝐾) ↑_{𝑚} (1...𝑁))) |
223 | | elmapfn 7865 |
. . . . . . . . . . 11
⊢
((1^{st} ‘(1^{st} ‘𝑇)) ∈ ((0..^𝐾) ↑_{𝑚} (1...𝑁)) → (1^{st}
‘(1^{st} ‘𝑇)) Fn (1...𝑁)) |
224 | 8, 222, 223 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → (1^{st}
‘(1^{st} ‘𝑇)) Fn (1...𝑁)) |
225 | 224 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (1^{st}
‘(1^{st} ‘𝑇)) Fn (1...𝑁)) |
226 | | fnconstg 6080 |
. . . . . . . . . . . . . 14
⊢ (1 ∈
V → (((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) |
227 | 136, 226 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) |
228 | | fnconstg 6080 |
. . . . . . . . . . . . . 14
⊢ (0 ∈
V → (((2^{nd} ‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
229 | 139, 228 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2^{nd} ‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) |
230 | 227, 229 | pm3.2i 471 |
. . . . . . . . . . . 12
⊢
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
231 | | dff1o3 6130 |
. . . . . . . . . . . . . . 15
⊢
((2^{nd} ‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) ↔ ((2^{nd}
‘(1^{st} ‘𝑇)):(1...𝑁)–onto→(1...𝑁) ∧ Fun ^{◡}(2^{nd} ‘(1^{st}
‘𝑇)))) |
232 | 231 | simprbi 480 |
. . . . . . . . . . . . . 14
⊢
((2^{nd} ‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → Fun ^{◡}(2^{nd} ‘(1^{st}
‘𝑇))) |
233 | | imain 5962 |
. . . . . . . . . . . . . 14
⊢ (Fun
^{◡}(2^{nd} ‘(1^{st}
‘𝑇)) →
((2^{nd} ‘(1^{st} ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
234 | 14, 232, 233 | 3syl 18 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
235 | 64 | imaeq2d 5454 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ((2^{nd}
‘(1^{st} ‘𝑇)) “ ∅)) |
236 | | ima0 5469 |
. . . . . . . . . . . . . 14
⊢
((2^{nd} ‘(1^{st} ‘𝑇)) “ ∅) =
∅ |
237 | 235, 236 | syl6eq 2670 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ∅) |
238 | 234, 237 | eqtr3d 2656 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅) |
239 | | fnun 5985 |
. . . . . . . . . . . 12
⊢
((((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) ∧ (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅) → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
240 | 230, 238,
239 | sylancr 694 |
. . . . . . . . . . 11
⊢ (𝜑 → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
241 | | imaundi 5533 |
. . . . . . . . . . . . 13
⊢
((2^{nd} ‘(1^{st} ‘𝑇)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
242 | 55 | imaeq2d 5454 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑁)) = ((2^{nd} ‘(1^{st}
‘𝑇)) “
((1...𝑀) ∪ ((𝑀 + 1)...𝑁)))) |
243 | | f1ofo 6131 |
. . . . . . . . . . . . . . 15
⊢
((2^{nd} ‘(1^{st} ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2^{nd}
‘(1^{st} ‘𝑇)):(1...𝑁)–onto→(1...𝑁)) |
244 | | foima 6107 |
. . . . . . . . . . . . . . 15
⊢
((2^{nd} ‘(1^{st} ‘𝑇)):(1...𝑁)–onto→(1...𝑁) → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑁)) = (1...𝑁)) |
245 | 14, 243, 244 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑁)) = (1...𝑁)) |
246 | 242, 245 | eqtr3d 2656 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
247 | 241, 246 | syl5eqr 2668 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
248 | 247 | fneq2d 5970 |
. . . . . . . . . . 11
⊢ (𝜑 → (((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∪ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) ↔ ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁))) |
249 | 240, 248 | mpbid 222 |
. . . . . . . . . 10
⊢ (𝜑 → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
250 | 249 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
251 | | ovexd 6665 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (1...𝑁) ∈ V) |
252 | | eqidd 2621 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) = ((1^{st} ‘(1^{st}
‘𝑇))‘𝑦)) |
253 | | fvun1 6256 |
. . . . . . . . . . . . 13
⊢
(((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) ∧ ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)))) → (((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀)) ×
{1})‘𝑦)) |
254 | 227, 229,
253 | mp3an12 1412 |
. . . . . . . . . . . 12
⊢
(((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∩ ((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀)) ×
{1})‘𝑦)) |
255 | 238, 254 | sylan 488 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2^{nd} ‘(1^{st}
‘𝑇)) “
(1...𝑀)) ×
{1})‘𝑦)) |
256 | 136 | fvconst2 6454 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1})‘𝑦) = 1) |
257 | 256 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → ((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1})‘𝑦) = 1) |
258 | 255, 257 | eqtrd 2654 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 1) |
259 | 258 | adantr 481 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) ∧ 𝑦 ∈ (1...𝑁)) → (((((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 1) |
260 | 225, 250,
251, 251, 159, 252, 259 | ofval 6891 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) ∧ 𝑦 ∈ (1...𝑁)) → (((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑇))‘𝑦) + 1)) |
261 | 221, 260 | mpdan 701 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (((1^{st}
‘(1^{st} ‘𝑇)) ∘_{𝑓} +
((((2^{nd} ‘(1^{st} ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2^{nd}
‘(1^{st} ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑇))‘𝑦) + 1)) |
262 | 220, 261 | eqtrd 2654 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → ((𝐹‘𝑀)‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑇))‘𝑦) + 1)) |
263 | 262 | adantrr 752 |
. . . . 5
⊢ ((𝜑 ∧ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → ((𝐹‘𝑀)‘𝑦) = (((1^{st} ‘(1^{st}
‘𝑇))‘𝑦) + 1)) |
264 | 46 | nngt0d 11049 |
. . . . . . . . . 10
⊢ (𝜑 → 0 < 𝑁) |
265 | 264, 104 | breqtrrd 4672 |
. . . . . . . . 9
⊢ (𝜑 → 0 < (2^{nd}
‘𝑈)) |
266 | 46, 5, 19, 265 | poimirlem5 33385 |
. . . . . . . 8
⊢ (𝜑 → (𝐹‘0) = (1^{st}
‘(1^{st} ‘𝑈))) |
267 | 264, 202 | breqtrrd 4672 |
. . . . . . . . 9
⊢ (𝜑 → 0 < (2^{nd}
‘𝑇)) |
268 | 46, 5, 3, 267 | poimirlem5 33385 |
. . . . . . . 8
⊢ (𝜑 → (𝐹‘0) = (1^{st}
‘(1^{st} ‘𝑇))) |
269 | 266, 268 | eqtr3d 2656 |
. . . . . . 7
⊢ (𝜑 → (1^{st}
‘(1^{st} ‘𝑈)) = (1^{st} ‘(1^{st}
‘𝑇))) |
270 | 269 | fveq1d 6180 |
. . . . . 6
⊢ (𝜑 → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) = ((1^{st} ‘(1^{st}
‘𝑇))‘𝑦)) |
271 | 270 | adantr 481 |
. . . . 5
⊢ ((𝜑 ∧ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → ((1^{st}
‘(1^{st} ‘𝑈))‘𝑦) = ((1^{st} ‘(1^{st}
‘𝑇))‘𝑦)) |
272 | 179, 263,
271 | 3eqtr3d 2662 |
. . . 4
⊢ ((𝜑 ∧ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → (((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) + 1) = ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦)) |
273 | | elmapi 7864 |
. . . . . . . . . . . 12
⊢
((1^{st} ‘(1^{st} ‘𝑇)) ∈ ((0..^𝐾) ↑_{𝑚} (1...𝑁)) → (1^{st}
‘(1^{st} ‘𝑇)):(1...𝑁)⟶(0..^𝐾)) |
274 | 8, 222, 273 | 3syl 18 |
. . . . . . . . . . 11
⊢ (𝜑 → (1^{st}
‘(1^{st} ‘𝑇)):(1...𝑁)⟶(0..^𝐾)) |
275 | 274 | ffvelrnda 6345 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) ∈ (0..^𝐾)) |
276 | | elfzonn0 12496 |
. . . . . . . . . 10
⊢
(((1^{st} ‘(1^{st} ‘𝑇))‘𝑦) ∈ (0..^𝐾) → ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) ∈
ℕ_{0}) |
277 | 275, 276 | syl 17 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) ∈
ℕ_{0}) |
278 | 277 | nn0red 11337 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) ∈ ℝ) |
279 | 278 | ltp1d 10939 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) < (((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) + 1)) |
280 | 278, 279 | gtned 10157 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → (((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) + 1) ≠ ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦)) |
281 | 221, 280 | syldan 487 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → (((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) + 1) ≠ ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦)) |
282 | 281 | neneqd 2796 |
. . . . 5
⊢ ((𝜑 ∧ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀))) → ¬ (((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) + 1) = ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦)) |
283 | 282 | adantrr 752 |
. . . 4
⊢ ((𝜑 ∧ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) → ¬ (((1^{st}
‘(1^{st} ‘𝑇))‘𝑦) + 1) = ((1^{st}
‘(1^{st} ‘𝑇))‘𝑦)) |
284 | 272, 283 | pm2.65da 599 |
. . 3
⊢ (𝜑 → ¬ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
285 | | iman 440 |
. . 3
⊢ ((𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) → 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) ↔ ¬ (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
286 | 284, 285 | sylibr 224 |
. 2
⊢ (𝜑 → (𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) → 𝑦 ∈ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀)))) |
287 | 286 | ssrdv 3601 |
1
⊢ (𝜑 → ((2^{nd}
‘(1^{st} ‘𝑇)) “ (1...𝑀)) ⊆ ((2^{nd}
‘(1^{st} ‘𝑈)) “ (1...𝑀))) |