Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  padct Structured version   Visualization version   GIF version

Theorem padct 31054
Description: Index a countable set with integers and pad with 𝑍. (Contributed by Thierry Arnoux, 1-Jun-2020.)
Assertion
Ref Expression
padct ((𝐴 ≼ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
Distinct variable groups:   𝐴,𝑓   𝑓,𝑉   𝑓,𝑍

Proof of Theorem padct
Dummy variables 𝑔 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 brdom2 8770 . 2 (𝐴 ≼ ω ↔ (𝐴 ≺ ω ∨ 𝐴 ≈ ω))
2 nfv 1917 . . . . . 6 𝑔(𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴)
3 nfv 1917 . . . . . 6 𝑔𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))
4 isfinite2 9072 . . . . . . . . . 10 (𝐴 ≺ ω → 𝐴 ∈ Fin)
5 isfinite4 14077 . . . . . . . . . 10 (𝐴 ∈ Fin ↔ (1...(♯‘𝐴)) ≈ 𝐴)
64, 5sylib 217 . . . . . . . . 9 (𝐴 ≺ ω → (1...(♯‘𝐴)) ≈ 𝐴)
76adantr 481 . . . . . . . 8 ((𝐴 ≺ ω ∧ 𝑍𝑉) → (1...(♯‘𝐴)) ≈ 𝐴)
8 bren 8743 . . . . . . . 8 ((1...(♯‘𝐴)) ≈ 𝐴 ↔ ∃𝑔 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
97, 8sylib 217 . . . . . . 7 ((𝐴 ≺ ω ∧ 𝑍𝑉) → ∃𝑔 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
1093adant3 1131 . . . . . 6 ((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑔 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
11 f1of 6716 . . . . . . . . . . . 12 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴𝑔:(1...(♯‘𝐴))⟶𝐴)
1211adantl 482 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑔:(1...(♯‘𝐴))⟶𝐴)
13 fconstmpt 5649 . . . . . . . . . . . . 13 ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍}) = (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)
1413eqcomi 2747 . . . . . . . . . . . 12 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍})
15 simplr 766 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑍𝑉)
16 fconst2g 7078 . . . . . . . . . . . . 13 (𝑍𝑉 → ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍):(ℕ ∖ (1...(♯‘𝐴)))⟶{𝑍} ↔ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍})))
1715, 16syl 17 . . . . . . . . . . . 12 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍):(ℕ ∖ (1...(♯‘𝐴)))⟶{𝑍} ↔ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍})))
1814, 17mpbiri 257 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍):(ℕ ∖ (1...(♯‘𝐴)))⟶{𝑍})
19 disjdif 4405 . . . . . . . . . . . 12 ((1...(♯‘𝐴)) ∩ (ℕ ∖ (1...(♯‘𝐴)))) = ∅
2019a1i 11 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((1...(♯‘𝐴)) ∩ (ℕ ∖ (1...(♯‘𝐴)))) = ∅)
21 fun 6636 . . . . . . . . . . 11 (((𝑔:(1...(♯‘𝐴))⟶𝐴 ∧ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍):(ℕ ∖ (1...(♯‘𝐴)))⟶{𝑍}) ∧ ((1...(♯‘𝐴)) ∩ (ℕ ∖ (1...(♯‘𝐴)))) = ∅) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴))))⟶(𝐴 ∪ {𝑍}))
2212, 18, 20, 21syl21anc 835 . . . . . . . . . 10 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴))))⟶(𝐴 ∪ {𝑍}))
23 fz1ssnn 13287 . . . . . . . . . . . 12 (1...(♯‘𝐴)) ⊆ ℕ
24 undif 4415 . . . . . . . . . . . 12 ((1...(♯‘𝐴)) ⊆ ℕ ↔ ((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴)))) = ℕ)
2523, 24mpbi 229 . . . . . . . . . . 11 ((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴)))) = ℕ
2625feq2i 6592 . . . . . . . . . 10 ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴))))⟶(𝐴 ∪ {𝑍}) ↔ (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}))
2722, 26sylib 217 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}))
28273adantl3 1167 . . . . . . . 8 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}))
29 ssid 3943 . . . . . . . . . . . . 13 𝐴𝐴
30 simpr 485 . . . . . . . . . . . . . 14 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
31 f1ofo 6723 . . . . . . . . . . . . . 14 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴𝑔:(1...(♯‘𝐴))–onto𝐴)
32 forn 6691 . . . . . . . . . . . . . 14 (𝑔:(1...(♯‘𝐴))–onto𝐴 → ran 𝑔 = 𝐴)
3330, 31, 323syl 18 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ran 𝑔 = 𝐴)
3429, 33sseqtrrid 3974 . . . . . . . . . . . 12 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ ran 𝑔)
3534orcd 870 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝐴 ⊆ ran 𝑔𝐴 ⊆ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
36 ssun 4123 . . . . . . . . . . 11 ((𝐴 ⊆ ran 𝑔𝐴 ⊆ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → 𝐴 ⊆ (ran 𝑔 ∪ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
3735, 36syl 17 . . . . . . . . . 10 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ (ran 𝑔 ∪ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
38 rnun 6049 . . . . . . . . . 10 ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) = (ran 𝑔 ∪ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍))
3937, 38sseqtrrdi 3972 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
40393adantl3 1167 . . . . . . . 8 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
41 dff1o3 6722 . . . . . . . . . . 11 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 ↔ (𝑔:(1...(♯‘𝐴))–onto𝐴 ∧ Fun 𝑔))
4241simprbi 497 . . . . . . . . . 10 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 → Fun 𝑔)
4342adantl 482 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → Fun 𝑔)
44 cnvun 6046 . . . . . . . . . . . . 13 (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) = (𝑔(𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍))
4544reseq1i 5887 . . . . . . . . . . . 12 ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = ((𝑔(𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴)
46 resundir 5906 . . . . . . . . . . . 12 ((𝑔(𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴))
4745, 46eqtri 2766 . . . . . . . . . . 11 ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴))
48 dff1o4 6724 . . . . . . . . . . . . . . . 16 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 ↔ (𝑔 Fn (1...(♯‘𝐴)) ∧ 𝑔 Fn 𝐴))
4948simprbi 497 . . . . . . . . . . . . . . 15 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴𝑔 Fn 𝐴)
50 fnresdm 6551 . . . . . . . . . . . . . . 15 (𝑔 Fn 𝐴 → (𝑔𝐴) = 𝑔)
5149, 50syl 17 . . . . . . . . . . . . . 14 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 → (𝑔𝐴) = 𝑔)
5251adantl 482 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔𝐴) = 𝑔)
53 simpl3 1192 . . . . . . . . . . . . . 14 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ¬ 𝑍𝐴)
5414cnveqi 5783 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍})
55 cnvxp 6060 . . . . . . . . . . . . . . . . 17 ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍}) = ({𝑍} × (ℕ ∖ (1...(♯‘𝐴))))
5654, 55eqtri 2766 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ({𝑍} × (ℕ ∖ (1...(♯‘𝐴))))
5756reseq1i 5887 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴) = (({𝑍} × (ℕ ∖ (1...(♯‘𝐴)))) ↾ 𝐴)
58 incom 4135 . . . . . . . . . . . . . . . . 17 (𝐴 ∩ {𝑍}) = ({𝑍} ∩ 𝐴)
59 disjsn 4647 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∩ {𝑍}) = ∅ ↔ ¬ 𝑍𝐴)
6059biimpri 227 . . . . . . . . . . . . . . . . 17 𝑍𝐴 → (𝐴 ∩ {𝑍}) = ∅)
6158, 60eqtr3id 2792 . . . . . . . . . . . . . . . 16 𝑍𝐴 → ({𝑍} ∩ 𝐴) = ∅)
62 xpdisjres 30937 . . . . . . . . . . . . . . . 16 (({𝑍} ∩ 𝐴) = ∅ → (({𝑍} × (ℕ ∖ (1...(♯‘𝐴)))) ↾ 𝐴) = ∅)
6361, 62syl 17 . . . . . . . . . . . . . . 15 𝑍𝐴 → (({𝑍} × (ℕ ∖ (1...(♯‘𝐴)))) ↾ 𝐴) = ∅)
6457, 63eqtrid 2790 . . . . . . . . . . . . . 14 𝑍𝐴 → ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴) = ∅)
6553, 64syl 17 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴) = ∅)
6652, 65uneq12d 4098 . . . . . . . . . . . 12 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴)) = (𝑔 ∪ ∅))
67 un0 4324 . . . . . . . . . . . 12 (𝑔 ∪ ∅) = 𝑔
6866, 67eqtrdi 2794 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴)) = 𝑔)
6947, 68eqtrid 2790 . . . . . . . . . 10 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = 𝑔)
7069funeqd 6456 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) ↔ Fun 𝑔))
7143, 70mpbird 256 . . . . . . . 8 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴))
72 vex 3436 . . . . . . . . . 10 𝑔 ∈ V
73 nnex 11979 . . . . . . . . . . . 12 ℕ ∈ V
74 difexg 5251 . . . . . . . . . . . 12 (ℕ ∈ V → (ℕ ∖ (1...(♯‘𝐴))) ∈ V)
7573, 74ax-mp 5 . . . . . . . . . . 11 (ℕ ∖ (1...(♯‘𝐴))) ∈ V
7675mptex 7099 . . . . . . . . . 10 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ∈ V
7772, 76unex 7596 . . . . . . . . 9 (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ∈ V
78 feq1 6581 . . . . . . . . . 10 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ↔ (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍})))
79 rneq 5845 . . . . . . . . . . 11 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → ran 𝑓 = ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
8079sseq2d 3953 . . . . . . . . . 10 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (𝐴 ⊆ ran 𝑓𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍))))
81 cnveq 5782 . . . . . . . . . . . 12 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → 𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
82 eqidd 2739 . . . . . . . . . . . 12 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → 𝐴 = 𝐴)
8381, 82reseq12d 5892 . . . . . . . . . . 11 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (𝑓𝐴) = ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴))
8483funeqd 6456 . . . . . . . . . 10 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (Fun (𝑓𝐴) ↔ Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴)))
8578, 80, 843anbi123d 1435 . . . . . . . . 9 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → ((𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)) ↔ ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ∧ Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴))))
8677, 85spcev 3545 . . . . . . . 8 (((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ∧ Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴)) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
8728, 40, 71, 86syl3anc 1370 . . . . . . 7 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
8887ex 413 . . . . . 6 ((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
892, 3, 10, 88exlimimdd 2212 . . . . 5 ((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
90893expia 1120 . . . 4 ((𝐴 ≺ ω ∧ 𝑍𝑉) → (¬ 𝑍𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
91 nnenom 13700 . . . . . . . 8 ℕ ≈ ω
92 simpl 483 . . . . . . . . 9 ((𝐴 ≈ ω ∧ 𝑍𝑉) → 𝐴 ≈ ω)
9392ensymd 8791 . . . . . . . 8 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ω ≈ 𝐴)
94 entr 8792 . . . . . . . 8 ((ℕ ≈ ω ∧ ω ≈ 𝐴) → ℕ ≈ 𝐴)
9591, 93, 94sylancr 587 . . . . . . 7 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ℕ ≈ 𝐴)
96 bren 8743 . . . . . . 7 (ℕ ≈ 𝐴 ↔ ∃𝑓 𝑓:ℕ–1-1-onto𝐴)
9795, 96sylib 217 . . . . . 6 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ∃𝑓 𝑓:ℕ–1-1-onto𝐴)
98 nfv 1917 . . . . . . 7 𝑓(𝐴 ≈ ω ∧ 𝑍𝑉)
99 simpr 485 . . . . . . . . . 10 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝑓:ℕ–1-1-onto𝐴)
100 f1of 6716 . . . . . . . . . 10 (𝑓:ℕ–1-1-onto𝐴𝑓:ℕ⟶𝐴)
101 ssun1 4106 . . . . . . . . . . 11 𝐴 ⊆ (𝐴 ∪ {𝑍})
102 fss 6617 . . . . . . . . . . 11 ((𝑓:ℕ⟶𝐴𝐴 ⊆ (𝐴 ∪ {𝑍})) → 𝑓:ℕ⟶(𝐴 ∪ {𝑍}))
103101, 102mpan2 688 . . . . . . . . . 10 (𝑓:ℕ⟶𝐴𝑓:ℕ⟶(𝐴 ∪ {𝑍}))
10499, 100, 1033syl 18 . . . . . . . . 9 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝑓:ℕ⟶(𝐴 ∪ {𝑍}))
105 f1ofo 6723 . . . . . . . . . . 11 (𝑓:ℕ–1-1-onto𝐴𝑓:ℕ–onto𝐴)
106 forn 6691 . . . . . . . . . . 11 (𝑓:ℕ–onto𝐴 → ran 𝑓 = 𝐴)
10799, 105, 1063syl 18 . . . . . . . . . 10 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → ran 𝑓 = 𝐴)
10829, 107sseqtrrid 3974 . . . . . . . . 9 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝐴 ⊆ ran 𝑓)
109 f1ocnv 6728 . . . . . . . . . . 11 (𝑓:ℕ–1-1-onto𝐴𝑓:𝐴1-1-onto→ℕ)
110 f1of1 6715 . . . . . . . . . . 11 (𝑓:𝐴1-1-onto→ℕ → 𝑓:𝐴1-1→ℕ)
11199, 109, 1103syl 18 . . . . . . . . . 10 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝑓:𝐴1-1→ℕ)
112 f1ores 6730 . . . . . . . . . . 11 ((𝑓:𝐴1-1→ℕ ∧ 𝐴𝐴) → (𝑓𝐴):𝐴1-1-onto→(𝑓𝐴))
11329, 112mpan2 688 . . . . . . . . . 10 (𝑓:𝐴1-1→ℕ → (𝑓𝐴):𝐴1-1-onto→(𝑓𝐴))
114 f1ofun 6718 . . . . . . . . . 10 ((𝑓𝐴):𝐴1-1-onto→(𝑓𝐴) → Fun (𝑓𝐴))
115111, 113, 1143syl 18 . . . . . . . . 9 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → Fun (𝑓𝐴))
116104, 108, 1153jca 1127 . . . . . . . 8 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → (𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
117116ex 413 . . . . . . 7 ((𝐴 ≈ ω ∧ 𝑍𝑉) → (𝑓:ℕ–1-1-onto𝐴 → (𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
11898, 117eximd 2209 . . . . . 6 ((𝐴 ≈ ω ∧ 𝑍𝑉) → (∃𝑓 𝑓:ℕ–1-1-onto𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
11997, 118mpd 15 . . . . 5 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
120119a1d 25 . . . 4 ((𝐴 ≈ ω ∧ 𝑍𝑉) → (¬ 𝑍𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
12190, 120jaoian 954 . . 3 (((𝐴 ≺ ω ∨ 𝐴 ≈ ω) ∧ 𝑍𝑉) → (¬ 𝑍𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
1221213impia 1116 . 2 (((𝐴 ≺ ω ∨ 𝐴 ≈ ω) ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
1231, 122syl3an1b 1402 1 ((𝐴 ≼ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1539  wex 1782  wcel 2106  Vcvv 3432  cdif 3884  cun 3885  cin 3886  wss 3887  c0 4256  {csn 4561   class class class wbr 5074  cmpt 5157   × cxp 5587  ccnv 5588  ran crn 5590  cres 5591  cima 5592  Fun wfun 6427   Fn wfn 6428  wf 6429  1-1wf1 6430  ontowfo 6431  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275  ωcom 7712  cen 8730  cdom 8731  csdm 8732  Fincfn 8733  1c1 10872  cn 11973  ...cfz 13239  chash 14044
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
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 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-hash 14045
This theorem is referenced by:  carsggect  32285
  Copyright terms: Public domain W3C validator