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 30956
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 8725 . 2 (𝐴 ≼ ω ↔ (𝐴 ≺ ω ∨ 𝐴 ≈ ω))
2 nfv 1918 . . . . . 6 𝑔(𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴)
3 nfv 1918 . . . . . 6 𝑔𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))
4 isfinite2 9002 . . . . . . . . . 10 (𝐴 ≺ ω → 𝐴 ∈ Fin)
5 isfinite4 14005 . . . . . . . . . 10 (𝐴 ∈ Fin ↔ (1...(♯‘𝐴)) ≈ 𝐴)
64, 5sylib 217 . . . . . . . . 9 (𝐴 ≺ ω → (1...(♯‘𝐴)) ≈ 𝐴)
76adantr 480 . . . . . . . 8 ((𝐴 ≺ ω ∧ 𝑍𝑉) → (1...(♯‘𝐴)) ≈ 𝐴)
8 bren 8701 . . . . . . . 8 ((1...(♯‘𝐴)) ≈ 𝐴 ↔ ∃𝑔 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
97, 8sylib 217 . . . . . . 7 ((𝐴 ≺ ω ∧ 𝑍𝑉) → ∃𝑔 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
1093adant3 1130 . . . . . 6 ((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑔 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
11 f1of 6700 . . . . . . . . . . . 12 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴𝑔:(1...(♯‘𝐴))⟶𝐴)
1211adantl 481 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑔:(1...(♯‘𝐴))⟶𝐴)
13 fconstmpt 5640 . . . . . . . . . . . . 13 ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍}) = (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)
1413eqcomi 2747 . . . . . . . . . . . 12 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍})
15 simplr 765 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑍𝑉)
16 fconst2g 7060 . . . . . . . . . . . . 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 4402 . . . . . . . . . . . 12 ((1...(♯‘𝐴)) ∩ (ℕ ∖ (1...(♯‘𝐴)))) = ∅
2019a1i 11 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((1...(♯‘𝐴)) ∩ (ℕ ∖ (1...(♯‘𝐴)))) = ∅)
21 fun 6620 . . . . . . . . . . 11 (((𝑔:(1...(♯‘𝐴))⟶𝐴 ∧ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍):(ℕ ∖ (1...(♯‘𝐴)))⟶{𝑍}) ∧ ((1...(♯‘𝐴)) ∩ (ℕ ∖ (1...(♯‘𝐴)))) = ∅) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴))))⟶(𝐴 ∪ {𝑍}))
2212, 18, 20, 21syl21anc 834 . . . . . . . . . 10 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴))))⟶(𝐴 ∪ {𝑍}))
23 fz1ssnn 13216 . . . . . . . . . . . 12 (1...(♯‘𝐴)) ⊆ ℕ
24 undif 4412 . . . . . . . . . . . 12 ((1...(♯‘𝐴)) ⊆ ℕ ↔ ((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴)))) = ℕ)
2523, 24mpbi 229 . . . . . . . . . . 11 ((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴)))) = ℕ
2625feq2i 6576 . . . . . . . . . 10 ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):((1...(♯‘𝐴)) ∪ (ℕ ∖ (1...(♯‘𝐴))))⟶(𝐴 ∪ {𝑍}) ↔ (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}))
2722, 26sylib 217 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}))
28273adantl3 1166 . . . . . . . 8 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}))
29 ssid 3939 . . . . . . . . . . . . 13 𝐴𝐴
30 simpr 484 . . . . . . . . . . . . . 14 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴)
31 f1ofo 6707 . . . . . . . . . . . . . 14 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴𝑔:(1...(♯‘𝐴))–onto𝐴)
32 forn 6675 . . . . . . . . . . . . . 14 (𝑔:(1...(♯‘𝐴))–onto𝐴 → ran 𝑔 = 𝐴)
3330, 31, 323syl 18 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ran 𝑔 = 𝐴)
3429, 33sseqtrrid 3970 . . . . . . . . . . . 12 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ ran 𝑔)
3534orcd 869 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝐴 ⊆ ran 𝑔𝐴 ⊆ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
36 ssun 4119 . . . . . . . . . . 11 ((𝐴 ⊆ ran 𝑔𝐴 ⊆ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → 𝐴 ⊆ (ran 𝑔 ∪ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
3735, 36syl 17 . . . . . . . . . 10 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ (ran 𝑔 ∪ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
38 rnun 6038 . . . . . . . . . 10 ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) = (ran 𝑔 ∪ ran (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍))
3937, 38sseqtrrdi 3968 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
40393adantl3 1166 . . . . . . . 8 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
41 dff1o3 6706 . . . . . . . . . . 11 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 ↔ (𝑔:(1...(♯‘𝐴))–onto𝐴 ∧ Fun 𝑔))
4241simprbi 496 . . . . . . . . . 10 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 → Fun 𝑔)
4342adantl 481 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → Fun 𝑔)
44 cnvun 6035 . . . . . . . . . . . . 13 (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) = (𝑔(𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍))
4544reseq1i 5876 . . . . . . . . . . . 12 ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = ((𝑔(𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴)
46 resundir 5895 . . . . . . . . . . . 12 ((𝑔(𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴))
4745, 46eqtri 2766 . . . . . . . . . . 11 ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴))
48 dff1o4 6708 . . . . . . . . . . . . . . . 16 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 ↔ (𝑔 Fn (1...(♯‘𝐴)) ∧ 𝑔 Fn 𝐴))
4948simprbi 496 . . . . . . . . . . . . . . 15 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴𝑔 Fn 𝐴)
50 fnresdm 6535 . . . . . . . . . . . . . . 15 (𝑔 Fn 𝐴 → (𝑔𝐴) = 𝑔)
5149, 50syl 17 . . . . . . . . . . . . . 14 (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 → (𝑔𝐴) = 𝑔)
5251adantl 481 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (𝑔𝐴) = 𝑔)
53 simpl3 1191 . . . . . . . . . . . . . 14 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ¬ 𝑍𝐴)
5414cnveqi 5772 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍})
55 cnvxp 6049 . . . . . . . . . . . . . . . . 17 ((ℕ ∖ (1...(♯‘𝐴))) × {𝑍}) = ({𝑍} × (ℕ ∖ (1...(♯‘𝐴))))
5654, 55eqtri 2766 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) = ({𝑍} × (ℕ ∖ (1...(♯‘𝐴))))
5756reseq1i 5876 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴) = (({𝑍} × (ℕ ∖ (1...(♯‘𝐴)))) ↾ 𝐴)
58 incom 4131 . . . . . . . . . . . . . . . . 17 (𝐴 ∩ {𝑍}) = ({𝑍} ∩ 𝐴)
59 disjsn 4644 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∩ {𝑍}) = ∅ ↔ ¬ 𝑍𝐴)
6059biimpri 227 . . . . . . . . . . . . . . . . 17 𝑍𝐴 → (𝐴 ∩ {𝑍}) = ∅)
6158, 60eqtr3id 2793 . . . . . . . . . . . . . . . 16 𝑍𝐴 → ({𝑍} ∩ 𝐴) = ∅)
62 xpdisjres 30838 . . . . . . . . . . . . . . . 16 (({𝑍} ∩ 𝐴) = ∅ → (({𝑍} × (ℕ ∖ (1...(♯‘𝐴)))) ↾ 𝐴) = ∅)
6361, 62syl 17 . . . . . . . . . . . . . . 15 𝑍𝐴 → (({𝑍} × (ℕ ∖ (1...(♯‘𝐴)))) ↾ 𝐴) = ∅)
6457, 63syl5eq 2791 . . . . . . . . . . . . . 14 𝑍𝐴 → ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴) = ∅)
6553, 64syl 17 . . . . . . . . . . . . 13 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴) = ∅)
6652, 65uneq12d 4094 . . . . . . . . . . . 12 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴)) = (𝑔 ∪ ∅))
67 un0 4321 . . . . . . . . . . . 12 (𝑔 ∪ ∅) = 𝑔
6866, 67eqtrdi 2795 . . . . . . . . . . 11 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑔𝐴) ∪ ((𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ↾ 𝐴)) = 𝑔)
6947, 68syl5eq 2791 . . . . . . . . . 10 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) = 𝑔)
7069funeqd 6440 . . . . . . . . 9 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → (Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴) ↔ Fun 𝑔))
7143, 70mpbird 256 . . . . . . . 8 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴))
72 vex 3426 . . . . . . . . . 10 𝑔 ∈ V
73 nnex 11909 . . . . . . . . . . . 12 ℕ ∈ V
74 difexg 5246 . . . . . . . . . . . 12 (ℕ ∈ V → (ℕ ∖ (1...(♯‘𝐴))) ∈ V)
7573, 74ax-mp 5 . . . . . . . . . . 11 (ℕ ∖ (1...(♯‘𝐴))) ∈ V
7675mptex 7081 . . . . . . . . . 10 (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍) ∈ V
7772, 76unex 7574 . . . . . . . . 9 (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ∈ V
78 feq1 6565 . . . . . . . . . 10 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ↔ (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍})))
79 rneq 5834 . . . . . . . . . . 11 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → ran 𝑓 = ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
8079sseq2d 3949 . . . . . . . . . 10 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (𝐴 ⊆ ran 𝑓𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍))))
81 cnveq 5771 . . . . . . . . . . . 12 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → 𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)))
82 eqidd 2739 . . . . . . . . . . . 12 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → 𝐴 = 𝐴)
8381, 82reseq12d 5881 . . . . . . . . . . 11 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (𝑓𝐴) = ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴))
8483funeqd 6440 . . . . . . . . . 10 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → (Fun (𝑓𝐴) ↔ Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴)))
8578, 80, 843anbi123d 1434 . . . . . . . . 9 (𝑓 = (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) → ((𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)) ↔ ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ∧ Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴))))
8677, 85spcev 3535 . . . . . . . 8 (((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)):ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran (𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ∧ Fun ((𝑔 ∪ (𝑥 ∈ (ℕ ∖ (1...(♯‘𝐴))) ↦ 𝑍)) ↾ 𝐴)) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
8728, 40, 71, 86syl3anc 1369 . . . . . . 7 (((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) ∧ 𝑔:(1...(♯‘𝐴))–1-1-onto𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
8887ex 412 . . . . . 6 ((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → (𝑔:(1...(♯‘𝐴))–1-1-onto𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
892, 3, 10, 88exlimimdd 2215 . . . . 5 ((𝐴 ≺ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
90893expia 1119 . . . 4 ((𝐴 ≺ ω ∧ 𝑍𝑉) → (¬ 𝑍𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
91 nnenom 13628 . . . . . . . 8 ℕ ≈ ω
92 simpl 482 . . . . . . . . 9 ((𝐴 ≈ ω ∧ 𝑍𝑉) → 𝐴 ≈ ω)
9392ensymd 8746 . . . . . . . 8 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ω ≈ 𝐴)
94 entr 8747 . . . . . . . 8 ((ℕ ≈ ω ∧ ω ≈ 𝐴) → ℕ ≈ 𝐴)
9591, 93, 94sylancr 586 . . . . . . 7 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ℕ ≈ 𝐴)
96 bren 8701 . . . . . . 7 (ℕ ≈ 𝐴 ↔ ∃𝑓 𝑓:ℕ–1-1-onto𝐴)
9795, 96sylib 217 . . . . . 6 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ∃𝑓 𝑓:ℕ–1-1-onto𝐴)
98 nfv 1918 . . . . . . 7 𝑓(𝐴 ≈ ω ∧ 𝑍𝑉)
99 simpr 484 . . . . . . . . . 10 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝑓:ℕ–1-1-onto𝐴)
100 f1of 6700 . . . . . . . . . 10 (𝑓:ℕ–1-1-onto𝐴𝑓:ℕ⟶𝐴)
101 ssun1 4102 . . . . . . . . . . 11 𝐴 ⊆ (𝐴 ∪ {𝑍})
102 fss 6601 . . . . . . . . . . 11 ((𝑓:ℕ⟶𝐴𝐴 ⊆ (𝐴 ∪ {𝑍})) → 𝑓:ℕ⟶(𝐴 ∪ {𝑍}))
103101, 102mpan2 687 . . . . . . . . . 10 (𝑓:ℕ⟶𝐴𝑓:ℕ⟶(𝐴 ∪ {𝑍}))
10499, 100, 1033syl 18 . . . . . . . . 9 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝑓:ℕ⟶(𝐴 ∪ {𝑍}))
105 f1ofo 6707 . . . . . . . . . . 11 (𝑓:ℕ–1-1-onto𝐴𝑓:ℕ–onto𝐴)
106 forn 6675 . . . . . . . . . . 11 (𝑓:ℕ–onto𝐴 → ran 𝑓 = 𝐴)
10799, 105, 1063syl 18 . . . . . . . . . 10 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → ran 𝑓 = 𝐴)
10829, 107sseqtrrid 3970 . . . . . . . . 9 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝐴 ⊆ ran 𝑓)
109 f1ocnv 6712 . . . . . . . . . . 11 (𝑓:ℕ–1-1-onto𝐴𝑓:𝐴1-1-onto→ℕ)
110 f1of1 6699 . . . . . . . . . . 11 (𝑓:𝐴1-1-onto→ℕ → 𝑓:𝐴1-1→ℕ)
11199, 109, 1103syl 18 . . . . . . . . . 10 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → 𝑓:𝐴1-1→ℕ)
112 f1ores 6714 . . . . . . . . . . 11 ((𝑓:𝐴1-1→ℕ ∧ 𝐴𝐴) → (𝑓𝐴):𝐴1-1-onto→(𝑓𝐴))
11329, 112mpan2 687 . . . . . . . . . 10 (𝑓:𝐴1-1→ℕ → (𝑓𝐴):𝐴1-1-onto→(𝑓𝐴))
114 f1ofun 6702 . . . . . . . . . 10 ((𝑓𝐴):𝐴1-1-onto→(𝑓𝐴) → Fun (𝑓𝐴))
115111, 113, 1143syl 18 . . . . . . . . 9 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → Fun (𝑓𝐴))
116104, 108, 1153jca 1126 . . . . . . . 8 (((𝐴 ≈ ω ∧ 𝑍𝑉) ∧ 𝑓:ℕ–1-1-onto𝐴) → (𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
117116ex 412 . . . . . . 7 ((𝐴 ≈ ω ∧ 𝑍𝑉) → (𝑓:ℕ–1-1-onto𝐴 → (𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
11898, 117eximd 2212 . . . . . 6 ((𝐴 ≈ ω ∧ 𝑍𝑉) → (∃𝑓 𝑓:ℕ–1-1-onto𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
11997, 118mpd 15 . . . . 5 ((𝐴 ≈ ω ∧ 𝑍𝑉) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
120119a1d 25 . . . 4 ((𝐴 ≈ ω ∧ 𝑍𝑉) → (¬ 𝑍𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
12190, 120jaoian 953 . . 3 (((𝐴 ≺ ω ∨ 𝐴 ≈ ω) ∧ 𝑍𝑉) → (¬ 𝑍𝐴 → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴))))
1221213impia 1115 . 2 (((𝐴 ≺ ω ∨ 𝐴 ≈ ω) ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
1231, 122syl3an1b 1401 1 ((𝐴 ≼ ω ∧ 𝑍𝑉 ∧ ¬ 𝑍𝐴) → ∃𝑓(𝑓:ℕ⟶(𝐴 ∪ {𝑍}) ∧ 𝐴 ⊆ ran 𝑓 ∧ Fun (𝑓𝐴)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wex 1783  wcel 2108  Vcvv 3422  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253  {csn 4558   class class class wbr 5070  cmpt 5153   × cxp 5578  ccnv 5579  ran crn 5581  cres 5582  cima 5583  Fun wfun 6412   Fn wfn 6413  wf 6414  1-1wf1 6415  ontowfo 6416  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  ωcom 7687  cen 8688  cdom 8689  csdm 8690  Fincfn 8691  1c1 10803  cn 11903  ...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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  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-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  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:  carsggect  32185
  Copyright terms: Public domain W3C validator