Step | Hyp | Ref
| Expression |
1 | | nn0re 12172 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℝ) |
2 | 1 | 3ad2ant1 1131 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℝ) |
3 | 2 | recnd 10934 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℂ) |
4 | | ax-1cn 10860 |
. . . . . . . 8
⊢ 1 ∈
ℂ |
5 | | addcom 11091 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℂ ∧ 1 ∈
ℂ) → (𝑁 + 1) =
(1 + 𝑁)) |
6 | 3, 4, 5 | sylancl 585 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (𝑁 + 1) = (1 + 𝑁)) |
7 | | diffi 8979 |
. . . . . . . . . 10
⊢ (𝐴 ∈ Fin → (𝐴 ∖ (1...𝑁)) ∈ Fin) |
8 | 7 | 3ad2ant2 1132 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (𝐴 ∖ (1...𝑁)) ∈ Fin) |
9 | | fzfid 13621 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (1...𝑁) ∈ Fin) |
10 | | disjdifr 4403 |
. . . . . . . . . 10
⊢ ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅ |
11 | 10 | a1i 11 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅) |
12 | | hashun 14025 |
. . . . . . . . 9
⊢ (((𝐴 ∖ (1...𝑁)) ∈ Fin ∧ (1...𝑁) ∈ Fin ∧ ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁)))) |
13 | 8, 9, 11, 12 | syl3anc 1369 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁)))) |
14 | | uncom 4083 |
. . . . . . . . . 10
⊢ ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) |
15 | | simp3 1136 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (1...𝑁) ⊆ 𝐴) |
16 | | undif 4412 |
. . . . . . . . . . 11
⊢
((1...𝑁) ⊆
𝐴 ↔ ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴) |
17 | 15, 16 | sylib 217 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴) |
18 | 14, 17 | syl5eq 2791 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = 𝐴) |
19 | 18 | fveq2d 6760 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = (♯‘𝐴)) |
20 | | hashfz1 13988 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ (♯‘(1...𝑁)) = 𝑁) |
21 | 20 | 3ad2ant1 1131 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) →
(♯‘(1...𝑁)) =
𝑁) |
22 | 21 | oveq2d 7271 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) |
23 | 13, 19, 22 | 3eqtr3d 2786 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘𝐴) = ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) |
24 | 6, 23 | oveq12d 7273 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((𝑁 + 1)...(♯‘𝐴)) = ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) |
25 | 24 | fveq2d 6760 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))) |
26 | | 1zzd 12281 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → 1 ∈
ℤ) |
27 | | hashcl 13999 |
. . . . . . . . . 10
⊢ ((𝐴 ∖ (1...𝑁)) ∈ Fin → (♯‘(𝐴 ∖ (1...𝑁))) ∈
ℕ0) |
28 | 8, 27 | syl 17 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘(𝐴 ∖ (1...𝑁))) ∈
ℕ0) |
29 | 28 | nn0zd 12353 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℤ) |
30 | | nn0z 12273 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℤ) |
31 | 30 | 3ad2ant1 1131 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℤ) |
32 | | fzen 13202 |
. . . . . . . 8
⊢ ((1
∈ ℤ ∧ (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℤ ∧ 𝑁 ∈ ℤ) →
(1...(♯‘(𝐴
∖ (1...𝑁)))) ≈
((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) |
33 | 26, 29, 31, 32 | syl3anc 1369 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) →
(1...(♯‘(𝐴
∖ (1...𝑁)))) ≈
((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) |
34 | 33 | ensymd 8746 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁))))) |
35 | | fzfi 13620 |
. . . . . . 7
⊢ ((1 +
𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ∈ Fin |
36 | | fzfi 13620 |
. . . . . . 7
⊢
(1...(♯‘(𝐴 ∖ (1...𝑁)))) ∈ Fin |
37 | | hashen 13989 |
. . . . . . 7
⊢ ((((1 +
𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ∈ Fin ∧
(1...(♯‘(𝐴
∖ (1...𝑁)))) ∈
Fin) → ((♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) =
(♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) ↔ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁)))))) |
38 | 35, 36, 37 | mp2an 688 |
. . . . . 6
⊢
((♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) =
(♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) ↔ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁))))) |
39 | 34, 38 | sylibr 233 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘((1 +
𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) =
(♯‘(1...(♯‘(𝐴 ∖ (1...𝑁)))))) |
40 | | hashfz1 13988 |
. . . . . 6
⊢
((♯‘(𝐴
∖ (1...𝑁))) ∈
ℕ0 → (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) = (♯‘(𝐴 ∖ (1...𝑁)))) |
41 | 28, 40 | syl 17 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) →
(♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) = (♯‘(𝐴 ∖ (1...𝑁)))) |
42 | 25, 39, 41 | 3eqtrd 2782 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → (♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘(𝐴 ∖ (1...𝑁)))) |
43 | | fzfi 13620 |
. . . . 5
⊢ ((𝑁 + 1)...(♯‘𝐴)) ∈ Fin |
44 | | hashen 13989 |
. . . . 5
⊢ ((((𝑁 + 1)...(♯‘𝐴)) ∈ Fin ∧ (𝐴 ∖ (1...𝑁)) ∈ Fin) →
((♯‘((𝑁 +
1)...(♯‘𝐴))) =
(♯‘(𝐴 ∖
(1...𝑁))) ↔ ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)))) |
45 | 43, 8, 44 | sylancr 586 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘(𝐴 ∖ (1...𝑁))) ↔ ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)))) |
46 | 42, 45 | mpbid 231 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁))) |
47 | | bren 8701 |
. . 3
⊢ (((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)) ↔ ∃𝑎 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) |
48 | 46, 47 | sylib 217 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ∃𝑎 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) |
49 | | simpl1 1189 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈
ℕ0) |
50 | 49 | nn0zd 12353 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℤ) |
51 | | simpl2 1190 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝐴 ∈ Fin) |
52 | | hashcl 13999 |
. . . . . 6
⊢ (𝐴 ∈ Fin →
(♯‘𝐴) ∈
ℕ0) |
53 | 51, 52 | syl 17 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈
ℕ0) |
54 | 53 | nn0zd 12353 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ ℤ) |
55 | | nn0addge2 12210 |
. . . . . . 7
⊢ ((𝑁 ∈ ℝ ∧
(♯‘(𝐴 ∖
(1...𝑁))) ∈
ℕ0) → 𝑁 ≤ ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) |
56 | 2, 28, 55 | syl2anc 583 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → 𝑁 ≤ ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) |
57 | 56, 23 | breqtrrd 5098 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → 𝑁 ≤ (♯‘𝐴)) |
58 | 57 | adantr 480 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ≤ (♯‘𝐴)) |
59 | | eluz2 12517 |
. . . 4
⊢
((♯‘𝐴)
∈ (ℤ≥‘𝑁) ↔ (𝑁 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑁 ≤ (♯‘𝐴))) |
60 | 50, 54, 58, 59 | syl3anbrc 1341 |
. . 3
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ (ℤ≥‘𝑁)) |
61 | | vex 3426 |
. . . . 5
⊢ 𝑎 ∈ V |
62 | | ovex 7288 |
. . . . . 6
⊢
(1...𝑁) ∈
V |
63 | | resiexg 7735 |
. . . . . 6
⊢
((1...𝑁) ∈ V
→ ( I ↾ (1...𝑁))
∈ V) |
64 | 62, 63 | ax-mp 5 |
. . . . 5
⊢ ( I
↾ (1...𝑁)) ∈
V |
65 | 61, 64 | unex 7574 |
. . . 4
⊢ (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V |
66 | 65 | a1i 11 |
. . 3
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V) |
67 | | simpr 484 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) |
68 | | f1oi 6737 |
. . . . . 6
⊢ ( I
↾ (1...𝑁)):(1...𝑁)–1-1-onto→(1...𝑁) |
69 | 68 | a1i 11 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ( I ↾ (1...𝑁)):(1...𝑁)–1-1-onto→(1...𝑁)) |
70 | | incom 4131 |
. . . . . 6
⊢ (((𝑁 + 1)...(♯‘𝐴)) ∩ (1...𝑁)) = ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) |
71 | 49 | nn0red 12224 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℝ) |
72 | 71 | ltp1d 11835 |
. . . . . . 7
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 < (𝑁 + 1)) |
73 | | fzdisj 13212 |
. . . . . . 7
⊢ (𝑁 < (𝑁 + 1) → ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) = ∅) |
74 | 72, 73 | syl 17 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) = ∅) |
75 | 70, 74 | syl5eq 2791 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (((𝑁 + 1)...(♯‘𝐴)) ∩ (1...𝑁)) = ∅) |
76 | 10 | a1i 11 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅) |
77 | | f1oun 6719 |
. . . . 5
⊢ (((𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)) ∧ ( I ↾ (1...𝑁)):(1...𝑁)–1-1-onto→(1...𝑁)) ∧ ((((𝑁 + 1)...(♯‘𝐴)) ∩ (1...𝑁)) = ∅ ∧ ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅)) → (𝑎 ∪ ( I ↾ (1...𝑁))):(((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁))–1-1-onto→((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) |
78 | 67, 69, 75, 76, 77 | syl22anc 835 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ∪ ( I ↾ (1...𝑁))):(((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁))–1-1-onto→((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) |
79 | | uncom 4083 |
. . . . . 6
⊢ (((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁)) = ((1...𝑁) ∪ ((𝑁 + 1)...(♯‘𝐴))) |
80 | | fzsplit1nn0 40492 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (♯‘𝐴)
∈ ℕ0 ∧ 𝑁 ≤ (♯‘𝐴)) → (1...(♯‘𝐴)) = ((1...𝑁) ∪ ((𝑁 + 1)...(♯‘𝐴)))) |
81 | 49, 53, 58, 80 | syl3anc 1369 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (1...(♯‘𝐴)) = ((1...𝑁) ∪ ((𝑁 + 1)...(♯‘𝐴)))) |
82 | 79, 81 | eqtr4id 2798 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁)) = (1...(♯‘𝐴))) |
83 | | simpl3 1191 |
. . . . . . 7
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (1...𝑁) ⊆ 𝐴) |
84 | 83, 16 | sylib 217 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴) |
85 | 14, 84 | syl5eq 2791 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = 𝐴) |
86 | | f1oeq23 6691 |
. . . . 5
⊢
(((((𝑁 +
1)...(♯‘𝐴))
∪ (1...𝑁)) =
(1...(♯‘𝐴))
∧ ((𝐴 ∖
(1...𝑁)) ∪ (1...𝑁)) = 𝐴) → ((𝑎 ∪ ( I ↾ (1...𝑁))):(((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁))–1-1-onto→((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) ↔ (𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto→𝐴)) |
87 | 82, 85, 86 | syl2anc 583 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ∪ ( I ↾ (1...𝑁))):(((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁))–1-1-onto→((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) ↔ (𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto→𝐴)) |
88 | 78, 87 | mpbid 231 |
. . 3
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto→𝐴) |
89 | | resundir 5895 |
. . . 4
⊢ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁))) |
90 | | dmres 5902 |
. . . . . . . 8
⊢ dom
(𝑎 ↾ (1...𝑁)) = ((1...𝑁) ∩ dom 𝑎) |
91 | | f1odm 6704 |
. . . . . . . . . . 11
⊢ (𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)) → dom 𝑎 = ((𝑁 + 1)...(♯‘𝐴))) |
92 | 91 | adantl 481 |
. . . . . . . . . 10
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → dom 𝑎 = ((𝑁 + 1)...(♯‘𝐴))) |
93 | 92 | ineq2d 4143 |
. . . . . . . . 9
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ dom 𝑎) = ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴)))) |
94 | 93, 74 | eqtrd 2778 |
. . . . . . . 8
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ dom 𝑎) = ∅) |
95 | 90, 94 | syl5eq 2791 |
. . . . . . 7
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → dom (𝑎 ↾ (1...𝑁)) = ∅) |
96 | | relres 5909 |
. . . . . . . 8
⊢ Rel
(𝑎 ↾ (1...𝑁)) |
97 | | reldm0 5826 |
. . . . . . . 8
⊢ (Rel
(𝑎 ↾ (1...𝑁)) → ((𝑎 ↾ (1...𝑁)) = ∅ ↔ dom (𝑎 ↾ (1...𝑁)) = ∅)) |
98 | 96, 97 | ax-mp 5 |
. . . . . . 7
⊢ ((𝑎 ↾ (1...𝑁)) = ∅ ↔ dom (𝑎 ↾ (1...𝑁)) = ∅) |
99 | 95, 98 | sylibr 233 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ↾ (1...𝑁)) = ∅) |
100 | | residm 5913 |
. . . . . . 7
⊢ (( I
↾ (1...𝑁)) ↾
(1...𝑁)) = ( I ↾
(1...𝑁)) |
101 | 100 | a1i 11 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (( I ↾ (1...𝑁)) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) |
102 | 99, 101 | uneq12d 4094 |
. . . . 5
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁))) = (∅ ∪ ( I ↾ (1...𝑁)))) |
103 | | uncom 4083 |
. . . . . 6
⊢ (∅
∪ ( I ↾ (1...𝑁)))
= (( I ↾ (1...𝑁))
∪ ∅) |
104 | | un0 4321 |
. . . . . 6
⊢ (( I
↾ (1...𝑁)) ∪
∅) = ( I ↾ (1...𝑁)) |
105 | 103, 104 | eqtri 2766 |
. . . . 5
⊢ (∅
∪ ( I ↾ (1...𝑁)))
= ( I ↾ (1...𝑁)) |
106 | 102, 105 | eqtrdi 2795 |
. . . 4
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁))) = ( I ↾ (1...𝑁))) |
107 | 89, 106 | syl5eq 2791 |
. . 3
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) |
108 | | oveq2 7263 |
. . . . . 6
⊢ (𝑑 = (♯‘𝐴) → (1...𝑑) = (1...(♯‘𝐴))) |
109 | 108 | f1oeq2d 6696 |
. . . . 5
⊢ (𝑑 = (♯‘𝐴) → (𝑒:(1...𝑑)–1-1-onto→𝐴 ↔ 𝑒:(1...(♯‘𝐴))–1-1-onto→𝐴)) |
110 | 109 | anbi1d 629 |
. . . 4
⊢ (𝑑 = (♯‘𝐴) → ((𝑒:(1...𝑑)–1-1-onto→𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) ↔ (𝑒:(1...(♯‘𝐴))–1-1-onto→𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))) |
111 | | f1oeq1 6688 |
. . . . 5
⊢ (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → (𝑒:(1...(♯‘𝐴))–1-1-onto→𝐴 ↔ (𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto→𝐴)) |
112 | | reseq1 5874 |
. . . . . 6
⊢ (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → (𝑒 ↾ (1...𝑁)) = ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁))) |
113 | 112 | eqeq1d 2740 |
. . . . 5
⊢ (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → ((𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)) ↔ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))) |
114 | 111, 113 | anbi12d 630 |
. . . 4
⊢ (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → ((𝑒:(1...(♯‘𝐴))–1-1-onto→𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) ↔ ((𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto→𝐴 ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))) |
115 | 110, 114 | rspc2ev 3564 |
. . 3
⊢
(((♯‘𝐴)
∈ (ℤ≥‘𝑁) ∧ (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto→𝐴 ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))) → ∃𝑑 ∈ (ℤ≥‘𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto→𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))) |
116 | 60, 66, 88, 107, 115 | syl112anc 1372 |
. 2
⊢ (((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ∃𝑑 ∈ (ℤ≥‘𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto→𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))) |
117 | 48, 116 | exlimddv 1939 |
1
⊢ ((𝑁 ∈ ℕ0
∧ 𝐴 ∈ Fin ∧
(1...𝑁) ⊆ 𝐴) → ∃𝑑 ∈
(ℤ≥‘𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto→𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))) |