Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eldioph2lem1 Structured version   Visualization version   GIF version

Theorem eldioph2lem1 40498
Description: Lemma for eldioph2 40500. Construct necessary renaming function for one direction. (Contributed by Stefan O'Rear, 8-Oct-2014.)
Assertion
Ref Expression
eldioph2lem1 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ∃𝑑 ∈ (ℤ𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))
Distinct variable groups:   𝐴,𝑑,𝑒   𝑁,𝑑,𝑒

Proof of Theorem eldioph2lem1
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 nn0re 12172 . . . . . . . . . 10 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
213ad2ant1 1131 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℝ)
32recnd 10934 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℂ)
4 ax-1cn 10860 . . . . . . . 8 1 ∈ ℂ
5 addcom 11091 . . . . . . . 8 ((𝑁 ∈ ℂ ∧ 1 ∈ ℂ) → (𝑁 + 1) = (1 + 𝑁))
63, 4, 5sylancl 585 . . . . . . 7 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (𝑁 + 1) = (1 + 𝑁))
7 diffi 8979 . . . . . . . . . 10 (𝐴 ∈ Fin → (𝐴 ∖ (1...𝑁)) ∈ Fin)
873ad2ant2 1132 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (𝐴 ∖ (1...𝑁)) ∈ Fin)
9 fzfid 13621 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (1...𝑁) ∈ Fin)
10 disjdifr 4403 . . . . . . . . . 10 ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅
1110a1i 11 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅)
12 hashun 14025 . . . . . . . . 9 (((𝐴 ∖ (1...𝑁)) ∈ Fin ∧ (1...𝑁) ∈ Fin ∧ ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁))))
138, 9, 11, 12syl3anc 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...𝑁))) = 𝐴)
1715, 16sylib 217 . . . . . . . . . 10 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴)
1814, 17syl5eq 2791 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = 𝐴)
1918fveq2d 6760 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = (♯‘𝐴))
20 hashfz1 13988 . . . . . . . . . 10 (𝑁 ∈ ℕ0 → (♯‘(1...𝑁)) = 𝑁)
21203ad2ant1 1131 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(1...𝑁)) = 𝑁)
2221oveq2d 7271 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
2313, 19, 223eqtr3d 2786 . . . . . . 7 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘𝐴) = ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
246, 23oveq12d 7273 . . . . . 6 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝑁 + 1)...(♯‘𝐴)) = ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))
2524fveq2d 6760 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))))
26 1zzd 12281 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 1 ∈ ℤ)
27 hashcl 13999 . . . . . . . . . 10 ((𝐴 ∖ (1...𝑁)) ∈ Fin → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0)
288, 27syl 17 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0)
2928nn0zd 12353 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℤ)
30 nn0z 12273 . . . . . . . . 9 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
31303ad2ant1 1131 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℤ)
32 fzen 13202 . . . . . . . 8 ((1 ∈ ℤ ∧ (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (1...(♯‘(𝐴 ∖ (1...𝑁)))) ≈ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))
3326, 29, 31, 32syl3anc 1369 . . . . . . 7 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (1...(♯‘(𝐴 ∖ (1...𝑁)))) ≈ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))
3433ensymd 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...𝑁))))))
3835, 36, 37mp2an 688 . . . . . 6 ((♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) = (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) ↔ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁)))))
3934, 38sylibr 233 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) = (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))))
40 hashfz1 13988 . . . . . 6 ((♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0 → (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) = (♯‘(𝐴 ∖ (1...𝑁))))
4128, 40syl 17 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) = (♯‘(𝐴 ∖ (1...𝑁))))
4225, 39, 413eqtrd 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...𝑁))))
4543, 8, 44sylancr 586 . . . 4 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘(𝐴 ∖ (1...𝑁))) ↔ ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁))))
4642, 45mpbid 231 . . 3 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)))
47 bren 8701 . . 3 (((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)) ↔ ∃𝑎 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)))
4846, 47sylib 217 . 2 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ∃𝑎 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)))
49 simpl1 1189 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℕ0)
5049nn0zd 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)
5351, 52syl 17 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ ℕ0)
5453nn0zd 12353 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ ℤ)
55 nn0addge2 12210 . . . . . . 7 ((𝑁 ∈ ℝ ∧ (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0) → 𝑁 ≤ ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
562, 28, 55syl2anc 583 . . . . . 6 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ≤ ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
5756, 23breqtrrd 5098 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ≤ (♯‘𝐴))
5857adantr 480 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ≤ (♯‘𝐴))
59 eluz2 12517 . . . 4 ((♯‘𝐴) ∈ (ℤ𝑁) ↔ (𝑁 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑁 ≤ (♯‘𝐴)))
6050, 54, 58, 59syl3anbrc 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)
6462, 63ax-mp 5 . . . . 5 ( I ↾ (1...𝑁)) ∈ V
6561, 64unex 7574 . . . 4 (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V
6665a1i 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...𝑁)
6968a1i 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)...(♯‘𝐴)))
7149nn0red 12224 . . . . . . . 8 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℝ)
7271ltp1d 11835 . . . . . . 7 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 < (𝑁 + 1))
73 fzdisj 13212 . . . . . . 7 (𝑁 < (𝑁 + 1) → ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) = ∅)
7472, 73syl 17 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) = ∅)
7570, 74syl5eq 2791 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (((𝑁 + 1)...(♯‘𝐴)) ∩ (1...𝑁)) = ∅)
7610a1i 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...𝑁)))
7867, 69, 75, 76, 77syl22anc 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)...(♯‘𝐴))))
8149, 53, 58, 80syl3anc 1369 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (1...(♯‘𝐴)) = ((1...𝑁) ∪ ((𝑁 + 1)...(♯‘𝐴))))
8279, 81eqtr4id 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...𝑁) ⊆ 𝐴)
8483, 16sylib 217 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴)
8514, 84syl5eq 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𝐴))
8782, 85, 86syl2anc 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𝐴))
8878, 87mpbid 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)...(♯‘𝐴)))
9291adantl 481 . . . . . . . . . 10 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → dom 𝑎 = ((𝑁 + 1)...(♯‘𝐴)))
9392ineq2d 4143 . . . . . . . . 9 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ dom 𝑎) = ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))))
9493, 74eqtrd 2778 . . . . . . . 8 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ dom 𝑎) = ∅)
9590, 94syl5eq 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...𝑁)) = ∅))
9896, 97ax-mp 5 . . . . . . 7 ((𝑎 ↾ (1...𝑁)) = ∅ ↔ dom (𝑎 ↾ (1...𝑁)) = ∅)
9995, 98sylibr 233 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ↾ (1...𝑁)) = ∅)
100 residm 5913 . . . . . . 7 (( I ↾ (1...𝑁)) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))
101100a1i 11 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (( I ↾ (1...𝑁)) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))
10299, 101uneq12d 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...𝑁))
105103, 104eqtri 2766 . . . . 5 (∅ ∪ ( I ↾ (1...𝑁))) = ( I ↾ (1...𝑁))
106102, 105eqtrdi 2795 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁))) = ( I ↾ (1...𝑁)))
10789, 106syl5eq 2791 . . 3 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))
108 oveq2 7263 . . . . . 6 (𝑑 = (♯‘𝐴) → (1...𝑑) = (1...(♯‘𝐴)))
109108f1oeq2d 6696 . . . . 5 (𝑑 = (♯‘𝐴) → (𝑒:(1...𝑑)–1-1-onto𝐴𝑒:(1...(♯‘𝐴))–1-1-onto𝐴))
110109anbi1d 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...𝑁)))
113112eqeq1d 2740 . . . . 5 (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → ((𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)) ↔ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))
114111, 113anbi12d 630 . . . 4 (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → ((𝑒:(1...(♯‘𝐴))–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) ↔ ((𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto𝐴 ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))))
115110, 114rspc2ev 3564 . . 3 (((♯‘𝐴) ∈ (ℤ𝑁) ∧ (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto𝐴 ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))) → ∃𝑑 ∈ (ℤ𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))
11660, 66, 88, 107, 115syl112anc 1372 . 2 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ∃𝑑 ∈ (ℤ𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))
11748, 116exlimddv 1939 1 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ∃𝑑 ∈ (ℤ𝑁)∃𝑒 ∈ V (𝑒:(1...𝑑)–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wex 1783  wcel 2108  wrex 3064  Vcvv 3422  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253   class class class wbr 5070   I cid 5479  dom cdm 5580  cres 5582  Rel wrel 5585  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  cen 8688  Fincfn 8691  cc 10800  cr 10801  1c1 10803   + caddc 10805   < clt 10940  cle 10941  0cn0 12163  cz 12249  cuz 12511  ...cfz 13168  chash 13972
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-oadd 8271  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-dju 9590  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-hash 13973
This theorem is referenced by:  eldioph2  40500
  Copyright terms: Public domain W3C validator