Proof of Theorem poimirlem12
Step | Hyp | Ref
| Expression |
1 | | eldif 3584 |
. . . . . . 7
⊢ (𝑦 ∈ (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) ↔ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
2 | | imassrn 5477 |
. . . . . . . . . . . 12
⊢
((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) ⊆ ran (2nd
‘(1st ‘𝑇)) |
3 | | poimirlem12.2 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝑇 ∈ 𝑆) |
4 | | elrabi 3359 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑇 ∈ {𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 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(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} |
6 | 4, 5 | eleq2s 2719 |
. . . . . . . . . . . . . . . 16
⊢ (𝑇 ∈ 𝑆 → 𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
7 | | xp1st 7198 |
. . . . . . . . . . . . . . . 16
⊢ (𝑇 ∈ ((((0..^𝐾) ↑𝑚
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑇) ∈ (((0..^𝐾) ↑𝑚
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
8 | 3, 6, 7 | 3syl 18 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (1st
‘𝑇) ∈
(((0..^𝐾)
↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
9 | | xp2nd 7199 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑇) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd
‘(1st ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
10 | 8, 9 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (2nd
‘(1st ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
11 | | fvex 6201 |
. . . . . . . . . . . . . . 15
⊢
(2nd ‘(1st ‘𝑇)) ∈ V |
12 | | f1oeq1 6127 |
. . . . . . . . . . . . . . 15
⊢ (𝑓 = (2nd
‘(1st ‘𝑇)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd
‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))) |
13 | 11, 12 | elab 3350 |
. . . . . . . . . . . . . 14
⊢
((2nd ‘(1st ‘𝑇)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd
‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)) |
14 | 10, 13 | sylib 208 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (2nd
‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)) |
15 | | f1of 6137 |
. . . . . . . . . . . . 13
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd
‘(1st ‘𝑇)):(1...𝑁)⟶(1...𝑁)) |
16 | | frn 6053 |
. . . . . . . . . . . . 13
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)⟶(1...𝑁) → ran (2nd
‘(1st ‘𝑇)) ⊆ (1...𝑁)) |
17 | 14, 15, 16 | 3syl 18 |
. . . . . . . . . . . 12
⊢ (𝜑 → ran (2nd
‘(1st ‘𝑇)) ⊆ (1...𝑁)) |
18 | 2, 17 | syl5ss 3614 |
. . . . . . . . . . 11
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ⊆ (1...𝑁)) |
19 | | poimirlem12.4 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑈 ∈ 𝑆) |
20 | | elrabi 3359 |
. . . . . . . . . . . . . . . 16
⊢ (𝑈 ∈ {𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 𝑈 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
21 | 20, 5 | eleq2s 2719 |
. . . . . . . . . . . . . . 15
⊢ (𝑈 ∈ 𝑆 → 𝑈 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
22 | | xp1st 7198 |
. . . . . . . . . . . . . . 15
⊢ (𝑈 ∈ ((((0..^𝐾) ↑𝑚
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑈) ∈ (((0..^𝐾) ↑𝑚
(1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
23 | 19, 21, 22 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (1st
‘𝑈) ∈
(((0..^𝐾)
↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
24 | | xp2nd 7199 |
. . . . . . . . . . . . . 14
⊢
((1st ‘𝑈) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd
‘(1st ‘𝑈)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
25 | 23, 24 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (2nd
‘(1st ‘𝑈)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
26 | | fvex 6201 |
. . . . . . . . . . . . . 14
⊢
(2nd ‘(1st ‘𝑈)) ∈ V |
27 | | f1oeq1 6127 |
. . . . . . . . . . . . . 14
⊢ (𝑓 = (2nd
‘(1st ‘𝑈)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd
‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁))) |
28 | 26, 27 | elab 3350 |
. . . . . . . . . . . . 13
⊢
((2nd ‘(1st ‘𝑈)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd
‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁)) |
29 | 25, 28 | sylib 208 |
. . . . . . . . . . . 12
⊢ (𝜑 → (2nd
‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁)) |
30 | | f1ofo 6144 |
. . . . . . . . . . . 12
⊢
((2nd ‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd
‘(1st ‘𝑈)):(1...𝑁)–onto→(1...𝑁)) |
31 | | foima 6120 |
. . . . . . . . . . . 12
⊢
((2nd ‘(1st ‘𝑈)):(1...𝑁)–onto→(1...𝑁) → ((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) = (1...𝑁)) |
32 | 29, 30, 31 | 3syl 18 |
. . . . . . . . . . 11
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) = (1...𝑁)) |
33 | 18, 32 | sseqtr4d 3642 |
. . . . . . . . . 10
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ⊆ ((2nd
‘(1st ‘𝑈)) “ (1...𝑁))) |
34 | 33 | ssdifd 3746 |
. . . . . . . . 9
⊢ (𝜑 → (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) ⊆ (((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
35 | | dff1o3 6143 |
. . . . . . . . . . . 12
⊢
((2nd ‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) ↔ ((2nd
‘(1st ‘𝑈)):(1...𝑁)–onto→(1...𝑁) ∧ Fun ◡(2nd ‘(1st
‘𝑈)))) |
36 | 35 | simprbi 480 |
. . . . . . . . . . 11
⊢
((2nd ‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) → Fun ◡(2nd ‘(1st
‘𝑈))) |
37 | | imadif 5973 |
. . . . . . . . . . 11
⊢ (Fun
◡(2nd ‘(1st
‘𝑈)) →
((2nd ‘(1st ‘𝑈)) “ ((1...𝑁) ∖ (1...𝑀))) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
38 | 29, 36, 37 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((1...𝑁) ∖ (1...𝑀))) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
39 | | difun2 4048 |
. . . . . . . . . . . 12
⊢ ((((𝑀 + 1)...𝑁) ∪ (1...𝑀)) ∖ (1...𝑀)) = (((𝑀 + 1)...𝑁) ∖ (1...𝑀)) |
40 | | poimirlem12.6 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑀 ∈ (0...(𝑁 − 1))) |
41 | | elfznn0 12433 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ (0...(𝑁 − 1)) → 𝑀 ∈
ℕ0) |
42 | | nn0p1nn 11332 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ ℕ0
→ (𝑀 + 1) ∈
ℕ) |
43 | 40, 41, 42 | 3syl 18 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑀 + 1) ∈ ℕ) |
44 | | nnuz 11723 |
. . . . . . . . . . . . . . . 16
⊢ ℕ =
(ℤ≥‘1) |
45 | 43, 44 | syl6eleq 2711 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (𝑀 + 1) ∈
(ℤ≥‘1)) |
46 | | poimir.0 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 𝑁 ∈ ℕ) |
47 | 46 | nncnd 11036 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 ∈ ℂ) |
48 | | npcan1 10455 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁) |
49 | 47, 48 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((𝑁 − 1) + 1) = 𝑁) |
50 | | elfzuz3 12339 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ (0...(𝑁 − 1)) → (𝑁 − 1) ∈
(ℤ≥‘𝑀)) |
51 | | peano2uz 11741 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑁 − 1) ∈
(ℤ≥‘𝑀) → ((𝑁 − 1) + 1) ∈
(ℤ≥‘𝑀)) |
52 | 40, 50, 51 | 3syl 18 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((𝑁 − 1) + 1) ∈
(ℤ≥‘𝑀)) |
53 | 49, 52 | eqeltrrd 2702 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑁 ∈ (ℤ≥‘𝑀)) |
54 | | fzsplit2 12366 |
. . . . . . . . . . . . . . 15
⊢ (((𝑀 + 1) ∈
(ℤ≥‘1) ∧ 𝑁 ∈ (ℤ≥‘𝑀)) → (1...𝑁) = ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) |
55 | 45, 53, 54 | syl2anc 693 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (1...𝑁) = ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) |
56 | | uncom 3757 |
. . . . . . . . . . . . . 14
⊢
((1...𝑀) ∪
((𝑀 + 1)...𝑁)) = (((𝑀 + 1)...𝑁) ∪ (1...𝑀)) |
57 | 55, 56 | syl6eq 2672 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (1...𝑁) = (((𝑀 + 1)...𝑁) ∪ (1...𝑀))) |
58 | 57 | difeq1d 3727 |
. . . . . . . . . . . 12
⊢ (𝜑 → ((1...𝑁) ∖ (1...𝑀)) = ((((𝑀 + 1)...𝑁) ∪ (1...𝑀)) ∖ (1...𝑀))) |
59 | | incom 3805 |
. . . . . . . . . . . . . 14
⊢ (((𝑀 + 1)...𝑁) ∩ (1...𝑀)) = ((1...𝑀) ∩ ((𝑀 + 1)...𝑁)) |
60 | 40, 41 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑀 ∈
ℕ0) |
61 | 60 | nn0red 11352 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝑀 ∈ ℝ) |
62 | 61 | ltp1d 10954 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑀 < (𝑀 + 1)) |
63 | | fzdisj 12368 |
. . . . . . . . . . . . . . 15
⊢ (𝑀 < (𝑀 + 1) → ((1...𝑀) ∩ ((𝑀 + 1)...𝑁)) = ∅) |
64 | 62, 63 | syl 17 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((1...𝑀) ∩ ((𝑀 + 1)...𝑁)) = ∅) |
65 | 59, 64 | syl5eq 2668 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (((𝑀 + 1)...𝑁) ∩ (1...𝑀)) = ∅) |
66 | | disj3 4021 |
. . . . . . . . . . . . 13
⊢ ((((𝑀 + 1)...𝑁) ∩ (1...𝑀)) = ∅ ↔ ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...𝑁) ∖ (1...𝑀))) |
67 | 65, 66 | sylib 208 |
. . . . . . . . . . . 12
⊢ (𝜑 → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...𝑁) ∖ (1...𝑀))) |
68 | 39, 58, 67 | 3eqtr4a 2682 |
. . . . . . . . . . 11
⊢ (𝜑 → ((1...𝑁) ∖ (1...𝑀)) = ((𝑀 + 1)...𝑁)) |
69 | 68 | imaeq2d 5466 |
. . . . . . . . . 10
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((1...𝑁) ∖ (1...𝑀))) = ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
70 | 38, 69 | eqtr3d 2658 |
. . . . . . . . 9
⊢ (𝜑 → (((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) = ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
71 | 34, 70 | sseqtrd 3641 |
. . . . . . . 8
⊢ (𝜑 → (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) ⊆ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
72 | 71 | sselda 3603 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∖ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
73 | 1, 72 | sylan2br 493 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
74 | | fveq2 6191 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (2nd ‘𝑡) = (2nd ‘𝑈)) |
75 | 74 | breq2d 4665 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑈 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑈))) |
76 | 75 | ifbid 4108 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑈 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑈), 𝑦, (𝑦 + 1))) |
77 | 76 | csbeq1d 3540 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑈 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
78 | | fveq2 6191 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (1st ‘𝑡) = (1st ‘𝑈)) |
79 | 78 | fveq2d 6195 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑈 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑈))) |
80 | 78 | fveq2d 6195 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑈 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑈))) |
81 | 80 | imaeq1d 5465 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑈 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑈)) “
(1...𝑗))) |
82 | 81 | xpeq1d 5138 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑗)) × {1})) |
83 | 80 | imaeq1d 5465 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑈 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑈)) “ ((𝑗 + 1)...𝑁))) |
84 | 83 | xpeq1d 5138 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑈 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})) |
85 | 82, 84 | uneq12d 3768 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑈 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
86 | 79, 85 | oveq12d 6668 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑈 → ((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
87 | 86 | csbeq2dv 3992 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑈 → ⦋if(𝑦 < (2nd ‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
88 | 77, 87 | eqtrd 2656 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑈 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
89 | 88 | mpteq2dv 4745 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑈 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
90 | 89 | eqeq2d 2632 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑈 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
91 | 90, 5 | elrab2 3366 |
. . . . . . . . . . . 12
⊢ (𝑈 ∈ 𝑆 ↔ (𝑈 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
92 | 91 | simprbi 480 |
. . . . . . . . . . 11
⊢ (𝑈 ∈ 𝑆 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
93 | 19, 92 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
94 | | breq1 4656 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑀 → (𝑦 < (2nd ‘𝑈) ↔ 𝑀 < (2nd ‘𝑈))) |
95 | | id 22 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑀 → 𝑦 = 𝑀) |
96 | 94, 95 | ifbieq1d 4109 |
. . . . . . . . . . . . 13
⊢ (𝑦 = 𝑀 → if(𝑦 < (2nd ‘𝑈), 𝑦, (𝑦 + 1)) = if(𝑀 < (2nd ‘𝑈), 𝑀, (𝑦 + 1))) |
97 | 46 | nnred 11035 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 ∈ ℝ) |
98 | | peano2rem 10348 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℝ → (𝑁 − 1) ∈
ℝ) |
99 | 97, 98 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑁 − 1) ∈ ℝ) |
100 | | elfzle2 12345 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑀 ∈ (0...(𝑁 − 1)) → 𝑀 ≤ (𝑁 − 1)) |
101 | 40, 100 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → 𝑀 ≤ (𝑁 − 1)) |
102 | 97 | ltm1d 10956 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑁 − 1) < 𝑁) |
103 | 61, 99, 97, 101, 102 | lelttrd 10195 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑀 < 𝑁) |
104 | | poimirlem12.5 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2nd
‘𝑈) = 𝑁) |
105 | 103, 104 | breqtrrd 4681 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑀 < (2nd ‘𝑈)) |
106 | 105 | iftrued 4094 |
. . . . . . . . . . . . 13
⊢ (𝜑 → if(𝑀 < (2nd ‘𝑈), 𝑀, (𝑦 + 1)) = 𝑀) |
107 | 96, 106 | sylan9eqr 2678 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → if(𝑦 < (2nd ‘𝑈), 𝑦, (𝑦 + 1)) = 𝑀) |
108 | 107 | csbeq1d 3540 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋𝑀 / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
109 | | oveq2 6658 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑗 = 𝑀 → (1...𝑗) = (1...𝑀)) |
110 | 109 | imaeq2d 5466 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2nd
‘(1st ‘𝑈)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑈)) “
(1...𝑀))) |
111 | 110 | xpeq1d 5138 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2nd
‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1})) |
112 | | oveq1 6657 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑗 = 𝑀 → (𝑗 + 1) = (𝑀 + 1)) |
113 | 112 | oveq1d 6665 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑗 = 𝑀 → ((𝑗 + 1)...𝑁) = ((𝑀 + 1)...𝑁)) |
114 | 113 | imaeq2d 5466 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
115 | 114 | xpeq1d 5138 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) |
116 | 111, 115 | uneq12d 3768 |
. . . . . . . . . . . . . . 15
⊢ (𝑗 = 𝑀 → ((((2nd
‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))) |
117 | 116 | oveq2d 6666 |
. . . . . . . . . . . . . 14
⊢ (𝑗 = 𝑀 → ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
118 | 117 | adantl 482 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑗 = 𝑀) → ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
119 | 40, 118 | csbied 3560 |
. . . . . . . . . . . 12
⊢ (𝜑 → ⦋𝑀 / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
120 | 119 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋𝑀 / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
121 | 108, 120 | eqtrd 2656 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2nd
‘𝑈), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
122 | | ovexd 6680 |
. . . . . . . . . 10
⊢ (𝜑 → ((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))) ∈ V) |
123 | 93, 121, 40, 122 | fvmptd 6288 |
. . . . . . . . 9
⊢ (𝜑 → (𝐹‘𝑀) = ((1st ‘(1st
‘𝑈))
∘𝑓 + ((((2nd ‘(1st
‘𝑈)) “
(1...𝑀)) × {1}) ∪
(((2nd ‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
124 | 123 | fveq1d 6193 |
. . . . . . . 8
⊢ (𝜑 → ((𝐹‘𝑀)‘𝑦) = (((1st ‘(1st
‘𝑈))
∘𝑓 + ((((2nd ‘(1st
‘𝑈)) “
(1...𝑀)) × {1}) ∪
(((2nd ‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
125 | 124 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((𝐹‘𝑀)‘𝑦) = (((1st ‘(1st
‘𝑈))
∘𝑓 + ((((2nd ‘(1st
‘𝑈)) “
(1...𝑀)) × {1}) ∪
(((2nd ‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
126 | | imassrn 5477 |
. . . . . . . . . 10
⊢
((2nd ‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) ⊆ ran (2nd
‘(1st ‘𝑈)) |
127 | | f1of 6137 |
. . . . . . . . . . 11
⊢
((2nd ‘(1st ‘𝑈)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd
‘(1st ‘𝑈)):(1...𝑁)⟶(1...𝑁)) |
128 | | frn 6053 |
. . . . . . . . . . 11
⊢
((2nd ‘(1st ‘𝑈)):(1...𝑁)⟶(1...𝑁) → ran (2nd
‘(1st ‘𝑈)) ⊆ (1...𝑁)) |
129 | 29, 127, 128 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → ran (2nd
‘(1st ‘𝑈)) ⊆ (1...𝑁)) |
130 | 126, 129 | syl5ss 3614 |
. . . . . . . . 9
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) ⊆ (1...𝑁)) |
131 | 130 | sselda 3603 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → 𝑦 ∈ (1...𝑁)) |
132 | | xp1st 7198 |
. . . . . . . . . . 11
⊢
((1st ‘𝑈) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st
‘(1st ‘𝑈)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁))) |
133 | | elmapfn 7880 |
. . . . . . . . . . 11
⊢
((1st ‘(1st ‘𝑈)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)) → (1st
‘(1st ‘𝑈)) Fn (1...𝑁)) |
134 | 23, 132, 133 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → (1st
‘(1st ‘𝑈)) Fn (1...𝑁)) |
135 | 134 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (1st
‘(1st ‘𝑈)) Fn (1...𝑁)) |
136 | | 1ex 10035 |
. . . . . . . . . . . . . 14
⊢ 1 ∈
V |
137 | | fnconstg 6093 |
. . . . . . . . . . . . . 14
⊢ (1 ∈
V → (((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) |
138 | 136, 137 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) |
139 | | c0ex 10034 |
. . . . . . . . . . . . . 14
⊢ 0 ∈
V |
140 | | fnconstg 6093 |
. . . . . . . . . . . . . 14
⊢ (0 ∈
V → (((2nd ‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
141 | 139, 140 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2nd ‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) |
142 | 138, 141 | pm3.2i 471 |
. . . . . . . . . . . 12
⊢
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∧ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
143 | | imain 5974 |
. . . . . . . . . . . . . 14
⊢ (Fun
◡(2nd ‘(1st
‘𝑈)) →
((2nd ‘(1st ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
144 | 29, 36, 143 | 3syl 18 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
145 | 64 | imaeq2d 5466 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ((2nd
‘(1st ‘𝑈)) “ ∅)) |
146 | | ima0 5481 |
. . . . . . . . . . . . . 14
⊢
((2nd ‘(1st ‘𝑈)) “ ∅) =
∅ |
147 | 145, 146 | syl6eq 2672 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ∅) |
148 | 144, 147 | eqtr3d 2658 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅) |
149 | | fnun 5997 |
. . . . . . . . . . . 12
⊢
((((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∧ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅) → ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
150 | 142, 148,
149 | sylancr 695 |
. . . . . . . . . . 11
⊢ (𝜑 → ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) |
151 | | imaundi 5545 |
. . . . . . . . . . . . 13
⊢
((2nd ‘(1st ‘𝑈)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) |
152 | 55 | imaeq2d 5466 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ (1...𝑁)) = ((2nd ‘(1st
‘𝑈)) “
((1...𝑀) ∪ ((𝑀 + 1)...𝑁)))) |
153 | 152, 32 | eqtr3d 2658 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2nd
‘(1st ‘𝑈)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
154 | 151, 153 | syl5eqr 2670 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
155 | 154 | fneq2d 5982 |
. . . . . . . . . . 11
⊢ (𝜑 → (((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ↔ ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁))) |
156 | 150, 155 | mpbid 222 |
. . . . . . . . . 10
⊢ (𝜑 → ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
157 | 156 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
158 | | ovexd 6680 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (1...𝑁) ∈ V) |
159 | | inidm 3822 |
. . . . . . . . 9
⊢
((1...𝑁) ∩
(1...𝑁)) = (1...𝑁) |
160 | | eqidd 2623 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑈))‘𝑦) = ((1st ‘(1st
‘𝑈))‘𝑦)) |
161 | | fvun2 6270 |
. . . . . . . . . . . . 13
⊢
(((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∧ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) ∧ ((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)))) → (((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2nd ‘(1st
‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦)) |
162 | 138, 141,
161 | mp3an12 1414 |
. . . . . . . . . . . 12
⊢
(((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2nd ‘(1st
‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦)) |
163 | 148, 162 | sylan 488 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2nd ‘(1st
‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦)) |
164 | 139 | fvconst2 6469 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) → ((((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦) = 0) |
165 | 164 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})‘𝑦) = 0) |
166 | 163, 165 | eqtrd 2656 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 0) |
167 | 166 | adantr 481 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ 𝑦 ∈ (1...𝑁)) → (((((2nd
‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 0) |
168 | 135, 157,
158, 158, 159, 160, 167 | ofval 6906 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) ∧ 𝑦 ∈ (1...𝑁)) → (((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1st ‘(1st
‘𝑈))‘𝑦) + 0)) |
169 | 131, 168 | mpdan 702 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((1st
‘(1st ‘𝑈)) ∘𝑓 +
((((2nd ‘(1st ‘𝑈)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1st ‘(1st
‘𝑈))‘𝑦) + 0)) |
170 | | elmapi 7879 |
. . . . . . . . . . . . 13
⊢
((1st ‘(1st ‘𝑈)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)) → (1st
‘(1st ‘𝑈)):(1...𝑁)⟶(0..^𝐾)) |
171 | 23, 132, 170 | 3syl 18 |
. . . . . . . . . . . 12
⊢ (𝜑 → (1st
‘(1st ‘𝑈)):(1...𝑁)⟶(0..^𝐾)) |
172 | 171 | ffvelrnda 6359 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑈))‘𝑦) ∈ (0..^𝐾)) |
173 | | elfzonn0 12512 |
. . . . . . . . . . 11
⊢
(((1st ‘(1st ‘𝑈))‘𝑦) ∈ (0..^𝐾) → ((1st
‘(1st ‘𝑈))‘𝑦) ∈
ℕ0) |
174 | 172, 173 | syl 17 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑈))‘𝑦) ∈
ℕ0) |
175 | 174 | nn0cnd 11353 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑈))‘𝑦) ∈ ℂ) |
176 | 175 | addid1d 10236 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → (((1st
‘(1st ‘𝑈))‘𝑦) + 0) = ((1st
‘(1st ‘𝑈))‘𝑦)) |
177 | 131, 176 | syldan 487 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → (((1st
‘(1st ‘𝑈))‘𝑦) + 0) = ((1st
‘(1st ‘𝑈))‘𝑦)) |
178 | 125, 169,
177 | 3eqtrd 2660 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ ((𝑀 + 1)...𝑁))) → ((𝐹‘𝑀)‘𝑦) = ((1st ‘(1st
‘𝑈))‘𝑦)) |
179 | 73, 178 | syldan 487 |
. . . . 5
⊢ ((𝜑 ∧ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → ((𝐹‘𝑀)‘𝑦) = ((1st ‘(1st
‘𝑈))‘𝑦)) |
180 | | fveq2 6191 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (2nd ‘𝑡) = (2nd ‘𝑇)) |
181 | 180 | breq2d 4665 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑇 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑇))) |
182 | 181 | ifbid 4108 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑇 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1))) |
183 | 182 | csbeq1d 3540 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
184 | | fveq2 6191 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (1st ‘𝑡) = (1st ‘𝑇)) |
185 | 184 | fveq2d 6195 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑇 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑇))) |
186 | 184 | fveq2d 6195 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑇 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑇))) |
187 | 186 | imaeq1d 5465 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑇 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑇)) “
(1...𝑗))) |
188 | 187 | xpeq1d 5138 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1})) |
189 | 186 | imaeq1d 5465 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑇 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑇)) “ ((𝑗 + 1)...𝑁))) |
190 | 189 | xpeq1d 5138 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑇 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) |
191 | 188, 190 | uneq12d 3768 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑇 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
192 | 185, 191 | oveq12d 6668 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑇 → ((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
193 | 192 | csbeq2dv 3992 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
194 | 183, 193 | eqtrd 2656 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑇 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
195 | 194 | mpteq2dv 4745 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑇 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
196 | 195 | eqeq2d 2632 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑇 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘𝑓 +
((((2nd ‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
197 | 196, 5 | elrab2 3366 |
. . . . . . . . . . . 12
⊢ (𝑇 ∈ 𝑆 ↔ (𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
198 | 197 | simprbi 480 |
. . . . . . . . . . 11
⊢ (𝑇 ∈ 𝑆 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
199 | 3, 198 | syl 17 |
. . . . . . . . . 10
⊢ (𝜑 → 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
200 | | breq1 4656 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑀 → (𝑦 < (2nd ‘𝑇) ↔ 𝑀 < (2nd ‘𝑇))) |
201 | 200, 95 | ifbieq1d 4109 |
. . . . . . . . . . . . 13
⊢ (𝑦 = 𝑀 → if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1)) = if(𝑀 < (2nd ‘𝑇), 𝑀, (𝑦 + 1))) |
202 | | poimirlem12.3 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (2nd
‘𝑇) = 𝑁) |
203 | 103, 202 | breqtrrd 4681 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 𝑀 < (2nd ‘𝑇)) |
204 | 203 | iftrued 4094 |
. . . . . . . . . . . . 13
⊢ (𝜑 → if(𝑀 < (2nd ‘𝑇), 𝑀, (𝑦 + 1)) = 𝑀) |
205 | 201, 204 | sylan9eqr 2678 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → if(𝑦 < (2nd ‘𝑇), 𝑦, (𝑦 + 1)) = 𝑀) |
206 | 205 | csbeq1d 3540 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋𝑀 / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
207 | 109 | imaeq2d 5466 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑇)) “
(1...𝑀))) |
208 | 207 | xpeq1d 5138 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1})) |
209 | 113 | imaeq2d 5466 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑗 = 𝑀 → ((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
210 | 209 | xpeq1d 5138 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑀 → (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) |
211 | 208, 210 | uneq12d 3768 |
. . . . . . . . . . . . . . 15
⊢ (𝑗 = 𝑀 → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))) |
212 | 211 | oveq2d 6666 |
. . . . . . . . . . . . . 14
⊢ (𝑗 = 𝑀 → ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
213 | 212 | adantl 482 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑗 = 𝑀) → ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
214 | 40, 213 | csbied 3560 |
. . . . . . . . . . . 12
⊢ (𝜑 → ⦋𝑀 / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
215 | 214 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋𝑀 / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
216 | 206, 215 | eqtrd 2656 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 = 𝑀) → ⦋if(𝑦 < (2nd
‘𝑇), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
217 | | ovexd 6680 |
. . . . . . . . . 10
⊢ (𝜑 → ((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))) ∈ V) |
218 | 199, 216,
40, 217 | fvmptd 6288 |
. . . . . . . . 9
⊢ (𝜑 → (𝐹‘𝑀) = ((1st ‘(1st
‘𝑇))
∘𝑓 + ((((2nd ‘(1st
‘𝑇)) “
(1...𝑀)) × {1}) ∪
(((2nd ‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))) |
219 | 218 | fveq1d 6193 |
. . . . . . . 8
⊢ (𝜑 → ((𝐹‘𝑀)‘𝑦) = (((1st ‘(1st
‘𝑇))
∘𝑓 + ((((2nd ‘(1st
‘𝑇)) “
(1...𝑀)) × {1}) ∪
(((2nd ‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
220 | 219 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → ((𝐹‘𝑀)‘𝑦) = (((1st ‘(1st
‘𝑇))
∘𝑓 + ((((2nd ‘(1st
‘𝑇)) “
(1...𝑀)) × {1}) ∪
(((2nd ‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦)) |
221 | 18 | sselda 3603 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → 𝑦 ∈ (1...𝑁)) |
222 | | xp1st 7198 |
. . . . . . . . . . 11
⊢
((1st ‘𝑇) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st
‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁))) |
223 | | elmapfn 7880 |
. . . . . . . . . . 11
⊢
((1st ‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)) → (1st
‘(1st ‘𝑇)) Fn (1...𝑁)) |
224 | 8, 222, 223 | 3syl 18 |
. . . . . . . . . 10
⊢ (𝜑 → (1st
‘(1st ‘𝑇)) Fn (1...𝑁)) |
225 | 224 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (1st
‘(1st ‘𝑇)) Fn (1...𝑁)) |
226 | | fnconstg 6093 |
. . . . . . . . . . . . . 14
⊢ (1 ∈
V → (((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) |
227 | 136, 226 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) |
228 | | fnconstg 6093 |
. . . . . . . . . . . . . 14
⊢ (0 ∈
V → (((2nd ‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
229 | 139, 228 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢
(((2nd ‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) |
230 | 227, 229 | pm3.2i 471 |
. . . . . . . . . . . 12
⊢
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
231 | | dff1o3 6143 |
. . . . . . . . . . . . . . 15
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) ↔ ((2nd
‘(1st ‘𝑇)):(1...𝑁)–onto→(1...𝑁) ∧ Fun ◡(2nd ‘(1st
‘𝑇)))) |
232 | 231 | simprbi 480 |
. . . . . . . . . . . . . 14
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → Fun ◡(2nd ‘(1st
‘𝑇))) |
233 | | imain 5974 |
. . . . . . . . . . . . . 14
⊢ (Fun
◡(2nd ‘(1st
‘𝑇)) →
((2nd ‘(1st ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
234 | 14, 232, 233 | 3syl 18 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
235 | 64 | imaeq2d 5466 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ((2nd
‘(1st ‘𝑇)) “ ∅)) |
236 | | ima0 5481 |
. . . . . . . . . . . . . 14
⊢
((2nd ‘(1st ‘𝑇)) “ ∅) =
∅ |
237 | 235, 236 | syl6eq 2672 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ ((1...𝑀) ∩ ((𝑀 + 1)...𝑁))) = ∅) |
238 | 234, 237 | eqtr3d 2658 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅) |
239 | | fnun 5997 |
. . . . . . . . . . . 12
⊢
((((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) ∧ (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅) → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
240 | 230, 238,
239 | sylancr 695 |
. . . . . . . . . . 11
⊢ (𝜑 → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)))) |
241 | | imaundi 5545 |
. . . . . . . . . . . . 13
⊢
((2nd ‘(1st ‘𝑇)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) |
242 | 55 | imaeq2d 5466 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑁)) = ((2nd ‘(1st
‘𝑇)) “
((1...𝑀) ∪ ((𝑀 + 1)...𝑁)))) |
243 | | f1ofo 6144 |
. . . . . . . . . . . . . . 15
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd
‘(1st ‘𝑇)):(1...𝑁)–onto→(1...𝑁)) |
244 | | foima 6120 |
. . . . . . . . . . . . . . 15
⊢
((2nd ‘(1st ‘𝑇)):(1...𝑁)–onto→(1...𝑁) → ((2nd
‘(1st ‘𝑇)) “ (1...𝑁)) = (1...𝑁)) |
245 | 14, 243, 244 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑁)) = (1...𝑁)) |
246 | 242, 245 | eqtr3d 2658 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ ((1...𝑀) ∪ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
247 | 241, 246 | syl5eqr 2670 |
. . . . . . . . . . . 12
⊢ (𝜑 → (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = (1...𝑁)) |
248 | 247 | fneq2d 5982 |
. . . . . . . . . . 11
⊢ (𝜑 → (((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∪ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) ↔ ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁))) |
249 | 240, 248 | mpbid 222 |
. . . . . . . . . 10
⊢ (𝜑 → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
250 | 249 | adantr 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})) Fn (1...𝑁)) |
251 | | ovexd 6680 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (1...𝑁) ∈ V) |
252 | | eqidd 2623 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑦) = ((1st ‘(1st
‘𝑇))‘𝑦)) |
253 | | fvun1 6269 |
. . . . . . . . . . . . 13
⊢
(((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) Fn ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}) Fn ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) ∧ ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)))) → (((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2nd ‘(1st
‘𝑇)) “
(1...𝑀)) ×
{1})‘𝑦)) |
254 | 227, 229,
253 | mp3an12 1414 |
. . . . . . . . . . . 12
⊢
(((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) ∩ ((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁))) = ∅ ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2nd ‘(1st
‘𝑇)) “
(1...𝑀)) ×
{1})‘𝑦)) |
255 | 238, 254 | sylan 488 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = ((((2nd ‘(1st
‘𝑇)) “
(1...𝑀)) ×
{1})‘𝑦)) |
256 | 136 | fvconst2 6469 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1})‘𝑦) = 1) |
257 | 256 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → ((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1})‘𝑦) = 1) |
258 | 255, 257 | eqtrd 2656 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 1) |
259 | 258 | adantr 481 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) ∧ 𝑦 ∈ (1...𝑁)) → (((((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0}))‘𝑦) = 1) |
260 | 225, 250,
251, 251, 159, 252, 259 | ofval 6906 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) ∧ 𝑦 ∈ (1...𝑁)) → (((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1st ‘(1st
‘𝑇))‘𝑦) + 1)) |
261 | 221, 260 | mpdan 702 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (((1st
‘(1st ‘𝑇)) ∘𝑓 +
((((2nd ‘(1st ‘𝑇)) “ (1...𝑀)) × {1}) ∪ (((2nd
‘(1st ‘𝑇)) “ ((𝑀 + 1)...𝑁)) × {0})))‘𝑦) = (((1st ‘(1st
‘𝑇))‘𝑦) + 1)) |
262 | 220, 261 | eqtrd 2656 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → ((𝐹‘𝑀)‘𝑦) = (((1st ‘(1st
‘𝑇))‘𝑦) + 1)) |
263 | 262 | adantrr 753 |
. . . . 5
⊢ ((𝜑 ∧ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → ((𝐹‘𝑀)‘𝑦) = (((1st ‘(1st
‘𝑇))‘𝑦) + 1)) |
264 | 46 | nngt0d 11064 |
. . . . . . . . . 10
⊢ (𝜑 → 0 < 𝑁) |
265 | 264, 104 | breqtrrd 4681 |
. . . . . . . . 9
⊢ (𝜑 → 0 < (2nd
‘𝑈)) |
266 | 46, 5, 19, 265 | poimirlem5 33414 |
. . . . . . . 8
⊢ (𝜑 → (𝐹‘0) = (1st
‘(1st ‘𝑈))) |
267 | 264, 202 | breqtrrd 4681 |
. . . . . . . . 9
⊢ (𝜑 → 0 < (2nd
‘𝑇)) |
268 | 46, 5, 3, 267 | poimirlem5 33414 |
. . . . . . . 8
⊢ (𝜑 → (𝐹‘0) = (1st
‘(1st ‘𝑇))) |
269 | 266, 268 | eqtr3d 2658 |
. . . . . . 7
⊢ (𝜑 → (1st
‘(1st ‘𝑈)) = (1st ‘(1st
‘𝑇))) |
270 | 269 | fveq1d 6193 |
. . . . . 6
⊢ (𝜑 → ((1st
‘(1st ‘𝑈))‘𝑦) = ((1st ‘(1st
‘𝑇))‘𝑦)) |
271 | 270 | adantr 481 |
. . . . 5
⊢ ((𝜑 ∧ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → ((1st
‘(1st ‘𝑈))‘𝑦) = ((1st ‘(1st
‘𝑇))‘𝑦)) |
272 | 179, 263,
271 | 3eqtr3d 2664 |
. . . 4
⊢ ((𝜑 ∧ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → (((1st
‘(1st ‘𝑇))‘𝑦) + 1) = ((1st
‘(1st ‘𝑇))‘𝑦)) |
273 | | elmapi 7879 |
. . . . . . . . . . . 12
⊢
((1st ‘(1st ‘𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)) → (1st
‘(1st ‘𝑇)):(1...𝑁)⟶(0..^𝐾)) |
274 | 8, 222, 273 | 3syl 18 |
. . . . . . . . . . 11
⊢ (𝜑 → (1st
‘(1st ‘𝑇)):(1...𝑁)⟶(0..^𝐾)) |
275 | 274 | ffvelrnda 6359 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑦) ∈ (0..^𝐾)) |
276 | | elfzonn0 12512 |
. . . . . . . . . 10
⊢
(((1st ‘(1st ‘𝑇))‘𝑦) ∈ (0..^𝐾) → ((1st
‘(1st ‘𝑇))‘𝑦) ∈
ℕ0) |
277 | 275, 276 | syl 17 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑦) ∈
ℕ0) |
278 | 277 | nn0red 11352 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑦) ∈ ℝ) |
279 | 278 | ltp1d 10954 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → ((1st
‘(1st ‘𝑇))‘𝑦) < (((1st
‘(1st ‘𝑇))‘𝑦) + 1)) |
280 | 278, 279 | gtned 10172 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 ∈ (1...𝑁)) → (((1st
‘(1st ‘𝑇))‘𝑦) + 1) ≠ ((1st
‘(1st ‘𝑇))‘𝑦)) |
281 | 221, 280 | syldan 487 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → (((1st
‘(1st ‘𝑇))‘𝑦) + 1) ≠ ((1st
‘(1st ‘𝑇))‘𝑦)) |
282 | 281 | neneqd 2799 |
. . . . 5
⊢ ((𝜑 ∧ 𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀))) → ¬ (((1st
‘(1st ‘𝑇))‘𝑦) + 1) = ((1st
‘(1st ‘𝑇))‘𝑦)) |
283 | 282 | adantrr 753 |
. . . 4
⊢ ((𝜑 ∧ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) → ¬ (((1st
‘(1st ‘𝑇))‘𝑦) + 1) = ((1st
‘(1st ‘𝑇))‘𝑦)) |
284 | 272, 283 | pm2.65da 600 |
. . 3
⊢ (𝜑 → ¬ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
285 | | iman 440 |
. . 3
⊢ ((𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) → 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) ↔ ¬ (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ∧ ¬ 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
286 | 284, 285 | sylibr 224 |
. 2
⊢ (𝜑 → (𝑦 ∈ ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) → 𝑦 ∈ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀)))) |
287 | 286 | ssrdv 3609 |
1
⊢ (𝜑 → ((2nd
‘(1st ‘𝑇)) “ (1...𝑀)) ⊆ ((2nd
‘(1st ‘𝑈)) “ (1...𝑀))) |