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 40589
Description: Lemma for eldioph2 40591. 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 12251 . . . . . . . . . 10 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
213ad2ant1 1132 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℝ)
32recnd 11012 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℂ)
4 ax-1cn 10938 . . . . . . . 8 1 ∈ ℂ
5 addcom 11170 . . . . . . . 8 ((𝑁 ∈ ℂ ∧ 1 ∈ ℂ) → (𝑁 + 1) = (1 + 𝑁))
63, 4, 5sylancl 586 . . . . . . 7 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (𝑁 + 1) = (1 + 𝑁))
7 diffi 8971 . . . . . . . . . 10 (𝐴 ∈ Fin → (𝐴 ∖ (1...𝑁)) ∈ Fin)
873ad2ant2 1133 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (𝐴 ∖ (1...𝑁)) ∈ Fin)
9 fzfid 13702 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (1...𝑁) ∈ Fin)
10 disjdifr 4407 . . . . . . . . . 10 ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅
1110a1i 11 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅)
12 hashun 14106 . . . . . . . . 9 (((𝐴 ∖ (1...𝑁)) ∈ Fin ∧ (1...𝑁) ∈ Fin ∧ ((𝐴 ∖ (1...𝑁)) ∩ (1...𝑁)) = ∅) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁))))
138, 9, 11, 12syl3anc 1370 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁))))
14 uncom 4088 . . . . . . . . . 10 ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁)))
15 simp3 1137 . . . . . . . . . . 11 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (1...𝑁) ⊆ 𝐴)
16 undif 4416 . . . . . . . . . . 11 ((1...𝑁) ⊆ 𝐴 ↔ ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴)
1715, 16sylib 217 . . . . . . . . . 10 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((1...𝑁) ∪ (𝐴 ∖ (1...𝑁))) = 𝐴)
1814, 17eqtrid 2791 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = 𝐴)
1918fveq2d 6787 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁))) = (♯‘𝐴))
20 hashfz1 14069 . . . . . . . . . 10 (𝑁 ∈ ℕ0 → (♯‘(1...𝑁)) = 𝑁)
21203ad2ant1 1132 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(1...𝑁)) = 𝑁)
2221oveq2d 7300 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((♯‘(𝐴 ∖ (1...𝑁))) + (♯‘(1...𝑁))) = ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
2313, 19, 223eqtr3d 2787 . . . . . . 7 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘𝐴) = ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
246, 23oveq12d 7302 . . . . . 6 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝑁 + 1)...(♯‘𝐴)) = ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))
2524fveq2d 6787 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))))
26 1zzd 12360 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 1 ∈ ℤ)
27 hashcl 14080 . . . . . . . . . 10 ((𝐴 ∖ (1...𝑁)) ∈ Fin → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0)
288, 27syl 17 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0)
2928nn0zd 12433 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℤ)
30 nn0z 12352 . . . . . . . . 9 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
31303ad2ant1 1132 . . . . . . . 8 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ∈ ℤ)
32 fzen 13282 . . . . . . . 8 ((1 ∈ ℤ ∧ (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (1...(♯‘(𝐴 ∖ (1...𝑁)))) ≈ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))
3326, 29, 31, 32syl3anc 1370 . . . . . . 7 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (1...(♯‘(𝐴 ∖ (1...𝑁)))) ≈ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)))
3433ensymd 8800 . . . . . 6 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁)))))
35 fzfi 13701 . . . . . . 7 ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ∈ Fin
36 fzfi 13701 . . . . . . 7 (1...(♯‘(𝐴 ∖ (1...𝑁)))) ∈ Fin
37 hashen 14070 . . . . . . 7 ((((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ∈ Fin ∧ (1...(♯‘(𝐴 ∖ (1...𝑁)))) ∈ Fin) → ((♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) = (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) ↔ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁))))))
3835, 36, 37mp2an 689 . . . . . 6 ((♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) = (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) ↔ ((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁)) ≈ (1...(♯‘(𝐴 ∖ (1...𝑁)))))
3934, 38sylibr 233 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((1 + 𝑁)...((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))) = (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))))
40 hashfz1 14069 . . . . . 6 ((♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0 → (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) = (♯‘(𝐴 ∖ (1...𝑁))))
4128, 40syl 17 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘(1...(♯‘(𝐴 ∖ (1...𝑁))))) = (♯‘(𝐴 ∖ (1...𝑁))))
4225, 39, 413eqtrd 2783 . . . 4 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → (♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘(𝐴 ∖ (1...𝑁))))
43 fzfi 13701 . . . . 5 ((𝑁 + 1)...(♯‘𝐴)) ∈ Fin
44 hashen 14070 . . . . 5 ((((𝑁 + 1)...(♯‘𝐴)) ∈ Fin ∧ (𝐴 ∖ (1...𝑁)) ∈ Fin) → ((♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘(𝐴 ∖ (1...𝑁))) ↔ ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁))))
4543, 8, 44sylancr 587 . . . 4 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((♯‘((𝑁 + 1)...(♯‘𝐴))) = (♯‘(𝐴 ∖ (1...𝑁))) ↔ ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁))))
4642, 45mpbid 231 . . 3 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)))
47 bren 8752 . . 3 (((𝑁 + 1)...(♯‘𝐴)) ≈ (𝐴 ∖ (1...𝑁)) ↔ ∃𝑎 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)))
4846, 47sylib 217 . 2 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → ∃𝑎 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)))
49 simpl1 1190 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℕ0)
5049nn0zd 12433 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℤ)
51 simpl2 1191 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝐴 ∈ Fin)
52 hashcl 14080 . . . . . 6 (𝐴 ∈ Fin → (♯‘𝐴) ∈ ℕ0)
5351, 52syl 17 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ ℕ0)
5453nn0zd 12433 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ ℤ)
55 nn0addge2 12289 . . . . . . 7 ((𝑁 ∈ ℝ ∧ (♯‘(𝐴 ∖ (1...𝑁))) ∈ ℕ0) → 𝑁 ≤ ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
562, 28, 55syl2anc 584 . . . . . 6 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ≤ ((♯‘(𝐴 ∖ (1...𝑁))) + 𝑁))
5756, 23breqtrrd 5103 . . . . 5 ((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) → 𝑁 ≤ (♯‘𝐴))
5857adantr 481 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ≤ (♯‘𝐴))
59 eluz2 12597 . . . 4 ((♯‘𝐴) ∈ (ℤ𝑁) ↔ (𝑁 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑁 ≤ (♯‘𝐴)))
6050, 54, 58, 59syl3anbrc 1342 . . 3 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (♯‘𝐴) ∈ (ℤ𝑁))
61 vex 3437 . . . . 5 𝑎 ∈ V
62 ovex 7317 . . . . . 6 (1...𝑁) ∈ V
63 resiexg 7770 . . . . . 6 ((1...𝑁) ∈ V → ( I ↾ (1...𝑁)) ∈ V)
6462, 63ax-mp 5 . . . . 5 ( I ↾ (1...𝑁)) ∈ V
6561, 64unex 7605 . . . 4 (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V
6665a1i 11 . . 3 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ∪ ( I ↾ (1...𝑁))) ∈ V)
67 simpr 485 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)))
68 f1oi 6763 . . . . . 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 4136 . . . . . 6 (((𝑁 + 1)...(♯‘𝐴)) ∩ (1...𝑁)) = ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴)))
7149nn0red 12303 . . . . . . . 8 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 ∈ ℝ)
7271ltp1d 11914 . . . . . . 7 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → 𝑁 < (𝑁 + 1))
73 fzdisj 13292 . . . . . . 7 (𝑁 < (𝑁 + 1) → ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) = ∅)
7472, 73syl 17 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))) = ∅)
7570, 74eqtrid 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 6744 . . . . 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 836 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (𝑎 ∪ ( I ↾ (1...𝑁))):(((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁))–1-1-onto→((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)))
79 uncom 4088 . . . . . 6 (((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁)) = ((1...𝑁) ∪ ((𝑁 + 1)...(♯‘𝐴)))
80 fzsplit1nn0 40583 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (♯‘𝐴) ∈ ℕ0𝑁 ≤ (♯‘𝐴)) → (1...(♯‘𝐴)) = ((1...𝑁) ∪ ((𝑁 + 1)...(♯‘𝐴))))
8149, 53, 58, 80syl3anc 1370 . . . . . 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 1192 . . . . . . 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, 84eqtrid 2791 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = 𝐴)
86 f1oeq23 6716 . . . . 5 (((((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁)) = (1...(♯‘𝐴)) ∧ ((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) = 𝐴) → ((𝑎 ∪ ( I ↾ (1...𝑁))):(((𝑁 + 1)...(♯‘𝐴)) ∪ (1...𝑁))–1-1-onto→((𝐴 ∖ (1...𝑁)) ∪ (1...𝑁)) ↔ (𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto𝐴))
8782, 85, 86syl2anc 584 . . . 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 5909 . . . 4 ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁)))
90 dmres 5916 . . . . . . . 8 dom (𝑎 ↾ (1...𝑁)) = ((1...𝑁) ∩ dom 𝑎)
91 f1odm 6729 . . . . . . . . . . 11 (𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁)) → dom 𝑎 = ((𝑁 + 1)...(♯‘𝐴)))
9291adantl 482 . . . . . . . . . 10 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → dom 𝑎 = ((𝑁 + 1)...(♯‘𝐴)))
9392ineq2d 4147 . . . . . . . . 9 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ dom 𝑎) = ((1...𝑁) ∩ ((𝑁 + 1)...(♯‘𝐴))))
9493, 74eqtrd 2779 . . . . . . . 8 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((1...𝑁) ∩ dom 𝑎) = ∅)
9590, 94eqtrid 2791 . . . . . . 7 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → dom (𝑎 ↾ (1...𝑁)) = ∅)
96 relres 5923 . . . . . . . 8 Rel (𝑎 ↾ (1...𝑁))
97 reldm0 5840 . . . . . . . 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 5927 . . . . . . 7 (( I ↾ (1...𝑁)) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))
101100a1i 11 . . . . . 6 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → (( I ↾ (1...𝑁)) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))
10299, 101uneq12d 4099 . . . . 5 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁))) = (∅ ∪ ( I ↾ (1...𝑁))))
103 uncom 4088 . . . . . 6 (∅ ∪ ( I ↾ (1...𝑁))) = (( I ↾ (1...𝑁)) ∪ ∅)
104 un0 4325 . . . . . 6 (( I ↾ (1...𝑁)) ∪ ∅) = ( I ↾ (1...𝑁))
105103, 104eqtri 2767 . . . . 5 (∅ ∪ ( I ↾ (1...𝑁))) = ( I ↾ (1...𝑁))
106102, 105eqtrdi 2795 . . . 4 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ↾ (1...𝑁)) ∪ (( I ↾ (1...𝑁)) ↾ (1...𝑁))) = ( I ↾ (1...𝑁)))
10789, 106eqtrid 2791 . . 3 (((𝑁 ∈ ℕ0𝐴 ∈ Fin ∧ (1...𝑁) ⊆ 𝐴) ∧ 𝑎:((𝑁 + 1)...(♯‘𝐴))–1-1-onto→(𝐴 ∖ (1...𝑁))) → ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))
108 oveq2 7292 . . . . . 6 (𝑑 = (♯‘𝐴) → (1...𝑑) = (1...(♯‘𝐴)))
109108f1oeq2d 6721 . . . . 5 (𝑑 = (♯‘𝐴) → (𝑒:(1...𝑑)–1-1-onto𝐴𝑒:(1...(♯‘𝐴))–1-1-onto𝐴))
110109anbi1d 630 . . . 4 (𝑑 = (♯‘𝐴) → ((𝑒:(1...𝑑)–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) ↔ (𝑒:(1...(♯‘𝐴))–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))))
111 f1oeq1 6713 . . . . 5 (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → (𝑒:(1...(♯‘𝐴))–1-1-onto𝐴 ↔ (𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto𝐴))
112 reseq1 5888 . . . . . 6 (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → (𝑒 ↾ (1...𝑁)) = ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)))
113112eqeq1d 2741 . . . . 5 (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → ((𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁)) ↔ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁))))
114111, 113anbi12d 631 . . . 4 (𝑒 = (𝑎 ∪ ( I ↾ (1...𝑁))) → ((𝑒:(1...(♯‘𝐴))–1-1-onto𝐴 ∧ (𝑒 ↾ (1...𝑁)) = ( I ↾ (1...𝑁))) ↔ ((𝑎 ∪ ( I ↾ (1...𝑁))):(1...(♯‘𝐴))–1-1-onto𝐴 ∧ ((𝑎 ∪ ( I ↾ (1...𝑁))) ↾ (1...𝑁)) = ( I ↾ (1...𝑁)))))
115110, 114rspc2ev 3573 . . 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 1373 . 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 396  w3a 1086   = wceq 1539  wex 1782  wcel 2107  wrex 3066  Vcvv 3433  cdif 3885  cun 3886  cin 3887  wss 3888  c0 4257   class class class wbr 5075   I cid 5489  dom cdm 5590  cres 5592  Rel wrel 5595  1-1-ontowf1o 6436  cfv 6437  (class class class)co 7284  cen 8739  Fincfn 8742  cc 10878  cr 10879  1c1 10881   + caddc 10883   < clt 11018  cle 11019  0cn0 12242  cz 12328  cuz 12591  ...cfz 13248  chash 14053
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597  ax-cnex 10936  ax-resscn 10937  ax-1cn 10938  ax-icn 10939  ax-addcl 10940  ax-addrcl 10941  ax-mulcl 10942  ax-mulrcl 10943  ax-mulcom 10944  ax-addass 10945  ax-mulass 10946  ax-distr 10947  ax-i2m1 10948  ax-1ne0 10949  ax-1rid 10950  ax-rnegex 10951  ax-rrecex 10952  ax-cnre 10953  ax-pre-lttri 10954  ax-pre-lttrn 10955  ax-pre-ltadd 10956  ax-pre-mulgt0 10957
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-int 4881  df-iun 4927  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-riota 7241  df-ov 7287  df-oprab 7288  df-mpo 7289  df-om 7722  df-1st 7840  df-2nd 7841  df-frecs 8106  df-wrecs 8137  df-recs 8211  df-rdg 8250  df-1o 8306  df-oadd 8310  df-er 8507  df-en 8743  df-dom 8744  df-sdom 8745  df-fin 8746  df-dju 9668  df-card 9706  df-pnf 11020  df-mnf 11021  df-xr 11022  df-ltxr 11023  df-le 11024  df-sub 11216  df-neg 11217  df-nn 11983  df-n0 12243  df-z 12329  df-uz 12592  df-fz 13249  df-hash 14054
This theorem is referenced by:  eldioph2  40591
  Copyright terms: Public domain W3C validator