Step | Hyp | Ref
| Expression |
1 | | fzfi 13620 |
. . . . . 6
⊢
(0...𝐾) ∈
Fin |
2 | | fzfi 13620 |
. . . . . 6
⊢
(1...𝑁) ∈
Fin |
3 | | mapfi 9045 |
. . . . . 6
⊢
(((0...𝐾) ∈ Fin
∧ (1...𝑁) ∈ Fin)
→ ((0...𝐾)
↑m (1...𝑁))
∈ Fin) |
4 | 1, 2, 3 | mp2an 688 |
. . . . 5
⊢
((0...𝐾)
↑m (1...𝑁))
∈ Fin |
5 | | fzfi 13620 |
. . . . 5
⊢
(0...(𝑁 − 1))
∈ Fin |
6 | | mapfi 9045 |
. . . . 5
⊢
((((0...𝐾)
↑m (1...𝑁))
∈ Fin ∧ (0...(𝑁
− 1)) ∈ Fin) → (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) ∈
Fin) |
7 | 4, 5, 6 | mp2an 688 |
. . . 4
⊢
(((0...𝐾)
↑m (1...𝑁))
↑m (0...(𝑁
− 1))) ∈ Fin |
8 | 7 | a1i 11 |
. . 3
⊢ (𝜑 → (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) ∈
Fin) |
9 | | 2z 12282 |
. . . 4
⊢ 2 ∈
ℤ |
10 | 9 | a1i 11 |
. . 3
⊢ (𝜑 → 2 ∈
ℤ) |
11 | | fzofi 13622 |
. . . . . . . 8
⊢
(0..^𝐾) ∈
Fin |
12 | | mapfi 9045 |
. . . . . . . 8
⊢
(((0..^𝐾) ∈ Fin
∧ (1...𝑁) ∈ Fin)
→ ((0..^𝐾)
↑m (1...𝑁))
∈ Fin) |
13 | 11, 2, 12 | mp2an 688 |
. . . . . . 7
⊢
((0..^𝐾)
↑m (1...𝑁))
∈ Fin |
14 | | mapfi 9045 |
. . . . . . . . 9
⊢
(((1...𝑁) ∈ Fin
∧ (1...𝑁) ∈ Fin)
→ ((1...𝑁)
↑m (1...𝑁))
∈ Fin) |
15 | 2, 2, 14 | mp2an 688 |
. . . . . . . 8
⊢
((1...𝑁)
↑m (1...𝑁))
∈ Fin |
16 | | f1of 6700 |
. . . . . . . . . 10
⊢ (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) → 𝑓:(1...𝑁)⟶(1...𝑁)) |
17 | 16 | ss2abi 3996 |
. . . . . . . . 9
⊢ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ⊆ {𝑓 ∣ 𝑓:(1...𝑁)⟶(1...𝑁)} |
18 | | ovex 7288 |
. . . . . . . . . 10
⊢
(1...𝑁) ∈
V |
19 | 18, 18 | mapval 8585 |
. . . . . . . . 9
⊢
((1...𝑁)
↑m (1...𝑁))
= {𝑓 ∣ 𝑓:(1...𝑁)⟶(1...𝑁)} |
20 | 17, 19 | sseqtrri 3954 |
. . . . . . . 8
⊢ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ⊆ ((1...𝑁) ↑m (1...𝑁)) |
21 | | ssfi 8918 |
. . . . . . . 8
⊢
((((1...𝑁)
↑m (1...𝑁))
∈ Fin ∧ {𝑓 ∣
𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ⊆ ((1...𝑁) ↑m (1...𝑁))) → {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ∈ Fin) |
22 | 15, 20, 21 | mp2an 688 |
. . . . . . 7
⊢ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ∈ Fin |
23 | | xpfi 9015 |
. . . . . . 7
⊢
((((0..^𝐾)
↑m (1...𝑁))
∈ Fin ∧ {𝑓 ∣
𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ∈ Fin) → (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∈ Fin) |
24 | 13, 22, 23 | mp2an 688 |
. . . . . 6
⊢
(((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∈ Fin |
25 | | fzfi 13620 |
. . . . . 6
⊢
(0...𝑁) ∈
Fin |
26 | | xpfi 9015 |
. . . . . 6
⊢
(((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∈ Fin ∧ (0...𝑁) ∈ Fin) → ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin) |
27 | 24, 25, 26 | mp2an 688 |
. . . . 5
⊢
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin |
28 | | rabfi 8973 |
. . . . 5
⊢
(((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} ∈ Fin) |
29 | 27, 28 | ax-mp 5 |
. . . 4
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} ∈ Fin |
30 | | hashcl 13999 |
. . . . 5
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} ∈ Fin → (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) ∈
ℕ0) |
31 | 30 | nn0zd 12353 |
. . . 4
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} ∈ Fin → (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) ∈ ℤ) |
32 | 29, 31 | mp1i 13 |
. . 3
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) ∈ ℤ) |
33 | | dfrex2 3166 |
. . . . 5
⊢
(∃𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ↔ ¬ ∀𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
34 | | nfv 1918 |
. . . . . 6
⊢
Ⅎ𝑡(𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) |
35 | | nfcv 2906 |
. . . . . . 7
⊢
Ⅎ𝑡2 |
36 | | nfcv 2906 |
. . . . . . 7
⊢
Ⅎ𝑡
∥ |
37 | | nfcv 2906 |
. . . . . . . 8
⊢
Ⅎ𝑡♯ |
38 | | nfrab1 3310 |
. . . . . . . 8
⊢
Ⅎ𝑡{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} |
39 | 37, 38 | nffv 6766 |
. . . . . . 7
⊢
Ⅎ𝑡(♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) |
40 | 35, 36, 39 | nfbr 5117 |
. . . . . 6
⊢
Ⅎ𝑡2 ∥
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) |
41 | | neq0 4276 |
. . . . . . . . . . . 12
⊢ (¬
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} = ∅ ↔
∃𝑠 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) |
42 | | iddvds 15907 |
. . . . . . . . . . . . . . . . 17
⊢ (2 ∈
ℤ → 2 ∥ 2) |
43 | 9, 42 | ax-mp 5 |
. . . . . . . . . . . . . . . 16
⊢ 2 ∥
2 |
44 | | vex 3426 |
. . . . . . . . . . . . . . . . . . 19
⊢ 𝑠 ∈ V |
45 | | hashsng 14012 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑠 ∈ V →
(♯‘{𝑠}) =
1) |
46 | 44, 45 | ax-mp 5 |
. . . . . . . . . . . . . . . . . 18
⊢
(♯‘{𝑠})
= 1 |
47 | 46 | oveq2i 7266 |
. . . . . . . . . . . . . . . . 17
⊢ (1 +
(♯‘{𝑠})) = (1 +
1) |
48 | | df-2 11966 |
. . . . . . . . . . . . . . . . 17
⊢ 2 = (1 +
1) |
49 | 47, 48 | eqtr4i 2769 |
. . . . . . . . . . . . . . . 16
⊢ (1 +
(♯‘{𝑠})) =
2 |
50 | 43, 49 | breqtrri 5097 |
. . . . . . . . . . . . . . 15
⊢ 2 ∥
(1 + (♯‘{𝑠})) |
51 | | rabfi 8973 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∈
Fin) |
52 | | diffi 8979 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∈ Fin →
({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∈ Fin) |
53 | 27, 51, 52 | mp2b 10 |
. . . . . . . . . . . . . . . . . . 19
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∈ Fin |
54 | | snfi 8788 |
. . . . . . . . . . . . . . . . . . 19
⊢ {𝑠} ∈ Fin |
55 | | disjdifr 4403 |
. . . . . . . . . . . . . . . . . . 19
⊢ (({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∩ {𝑠}) = ∅ |
56 | | hashun 14025 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∈ Fin ∧ {𝑠} ∈ Fin ∧ (({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∩ {𝑠}) = ∅) → (♯‘(({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∪ {𝑠})) = ((♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) + (♯‘{𝑠}))) |
57 | 53, 54, 55, 56 | mp3an 1459 |
. . . . . . . . . . . . . . . . . 18
⊢
(♯‘(({𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∪ {𝑠})) = ((♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) + (♯‘{𝑠})) |
58 | | difsnid 4740 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → (({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∪ {𝑠}) = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) |
59 | 58 | fveq2d 6760 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} →
(♯‘(({𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∪ {𝑠})) = (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))})) |
60 | 57, 59 | eqtr3id 2793 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} →
((♯‘({𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) + (♯‘{𝑠})) = (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))})) |
61 | 60 | adantl 481 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) →
((♯‘({𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) + (♯‘{𝑠})) = (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))})) |
62 | | poimir.0 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → 𝑁 ∈ ℕ) |
63 | 62 | ad3antrrr 726 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → 𝑁 ∈
ℕ) |
64 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑡 = 𝑢 → (2nd ‘𝑡) = (2nd ‘𝑢)) |
65 | 64 | breq2d 5082 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑡 = 𝑢 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑢))) |
66 | 65 | ifbid 4479 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑡 = 𝑢 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1))) |
67 | 66 | csbeq1d 3832 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑡 = 𝑢 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
68 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑡 = 𝑢 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑢))) |
69 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑡 = 𝑢 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑢))) |
70 | 69 | imaeq1d 5957 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑡 = 𝑢 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑢)) “
(1...𝑗))) |
71 | 70 | xpeq1d 5609 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑡 = 𝑢 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1})) |
72 | 69 | imaeq1d 5957 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑡 = 𝑢 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑢)) “ ((𝑗 + 1)...𝑁))) |
73 | 72 | xpeq1d 5609 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑡 = 𝑢 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})) |
74 | 71, 73 | uneq12d 4094 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑡 = 𝑢 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
75 | 68, 74 | oveq12d 7273 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑡 = 𝑢 → ((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
76 | 75 | csbeq2dv 3835 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑡 = 𝑢 → ⦋if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
77 | 67, 76 | eqtrd 2778 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑡 = 𝑢 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
78 | 77 | mpteq2dv 5172 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑡 = 𝑢 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
79 | | breq1 5073 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑦 = 𝑤 → (𝑦 < (2nd ‘𝑢) ↔ 𝑤 < (2nd ‘𝑢))) |
80 | | id 22 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑦 = 𝑤 → 𝑦 = 𝑤) |
81 | | oveq1 7262 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑦 = 𝑤 → (𝑦 + 1) = (𝑤 + 1)) |
82 | 79, 80, 81 | ifbieq12d 4484 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑦 = 𝑤 → if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1)) = if(𝑤 < (2nd ‘𝑢), 𝑤, (𝑤 + 1))) |
83 | 82 | csbeq1d 3832 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑦 = 𝑤 → ⦋if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
84 | | oveq2 7263 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑗 = 𝑖 → (1...𝑗) = (1...𝑖)) |
85 | 84 | imaeq2d 5958 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑗 = 𝑖 → ((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑢)) “
(1...𝑖))) |
86 | 85 | xpeq1d 5609 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑗 = 𝑖 → (((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1})) |
87 | | oveq1 7262 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (𝑗 = 𝑖 → (𝑗 + 1) = (𝑖 + 1)) |
88 | 87 | oveq1d 7270 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑗 = 𝑖 → ((𝑗 + 1)...𝑁) = ((𝑖 + 1)...𝑁)) |
89 | 88 | imaeq2d 5958 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑗 = 𝑖 → ((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑢)) “ ((𝑖 + 1)...𝑁))) |
90 | 89 | xpeq1d 5609 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑗 = 𝑖 → (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0})) |
91 | 86, 90 | uneq12d 4094 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑗 = 𝑖 → ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0}))) |
92 | 91 | oveq2d 7271 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑗 = 𝑖 → ((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0})))) |
93 | 92 | cbvcsbv 3840 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
⦋if(𝑤
< (2nd ‘𝑢), 𝑤, (𝑤 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑖⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0}))) |
94 | 83, 93 | eqtrdi 2795 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑦 = 𝑤 → ⦋if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑖⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0})))) |
95 | 94 | cbvmptv 5183 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑢), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑤 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑖⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0})))) |
96 | 78, 95 | eqtrdi 2795 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑢 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑤 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑖⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0}))))) |
97 | 96 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑢 → (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝑥 = (𝑤 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑖⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0})))))) |
98 | 97 | cbvrabv 3416 |
. . . . . . . . . . . . . . . . . . 19
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} = {𝑢 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑤 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑤 < (2nd
‘𝑢), 𝑤, (𝑤 + 1)) / 𝑖⦌((1st
‘(1st ‘𝑢)) ∘f + ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0}))))} |
99 | | elmapi 8595 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) → 𝑥:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁))) |
100 | 99 | ad3antlr 727 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → 𝑥:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁))) |
101 | | simpr 484 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) |
102 | | simpl 482 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((∃𝑝 ∈
ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
103 | 102 | ralimi 3086 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
104 | 103 | ad2antlr 723 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
105 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑛 = 𝑚 → (𝑝‘𝑛) = (𝑝‘𝑚)) |
106 | 105 | neeq1d 3002 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = 𝑚 → ((𝑝‘𝑛) ≠ 0 ↔ (𝑝‘𝑚) ≠ 0)) |
107 | 106 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑚) ≠ 0)) |
108 | | fveq1 6755 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑝 = 𝑞 → (𝑝‘𝑚) = (𝑞‘𝑚)) |
109 | 108 | neeq1d 3002 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑝 = 𝑞 → ((𝑝‘𝑚) ≠ 0 ↔ (𝑞‘𝑚) ≠ 0)) |
110 | 109 | cbvrexvw 3373 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(∃𝑝 ∈ ran
𝑥(𝑝‘𝑚) ≠ 0 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0) |
111 | 107, 110 | bitrdi 286 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0)) |
112 | 111 | rspccva 3551 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((∀𝑛 ∈
(1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ 𝑚 ∈ (1...𝑁)) → ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0) |
113 | 104, 112 | sylan 579 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) ∧ 𝑚 ∈ (1...𝑁)) → ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0) |
114 | | simpr 484 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((∃𝑝 ∈
ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
115 | 114 | ralimi 3086 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
116 | 115 | ad2antlr 723 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
117 | 105 | neeq1d 3002 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = 𝑚 → ((𝑝‘𝑛) ≠ 𝐾 ↔ (𝑝‘𝑚) ≠ 𝐾)) |
118 | 117 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑚) ≠ 𝐾)) |
119 | 108 | neeq1d 3002 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑝 = 𝑞 → ((𝑝‘𝑚) ≠ 𝐾 ↔ (𝑞‘𝑚) ≠ 𝐾)) |
120 | 119 | cbvrexvw 3373 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(∃𝑝 ∈ ran
𝑥(𝑝‘𝑚) ≠ 𝐾 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾) |
121 | 118, 120 | bitrdi 286 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾)) |
122 | 121 | rspccva 3551 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((∀𝑛 ∈
(1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾 ∧ 𝑚 ∈ (1...𝑁)) → ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾) |
123 | 116, 122 | sylan 579 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) ∧ 𝑚 ∈ (1...𝑁)) → ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾) |
124 | 63, 98, 100, 101, 113, 123 | poimirlem22 35726 |
. . . . . . . . . . . . . . . . . 18
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → ∃!𝑧 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}𝑧 ≠ 𝑠) |
125 | | eldifsn 4717 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑧 ∈ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ↔ (𝑧 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∧ 𝑧 ≠ 𝑠)) |
126 | 125 | eubii 2585 |
. . . . . . . . . . . . . . . . . . 19
⊢
(∃!𝑧 𝑧 ∈ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ↔ ∃!𝑧(𝑧 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∧ 𝑧 ≠ 𝑠)) |
127 | 53 | elexi 3441 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∈ V |
128 | | euhash1 14063 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}) ∈ V →
((♯‘({𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) = 1 ↔ ∃!𝑧 𝑧 ∈ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠}))) |
129 | 127, 128 | ax-mp 5 |
. . . . . . . . . . . . . . . . . . 19
⊢
((♯‘({𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) = 1 ↔ ∃!𝑧 𝑧 ∈ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) |
130 | | df-reu 3070 |
. . . . . . . . . . . . . . . . . . 19
⊢
(∃!𝑧 ∈
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}𝑧 ≠ 𝑠 ↔ ∃!𝑧(𝑧 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∧ 𝑧 ≠ 𝑠)) |
131 | 126, 129,
130 | 3bitr4ri 303 |
. . . . . . . . . . . . . . . . . 18
⊢
(∃!𝑧 ∈
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}𝑧 ≠ 𝑠 ↔ (♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) = 1) |
132 | 124, 131 | sylib 217 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) →
(♯‘({𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) = 1) |
133 | 132 | oveq1d 7270 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) →
((♯‘({𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ∖ {𝑠})) + (♯‘{𝑠})) = (1 + (♯‘{𝑠}))) |
134 | 61, 133 | eqtr3d 2780 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) →
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) = (1 +
(♯‘{𝑠}))) |
135 | 50, 134 | breqtrrid 5108 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) ∧ 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) → 2 ∥
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))})) |
136 | 135 | ex 412 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 2 ∥
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}))) |
137 | 136 | exlimdv 1937 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (∃𝑠 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 2 ∥
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}))) |
138 | 41, 137 | syl5bi 241 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (¬ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} = ∅ → 2
∥ (♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}))) |
139 | | dvds0 15909 |
. . . . . . . . . . . . . 14
⊢ (2 ∈
ℤ → 2 ∥ 0) |
140 | 9, 139 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢ 2 ∥
0 |
141 | | hash0 14010 |
. . . . . . . . . . . . 13
⊢
(♯‘∅) = 0 |
142 | 140, 141 | breqtrri 5097 |
. . . . . . . . . . . 12
⊢ 2 ∥
(♯‘∅) |
143 | | fveq2 6756 |
. . . . . . . . . . . 12
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} = ∅ →
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) =
(♯‘∅)) |
144 | 142, 143 | breqtrrid 5108 |
. . . . . . . . . . 11
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} = ∅ → 2
∥ (♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))})) |
145 | 138, 144 | pm2.61d2 181 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧
∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))})) |
146 | 145 | ex 412 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}))) |
147 | 146 | adantld 490 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}))) |
148 | | iba 527 |
. . . . . . . . . . 11
⊢
(((0...(𝑁 −
1)) ⊆ ran (𝑝 ∈
ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))))) |
149 | 148 | rabbidv 3404 |
. . . . . . . . . 10
⊢
(((0...(𝑁 −
1)) ⊆ ran (𝑝 ∈
ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) |
150 | 149 | fveq2d 6760 |
. . . . . . . . 9
⊢
(((0...(𝑁 −
1)) ⊆ ran (𝑝 ∈
ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) = (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})) |
151 | 150 | breq2d 5082 |
. . . . . . . 8
⊢
(((0...(𝑁 −
1)) ⊆ ran (𝑝 ∈
ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) ↔ 2 ∥
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}))) |
152 | 147, 151 | mpbidi 240 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}))) |
153 | 152 | a1d 25 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})))) |
154 | 34, 40, 153 | rexlimd 3245 |
. . . . 5
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(∃𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}))) |
155 | 33, 154 | syl5bir 242 |
. . . 4
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → (¬
∀𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}))) |
156 | | simpr 484 |
. . . . . . . . 9
⊢ ((𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) → ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
157 | 156 | con3i 154 |
. . . . . . . 8
⊢ (¬
((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → ¬ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))) |
158 | 157 | ralimi 3086 |
. . . . . . 7
⊢
(∀𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → ∀𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))) |
159 | | rabeq0 4315 |
. . . . . . 7
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} = ∅ ↔ ∀𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))) |
160 | 158, 159 | sylibr 233 |
. . . . . 6
⊢
(∀𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} = ∅) |
161 | 160 | fveq2d 6760 |
. . . . 5
⊢
(∀𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) =
(♯‘∅)) |
162 | 142, 161 | breqtrrid 5108 |
. . . 4
⊢
(∀𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ¬ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) → 2 ∥ (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})) |
163 | 155, 162 | pm2.61d2 181 |
. . 3
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → 2 ∥
(♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})) |
164 | 8, 10, 32, 163 | fsumdvds 15945 |
. 2
⊢ (𝜑 → 2 ∥ Σ𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 −
1)))(♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})) |
165 | | rabfi 8973 |
. . . . 5
⊢
(((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∈ Fin) |
166 | 27, 165 | ax-mp 5 |
. . . 4
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∈ Fin |
167 | | simp1 1134 |
. . . . . . 7
⊢
((∀𝑖 ∈
(0...(𝑁 −
1))∃𝑗 ∈
(0...(𝑁 − 1))𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) |
168 | | sneq 4568 |
. . . . . . . . . . . . 13
⊢
((2nd ‘𝑡) = 𝑁 → {(2nd ‘𝑡)} = {𝑁}) |
169 | 168 | difeq2d 4053 |
. . . . . . . . . . . 12
⊢
((2nd ‘𝑡) = 𝑁 → ((0...𝑁) ∖ {(2nd ‘𝑡)}) = ((0...𝑁) ∖ {𝑁})) |
170 | | difun2 4411 |
. . . . . . . . . . . . 13
⊢
(((0...(𝑁 −
1)) ∪ {𝑁}) ∖
{𝑁}) = ((0...(𝑁 − 1)) ∖ {𝑁}) |
171 | 62 | nnnn0d 12223 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 𝑁 ∈
ℕ0) |
172 | | nn0uz 12549 |
. . . . . . . . . . . . . . . . . 18
⊢
ℕ0 = (ℤ≥‘0) |
173 | 171, 172 | eleqtrdi 2849 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 ∈
(ℤ≥‘0)) |
174 | | fzm1 13265 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈
(ℤ≥‘0) → (𝑛 ∈ (0...𝑁) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
175 | 173, 174 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑛 ∈ (0...𝑁) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
176 | | elun 4079 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 ∈ ((0...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁})) |
177 | | velsn 4574 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ {𝑁} ↔ 𝑛 = 𝑁) |
178 | 177 | orbi2i 909 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁}) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
179 | 176, 178 | bitri 274 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ ((0...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
180 | 175, 179 | bitr4di 288 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (𝑛 ∈ (0...𝑁) ↔ 𝑛 ∈ ((0...(𝑁 − 1)) ∪ {𝑁}))) |
181 | 180 | eqrdv 2736 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (0...𝑁) = ((0...(𝑁 − 1)) ∪ {𝑁})) |
182 | 181 | difeq1d 4052 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((0...𝑁) ∖ {𝑁}) = (((0...(𝑁 − 1)) ∪ {𝑁}) ∖ {𝑁})) |
183 | 62 | nnzd 12354 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑁 ∈ ℤ) |
184 | | uzid 12526 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
(ℤ≥‘𝑁)) |
185 | | uznfz 13268 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈
(ℤ≥‘𝑁) → ¬ 𝑁 ∈ (0...(𝑁 − 1))) |
186 | 183, 184,
185 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ¬ 𝑁 ∈ (0...(𝑁 − 1))) |
187 | | disjsn 4644 |
. . . . . . . . . . . . . . 15
⊢
(((0...(𝑁 −
1)) ∩ {𝑁}) = ∅
↔ ¬ 𝑁 ∈
(0...(𝑁 −
1))) |
188 | | disj3 4384 |
. . . . . . . . . . . . . . 15
⊢
(((0...(𝑁 −
1)) ∩ {𝑁}) = ∅
↔ (0...(𝑁 − 1))
= ((0...(𝑁 − 1))
∖ {𝑁})) |
189 | 187, 188 | bitr3i 276 |
. . . . . . . . . . . . . 14
⊢ (¬
𝑁 ∈ (0...(𝑁 − 1)) ↔ (0...(𝑁 − 1)) = ((0...(𝑁 − 1)) ∖ {𝑁})) |
190 | 186, 189 | sylib 217 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (0...(𝑁 − 1)) = ((0...(𝑁 − 1)) ∖ {𝑁})) |
191 | 170, 182,
190 | 3eqtr4a 2805 |
. . . . . . . . . . . 12
⊢ (𝜑 → ((0...𝑁) ∖ {𝑁}) = (0...(𝑁 − 1))) |
192 | 169, 191 | sylan9eqr 2801 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → ((0...𝑁) ∖ {(2nd ‘𝑡)}) = (0...(𝑁 − 1))) |
193 | 192 | rexeqdv 3340 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → (∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
194 | 193 | biimprd 247 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
195 | 194 | ralimdv 3103 |
. . . . . . . 8
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
196 | 195 | expimpd 453 |
. . . . . . 7
⊢ (𝜑 → (((2nd
‘𝑡) = 𝑁 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
197 | 167, 196 | sylan2i 605 |
. . . . . 6
⊢ (𝜑 → (((2nd
‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
198 | 197 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
199 | 198 | ss2rabdv 4005 |
. . . 4
⊢ (𝜑 → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) |
200 | | hashssdif 14055 |
. . . 4
⊢ (({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∈ Fin ∧ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) → (♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∖ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})) = ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) − (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}))) |
201 | 166, 199,
200 | sylancr 586 |
. . 3
⊢ (𝜑 → (♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∖ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})) = ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) − (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}))) |
202 | 62 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → 𝑁 ∈ ℕ) |
203 | | poimirlem28.1 |
. . . . . . . . . 10
⊢ (𝑝 = ((1st ‘𝑠) ∘f +
((((2nd ‘𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd
‘𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) → 𝐵 = 𝐶) |
204 | | poimirlem28.2 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁)) |
205 | 204 | adantlr 711 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁)) |
206 | | xp1st 7836 |
. . . . . . . . . . . 12
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
207 | | xp1st 7836 |
. . . . . . . . . . . 12
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st
‘(1st ‘𝑡)) ∈ ((0..^𝐾) ↑m (1...𝑁))) |
208 | | elmapi 8595 |
. . . . . . . . . . . 12
⊢
((1st ‘(1st ‘𝑡)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st
‘(1st ‘𝑡)):(1...𝑁)⟶(0..^𝐾)) |
209 | 206, 207,
208 | 3syl 18 |
. . . . . . . . . . 11
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st
‘(1st ‘𝑡)):(1...𝑁)⟶(0..^𝐾)) |
210 | 209 | adantl 481 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (1st
‘(1st ‘𝑡)):(1...𝑁)⟶(0..^𝐾)) |
211 | | xp2nd 7837 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd
‘(1st ‘𝑡)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
212 | | fvex 6769 |
. . . . . . . . . . . . . 14
⊢
(2nd ‘(1st ‘𝑡)) ∈ V |
213 | | f1oeq1 6688 |
. . . . . . . . . . . . . 14
⊢ (𝑓 = (2nd
‘(1st ‘𝑡)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁))) |
214 | 212, 213 | elab 3602 |
. . . . . . . . . . . . 13
⊢
((2nd ‘(1st ‘𝑡)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁)) |
215 | 211, 214 | sylib 217 |
. . . . . . . . . . . 12
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁)) |
216 | 206, 215 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁)) |
217 | 216 | adantl 481 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁)) |
218 | | xp2nd 7837 |
. . . . . . . . . . 11
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (2nd ‘𝑡) ∈ (0...𝑁)) |
219 | 218 | adantl 481 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (2nd ‘𝑡) ∈ (0...𝑁)) |
220 | 202, 203,
205, 210, 217, 219 | poimirlem24 35728 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
221 | 206 | adantl 481 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
222 | | 1st2nd2 7843 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st ‘𝑡) = 〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉) |
223 | 222 | csbeq1d 3832 |
. . . . . . . . . . . . . 14
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → ⦋(1st
‘𝑡) / 𝑠⦌𝐶 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶) |
224 | 223 | eqeq2d 2749 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ 𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶)) |
225 | 224 | rexbidv 3225 |
. . . . . . . . . . . 12
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶)) |
226 | 225 | ralbidv 3120 |
. . . . . . . . . . 11
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶)) |
227 | 226 | anbi1d 629 |
. . . . . . . . . 10
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
228 | 221, 227 | syl 17 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
229 | 220, 228 | bitr4d 281 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
230 | 99 | frnd 6592 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) → ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) |
231 | 230 | anim2i 616 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → (𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁)))) |
232 | | dfss3 3905 |
. . . . . . . . . . . . . 14
⊢
((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ↔ ∀𝑛 ∈ (0...(𝑁 − 1))𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵)) |
233 | | vex 3426 |
. . . . . . . . . . . . . . . 16
⊢ 𝑛 ∈ V |
234 | | eqid 2738 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑝 ∈ ran 𝑥 ↦ 𝐵) = (𝑝 ∈ ran 𝑥 ↦ 𝐵) |
235 | 234 | elrnmpt 5854 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ V → (𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ↔ ∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
236 | 233, 235 | ax-mp 5 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ↔ ∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
237 | 236 | ralbii 3090 |
. . . . . . . . . . . . . 14
⊢
(∀𝑛 ∈
(0...(𝑁 − 1))𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ↔ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
238 | 232, 237 | sylbb 218 |
. . . . . . . . . . . . 13
⊢
((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) → ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
239 | | 1eluzge0 12561 |
. . . . . . . . . . . . . . . . 17
⊢ 1 ∈
(ℤ≥‘0) |
240 | | fzss1 13224 |
. . . . . . . . . . . . . . . . 17
⊢ (1 ∈
(ℤ≥‘0) → (1...(𝑁 − 1)) ⊆ (0...(𝑁 − 1))) |
241 | | ssralv 3983 |
. . . . . . . . . . . . . . . . 17
⊢
((1...(𝑁 − 1))
⊆ (0...(𝑁 − 1))
→ (∀𝑛 ∈
(0...(𝑁 −
1))∃𝑝 ∈ ran
𝑥 𝑛 = 𝐵 → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
242 | 239, 240,
241 | mp2b 10 |
. . . . . . . . . . . . . . . 16
⊢
(∀𝑛 ∈
(0...(𝑁 −
1))∃𝑝 ∈ ran
𝑥 𝑛 = 𝐵 → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
243 | 62 | nncnd 11919 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → 𝑁 ∈ ℂ) |
244 | | npcan1 11330 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁) |
245 | 243, 244 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝜑 → ((𝑁 − 1) + 1) = 𝑁) |
246 | | peano2zm 12293 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑁 ∈ ℤ → (𝑁 − 1) ∈
ℤ) |
247 | 183, 246 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → (𝑁 − 1) ∈ ℤ) |
248 | | uzid 12526 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑁 − 1) ∈ ℤ
→ (𝑁 − 1) ∈
(ℤ≥‘(𝑁 − 1))) |
249 | | peano2uz 12570 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑁 − 1) ∈
(ℤ≥‘(𝑁 − 1)) → ((𝑁 − 1) + 1) ∈
(ℤ≥‘(𝑁 − 1))) |
250 | 247, 248,
249 | 3syl 18 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝜑 → ((𝑁 − 1) + 1) ∈
(ℤ≥‘(𝑁 − 1))) |
251 | 245, 250 | eqeltrrd 2840 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝜑 → 𝑁 ∈ (ℤ≥‘(𝑁 − 1))) |
252 | | fzss2 13225 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑁 ∈
(ℤ≥‘(𝑁 − 1)) → (1...(𝑁 − 1)) ⊆ (1...𝑁)) |
253 | 251, 252 | syl 17 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → (1...(𝑁 − 1)) ⊆ (1...𝑁)) |
254 | 253 | sselda 3917 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝜑 ∧ 𝑛 ∈ (1...(𝑁 − 1))) → 𝑛 ∈ (1...𝑁)) |
255 | 254 | adantlr 711 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...(𝑁 − 1))) → 𝑛 ∈ (1...𝑁)) |
256 | | simplr 765 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) → ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) |
257 | | ssel2 3912 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((ran
𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → 𝑝 ∈ ((0...𝐾) ↑m (1...𝑁))) |
258 | | elmapi 8595 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑝 ∈ ((0...𝐾) ↑m (1...𝑁)) → 𝑝:(1...𝑁)⟶(0...𝐾)) |
259 | 257, 258 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((ran
𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → 𝑝:(1...𝑁)⟶(0...𝐾)) |
260 | 256, 259 | sylan 579 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → 𝑝:(1...𝑁)⟶(0...𝐾)) |
261 | | poimirlem28.3 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0)) → 𝐵 < 𝑛) |
262 | | elfzelz 13185 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
⊢ (𝑛 ∈ (1...𝑁) → 𝑛 ∈ ℤ) |
263 | 262 | zred 12355 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
⊢ (𝑛 ∈ (1...𝑁) → 𝑛 ∈ ℝ) |
264 | 263 | ltnrd 11039 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (𝑛 ∈ (1...𝑁) → ¬ 𝑛 < 𝑛) |
265 | | breq1 5073 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
⊢ (𝑛 = 𝐵 → (𝑛 < 𝑛 ↔ 𝐵 < 𝑛)) |
266 | 265 | notbid 317 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (𝑛 = 𝐵 → (¬ 𝑛 < 𝑛 ↔ ¬ 𝐵 < 𝑛)) |
267 | 264, 266 | syl5ibcom 244 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑛 ∈ (1...𝑁) → (𝑛 = 𝐵 → ¬ 𝐵 < 𝑛)) |
268 | 267 | necon2ad 2957 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑛 ∈ (1...𝑁) → (𝐵 < 𝑛 → 𝑛 ≠ 𝐵)) |
269 | 268 | 3ad2ant1 1131 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0) → (𝐵 < 𝑛 → 𝑛 ≠ 𝐵)) |
270 | 269 | adantl 481 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0)) → (𝐵 < 𝑛 → 𝑛 ≠ 𝐵)) |
271 | 261, 270 | mpd 15 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0)) → 𝑛 ≠ 𝐵) |
272 | 271 | 3exp2 1352 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) → (𝑝:(1...𝑁)⟶(0...𝐾) → ((𝑝‘𝑛) = 0 → 𝑛 ≠ 𝐵)))) |
273 | 272 | imp31 417 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑝‘𝑛) = 0 → 𝑛 ≠ 𝐵)) |
274 | 273 | necon2d 2965 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → (𝑛 = 𝐵 → (𝑝‘𝑛) ≠ 0)) |
275 | 274 | adantllr 715 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → (𝑛 = 𝐵 → (𝑝‘𝑛) ≠ 0)) |
276 | 260, 275 | syldan 590 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → (𝑛 = 𝐵 → (𝑝‘𝑛) ≠ 0)) |
277 | 276 | reximdva 3202 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) → (∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
278 | 255, 277 | syldan 590 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...(𝑁 − 1))) → (∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
279 | 278 | ralimdva 3102 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) → (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
280 | 279 | imp 406 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
281 | 242, 280 | sylan2 592 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
282 | 281 | biantrurd 532 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0))) |
283 | | nnuz 12550 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ℕ =
(ℤ≥‘1) |
284 | 62, 283 | eleqtrdi 2849 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → 𝑁 ∈
(ℤ≥‘1)) |
285 | | fzm1 13265 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈
(ℤ≥‘1) → (𝑛 ∈ (1...𝑁) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
286 | 284, 285 | syl 17 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
287 | | elun 4079 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁})) |
288 | 177 | orbi2i 909 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁}) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
289 | 287, 288 | bitri 274 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
290 | 286, 289 | bitr4di 288 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) ↔ 𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁}))) |
291 | 290 | eqrdv 2736 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → (1...𝑁) = ((1...(𝑁 − 1)) ∪ {𝑁})) |
292 | 291 | raleqdv 3339 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∀𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁})∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
293 | | ralunb 4121 |
. . . . . . . . . . . . . . . . 17
⊢
(∀𝑛 ∈
((1...(𝑁 − 1)) ∪
{𝑁})∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
294 | 292, 293 | bitrdi 286 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0))) |
295 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 = 𝑁 → (𝑝‘𝑛) = (𝑝‘𝑁)) |
296 | 295 | neeq1d 3002 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑛 = 𝑁 → ((𝑝‘𝑛) ≠ 0 ↔ (𝑝‘𝑁) ≠ 0)) |
297 | 296 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑛 = 𝑁 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) |
298 | 297 | ralsng 4606 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 ∈ ℕ →
(∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) |
299 | 62, 298 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) |
300 | 299 | anbi2d 628 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0))) |
301 | 294, 300 | bitrd 278 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0))) |
302 | 301 | ad2antrr 722 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0))) |
303 | | 0z 12260 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ 0 ∈
ℤ |
304 | | 1z 12280 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ 1 ∈
ℤ |
305 | | fzshftral 13273 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((0
∈ ℤ ∧ (𝑁
− 1) ∈ ℤ ∧ 1 ∈ ℤ) → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ ((0 + 1)...((𝑁 − 1) + 1))[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
306 | 303, 304,
305 | mp3an13 1450 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑁 − 1) ∈ ℤ
→ (∀𝑛 ∈
(0...(𝑁 −
1))∃𝑝 ∈ ran
𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ ((0 + 1)...((𝑁 − 1) + 1))[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
307 | 183, 246,
306 | 3syl 18 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ ((0 + 1)...((𝑁 − 1) + 1))[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
308 | | 0p1e1 12025 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (0 + 1) =
1 |
309 | 308 | a1i 11 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝜑 → (0 + 1) =
1) |
310 | 309, 245 | oveq12d 7273 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝜑 → ((0 + 1)...((𝑁 − 1) + 1)) = (1...𝑁)) |
311 | 310 | raleqdv 3339 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → (∀𝑚 ∈ ((0 + 1)...((𝑁 − 1) + 1))[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ (1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
312 | 307, 311 | bitrd 278 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ (1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
313 | | ovex 7288 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑚 − 1) ∈
V |
314 | | eqeq1 2742 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑛 = (𝑚 − 1) → (𝑛 = 𝐵 ↔ (𝑚 − 1) = 𝐵)) |
315 | 314 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = (𝑚 − 1) → (∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵)) |
316 | 313, 315 | sbcie 3754 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
([(𝑚 −
1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵) |
317 | 316 | ralbii 3090 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑚 ∈
(1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵) |
318 | | oveq1 7262 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑚 = 𝑛 → (𝑚 − 1) = (𝑛 − 1)) |
319 | 318 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑚 = 𝑛 → ((𝑚 − 1) = 𝐵 ↔ (𝑛 − 1) = 𝐵)) |
320 | 319 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑚 = 𝑛 → (∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵 ↔ ∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵)) |
321 | 320 | cbvralvw 3372 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑚 ∈
(1...𝑁)∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵 ↔ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
322 | 317, 321 | bitri 274 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(∀𝑚 ∈
(1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
323 | 312, 322 | bitrdi 286 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵)) |
324 | 323 | biimpa 476 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
325 | 324 | adantlr 711 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
326 | | poimirlem28.4 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1)) |
327 | 326 | necomd 2998 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 𝐾)) → (𝑛 − 1) ≠ 𝐵) |
328 | 327 | 3exp2 1352 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) → (𝑝:(1...𝑁)⟶(0...𝐾) → ((𝑝‘𝑛) = 𝐾 → (𝑛 − 1) ≠ 𝐵)))) |
329 | 328 | imp31 417 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑝‘𝑛) = 𝐾 → (𝑛 − 1) ≠ 𝐵)) |
330 | 329 | necon2d 2965 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑛 − 1) = 𝐵 → (𝑝‘𝑛) ≠ 𝐾)) |
331 | 330 | adantllr 715 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑛 − 1) = 𝐵 → (𝑝‘𝑛) ≠ 𝐾)) |
332 | 260, 331 | syldan 590 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → ((𝑛 − 1) = 𝐵 → (𝑝‘𝑛) ≠ 𝐾)) |
333 | 332 | reximdva 3202 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) → (∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵 → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) |
334 | 333 | ralimdva 3102 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵 → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) |
335 | 334 | imp 406 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
336 | 325, 335 | syldan 590 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
337 | 336 | biantrud 531 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
338 | | r19.26 3094 |
. . . . . . . . . . . . . . 15
⊢
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) ↔ (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) |
339 | 337, 338 | bitr4di 288 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
340 | 282, 302,
339 | 3bitr2d 306 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0 ↔ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
341 | 231, 238,
340 | syl2an 595 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧ (0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵)) → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0 ↔ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
342 | 341 | pm5.32da 578 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0) ↔ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))) |
343 | 342 | anbi2d 628 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → ((𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) ↔ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))))) |
344 | 343 | rexbidva 3224 |
. . . . . . . . 9
⊢ (𝜑 → (∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) ↔ ∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))))) |
345 | 344 | adantr 480 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) ↔ ∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))))) |
346 | 191 | rexeqdv 3340 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → (∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
347 | 346 | biimpd 228 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → (∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
348 | 347 | ralimdv 3103 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
349 | 169 | rexeqdv 3340 |
. . . . . . . . . . . . . . . . . . 19
⊢
((2nd ‘𝑡) = 𝑁 → (∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
350 | 349 | ralbidv 3120 |
. . . . . . . . . . . . . . . . . 18
⊢
((2nd ‘𝑡) = 𝑁 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
351 | 350 | imbi1d 341 |
. . . . . . . . . . . . . . . . 17
⊢
((2nd ‘𝑡) = 𝑁 → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶))) |
352 | 348, 351 | syl5ibrcom 246 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((2nd
‘𝑡) = 𝑁 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶))) |
353 | 352 | com23 86 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ((2nd ‘𝑡) = 𝑁 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶))) |
354 | 353 | imp 406 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → ((2nd ‘𝑡) = 𝑁 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
355 | 354 | adantrd 491 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → (((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
356 | 355 | pm4.71rd 562 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → (((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
357 | | an12 641 |
. . . . . . . . . . . . 13
⊢
((∀𝑖 ∈
(0...(𝑁 −
1))∃𝑗 ∈
(0...(𝑁 − 1))𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 ∧ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) ↔ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)))) |
358 | | 3anass 1093 |
. . . . . . . . . . . . . 14
⊢
((∀𝑖 ∈
(0...(𝑁 −
1))∃𝑗 ∈
(0...(𝑁 − 1))𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) |
359 | 358 | anbi2i 622 |
. . . . . . . . . . . . 13
⊢
(((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) ↔ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)))) |
360 | 357, 359 | bitr4i 277 |
. . . . . . . . . . . 12
⊢
((∀𝑖 ∈
(0...(𝑁 −
1))∃𝑗 ∈
(0...(𝑁 − 1))𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 ∧ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) ↔ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) |
361 | 356, 360 | bitrdi 286 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → (((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) ↔ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)))) |
362 | 361 | notbid 317 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → (¬ ((2nd
‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) ↔ ¬ ((2nd
‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)))) |
363 | 362 | pm5.32da 578 |
. . . . . . . . 9
⊢ (𝜑 → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
364 | 363 | adantr 480 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
365 | 229, 345,
364 | 3bitr3d 308 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))))) |
366 | 365 | rabbidva 3402 |
. . . . . 6
⊢ (𝜑 → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)))}) |
367 | | iunrab 4978 |
. . . . . 6
⊢ ∪ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))){𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∃𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))(𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} |
368 | | difrab 4239 |
. . . . . 6
⊢ ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∖ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ¬ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)))} |
369 | 366, 367,
368 | 3eqtr4g 2804 |
. . . . 5
⊢ (𝜑 → ∪ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))){𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} = ({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∖ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})) |
370 | 369 | fveq2d 6760 |
. . . 4
⊢ (𝜑 → (♯‘∪ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))){𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) = (♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∖ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}))) |
371 | 27, 28 | mp1i 13 |
. . . . 5
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} ∈ Fin) |
372 | | simpl 482 |
. . . . . . . . . . . 12
⊢ ((𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) → 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
373 | 372 | a1i 11 |
. . . . . . . . . . 11
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → ((𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) → 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
374 | 373 | ss2rabi 4006 |
. . . . . . . . . 10
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} ⊆ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} |
375 | 374 | sseli 3913 |
. . . . . . . . 9
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} → 𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}) |
376 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑠 → (2nd ‘𝑡) = (2nd ‘𝑠)) |
377 | 376 | breq2d 5082 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑠 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑠))) |
378 | 377 | ifbid 4479 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑠 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑠), 𝑦, (𝑦 + 1))) |
379 | 378 | csbeq1d 3832 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑠 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
380 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑠 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑠))) |
381 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑠 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑠))) |
382 | 381 | imaeq1d 5957 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑠 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑠)) “
(1...𝑗))) |
383 | 382 | xpeq1d 5609 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑠 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1})) |
384 | 381 | imaeq1d 5957 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑠 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑠)) “ ((𝑗 + 1)...𝑁))) |
385 | 384 | xpeq1d 5609 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑠 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})) |
386 | 383, 385 | uneq12d 4094 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑠 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
387 | 380, 386 | oveq12d 7273 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑠 → ((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
388 | 387 | csbeq2dv 3835 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 = 𝑠 → ⦋if(𝑦 < (2nd ‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
389 | 379, 388 | eqtrd 2778 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑠 → ⦋if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) |
390 | 389 | mpteq2dv 5172 |
. . . . . . . . . . . . 13
⊢ (𝑡 = 𝑠 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0}))))) |
391 | 390 | eqeq2d 2749 |
. . . . . . . . . . . 12
⊢ (𝑡 = 𝑠 → (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))))) |
392 | | eqcom 2745 |
. . . . . . . . . . . 12
⊢ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥) |
393 | 391, 392 | bitrdi 286 |
. . . . . . . . . . 11
⊢ (𝑡 = 𝑠 → (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥)) |
394 | 393 | elrab 3617 |
. . . . . . . . . 10
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} ↔ (𝑠 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥)) |
395 | 394 | simprbi 496 |
. . . . . . . . 9
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥) |
396 | 375, 395 | syl 17 |
. . . . . . . 8
⊢ (𝑠 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} → (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥) |
397 | 396 | rgen 3073 |
. . . . . . 7
⊢
∀𝑠 ∈
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥 |
398 | 397 | rgenw 3075 |
. . . . . 6
⊢
∀𝑥 ∈
(((0...𝐾)
↑m (1...𝑁))
↑m (0...(𝑁
− 1)))∀𝑠
∈ {𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥 |
399 | | invdisj 5054 |
. . . . . 6
⊢
(∀𝑥 ∈
(((0...𝐾)
↑m (1...𝑁))
↑m (0...(𝑁
− 1)))∀𝑠
∈ {𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))} (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑠), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑠)) ∘f + ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})))) = 𝑥 → Disj 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))){𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) |
400 | 398, 399 | mp1i 13 |
. . . . 5
⊢ (𝜑 → Disj 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))){𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) |
401 | 8, 371, 400 | hashiun 15462 |
. . . 4
⊢ (𝜑 → (♯‘∪ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))){𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) = Σ𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 −
1)))(♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})) |
402 | 370, 401 | eqtr3d 2780 |
. . 3
⊢ (𝜑 → (♯‘({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶} ∖ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})) = Σ𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 −
1)))(♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))})) |
403 | | fo1st 7824 |
. . . . . . . . . . . . 13
⊢
1st :V–onto→V |
404 | | fofun 6673 |
. . . . . . . . . . . . 13
⊢
(1st :V–onto→V → Fun 1st ) |
405 | 403, 404 | ax-mp 5 |
. . . . . . . . . . . 12
⊢ Fun
1st |
406 | | ssv 3941 |
. . . . . . . . . . . . 13
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ V |
407 | | fof 6672 |
. . . . . . . . . . . . . . 15
⊢
(1st :V–onto→V → 1st
:V⟶V) |
408 | 403, 407 | ax-mp 5 |
. . . . . . . . . . . . . 14
⊢
1st :V⟶V |
409 | 408 | fdmi 6596 |
. . . . . . . . . . . . 13
⊢ dom
1st = V |
410 | 406, 409 | sseqtrri 3954 |
. . . . . . . . . . . 12
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ dom
1st |
411 | | fores 6682 |
. . . . . . . . . . . 12
⊢ ((Fun
1st ∧ {𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ dom 1st ) →
(1st ↾ {𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→(1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})) |
412 | 405, 410,
411 | mp2an 688 |
. . . . . . . . . . 11
⊢
(1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→(1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) |
413 | | fveqeq2 6765 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑥 → ((2nd ‘𝑡) = 𝑁 ↔ (2nd ‘𝑥) = 𝑁)) |
414 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑡 = 𝑥 → (1st ‘𝑡) = (1st ‘𝑥)) |
415 | 414 | csbeq1d 3832 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑥 → ⦋(1st
‘𝑡) / 𝑠⦌𝐶 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶) |
416 | 415 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑥 → (𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ 𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶)) |
417 | 416 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑥 → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶)) |
418 | 417 | ralbidv 3120 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑥 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶)) |
419 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑥 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑥))) |
420 | 419 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑥 → ((1st
‘(1st ‘𝑡))‘𝑁) = ((1st ‘(1st
‘𝑥))‘𝑁)) |
421 | 420 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑥 → (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ↔ ((1st
‘(1st ‘𝑥))‘𝑁) = 0)) |
422 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑥 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑥))) |
423 | 422 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑥 → ((2nd
‘(1st ‘𝑡))‘𝑁) = ((2nd ‘(1st
‘𝑥))‘𝑁)) |
424 | 423 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑥 → (((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁 ↔ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) |
425 | 418, 421,
424 | 3anbi123d 1434 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑥 → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁))) |
426 | 413, 425 | anbi12d 630 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑥 → (((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) ↔ ((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)))) |
427 | 426 | rexrab 3626 |
. . . . . . . . . . . . . . 15
⊢
(∃𝑥 ∈
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠 ↔ ∃𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠)) |
428 | | xp1st 7836 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑥) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
429 | 428 | anim1i 614 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) → ((1st ‘𝑥) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁))) |
430 | | eleq1 2826 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((1st ‘𝑥) = 𝑠 → ((1st ‘𝑥) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ↔ 𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))) |
431 | | csbeq1a 3842 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑠 = (1st ‘𝑥) → 𝐶 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶) |
432 | 431 | eqcoms 2746 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢
((1st ‘𝑥) = 𝑠 → 𝐶 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶) |
433 | 432 | eqcomd 2744 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢
((1st ‘𝑥) = 𝑠 → ⦋(1st
‘𝑥) / 𝑠⦌𝐶 = 𝐶) |
434 | 433 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((1st ‘𝑥) = 𝑠 → (𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ 𝑖 = 𝐶)) |
435 | 434 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((1st ‘𝑥) = 𝑠 → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
436 | 435 | ralbidv 3120 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑥) = 𝑠 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
437 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((1st ‘𝑥) = 𝑠 → (1st
‘(1st ‘𝑥)) = (1st ‘𝑠)) |
438 | 437 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((1st ‘𝑥) = 𝑠 → ((1st
‘(1st ‘𝑥))‘𝑁) = ((1st ‘𝑠)‘𝑁)) |
439 | 438 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑥) = 𝑠 → (((1st
‘(1st ‘𝑥))‘𝑁) = 0 ↔ ((1st ‘𝑠)‘𝑁) = 0)) |
440 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((1st ‘𝑥) = 𝑠 → (2nd
‘(1st ‘𝑥)) = (2nd ‘𝑠)) |
441 | 440 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((1st ‘𝑥) = 𝑠 → ((2nd
‘(1st ‘𝑥))‘𝑁) = ((2nd ‘𝑠)‘𝑁)) |
442 | 441 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑥) = 𝑠 → (((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁 ↔ ((2nd ‘𝑠)‘𝑁) = 𝑁)) |
443 | 436, 439,
442 | 3anbi123d 1434 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((1st ‘𝑥) = 𝑠 → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))) |
444 | 430, 443 | anbi12d 630 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((1st ‘𝑥) = 𝑠 → (((1st ‘𝑥) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ↔ (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)))) |
445 | 429, 444 | syl5ibcom 244 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) → ((1st ‘𝑥) = 𝑠 → (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)))) |
446 | 445 | adantrl 712 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ ((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁))) → ((1st ‘𝑥) = 𝑠 → (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)))) |
447 | 446 | expimpd 453 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → ((((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠) → (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)))) |
448 | 447 | rexlimiv 3208 |
. . . . . . . . . . . . . . . 16
⊢
(∃𝑥 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠) → (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))) |
449 | | nn0fz0 13283 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈ ℕ0
↔ 𝑁 ∈ (0...𝑁)) |
450 | 171, 449 | sylib 217 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → 𝑁 ∈ (0...𝑁)) |
451 | | opelxpi 5617 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ 𝑁 ∈ (0...𝑁)) → 〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
452 | 450, 451 | sylan2 592 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ 𝜑) → 〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
453 | 452 | ancoms 458 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) → 〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
454 | | opelxp2 5622 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → 𝑁 ∈ (0...𝑁)) |
455 | | op2ndg 7817 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (2nd ‘〈𝑠, 𝑁〉) = 𝑁) |
456 | 455 | biantrurd 532 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁) ↔ ((2nd ‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)))) |
457 | | op1stg 7816 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (1st ‘〈𝑠, 𝑁〉) = 𝑠) |
458 | | csbeq1a 3842 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑠 = (1st
‘〈𝑠, 𝑁〉) → 𝐶 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶) |
459 | 458 | eqcoms 2746 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢
((1st ‘〈𝑠, 𝑁〉) = 𝑠 → 𝐶 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶) |
460 | 459 | eqcomd 2744 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢
((1st ‘〈𝑠, 𝑁〉) = 𝑠 → ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 = 𝐶) |
461 | 457, 460 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 = 𝐶) |
462 | 461 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ↔ 𝑖 = 𝐶)) |
463 | 462 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
464 | 463 | ralbidv 3120 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
465 | 457 | fveq2d 6760 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (1st
‘(1st ‘〈𝑠, 𝑁〉)) = (1st ‘𝑠)) |
466 | 465 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = ((1st ‘𝑠)‘𝑁)) |
467 | 466 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ↔ ((1st ‘𝑠)‘𝑁) = 0)) |
468 | 457 | fveq2d 6760 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (2nd
‘(1st ‘〈𝑠, 𝑁〉)) = (2nd ‘𝑠)) |
469 | 468 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = ((2nd ‘𝑠)‘𝑁)) |
470 | 469 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁 ↔ ((2nd ‘𝑠)‘𝑁) = 𝑁)) |
471 | 464, 467,
470 | 3anbi123d 1434 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))) |
472 | 457 | biantrud 531 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ↔ (((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ∧ (1st ‘〈𝑠, 𝑁〉) = 𝑠))) |
473 | 456, 471,
472 | 3bitr3d 308 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁) ↔ (((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ∧ (1st ‘〈𝑠, 𝑁〉) = 𝑠))) |
474 | 44, 454, 473 | sylancr 586 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁) ↔ (((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ∧ (1st ‘〈𝑠, 𝑁〉) = 𝑠))) |
475 | 474 | biimpa 476 |
. . . . . . . . . . . . . . . . . . 19
⊢
((〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)) → (((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ∧ (1st ‘〈𝑠, 𝑁〉) = 𝑠)) |
476 | | fveqeq2 6765 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((2nd ‘𝑥) = 𝑁 ↔ (2nd ‘〈𝑠, 𝑁〉) = 𝑁)) |
477 | | fveq2 6756 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (1st ‘𝑥) = (1st
‘〈𝑠, 𝑁〉)) |
478 | 477 | csbeq1d 3832 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ⦋(1st
‘𝑥) / 𝑠⦌𝐶 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶) |
479 | 478 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ 𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶)) |
480 | 479 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶)) |
481 | 480 | ralbidv 3120 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶)) |
482 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (1st
‘(1st ‘𝑥)) = (1st ‘(1st
‘〈𝑠, 𝑁〉))) |
483 | 482 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((1st
‘(1st ‘𝑥))‘𝑁) = ((1st ‘(1st
‘〈𝑠, 𝑁〉))‘𝑁)) |
484 | 483 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (((1st
‘(1st ‘𝑥))‘𝑁) = 0 ↔ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0)) |
485 | | 2fveq3 6761 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (2nd
‘(1st ‘𝑥)) = (2nd ‘(1st
‘〈𝑠, 𝑁〉))) |
486 | 485 | fveq1d 6758 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((2nd
‘(1st ‘𝑥))‘𝑁) = ((2nd ‘(1st
‘〈𝑠, 𝑁〉))‘𝑁)) |
487 | 486 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁 ↔ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) |
488 | 481, 484,
487 | 3anbi123d 1434 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁))) |
489 | 476, 488 | anbi12d 630 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ↔ ((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)))) |
490 | | fveqeq2 6765 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((1st ‘𝑥) = 𝑠 ↔ (1st ‘〈𝑠, 𝑁〉) = 𝑠)) |
491 | 489, 490 | anbi12d 630 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((((2nd
‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠) ↔ (((2nd ‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ∧ (1st ‘〈𝑠, 𝑁〉) = 𝑠))) |
492 | 491 | rspcev 3552 |
. . . . . . . . . . . . . . . . . . 19
⊢
((〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (((2nd
‘〈𝑠, 𝑁〉) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) ∧ (1st ‘〈𝑠, 𝑁〉) = 𝑠)) → ∃𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠)) |
493 | 475, 492 | syldan 590 |
. . . . . . . . . . . . . . . . . 18
⊢
((〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)) → ∃𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠)) |
494 | 453, 493 | sylan 579 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝜑 ∧ 𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)) → ∃𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠)) |
495 | 494 | expl 457 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ((𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)) → ∃𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠))) |
496 | 448, 495 | impbid2 225 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (∃𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))(((2nd ‘𝑥) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) ∧ (1st ‘𝑥) = 𝑠) ↔ (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)))) |
497 | 427, 496 | syl5bb 282 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠 ↔ (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)))) |
498 | 497 | abbidv 2808 |
. . . . . . . . . . . . 13
⊢ (𝜑 → {𝑠 ∣ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠} = {𝑠 ∣ (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))}) |
499 | | dfimafn 6814 |
. . . . . . . . . . . . . . 15
⊢ ((Fun
1st ∧ {𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ dom 1st ) →
(1st “ {𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = {𝑦 ∣ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑦}) |
500 | 405, 410,
499 | mp2an 688 |
. . . . . . . . . . . . . 14
⊢
(1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = {𝑦 ∣ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑦} |
501 | | nfv 1918 |
. . . . . . . . . . . . . . . . . 18
⊢
Ⅎ𝑠(2nd ‘𝑡) = 𝑁 |
502 | | nfcv 2906 |
. . . . . . . . . . . . . . . . . . . 20
⊢
Ⅎ𝑠(0...(𝑁 − 1)) |
503 | | nfcsb1v 3853 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
Ⅎ𝑠⦋(1st ‘𝑡) / 𝑠⦌𝐶 |
504 | 503 | nfeq2 2923 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
Ⅎ𝑠 𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 |
505 | 502, 504 | nfrex 3237 |
. . . . . . . . . . . . . . . . . . . 20
⊢
Ⅎ𝑠∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 |
506 | 502, 505 | nfralw 3149 |
. . . . . . . . . . . . . . . . . . 19
⊢
Ⅎ𝑠∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 |
507 | | nfv 1918 |
. . . . . . . . . . . . . . . . . . 19
⊢
Ⅎ𝑠((1st ‘(1st
‘𝑡))‘𝑁) = 0 |
508 | | nfv 1918 |
. . . . . . . . . . . . . . . . . . 19
⊢
Ⅎ𝑠((2nd ‘(1st
‘𝑡))‘𝑁) = 𝑁 |
509 | 506, 507,
508 | nf3an 1905 |
. . . . . . . . . . . . . . . . . 18
⊢
Ⅎ𝑠(∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) |
510 | 501, 509 | nfan 1903 |
. . . . . . . . . . . . . . . . 17
⊢
Ⅎ𝑠((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) |
511 | | nfcv 2906 |
. . . . . . . . . . . . . . . . 17
⊢
Ⅎ𝑠((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) |
512 | 510, 511 | nfrabw 3311 |
. . . . . . . . . . . . . . . 16
⊢
Ⅎ𝑠{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} |
513 | | nfv 1918 |
. . . . . . . . . . . . . . . 16
⊢
Ⅎ𝑠(1st ‘𝑥) = 𝑦 |
514 | 512, 513 | nfrex 3237 |
. . . . . . . . . . . . . . 15
⊢
Ⅎ𝑠∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑦 |
515 | | nfv 1918 |
. . . . . . . . . . . . . . 15
⊢
Ⅎ𝑦∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠 |
516 | | eqeq2 2750 |
. . . . . . . . . . . . . . . 16
⊢ (𝑦 = 𝑠 → ((1st ‘𝑥) = 𝑦 ↔ (1st ‘𝑥) = 𝑠)) |
517 | 516 | rexbidv 3225 |
. . . . . . . . . . . . . . 15
⊢ (𝑦 = 𝑠 → (∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑦 ↔ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠)) |
518 | 514, 515,
517 | cbvabw 2813 |
. . . . . . . . . . . . . 14
⊢ {𝑦 ∣ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑦} = {𝑠 ∣ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠} |
519 | 500, 518 | eqtri 2766 |
. . . . . . . . . . . . 13
⊢
(1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = {𝑠 ∣ ∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑠} |
520 | | df-rab 3072 |
. . . . . . . . . . . . 13
⊢ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} = {𝑠 ∣ (𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))} |
521 | 498, 519,
520 | 3eqtr4g 2804 |
. . . . . . . . . . . 12
⊢ (𝜑 → (1st “
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
522 | | foeq3 6670 |
. . . . . . . . . . . 12
⊢
((1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} → ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→(1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) ↔ (1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)})) |
523 | 521, 522 | syl 17 |
. . . . . . . . . . 11
⊢ (𝜑 → ((1st ↾
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→(1st “ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) ↔ (1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)})) |
524 | 412, 523 | mpbii 232 |
. . . . . . . . . 10
⊢ (𝜑 → (1st ↾
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
525 | | fof 6672 |
. . . . . . . . . 10
⊢
((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} → (1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}⟶{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
526 | 524, 525 | syl 17 |
. . . . . . . . 9
⊢ (𝜑 → (1st ↾
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}⟶{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
527 | | fvres 6775 |
. . . . . . . . . . . 12
⊢ (𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} → ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑥) = (1st ‘𝑥)) |
528 | | fvres 6775 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} → ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑦) = (1st ‘𝑦)) |
529 | 527, 528 | eqeqan12d 2752 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∧ 𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) → (((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑥) = ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑦) ↔ (1st ‘𝑥) = (1st ‘𝑦))) |
530 | | simpl 482 |
. . . . . . . . . . . . . . . 16
⊢
(((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → (2nd ‘𝑡) = 𝑁) |
531 | 530 | a1i 11 |
. . . . . . . . . . . . . . 15
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → (2nd ‘𝑡) = 𝑁)) |
532 | 531 | ss2rabi 4006 |
. . . . . . . . . . . . . 14
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (2nd ‘𝑡) = 𝑁} |
533 | 532 | sseli 3913 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} → 𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (2nd ‘𝑡) = 𝑁}) |
534 | 413 | elrab 3617 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (2nd ‘𝑡) = 𝑁} ↔ (𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (2nd ‘𝑥) = 𝑁)) |
535 | 533, 534 | sylib 217 |
. . . . . . . . . . . 12
⊢ (𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} → (𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (2nd ‘𝑥) = 𝑁)) |
536 | 532 | sseli 3913 |
. . . . . . . . . . . . 13
⊢ (𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} → 𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (2nd ‘𝑡) = 𝑁}) |
537 | | fveqeq2 6765 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑦 → ((2nd ‘𝑡) = 𝑁 ↔ (2nd ‘𝑦) = 𝑁)) |
538 | 537 | elrab 3617 |
. . . . . . . . . . . . 13
⊢ (𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (2nd ‘𝑡) = 𝑁} ↔ (𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (2nd ‘𝑦) = 𝑁)) |
539 | 536, 538 | sylib 217 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} → (𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (2nd ‘𝑦) = 𝑁)) |
540 | | eqtr3 2764 |
. . . . . . . . . . . . . 14
⊢
(((2nd ‘𝑥) = 𝑁 ∧ (2nd ‘𝑦) = 𝑁) → (2nd ‘𝑥) = (2nd ‘𝑦)) |
541 | | xpopth 7845 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (((1st ‘𝑥) = (1st ‘𝑦) ∧ (2nd
‘𝑥) = (2nd
‘𝑦)) ↔ 𝑥 = 𝑦)) |
542 | 541 | biimpd 228 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (((1st ‘𝑥) = (1st ‘𝑦) ∧ (2nd
‘𝑥) = (2nd
‘𝑦)) → 𝑥 = 𝑦)) |
543 | 542 | ancomsd 465 |
. . . . . . . . . . . . . . 15
⊢ ((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (((2nd ‘𝑥) = (2nd ‘𝑦) ∧ (1st
‘𝑥) = (1st
‘𝑦)) → 𝑥 = 𝑦)) |
544 | 543 | expdimp 452 |
. . . . . . . . . . . . . 14
⊢ (((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) ∧ (2nd ‘𝑥) = (2nd ‘𝑦)) → ((1st
‘𝑥) = (1st
‘𝑦) → 𝑥 = 𝑦)) |
545 | 540, 544 | sylan2 592 |
. . . . . . . . . . . . 13
⊢ (((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) ∧ ((2nd ‘𝑥) = 𝑁 ∧ (2nd ‘𝑦) = 𝑁)) → ((1st ‘𝑥) = (1st ‘𝑦) → 𝑥 = 𝑦)) |
546 | 545 | an4s 656 |
. . . . . . . . . . . 12
⊢ (((𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (2nd ‘𝑥) = 𝑁) ∧ (𝑦 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ (2nd ‘𝑦) = 𝑁)) → ((1st ‘𝑥) = (1st ‘𝑦) → 𝑥 = 𝑦)) |
547 | 535, 539,
546 | syl2an 595 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∧ 𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) → ((1st ‘𝑥) = (1st ‘𝑦) → 𝑥 = 𝑦)) |
548 | 529, 547 | sylbid 239 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∧ 𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) → (((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑥) = ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑦) → 𝑥 = 𝑦)) |
549 | 548 | rgen2 3126 |
. . . . . . . . 9
⊢
∀𝑥 ∈
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}∀𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑥) = ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑦) → 𝑥 = 𝑦) |
550 | 526, 549 | jctir 520 |
. . . . . . . 8
⊢ (𝜑 → ((1st ↾
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}⟶{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ∧ ∀𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}∀𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑥) = ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑦) → 𝑥 = 𝑦))) |
551 | | dff13 7109 |
. . . . . . . 8
⊢
((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–1-1→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ↔ ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}⟶{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ∧ ∀𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}∀𝑦 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑥) = ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})‘𝑦) → 𝑥 = 𝑦))) |
552 | 550, 551 | sylibr 233 |
. . . . . . 7
⊢ (𝜑 → (1st ↾
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–1-1→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
553 | | df-f1o 6425 |
. . . . . . 7
⊢
((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ↔ ((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–1-1→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ∧ (1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)})) |
554 | 552, 524,
553 | sylanbrc 582 |
. . . . . 6
⊢ (𝜑 → (1st ↾
{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
555 | | rabfi 8973 |
. . . . . . . . 9
⊢
(((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∈ Fin) |
556 | 27, 555 | ax-mp 5 |
. . . . . . . 8
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∈ Fin |
557 | 556 | elexi 3441 |
. . . . . . 7
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∈ V |
558 | 557 | f1oen 8716 |
. . . . . 6
⊢
((1st ↾ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}):{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
559 | 554, 558 | syl 17 |
. . . . 5
⊢ (𝜑 → {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
560 | | rabfi 8973 |
. . . . . . 7
⊢
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ∈ Fin) |
561 | 24, 560 | ax-mp 5 |
. . . . . 6
⊢ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ∈ Fin |
562 | | hashen 13989 |
. . . . . 6
⊢ (({𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ∈ Fin ∧ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)} ∈ Fin) → ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) ↔ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)})) |
563 | 556, 561,
562 | mp2an 688 |
. . . . 5
⊢
((♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) ↔ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}) |
564 | 559, 563 | sylibr 233 |
. . . 4
⊢ (𝜑 → (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)})) |
565 | 564 | oveq2d 7271 |
. . 3
⊢ (𝜑 → ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) − (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))})) = ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}))) |
566 | 201, 402,
565 | 3eqtr3d 2786 |
. 2
⊢ (𝜑 → Σ𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 −
1)))(♯‘{𝑡
∈ ((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ (𝑥 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ ⦋if(𝑦 < (2nd
‘𝑡), 𝑦, (𝑦 + 1)) / 𝑗⦌((1st
‘(1st ‘𝑡)) ∘f + ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ∧ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))}) = ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}))) |
567 | 164, 566 | breqtrd 5096 |
1
⊢ (𝜑 → 2 ∥
((♯‘{𝑡 ∈
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁)}))) |