Step | Hyp | Ref
| Expression |
1 | | fzfi 13692 |
. . . . . 6
⊢
(0...𝐾) ∈
Fin |
2 | | fzfi 13692 |
. . . . . 6
⊢
(1...𝑁) ∈
Fin |
3 | | mapfi 9115 |
. . . . . 6
⊢
(((0...𝐾) ∈ Fin
∧ (1...𝑁) ∈ Fin)
→ ((0...𝐾)
↑m (1...𝑁))
∈ Fin) |
4 | 1, 2, 3 | mp2an 689 |
. . . . 5
⊢
((0...𝐾)
↑m (1...𝑁))
∈ Fin |
5 | | fzfi 13692 |
. . . . 5
⊢
(0...(𝑁 − 1))
∈ Fin |
6 | | mapfi 9115 |
. . . . 5
⊢
((((0...𝐾)
↑m (1...𝑁))
∈ Fin ∧ (0...(𝑁
− 1)) ∈ Fin) → (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) ∈
Fin) |
7 | 4, 5, 6 | mp2an 689 |
. . . 4
⊢
(((0...𝐾)
↑m (1...𝑁))
↑m (0...(𝑁
− 1))) ∈ Fin |
8 | 7 | a1i 11 |
. . 3
⊢ (𝜑 → (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) ∈
Fin) |
9 | | 2z 12352 |
. . . 4
⊢ 2 ∈
ℤ |
10 | 9 | a1i 11 |
. . 3
⊢ (𝜑 → 2 ∈
ℤ) |
11 | | fzofi 13694 |
. . . . . . . 8
⊢
(0..^𝐾) ∈
Fin |
12 | | mapfi 9115 |
. . . . . . . 8
⊢
(((0..^𝐾) ∈ Fin
∧ (1...𝑁) ∈ Fin)
→ ((0..^𝐾)
↑m (1...𝑁))
∈ Fin) |
13 | 11, 2, 12 | mp2an 689 |
. . . . . . 7
⊢
((0..^𝐾)
↑m (1...𝑁))
∈ Fin |
14 | | mapfi 9115 |
. . . . . . . . 9
⊢
(((1...𝑁) ∈ Fin
∧ (1...𝑁) ∈ Fin)
→ ((1...𝑁)
↑m (1...𝑁))
∈ Fin) |
15 | 2, 2, 14 | mp2an 689 |
. . . . . . . 8
⊢
((1...𝑁)
↑m (1...𝑁))
∈ Fin |
16 | | f1of 6716 |
. . . . . . . . . 10
⊢ (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) → 𝑓:(1...𝑁)⟶(1...𝑁)) |
17 | 16 | ss2abi 4000 |
. . . . . . . . 9
⊢ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ⊆ {𝑓 ∣ 𝑓:(1...𝑁)⟶(1...𝑁)} |
18 | | ovex 7308 |
. . . . . . . . . 10
⊢
(1...𝑁) ∈
V |
19 | 18, 18 | mapval 8627 |
. . . . . . . . 9
⊢
((1...𝑁)
↑m (1...𝑁))
= {𝑓 ∣ 𝑓:(1...𝑁)⟶(1...𝑁)} |
20 | 17, 19 | sseqtrri 3958 |
. . . . . . . 8
⊢ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ⊆ ((1...𝑁) ↑m (1...𝑁)) |
21 | | ssfi 8956 |
. . . . . . . 8
⊢
((((1...𝑁)
↑m (1...𝑁))
∈ Fin ∧ {𝑓 ∣
𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ⊆ ((1...𝑁) ↑m (1...𝑁))) → {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ∈ Fin) |
22 | 15, 20, 21 | mp2an 689 |
. . . . . . 7
⊢ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ∈ Fin |
23 | | xpfi 9085 |
. . . . . . 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 689 |
. . . . . 6
⊢
(((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∈ Fin |
25 | | fzfi 13692 |
. . . . . 6
⊢
(0...𝑁) ∈
Fin |
26 | | xpfi 9085 |
. . . . . 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 689 |
. . . . 5
⊢
((((0..^𝐾)
↑m (1...𝑁))
× {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∈ Fin |
28 | | rabfi 9044 |
. . . . 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 14071 |
. . . . 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 12424 |
. . . 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 3170 |
. . . . 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 1917 |
. . . . . 6
⊢
Ⅎ𝑡(𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) |
35 | | nfcv 2907 |
. . . . . . 7
⊢
Ⅎ𝑡2 |
36 | | nfcv 2907 |
. . . . . . 7
⊢
Ⅎ𝑡
∥ |
37 | | nfcv 2907 |
. . . . . . . 8
⊢
Ⅎ𝑡♯ |
38 | | nfrab1 3317 |
. . . . . . . 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 6784 |
. . . . . . 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 5121 |
. . . . . 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 4279 |
. . . . . . . . . . . 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 15979 |
. . . . . . . . . . . . . . . . 17
⊢ (2 ∈
ℤ → 2 ∥ 2) |
43 | 9, 42 | ax-mp 5 |
. . . . . . . . . . . . . . . 16
⊢ 2 ∥
2 |
44 | | vex 3436 |
. . . . . . . . . . . . . . . . . . 19
⊢ 𝑠 ∈ V |
45 | | hashsng 14084 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑠 ∈ V →
(♯‘{𝑠}) =
1) |
46 | 44, 45 | ax-mp 5 |
. . . . . . . . . . . . . . . . . 18
⊢
(♯‘{𝑠})
= 1 |
47 | 46 | oveq2i 7286 |
. . . . . . . . . . . . . . . . 17
⊢ (1 +
(♯‘{𝑠})) = (1 +
1) |
48 | | df-2 12036 |
. . . . . . . . . . . . . . . . 17
⊢ 2 = (1 +
1) |
49 | 47, 48 | eqtr4i 2769 |
. . . . . . . . . . . . . . . 16
⊢ (1 +
(♯‘{𝑠})) =
2 |
50 | 43, 49 | breqtrri 5101 |
. . . . . . . . . . . . . . 15
⊢ 2 ∥
(1 + (♯‘{𝑠})) |
51 | | rabfi 9044 |
. . . . . . . . . . . . . . . . . . . 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 8962 |
. . . . . . . . . . . . . . . . . . . 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 8834 |
. . . . . . . . . . . . . . . . . . 19
⊢ {𝑠} ∈ Fin |
55 | | disjdifr 4406 |
. . . . . . . . . . . . . . . . . . 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 14097 |
. . . . . . . . . . . . . . . . . . 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 1460 |
. . . . . . . . . . . . . . . . . 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 4743 |
. . . . . . . . . . . . . . . . . . 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 6778 |
. . . . . . . . . . . . . . . . . 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 2792 |
. . . . . . . . . . . . . . . . 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 482 |
. . . . . . . . . . . . . . . 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 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}))))}) → 𝑁 ∈
ℕ) |
64 | | fveq2 6774 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑡 = 𝑢 → (2nd ‘𝑡) = (2nd ‘𝑢)) |
65 | 64 | breq2d 5086 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑡 = 𝑢 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑢))) |
66 | 65 | ifbid 4482 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑡 = 𝑢 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1))) |
67 | 66 | csbeq1d 3836 |
. . . . . . . . . . . . . . . . . . . . . . . 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 6779 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑡 = 𝑢 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑢))) |
69 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑡 = 𝑢 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑢))) |
70 | 69 | imaeq1d 5968 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑡 = 𝑢 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑢)) “
(1...𝑗))) |
71 | 70 | xpeq1d 5618 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑡 = 𝑢 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1})) |
72 | 69 | imaeq1d 5968 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑡 = 𝑢 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑢)) “ ((𝑗 + 1)...𝑁))) |
73 | 72 | xpeq1d 5618 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑡 = 𝑢 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})) |
74 | 71, 73 | uneq12d 4098 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑡 = 𝑢 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
75 | 68, 74 | oveq12d 7293 |
. . . . . . . . . . . . . . . . . . . . . . . . 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 3839 |
. . . . . . . . . . . . . . . . . . . . . . . 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 5176 |
. . . . . . . . . . . . . . . . . . . . . 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 5077 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑦 = 𝑤 → (𝑦 < (2nd ‘𝑢) ↔ 𝑤 < (2nd ‘𝑢))) |
80 | | id 22 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑦 = 𝑤 → 𝑦 = 𝑤) |
81 | | oveq1 7282 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑦 = 𝑤 → (𝑦 + 1) = (𝑤 + 1)) |
82 | 79, 80, 81 | ifbieq12d 4487 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑦 = 𝑤 → if(𝑦 < (2nd ‘𝑢), 𝑦, (𝑦 + 1)) = if(𝑤 < (2nd ‘𝑢), 𝑤, (𝑤 + 1))) |
83 | 82 | csbeq1d 3836 |
. . . . . . . . . . . . . . . . . . . . . . . 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 7283 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑗 = 𝑖 → (1...𝑗) = (1...𝑖)) |
85 | 84 | imaeq2d 5969 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑗 = 𝑖 → ((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑢)) “
(1...𝑖))) |
86 | 85 | xpeq1d 5618 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑗 = 𝑖 → (((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1})) |
87 | | oveq1 7282 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (𝑗 = 𝑖 → (𝑗 + 1) = (𝑖 + 1)) |
88 | 87 | oveq1d 7290 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑗 = 𝑖 → ((𝑗 + 1)...𝑁) = ((𝑖 + 1)...𝑁)) |
89 | 88 | imaeq2d 5969 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑗 = 𝑖 → ((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑢)) “ ((𝑖 + 1)...𝑁))) |
90 | 89 | xpeq1d 5618 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑗 = 𝑖 → (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0})) |
91 | 86, 90 | uneq12d 4098 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑗 = 𝑖 → ((((2nd
‘(1st ‘𝑢)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑢)) “ (1...𝑖)) × {1}) ∪ (((2nd
‘(1st ‘𝑢)) “ ((𝑖 + 1)...𝑁)) × {0}))) |
92 | 91 | oveq2d 7291 |
. . . . . . . . . . . . . . . . . . . . . . . . 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 3844 |
. . . . . . . . . . . . . . . . . . . . . . . 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 2794 |
. . . . . . . . . . . . . . . . . . . . . . 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 5187 |
. . . . . . . . . . . . . . . . . . . . . 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 2794 |
. . . . . . . . . . . . . . . . . . . . 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 3426 |
. . . . . . . . . . . . . . . . . . 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 8637 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) → 𝑥:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁))) |
100 | 99 | ad3antlr 728 |
. . . . . . . . . . . . . . . . . . 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 485 |
. . . . . . . . . . . . . . . . . . 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 483 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((∃𝑝 ∈
ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
103 | 102 | ralimi 3087 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
104 | 103 | ad2antlr 724 |
. . . . . . . . . . . . . . . . . . . 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 6774 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑛 = 𝑚 → (𝑝‘𝑛) = (𝑝‘𝑚)) |
106 | 105 | neeq1d 3003 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = 𝑚 → ((𝑝‘𝑛) ≠ 0 ↔ (𝑝‘𝑚) ≠ 0)) |
107 | 106 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑚) ≠ 0)) |
108 | | fveq1 6773 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑝 = 𝑞 → (𝑝‘𝑚) = (𝑞‘𝑚)) |
109 | 108 | neeq1d 3003 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑝 = 𝑞 → ((𝑝‘𝑚) ≠ 0 ↔ (𝑞‘𝑚) ≠ 0)) |
110 | 109 | cbvrexvw 3384 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(∃𝑝 ∈ ran
𝑥(𝑝‘𝑚) ≠ 0 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0) |
111 | 107, 110 | bitrdi 287 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0)) |
112 | 111 | rspccva 3560 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((∀𝑛 ∈
(1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ 𝑚 ∈ (1...𝑁)) → ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 0) |
113 | 104, 112 | sylan 580 |
. . . . . . . . . . . . . . . . . . 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 485 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((∃𝑝 ∈
ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
115 | 114 | ralimi 3087 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
116 | 115 | ad2antlr 724 |
. . . . . . . . . . . . . . . . . . . 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 3003 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = 𝑚 → ((𝑝‘𝑛) ≠ 𝐾 ↔ (𝑝‘𝑚) ≠ 𝐾)) |
118 | 117 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑚) ≠ 𝐾)) |
119 | 108 | neeq1d 3003 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑝 = 𝑞 → ((𝑝‘𝑚) ≠ 𝐾 ↔ (𝑞‘𝑚) ≠ 𝐾)) |
120 | 119 | cbvrexvw 3384 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(∃𝑝 ∈ ran
𝑥(𝑝‘𝑚) ≠ 𝐾 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾) |
121 | 118, 120 | bitrdi 287 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 = 𝑚 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾 ↔ ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾)) |
122 | 121 | rspccva 3560 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((∀𝑛 ∈
(1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾 ∧ 𝑚 ∈ (1...𝑁)) → ∃𝑞 ∈ ran 𝑥(𝑞‘𝑚) ≠ 𝐾) |
123 | 116, 122 | sylan 580 |
. . . . . . . . . . . . . . . . . . 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 35799 |
. . . . . . . . . . . . . . . . . 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 4720 |
. . . . . . . . . . . . . . . . . . . 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 3451 |
. . . . . . . . . . . . . . . . . . . 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 14135 |
. . . . . . . . . . . . . . . . . . . 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 3072 |
. . . . . . . . . . . . . . . . . . 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 304 |
. . . . . . . . . . . . . . . . . 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 7290 |
. . . . . . . . . . . . . . . 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 5112 |
. . . . . . . . . . . . . 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 413 |
. . . . . . . . . . . . 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 1936 |
. . . . . . . . . . . 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 15981 |
. . . . . . . . . . . . . 14
⊢ (2 ∈
ℤ → 2 ∥ 0) |
140 | 9, 139 | ax-mp 5 |
. . . . . . . . . . . . 13
⊢ 2 ∥
0 |
141 | | hash0 14082 |
. . . . . . . . . . . . 13
⊢
(♯‘∅) = 0 |
142 | 140, 141 | breqtrri 5101 |
. . . . . . . . . . . 12
⊢ 2 ∥
(♯‘∅) |
143 | | fveq2 6774 |
. . . . . . . . . . . 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 5112 |
. . . . . . . . . . 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 413 |
. . . . . . . . 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 491 |
. . . . . . . 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 528 |
. . . . . . . . . . 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 3414 |
. . . . . . . . . 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 6778 |
. . . . . . . . 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 5086 |
. . . . . . . 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 3250 |
. . . . 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 485 |
. . . . . . . . 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 3087 |
. . . . . . 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 4318 |
. . . . . . 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 6778 |
. . . . 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 5112 |
. . . 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 16017 |
. 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 9044 |
. . . . 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 1135 |
. . . . . . 7
⊢
((∀𝑖 ∈
(0...(𝑁 −
1))∃𝑗 ∈
(0...(𝑁 − 1))𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) |
168 | | sneq 4571 |
. . . . . . . . . . . . 13
⊢
((2nd ‘𝑡) = 𝑁 → {(2nd ‘𝑡)} = {𝑁}) |
169 | 168 | difeq2d 4057 |
. . . . . . . . . . . 12
⊢
((2nd ‘𝑡) = 𝑁 → ((0...𝑁) ∖ {(2nd ‘𝑡)}) = ((0...𝑁) ∖ {𝑁})) |
170 | | difun2 4414 |
. . . . . . . . . . . . 13
⊢
(((0...(𝑁 −
1)) ∪ {𝑁}) ∖
{𝑁}) = ((0...(𝑁 − 1)) ∖ {𝑁}) |
171 | 62 | nnnn0d 12293 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → 𝑁 ∈
ℕ0) |
172 | | nn0uz 12620 |
. . . . . . . . . . . . . . . . . 18
⊢
ℕ0 = (ℤ≥‘0) |
173 | 171, 172 | eleqtrdi 2849 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑁 ∈
(ℤ≥‘0)) |
174 | | fzm1 13336 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈
(ℤ≥‘0) → (𝑛 ∈ (0...𝑁) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
175 | 173, 174 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (𝑛 ∈ (0...𝑁) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
176 | | elun 4083 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 ∈ ((0...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁})) |
177 | | velsn 4577 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 ∈ {𝑁} ↔ 𝑛 = 𝑁) |
178 | 177 | orbi2i 910 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁}) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
179 | 176, 178 | bitri 274 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ ((0...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (0...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
180 | 175, 179 | bitr4di 289 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → (𝑛 ∈ (0...𝑁) ↔ 𝑛 ∈ ((0...(𝑁 − 1)) ∪ {𝑁}))) |
181 | 180 | eqrdv 2736 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (0...𝑁) = ((0...(𝑁 − 1)) ∪ {𝑁})) |
182 | 181 | difeq1d 4056 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ((0...𝑁) ∖ {𝑁}) = (((0...(𝑁 − 1)) ∪ {𝑁}) ∖ {𝑁})) |
183 | 62 | nnzd 12425 |
. . . . . . . . . . . . . . 15
⊢ (𝜑 → 𝑁 ∈ ℤ) |
184 | | uzid 12597 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
(ℤ≥‘𝑁)) |
185 | | uznfz 13339 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 ∈
(ℤ≥‘𝑁) → ¬ 𝑁 ∈ (0...(𝑁 − 1))) |
186 | 183, 184,
185 | 3syl 18 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ¬ 𝑁 ∈ (0...(𝑁 − 1))) |
187 | | disjsn 4647 |
. . . . . . . . . . . . . . 15
⊢
(((0...(𝑁 −
1)) ∩ {𝑁}) = ∅
↔ ¬ 𝑁 ∈
(0...(𝑁 −
1))) |
188 | | disj3 4387 |
. . . . . . . . . . . . . . 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 2804 |
. . . . . . . . . . . 12
⊢ (𝜑 → ((0...𝑁) ∖ {𝑁}) = (0...(𝑁 − 1))) |
192 | 169, 191 | sylan9eqr 2800 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → ((0...𝑁) ∖ {(2nd ‘𝑡)}) = (0...(𝑁 − 1))) |
193 | 192 | rexeqdv 3349 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → (∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
194 | 193 | biimprd 247 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
195 | 194 | ralimdv 3109 |
. . . . . . . 8
⊢ ((𝜑 ∧ (2nd
‘𝑡) = 𝑁) → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
196 | 195 | expimpd 454 |
. . . . . . 7
⊢ (𝜑 → (((2nd
‘𝑡) = 𝑁 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
197 | 167, 196 | sylan2i 606 |
. . . . . 6
⊢ (𝜑 → (((2nd
‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
198 | 197 | adantr 481 |
. . . . 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 4009 |
. . . 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 14127 |
. . . 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 587 |
. . 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 481 |
. . . . . . . . . 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 712 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁)) |
206 | | xp1st 7863 |
. . . . . . . . . . . 12
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
207 | | xp1st 7863 |
. . . . . . . . . . . 12
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st
‘(1st ‘𝑡)) ∈ ((0..^𝐾) ↑m (1...𝑁))) |
208 | | elmapi 8637 |
. . . . . . . . . . . 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 482 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (1st
‘(1st ‘𝑡)):(1...𝑁)⟶(0..^𝐾)) |
211 | | xp2nd 7864 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd
‘(1st ‘𝑡)) ∈ {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) |
212 | | fvex 6787 |
. . . . . . . . . . . . . 14
⊢
(2nd ‘(1st ‘𝑡)) ∈ V |
213 | | f1oeq1 6704 |
. . . . . . . . . . . . . 14
⊢ (𝑓 = (2nd
‘(1st ‘𝑡)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁))) |
214 | 212, 213 | elab 3609 |
. . . . . . . . . . . . 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 482 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (2nd
‘(1st ‘𝑡)):(1...𝑁)–1-1-onto→(1...𝑁)) |
218 | | xp2nd 7864 |
. . . . . . . . . . 11
⊢ (𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (2nd ‘𝑡) ∈ (0...𝑁)) |
219 | 218 | adantl 482 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (2nd ‘𝑡) ∈ (0...𝑁)) |
220 | 202, 203,
205, 210, 217, 219 | poimirlem24 35801 |
. . . . . . . . 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 482 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) → (1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
222 | | 1st2nd2 7870 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st ‘𝑡) = 〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉) |
223 | 222 | csbeq1d 3836 |
. . . . . . . . . . . . . 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 3226 |
. . . . . . . . . . . 12
⊢
((1st ‘𝑡) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋〈(1st
‘(1st ‘𝑡)), (2nd ‘(1st
‘𝑡))〉 / 𝑠⦌𝐶)) |
226 | 225 | ralbidv 3112 |
. . . . . . . . . . 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 630 |
. . . . . . . . . 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 6608 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1))) → ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) |
231 | 230 | anim2i 617 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) → (𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁)))) |
232 | | dfss3 3909 |
. . . . . . . . . . . . . 14
⊢
((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ↔ ∀𝑛 ∈ (0...(𝑁 − 1))𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵)) |
233 | | vex 3436 |
. . . . . . . . . . . . . . . 16
⊢ 𝑛 ∈ V |
234 | | eqid 2738 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑝 ∈ ran 𝑥 ↦ 𝐵) = (𝑝 ∈ ran 𝑥 ↦ 𝐵) |
235 | 234 | elrnmpt 5865 |
. . . . . . . . . . . . . . . 16
⊢ (𝑛 ∈ V → (𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ↔ ∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
236 | 233, 235 | ax-mp 5 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ↔ ∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
237 | 236 | ralbii 3092 |
. . . . . . . . . . . . . 14
⊢
(∀𝑛 ∈
(0...(𝑁 − 1))𝑛 ∈ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ↔ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
238 | 232, 237 | sylbb 218 |
. . . . . . . . . . . . 13
⊢
((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) → ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) |
239 | | 1eluzge0 12632 |
. . . . . . . . . . . . . . . . 17
⊢ 1 ∈
(ℤ≥‘0) |
240 | | fzss1 13295 |
. . . . . . . . . . . . . . . . 17
⊢ (1 ∈
(ℤ≥‘0) → (1...(𝑁 − 1)) ⊆ (0...(𝑁 − 1))) |
241 | | ssralv 3987 |
. . . . . . . . . . . . . . . . 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 11989 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → 𝑁 ∈ ℂ) |
244 | | npcan1 11400 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁) |
245 | 243, 244 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝜑 → ((𝑁 − 1) + 1) = 𝑁) |
246 | | peano2zm 12363 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑁 ∈ ℤ → (𝑁 − 1) ∈
ℤ) |
247 | 183, 246 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → (𝑁 − 1) ∈ ℤ) |
248 | | uzid 12597 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑁 − 1) ∈ ℤ
→ (𝑁 − 1) ∈
(ℤ≥‘(𝑁 − 1))) |
249 | | peano2uz 12641 |
. . . . . . . . . . . . . . . . . . . . . . . 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 13296 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑁 ∈
(ℤ≥‘(𝑁 − 1)) → (1...(𝑁 − 1)) ⊆ (1...𝑁)) |
253 | 251, 252 | syl 17 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → (1...(𝑁 − 1)) ⊆ (1...𝑁)) |
254 | 253 | sselda 3921 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝜑 ∧ 𝑛 ∈ (1...(𝑁 − 1))) → 𝑛 ∈ (1...𝑁)) |
255 | 254 | adantlr 712 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...(𝑁 − 1))) → 𝑛 ∈ (1...𝑁)) |
256 | | simplr 766 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) → ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) |
257 | | ssel2 3916 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((ran
𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → 𝑝 ∈ ((0...𝐾) ↑m (1...𝑁))) |
258 | | elmapi 8637 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑝 ∈ ((0...𝐾) ↑m (1...𝑁)) → 𝑝:(1...𝑁)⟶(0...𝐾)) |
259 | 257, 258 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((ran
𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → 𝑝:(1...𝑁)⟶(0...𝐾)) |
260 | 256, 259 | sylan 580 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → 𝑝:(1...𝑁)⟶(0...𝐾)) |
261 | | poimirlem28.3 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0)) → 𝐵 < 𝑛) |
262 | | elfzelz 13256 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
⊢ (𝑛 ∈ (1...𝑁) → 𝑛 ∈ ℤ) |
263 | 262 | zred 12426 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
⊢ (𝑛 ∈ (1...𝑁) → 𝑛 ∈ ℝ) |
264 | 263 | ltnrd 11109 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (𝑛 ∈ (1...𝑁) → ¬ 𝑛 < 𝑛) |
265 | | breq1 5077 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
⊢ (𝑛 = 𝐵 → (𝑛 < 𝑛 ↔ 𝐵 < 𝑛)) |
266 | 265 | notbid 318 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (𝑛 = 𝐵 → (¬ 𝑛 < 𝑛 ↔ ¬ 𝐵 < 𝑛)) |
267 | 264, 266 | syl5ibcom 244 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ (𝑛 ∈ (1...𝑁) → (𝑛 = 𝐵 → ¬ 𝐵 < 𝑛)) |
268 | 267 | necon2ad 2958 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ (𝑛 ∈ (1...𝑁) → (𝐵 < 𝑛 → 𝑛 ≠ 𝐵)) |
269 | 268 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0) → (𝐵 < 𝑛 → 𝑛 ≠ 𝐵)) |
270 | 269 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0)) → (𝐵 < 𝑛 → 𝑛 ≠ 𝐵)) |
271 | 261, 270 | mpd 15 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 0)) → 𝑛 ≠ 𝐵) |
272 | 271 | 3exp2 1353 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) → (𝑝:(1...𝑁)⟶(0...𝐾) → ((𝑝‘𝑛) = 0 → 𝑛 ≠ 𝐵)))) |
273 | 272 | imp31 418 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑝‘𝑛) = 0 → 𝑛 ≠ 𝐵)) |
274 | 273 | necon2d 2966 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → (𝑛 = 𝐵 → (𝑝‘𝑛) ≠ 0)) |
275 | 274 | adantllr 716 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → (𝑛 = 𝐵 → (𝑝‘𝑛) ≠ 0)) |
276 | 260, 275 | syldan 591 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → (𝑛 = 𝐵 → (𝑝‘𝑛) ≠ 0)) |
277 | 276 | reximdva 3203 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) → (∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
278 | 255, 277 | syldan 591 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...(𝑁 − 1))) → (∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
279 | 278 | ralimdva 3108 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) → (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
280 | 279 | imp 407 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
281 | 242, 280 | sylan2 593 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0) |
282 | 281 | biantrurd 533 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0))) |
283 | | nnuz 12621 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ℕ =
(ℤ≥‘1) |
284 | 62, 283 | eleqtrdi 2849 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → 𝑁 ∈
(ℤ≥‘1)) |
285 | | fzm1 13336 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈
(ℤ≥‘1) → (𝑛 ∈ (1...𝑁) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
286 | 284, 285 | syl 17 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁))) |
287 | | elun 4083 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁})) |
288 | 177 | orbi2i 910 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 ∈ {𝑁}) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
289 | 287, 288 | bitri 274 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁}) ↔ (𝑛 ∈ (1...(𝑁 − 1)) ∨ 𝑛 = 𝑁)) |
290 | 286, 289 | bitr4di 289 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) ↔ 𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁}))) |
291 | 290 | eqrdv 2736 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → (1...𝑁) = ((1...(𝑁 − 1)) ∪ {𝑁})) |
292 | 291 | raleqdv 3348 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∀𝑛 ∈ ((1...(𝑁 − 1)) ∪ {𝑁})∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
293 | | ralunb 4125 |
. . . . . . . . . . . . . . . . 17
⊢
(∀𝑛 ∈
((1...(𝑁 − 1)) ∪
{𝑁})∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0)) |
294 | 292, 293 | bitrdi 287 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0))) |
295 | | fveq2 6774 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑛 = 𝑁 → (𝑝‘𝑛) = (𝑝‘𝑁)) |
296 | 295 | neeq1d 3003 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑛 = 𝑁 → ((𝑝‘𝑛) ≠ 0 ↔ (𝑝‘𝑁) ≠ 0)) |
297 | 296 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑛 = 𝑁 → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) |
298 | 297 | ralsng 4609 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 ∈ ℕ →
(∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) |
299 | 62, 298 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (∀𝑛 ∈ {𝑁}∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0)) |
300 | 299 | anbi2d 629 |
. . . . . . . . . . . . . . . 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 723 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...(𝑁 − 1))∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0))) |
303 | | 0z 12330 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ 0 ∈
ℤ |
304 | | 1z 12350 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ 1 ∈
ℤ |
305 | | fzshftral 13344 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((0
∈ ℤ ∧ (𝑁
− 1) ∈ ℤ ∧ 1 ∈ ℤ) → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ ((0 + 1)...((𝑁 − 1) + 1))[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
306 | 303, 304,
305 | mp3an13 1451 |
. . . . . . . . . . . . . . . . . . . . . 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 12095 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (0 + 1) =
1 |
309 | 308 | a1i 11 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝜑 → (0 + 1) =
1) |
310 | 309, 245 | oveq12d 7293 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝜑 → ((0 + 1)...((𝑁 − 1) + 1)) = (1...𝑁)) |
311 | 310 | raleqdv 3348 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → (∀𝑚 ∈ ((0 + 1)...((𝑁 − 1) + 1))[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ (1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
312 | 307, 311 | bitrd 278 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ (1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵)) |
313 | | ovex 7308 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑚 − 1) ∈
V |
314 | | eqeq1 2742 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑛 = (𝑚 − 1) → (𝑛 = 𝐵 ↔ (𝑚 − 1) = 𝐵)) |
315 | 314 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = (𝑚 − 1) → (∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵)) |
316 | 313, 315 | sbcie 3759 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
([(𝑚 −
1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵) |
317 | 316 | ralbii 3092 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑚 ∈
(1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑚 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵) |
318 | | oveq1 7282 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑚 = 𝑛 → (𝑚 − 1) = (𝑛 − 1)) |
319 | 318 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑚 = 𝑛 → ((𝑚 − 1) = 𝐵 ↔ (𝑛 − 1) = 𝐵)) |
320 | 319 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑚 = 𝑛 → (∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵 ↔ ∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵)) |
321 | 320 | cbvralvw 3383 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∀𝑚 ∈
(1...𝑁)∃𝑝 ∈ ran 𝑥(𝑚 − 1) = 𝐵 ↔ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
322 | 317, 321 | bitri 274 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(∀𝑚 ∈
(1...𝑁)[(𝑚 − 1) / 𝑛]∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
323 | 312, 322 | bitrdi 287 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → (∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵 ↔ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵)) |
324 | 323 | biimpa 477 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
325 | 324 | adantlr 712 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) |
326 | | poimirlem28.4 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1)) |
327 | 326 | necomd 2999 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘𝑛) = 𝐾)) → (𝑛 − 1) ≠ 𝐵) |
328 | 327 | 3exp2 1353 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝜑 → (𝑛 ∈ (1...𝑁) → (𝑝:(1...𝑁)⟶(0...𝐾) → ((𝑝‘𝑛) = 𝐾 → (𝑛 − 1) ≠ 𝐵)))) |
329 | 328 | imp31 418 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑝‘𝑛) = 𝐾 → (𝑛 − 1) ≠ 𝐵)) |
330 | 329 | necon2d 2966 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝜑 ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑛 − 1) = 𝐵 → (𝑝‘𝑛) ≠ 𝐾)) |
331 | 330 | adantllr 716 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝:(1...𝑁)⟶(0...𝐾)) → ((𝑛 − 1) = 𝐵 → (𝑝‘𝑛) ≠ 𝐾)) |
332 | 260, 331 | syldan 591 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) ∧ 𝑝 ∈ ran 𝑥) → ((𝑛 − 1) = 𝐵 → (𝑝‘𝑛) ≠ 𝐾)) |
333 | 332 | reximdva 3203 |
. . . . . . . . . . . . . . . . . . 19
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ 𝑛 ∈ (1...𝑁)) → (∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵 → ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) |
334 | 333 | ralimdva 3108 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵 → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) |
335 | 334 | imp 407 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑛 − 1) = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
336 | 325, 335 | syldan 591 |
. . . . . . . . . . . . . . . 16
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) |
337 | 336 | biantrud 532 |
. . . . . . . . . . . . . . 15
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
338 | | r19.26 3095 |
. . . . . . . . . . . . . . 15
⊢
(∀𝑛 ∈
(1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾) ↔ (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)) |
339 | 337, 338 | bitr4di 289 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∀𝑛 ∈ (1...𝑁)∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ↔ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
340 | 282, 302,
339 | 3bitr2d 307 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ran 𝑥 ⊆ ((0...𝐾) ↑m (1...𝑁))) ∧ ∀𝑛 ∈ (0...(𝑁 − 1))∃𝑝 ∈ ran 𝑥 𝑛 = 𝐵) → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0 ↔ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
341 | 231, 238,
340 | syl2an 596 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) ∧ (0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵)) → (∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0 ↔ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾))) |
342 | 341 | pm5.32da 579 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑥 ∈ (((0...𝐾) ↑m (1...𝑁)) ↑m (0...(𝑁 − 1)))) →
(((0...(𝑁 − 1))
⊆ ran (𝑝 ∈ ran
𝑥 ↦ 𝐵) ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑁) ≠ 0) ↔ ((0...(𝑁 − 1)) ⊆ ran (𝑝 ∈ ran 𝑥 ↦ 𝐵) ∧ ∀𝑛 ∈ (1...𝑁)(∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 0 ∧ ∃𝑝 ∈ ran 𝑥(𝑝‘𝑛) ≠ 𝐾)))) |
343 | 342 | anbi2d 629 |
. . . . . . . . . 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 3225 |
. . . . . . . . 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 481 |
. . . . . . . 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 3349 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝜑 → (∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
347 | 346 | biimpd 228 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝜑 → (∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
348 | 347 | ralimdv 3109 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
349 | 169 | rexeqdv 3349 |
. . . . . . . . . . . . . . . . . . 19
⊢
((2nd ‘𝑡) = 𝑁 → (∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
350 | 349 | ralbidv 3112 |
. . . . . . . . . . . . . . . . . 18
⊢
((2nd ‘𝑡) = 𝑁 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {𝑁})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
351 | 350 | imbi1d 342 |
. . . . . . . . . . . . . . . . 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 407 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → ((2nd ‘𝑡) = 𝑁 → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
355 | 354 | adantrd 492 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ ((0...𝑁) ∖ {(2nd ‘𝑡)})𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶) → (((2nd ‘𝑡) = 𝑁 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) → ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶)) |
356 | 355 | pm4.71rd 563 |
. . . . . . . . . . . 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 642 |
. . . . . . . . . . . . 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 1094 |
. . . . . . . . . . . . . 14
⊢
((∀𝑖 ∈
(0...(𝑁 −
1))∃𝑗 ∈
(0...(𝑁 − 1))𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))) |
359 | 358 | anbi2i 623 |
. . . . . . . . . . . . 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 287 |
. . . . . . . . . . 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 318 |
. . . . . . . . . 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 579 |
. . . . . . . . 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 481 |
. . . . . . . 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 309 |
. . . . . . 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 3413 |
. . . . . 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 4982 |
. . . . . 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 4242 |
. . . . . 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 2803 |
. . . . 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 6778 |
. . . 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 483 |
. . . . . . . . . . . 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 4010 |
. . . . . . . . . 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 3917 |
. . . . . . . . 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 6774 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑠 → (2nd ‘𝑡) = (2nd ‘𝑠)) |
377 | 376 | breq2d 5086 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑠 → (𝑦 < (2nd ‘𝑡) ↔ 𝑦 < (2nd ‘𝑠))) |
378 | 377 | ifbid 4482 |
. . . . . . . . . . . . . . . 16
⊢ (𝑡 = 𝑠 → if(𝑦 < (2nd ‘𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd ‘𝑠), 𝑦, (𝑦 + 1))) |
379 | 378 | csbeq1d 3836 |
. . . . . . . . . . . . . . 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 6779 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑠 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑠))) |
381 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑠 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑠))) |
382 | 381 | imaeq1d 5968 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑠 → ((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) = ((2nd ‘(1st
‘𝑠)) “
(1...𝑗))) |
383 | 382 | xpeq1d 5618 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑠 → (((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) = (((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1})) |
384 | 381 | imaeq1d 5968 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑠 → ((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st
‘𝑠)) “ ((𝑗 + 1)...𝑁))) |
385 | 384 | xpeq1d 5618 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑠 → (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0})) |
386 | 383, 385 | uneq12d 4098 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑠 → ((((2nd
‘(1st ‘𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd
‘(1st ‘𝑠)) “ (1...𝑗)) × {1}) ∪ (((2nd
‘(1st ‘𝑠)) “ ((𝑗 + 1)...𝑁)) × {0}))) |
387 | 380, 386 | oveq12d 7293 |
. . . . . . . . . . . . . . . 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 3839 |
. . . . . . . . . . . . . . 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 5176 |
. . . . . . . . . . . . 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 287 |
. . . . . . . . . . 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 3624 |
. . . . . . . . . 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 497 |
. . . . . . . . 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 3074 |
. . . . . . 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 3076 |
. . . . . 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 5058 |
. . . . . 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 15534 |
. . . 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 7851 |
. . . . . . . . . . . . 13
⊢
1st :V–onto→V |
404 | | fofun 6689 |
. . . . . . . . . . . . 13
⊢
(1st :V–onto→V → Fun 1st ) |
405 | 403, 404 | ax-mp 5 |
. . . . . . . . . . . 12
⊢ Fun
1st |
406 | | ssv 3945 |
. . . . . . . . . . . . 13
⊢ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} ⊆ V |
407 | | fof 6688 |
. . . . . . . . . . . . . . 15
⊢
(1st :V–onto→V → 1st
:V⟶V) |
408 | 403, 407 | ax-mp 5 |
. . . . . . . . . . . . . 14
⊢
1st :V⟶V |
409 | 408 | fdmi 6612 |
. . . . . . . . . . . . 13
⊢ dom
1st = V |
410 | 406, 409 | sseqtrri 3958 |
. . . . . . . . . . . 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 6698 |
. . . . . . . . . . . 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 689 |
. . . . . . . . . . 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 6783 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑡 = 𝑥 → ((2nd ‘𝑡) = 𝑁 ↔ (2nd ‘𝑥) = 𝑁)) |
414 | | fveq2 6774 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑡 = 𝑥 → (1st ‘𝑡) = (1st ‘𝑥)) |
415 | 414 | csbeq1d 3836 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑡 = 𝑥 → ⦋(1st
‘𝑡) / 𝑠⦌𝐶 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶) |
416 | 415 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑥 → (𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ 𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶)) |
417 | 416 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑥 → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶)) |
418 | 417 | ralbidv 3112 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑥 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶)) |
419 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑥 → (1st
‘(1st ‘𝑡)) = (1st ‘(1st
‘𝑥))) |
420 | 419 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑥 → ((1st
‘(1st ‘𝑡))‘𝑁) = ((1st ‘(1st
‘𝑥))‘𝑁)) |
421 | 420 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑥 → (((1st
‘(1st ‘𝑡))‘𝑁) = 0 ↔ ((1st
‘(1st ‘𝑥))‘𝑁) = 0)) |
422 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑡 = 𝑥 → (2nd
‘(1st ‘𝑡)) = (2nd ‘(1st
‘𝑥))) |
423 | 422 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑡 = 𝑥 → ((2nd
‘(1st ‘𝑡))‘𝑁) = ((2nd ‘(1st
‘𝑥))‘𝑁)) |
424 | 423 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑡 = 𝑥 → (((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁 ↔ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁)) |
425 | 418, 421,
424 | 3anbi123d 1435 |
. . . . . . . . . . . . . . . . 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 631 |
. . . . . . . . . . . . . . . 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 3633 |
. . . . . . . . . . . . . . 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 7863 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st ‘𝑥) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) |
429 | 428 | anim1i 615 |
. . . . . . . . . . . . . . . . . . . 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 3846 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 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 3226 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((1st ‘𝑥) = 𝑠 → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
436 | 435 | ralbidv 3112 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑥) = 𝑠 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
437 | | fveq2 6774 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((1st ‘𝑥) = 𝑠 → (1st
‘(1st ‘𝑥)) = (1st ‘𝑠)) |
438 | 437 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((1st ‘𝑥) = 𝑠 → ((1st
‘(1st ‘𝑥))‘𝑁) = ((1st ‘𝑠)‘𝑁)) |
439 | 438 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑥) = 𝑠 → (((1st
‘(1st ‘𝑥))‘𝑁) = 0 ↔ ((1st ‘𝑠)‘𝑁) = 0)) |
440 | | fveq2 6774 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
((1st ‘𝑥) = 𝑠 → (2nd
‘(1st ‘𝑥)) = (2nd ‘𝑠)) |
441 | 440 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((1st ‘𝑥) = 𝑠 → ((2nd
‘(1st ‘𝑥))‘𝑁) = ((2nd ‘𝑠)‘𝑁)) |
442 | 441 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑥) = 𝑠 → (((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁 ↔ ((2nd ‘𝑠)‘𝑁) = 𝑁)) |
443 | 436, 439,
442 | 3anbi123d 1435 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((1st ‘𝑥) = 𝑠 → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑥))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))) |
444 | 430, 443 | anbi12d 631 |
. . . . . . . . . . . . . . . . . . . 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 713 |
. . . . . . . . . . . . . . . . . 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 454 |
. . . . . . . . . . . . . . . . 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 3209 |
. . . . . . . . . . . . . . . 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 13354 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑁 ∈ ℕ0
↔ 𝑁 ∈ (0...𝑁)) |
450 | 171, 449 | sylib 217 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝜑 → 𝑁 ∈ (0...𝑁)) |
451 | | opelxpi 5626 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ 𝑁 ∈ (0...𝑁)) → 〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
452 | 450, 451 | sylan2 593 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∧ 𝜑) → 〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
453 | 452 | ancoms 459 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})) → 〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁))) |
454 | | opelxp2 5631 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(〈𝑠, 𝑁〉 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → 𝑁 ∈ (0...𝑁)) |
455 | | op2ndg 7844 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (2nd ‘〈𝑠, 𝑁〉) = 𝑁) |
456 | 455 | biantrurd 533 |
. . . . . . . . . . . . . . . . . . . . . 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 7843 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (1st ‘〈𝑠, 𝑁〉) = 𝑠) |
458 | | csbeq1a 3846 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 3226 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
464 | 463 | ralbidv 3112 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶)) |
465 | 457 | fveq2d 6778 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (1st
‘(1st ‘〈𝑠, 𝑁〉)) = (1st ‘𝑠)) |
466 | 465 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = ((1st ‘𝑠)‘𝑁)) |
467 | 466 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ↔ ((1st ‘𝑠)‘𝑁) = 0)) |
468 | 457 | fveq2d 6778 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (2nd
‘(1st ‘〈𝑠, 𝑁〉)) = (2nd ‘𝑠)) |
469 | 468 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = ((2nd ‘𝑠)‘𝑁)) |
470 | 469 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → (((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁 ↔ ((2nd ‘𝑠)‘𝑁) = 𝑁)) |
471 | 464, 467,
470 | 3anbi123d 1435 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑠 ∈ V ∧ 𝑁 ∈ (0...𝑁)) → ((∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁) ↔ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = 𝐶 ∧ ((1st ‘𝑠)‘𝑁) = 0 ∧ ((2nd ‘𝑠)‘𝑁) = 𝑁))) |
472 | 457 | biantrud 532 |
. . . . . . . . . . . . . . . . . . . . . 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 309 |
. . . . . . . . . . . . . . . . . . . . 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 587 |
. . . . . . . . . . . . . . . . . . . 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 477 |
. . . . . . . . . . . . . . . . . . 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 6783 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((2nd ‘𝑥) = 𝑁 ↔ (2nd ‘〈𝑠, 𝑁〉) = 𝑁)) |
477 | | fveq2 6774 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (1st ‘𝑥) = (1st
‘〈𝑠, 𝑁〉)) |
478 | 477 | csbeq1d 3836 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ⦋(1st
‘𝑥) / 𝑠⦌𝐶 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶) |
479 | 478 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ 𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶)) |
480 | 479 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶)) |
481 | 480 | ralbidv 3112 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑥) / 𝑠⦌𝐶 ↔ ∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘〈𝑠, 𝑁〉) / 𝑠⦌𝐶)) |
482 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (1st
‘(1st ‘𝑥)) = (1st ‘(1st
‘〈𝑠, 𝑁〉))) |
483 | 482 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((1st
‘(1st ‘𝑥))‘𝑁) = ((1st ‘(1st
‘〈𝑠, 𝑁〉))‘𝑁)) |
484 | 483 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (((1st
‘(1st ‘𝑥))‘𝑁) = 0 ↔ ((1st
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 0)) |
485 | | 2fveq3 6779 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (2nd
‘(1st ‘𝑥)) = (2nd ‘(1st
‘〈𝑠, 𝑁〉))) |
486 | 485 | fveq1d 6776 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((2nd
‘(1st ‘𝑥))‘𝑁) = ((2nd ‘(1st
‘〈𝑠, 𝑁〉))‘𝑁)) |
487 | 486 | eqeq1d 2740 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑥 = 〈𝑠, 𝑁〉 → (((2nd
‘(1st ‘𝑥))‘𝑁) = 𝑁 ↔ ((2nd
‘(1st ‘〈𝑠, 𝑁〉))‘𝑁) = 𝑁)) |
488 | 481, 484,
487 | 3anbi123d 1435 |
. . . . . . . . . . . . . . . . . . . . . 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 631 |
. . . . . . . . . . . . . . . . . . . . 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 6783 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 = 〈𝑠, 𝑁〉 → ((1st ‘𝑥) = 𝑠 ↔ (1st ‘〈𝑠, 𝑁〉) = 𝑠)) |
491 | 489, 490 | anbi12d 631 |
. . . . . . . . . . . . . . . . . . . 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 3561 |
. . . . . . . . . . . . . . . . . . 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 591 |
. . . . . . . . . . . . . . . . . 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 580 |
. . . . . . . . . . . . . . . . 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 458 |
. . . . . . . . . . . . . . . 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 283 |
. . . . . . . . . . . . . 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 2807 |
. . . . . . . . . . . . 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 6832 |
. . . . . . . . . . . . . . 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 689 |
. . . . . . . . . . . . . 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 1917 |
. . . . . . . . . . . . . . . . . 18
⊢
Ⅎ𝑠(2nd ‘𝑡) = 𝑁 |
502 | | nfcv 2907 |
. . . . . . . . . . . . . . . . . . . 20
⊢
Ⅎ𝑠(0...(𝑁 − 1)) |
503 | | nfcsb1v 3857 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
Ⅎ𝑠⦋(1st ‘𝑡) / 𝑠⦌𝐶 |
504 | 503 | nfeq2 2924 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
Ⅎ𝑠 𝑖 =
⦋(1st ‘𝑡) / 𝑠⦌𝐶 |
505 | 502, 504 | nfrex 3242 |
. . . . . . . . . . . . . . . . . . . 20
⊢
Ⅎ𝑠∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 |
506 | 502, 505 | nfralw 3151 |
. . . . . . . . . . . . . . . . . . 19
⊢
Ⅎ𝑠∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 |
507 | | nfv 1917 |
. . . . . . . . . . . . . . . . . . 19
⊢
Ⅎ𝑠((1st ‘(1st
‘𝑡))‘𝑁) = 0 |
508 | | nfv 1917 |
. . . . . . . . . . . . . . . . . . 19
⊢
Ⅎ𝑠((2nd ‘(1st
‘𝑡))‘𝑁) = 𝑁 |
509 | 506, 507,
508 | nf3an 1904 |
. . . . . . . . . . . . . . . . . 18
⊢
Ⅎ𝑠(∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁) |
510 | 501, 509 | nfan 1902 |
. . . . . . . . . . . . . . . . 17
⊢
Ⅎ𝑠((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁)) |
511 | | nfcv 2907 |
. . . . . . . . . . . . . . . . 17
⊢
Ⅎ𝑠((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) |
512 | 510, 511 | nfrabw 3318 |
. . . . . . . . . . . . . . . 16
⊢
Ⅎ𝑠{𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} |
513 | | nfv 1917 |
. . . . . . . . . . . . . . . 16
⊢
Ⅎ𝑠(1st ‘𝑥) = 𝑦 |
514 | 512, 513 | nfrex 3242 |
. . . . . . . . . . . . . . 15
⊢
Ⅎ𝑠∃𝑥 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓 ∣ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ ((2nd ‘𝑡) = 𝑁 ∧ (∀𝑖 ∈ (0...(𝑁 − 1))∃𝑗 ∈ (0...(𝑁 − 1))𝑖 = ⦋(1st
‘𝑡) / 𝑠⦌𝐶 ∧ ((1st
‘(1st ‘𝑡))‘𝑁) = 0 ∧ ((2nd
‘(1st ‘𝑡))‘𝑁) = 𝑁))} (1st ‘𝑥) = 𝑦 |
515 | | nfv 1917 |
. . . . . . . . . . . . . . 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 3226 |
. . . . . . . . . . . . . . 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 2812 |
. . . . . . . . . . . . . 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 3073 |
. . . . . . . . . . . . 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 2803 |
. . . . . . . . . . . 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 6686 |
. . . . . . . . . . . 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 6688 |
. . . . . . . . . 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 6793 |
. . . . . . . . . . . 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 6793 |
. . . . . . . . . . . 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 483 |
. . . . . . . . . . . . . . . 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 4010 |
. . . . . . . . . . . . . 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 3917 |
. . . . . . . . . . . . 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 3624 |
. . . . . . . . . . . . 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 3917 |
. . . . . . . . . . . . 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 6783 |
. . . . . . . . . . . . . 14
⊢ (𝑡 = 𝑦 → ((2nd ‘𝑡) = 𝑁 ↔ (2nd ‘𝑦) = 𝑁)) |
538 | 537 | elrab 3624 |
. . . . . . . . . . . . 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 7872 |
. . . . . . . . . . . . . . . . 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 466 |
. . . . . . . . . . . . . . 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 453 |
. . . . . . . . . . . . . 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 593 |
. . . . . . . . . . . . 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 657 |
. . . . . . . . . . . 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 596 |
. . . . . . . . . . 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 3120 |
. . . . . . . . 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 521 |
. . . . . . . 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 7128 |
. . . . . . . 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 6440 |
. . . . . . 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 583 |
. . . . . 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 9044 |
. . . . . . . . 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 3451 |
. . . . . . 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 8761 |
. . . . . 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 9044 |
. . . . . . 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 14061 |
. . . . . 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 689 |
. . . . 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 7291 |
. . 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 5100 |
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 ‘𝑠)‘𝑁) = 𝑁)}))) |