ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ctssdccl GIF version

Theorem ctssdccl 7088
Description: A mapping from a decidable subset of the natural numbers onto a countable set. This is similar to one direction of ctssdc 7090 but expressed in terms of classes rather than . (Contributed by Jim Kingdon, 30-Oct-2023.)
Hypotheses
Ref Expression
ctssdccl.f (𝜑𝐹:ω–onto→(𝐴 ⊔ 1o))
ctssdccl.s 𝑆 = {𝑥 ∈ ω ∣ (𝐹𝑥) ∈ (inl “ 𝐴)}
ctssdccl.g 𝐺 = (inl ∘ 𝐹)
Assertion
Ref Expression
ctssdccl (𝜑 → (𝑆 ⊆ ω ∧ 𝐺:𝑆onto𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛𝑆))
Distinct variable groups:   𝑥,𝐴   𝑛,𝐹,𝑥   𝑛,𝐺   𝑆,𝑛   𝜑,𝑛
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑛)   𝑆(𝑥)   𝐺(𝑥)

Proof of Theorem ctssdccl
Dummy variables 𝑚 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ctssdccl.s . . . 4 𝑆 = {𝑥 ∈ ω ∣ (𝐹𝑥) ∈ (inl “ 𝐴)}
2 ssrab2 3232 . . . 4 {𝑥 ∈ ω ∣ (𝐹𝑥) ∈ (inl “ 𝐴)} ⊆ ω
31, 2eqsstri 3179 . . 3 𝑆 ⊆ ω
43a1i 9 . 2 (𝜑𝑆 ⊆ ω)
5 djulf1o 7035 . . . . . . 7 inl:V–1-1-onto→({∅} × V)
6 f1ocnv 5455 . . . . . . 7 (inl:V–1-1-onto→({∅} × V) → inl:({∅} × V)–1-1-onto→V)
7 f1ofun 5444 . . . . . . 7 (inl:({∅} × V)–1-1-onto→V → Fun inl)
85, 6, 7mp2b 8 . . . . . 6 Fun inl
9 ctssdccl.f . . . . . . 7 (𝜑𝐹:ω–onto→(𝐴 ⊔ 1o))
10 fofun 5421 . . . . . . 7 (𝐹:ω–onto→(𝐴 ⊔ 1o) → Fun 𝐹)
119, 10syl 14 . . . . . 6 (𝜑 → Fun 𝐹)
12 funco 5238 . . . . . . 7 ((Fun inl ∧ Fun 𝐹) → Fun (inl ∘ 𝐹))
13 ctssdccl.g . . . . . . . 8 𝐺 = (inl ∘ 𝐹)
1413funeqi 5219 . . . . . . 7 (Fun 𝐺 ↔ Fun (inl ∘ 𝐹))
1512, 14sylibr 133 . . . . . 6 ((Fun inl ∧ Fun 𝐹) → Fun 𝐺)
168, 11, 15sylancr 412 . . . . 5 (𝜑 → Fun 𝐺)
17 fof 5420 . . . . . . . . . . . 12 (𝐹:ω–onto→(𝐴 ⊔ 1o) → 𝐹:ω⟶(𝐴 ⊔ 1o))
189, 17syl 14 . . . . . . . . . . 11 (𝜑𝐹:ω⟶(𝐴 ⊔ 1o))
1918fdmd 5354 . . . . . . . . . 10 (𝜑 → dom 𝐹 = ω)
2019eleq2d 2240 . . . . . . . . 9 (𝜑 → (𝑛 ∈ dom 𝐹𝑛 ∈ ω))
2120anbi1d 462 . . . . . . . 8 (𝜑 → ((𝑛 ∈ dom 𝐹 ∧ (𝐹𝑛) ∈ dom inl) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ dom inl)))
22 dmcoss 4880 . . . . . . . . . . . 12 dom (inl ∘ 𝐹) ⊆ dom 𝐹
2322sseli 3143 . . . . . . . . . . 11 (𝑛 ∈ dom (inl ∘ 𝐹) → 𝑛 ∈ dom 𝐹)
2423pm4.71ri 390 . . . . . . . . . 10 (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝑛 ∈ dom 𝐹𝑛 ∈ dom (inl ∘ 𝐹)))
25 dmfco 5564 . . . . . . . . . . 11 ((Fun 𝐹𝑛 ∈ dom 𝐹) → (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝐹𝑛) ∈ dom inl))
2625pm5.32da 449 . . . . . . . . . 10 (Fun 𝐹 → ((𝑛 ∈ dom 𝐹𝑛 ∈ dom (inl ∘ 𝐹)) ↔ (𝑛 ∈ dom 𝐹 ∧ (𝐹𝑛) ∈ dom inl)))
2724, 26syl5bb 191 . . . . . . . . 9 (Fun 𝐹 → (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝑛 ∈ dom 𝐹 ∧ (𝐹𝑛) ∈ dom inl)))
2811, 27syl 14 . . . . . . . 8 (𝜑 → (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝑛 ∈ dom 𝐹 ∧ (𝐹𝑛) ∈ dom inl)))
29 simpr 109 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → (𝐹𝑛) ∈ (inl “ 𝐴))
30 imassrn 4964 . . . . . . . . . . . . . 14 (inl “ 𝐴) ⊆ ran inl
3130sseli 3143 . . . . . . . . . . . . 13 ((𝐹𝑛) ∈ (inl “ 𝐴) → (𝐹𝑛) ∈ ran inl)
3231adantl 275 . . . . . . . . . . . 12 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → (𝐹𝑛) ∈ ran inl)
33 df-rn 4622 . . . . . . . . . . . . 13 ran inl = dom inl
3433eleq2i 2237 . . . . . . . . . . . 12 ((𝐹𝑛) ∈ ran inl ↔ (𝐹𝑛) ∈ dom inl)
3532, 34sylib 121 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → (𝐹𝑛) ∈ dom inl)
3629, 352thd 174 . . . . . . . . . 10 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ dom inl))
37 djuin 7041 . . . . . . . . . . . . . 14 ((inl “ 𝐴) ∩ (inr “ 1o)) = ∅
38 disjel 3469 . . . . . . . . . . . . . 14 ((((inl “ 𝐴) ∩ (inr “ 1o)) = ∅ ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
3937, 38mpan 422 . . . . . . . . . . . . 13 ((𝐹𝑛) ∈ (inl “ 𝐴) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
4039con2i 622 . . . . . . . . . . . 12 ((𝐹𝑛) ∈ (inr “ 1o) → ¬ (𝐹𝑛) ∈ (inl “ 𝐴))
4140adantl 275 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ¬ (𝐹𝑛) ∈ (inl “ 𝐴))
42 djuin 7041 . . . . . . . . . . . . . . . 16 ((inl “ V) ∩ (inr “ 1o)) = ∅
43 disjel 3469 . . . . . . . . . . . . . . . 16 ((((inl “ V) ∩ (inr “ 1o)) = ∅ ∧ (𝐹𝑛) ∈ (inl “ V)) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
4442, 43mpan 422 . . . . . . . . . . . . . . 15 ((𝐹𝑛) ∈ (inl “ V) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
45 dfrn4 5071 . . . . . . . . . . . . . . 15 ran inl = (inl “ V)
4644, 45eleq2s 2265 . . . . . . . . . . . . . 14 ((𝐹𝑛) ∈ ran inl → ¬ (𝐹𝑛) ∈ (inr “ 1o))
4746con2i 622 . . . . . . . . . . . . 13 ((𝐹𝑛) ∈ (inr “ 1o) → ¬ (𝐹𝑛) ∈ ran inl)
4847adantl 275 . . . . . . . . . . . 12 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ¬ (𝐹𝑛) ∈ ran inl)
4948, 34sylnib 671 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ¬ (𝐹𝑛) ∈ dom inl)
5041, 492falsed 697 . . . . . . . . . 10 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ dom inl))
5118ffvelrnda 5631 . . . . . . . . . . . 12 ((𝜑𝑛 ∈ ω) → (𝐹𝑛) ∈ (𝐴 ⊔ 1o))
52 djuun 7044 . . . . . . . . . . . . 13 ((inl “ 𝐴) ∪ (inr “ 1o)) = (𝐴 ⊔ 1o)
5352eleq2i 2237 . . . . . . . . . . . 12 ((𝐹𝑛) ∈ ((inl “ 𝐴) ∪ (inr “ 1o)) ↔ (𝐹𝑛) ∈ (𝐴 ⊔ 1o))
5451, 53sylibr 133 . . . . . . . . . . 11 ((𝜑𝑛 ∈ ω) → (𝐹𝑛) ∈ ((inl “ 𝐴) ∪ (inr “ 1o)))
55 elun 3268 . . . . . . . . . . 11 ((𝐹𝑛) ∈ ((inl “ 𝐴) ∪ (inr “ 1o)) ↔ ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
5654, 55sylib 121 . . . . . . . . . 10 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
5736, 50, 56mpjaodan 793 . . . . . . . . 9 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ dom inl))
5857pm5.32da 449 . . . . . . . 8 (𝜑 → ((𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ dom inl)))
5921, 28, 583bitr4d 219 . . . . . . 7 (𝜑 → (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴))))
6013dmeqi 4812 . . . . . . . 8 dom 𝐺 = dom (inl ∘ 𝐹)
6160eleq2i 2237 . . . . . . 7 (𝑛 ∈ dom 𝐺𝑛 ∈ dom (inl ∘ 𝐹))
62 fveq2 5496 . . . . . . . . 9 (𝑥 = 𝑛 → (𝐹𝑥) = (𝐹𝑛))
6362eleq1d 2239 . . . . . . . 8 (𝑥 = 𝑛 → ((𝐹𝑥) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ (inl “ 𝐴)))
6463, 1elrab2 2889 . . . . . . 7 (𝑛𝑆 ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴)))
6559, 61, 643bitr4g 222 . . . . . 6 (𝜑 → (𝑛 ∈ dom 𝐺𝑛𝑆))
6665eqrdv 2168 . . . . 5 (𝜑 → dom 𝐺 = 𝑆)
67 df-fn 5201 . . . . 5 (𝐺 Fn 𝑆 ↔ (Fun 𝐺 ∧ dom 𝐺 = 𝑆))
6816, 66, 67sylanbrc 415 . . . 4 (𝜑𝐺 Fn 𝑆)
6913fveq1i 5497 . . . . . . 7 (𝐺𝑚) = ((inl ∘ 𝐹)‘𝑚)
7018adantr 274 . . . . . . . 8 ((𝜑𝑚𝑆) → 𝐹:ω⟶(𝐴 ⊔ 1o))
71 fveq2 5496 . . . . . . . . . . . . 13 (𝑥 = 𝑚 → (𝐹𝑥) = (𝐹𝑚))
7271eleq1d 2239 . . . . . . . . . . . 12 (𝑥 = 𝑚 → ((𝐹𝑥) ∈ (inl “ 𝐴) ↔ (𝐹𝑚) ∈ (inl “ 𝐴)))
7372, 1elrab2 2889 . . . . . . . . . . 11 (𝑚𝑆 ↔ (𝑚 ∈ ω ∧ (𝐹𝑚) ∈ (inl “ 𝐴)))
7473biimpi 119 . . . . . . . . . 10 (𝑚𝑆 → (𝑚 ∈ ω ∧ (𝐹𝑚) ∈ (inl “ 𝐴)))
7574adantl 275 . . . . . . . . 9 ((𝜑𝑚𝑆) → (𝑚 ∈ ω ∧ (𝐹𝑚) ∈ (inl “ 𝐴)))
7675simpld 111 . . . . . . . 8 ((𝜑𝑚𝑆) → 𝑚 ∈ ω)
77 fvco3 5567 . . . . . . . 8 ((𝐹:ω⟶(𝐴 ⊔ 1o) ∧ 𝑚 ∈ ω) → ((inl ∘ 𝐹)‘𝑚) = (inl‘(𝐹𝑚)))
7870, 76, 77syl2anc 409 . . . . . . 7 ((𝜑𝑚𝑆) → ((inl ∘ 𝐹)‘𝑚) = (inl‘(𝐹𝑚)))
7969, 78eqtrid 2215 . . . . . 6 ((𝜑𝑚𝑆) → (𝐺𝑚) = (inl‘(𝐹𝑚)))
80 f1ofun 5444 . . . . . . . . . 10 (inl:V–1-1-onto→({∅} × V) → Fun inl)
815, 80ax-mp 5 . . . . . . . . 9 Fun inl
82 fvelima 5548 . . . . . . . . 9 ((Fun inl ∧ (𝐹𝑚) ∈ (inl “ 𝐴)) → ∃𝑧𝐴 (inl‘𝑧) = (𝐹𝑚))
8381, 82mpan 422 . . . . . . . 8 ((𝐹𝑚) ∈ (inl “ 𝐴) → ∃𝑧𝐴 (inl‘𝑧) = (𝐹𝑚))
8475, 83simpl2im 384 . . . . . . 7 ((𝜑𝑚𝑆) → ∃𝑧𝐴 (inl‘𝑧) = (𝐹𝑚))
85 simprr 527 . . . . . . . . 9 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘𝑧) = (𝐹𝑚))
8685fveq2d 5500 . . . . . . . 8 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘(inl‘𝑧)) = (inl‘(𝐹𝑚)))
87 vex 2733 . . . . . . . . . 10 𝑧 ∈ V
88 f1ocnvfv1 5756 . . . . . . . . . 10 ((inl:V–1-1-onto→({∅} × V) ∧ 𝑧 ∈ V) → (inl‘(inl‘𝑧)) = 𝑧)
895, 87, 88mp2an 424 . . . . . . . . 9 (inl‘(inl‘𝑧)) = 𝑧
90 simprl 526 . . . . . . . . 9 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → 𝑧𝐴)
9189, 90eqeltrid 2257 . . . . . . . 8 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘(inl‘𝑧)) ∈ 𝐴)
9286, 91eqeltrrd 2248 . . . . . . 7 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘(𝐹𝑚)) ∈ 𝐴)
9384, 92rexlimddv 2592 . . . . . 6 ((𝜑𝑚𝑆) → (inl‘(𝐹𝑚)) ∈ 𝐴)
9479, 93eqeltrd 2247 . . . . 5 ((𝜑𝑚𝑆) → (𝐺𝑚) ∈ 𝐴)
9594ralrimiva 2543 . . . 4 (𝜑 → ∀𝑚𝑆 (𝐺𝑚) ∈ 𝐴)
96 ffnfv 5654 . . . 4 (𝐺:𝑆𝐴 ↔ (𝐺 Fn 𝑆 ∧ ∀𝑚𝑆 (𝐺𝑚) ∈ 𝐴))
9768, 95, 96sylanbrc 415 . . 3 (𝜑𝐺:𝑆𝐴)
98 djulcl 7028 . . . . . . . 8 (𝑚𝐴 → (inl‘𝑚) ∈ (𝐴 ⊔ 1o))
99 foelrn 5732 . . . . . . . . . 10 ((𝐹:ω–onto→(𝐴 ⊔ 1o) ∧ (inl‘𝑚) ∈ (𝐴 ⊔ 1o)) → ∃𝑦 ∈ ω (inl‘𝑚) = (𝐹𝑦))
1009, 99sylan 281 . . . . . . . . 9 ((𝜑 ∧ (inl‘𝑚) ∈ (𝐴 ⊔ 1o)) → ∃𝑦 ∈ ω (inl‘𝑚) = (𝐹𝑦))
101 df-rex 2454 . . . . . . . . 9 (∃𝑦 ∈ ω (inl‘𝑚) = (𝐹𝑦) ↔ ∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)))
102100, 101sylib 121 . . . . . . . 8 ((𝜑 ∧ (inl‘𝑚) ∈ (𝐴 ⊔ 1o)) → ∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)))
10398, 102sylan2 284 . . . . . . 7 ((𝜑𝑚𝐴) → ∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)))
104 fveq2 5496 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
105104eleq1d 2239 . . . . . . . . . . . 12 (𝑥 = 𝑦 → ((𝐹𝑥) ∈ (inl “ 𝐴) ↔ (𝐹𝑦) ∈ (inl “ 𝐴)))
106 simprl 526 . . . . . . . . . . . 12 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → 𝑦 ∈ ω)
107 simprr 527 . . . . . . . . . . . . 13 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (inl‘𝑚) = (𝐹𝑦))
108 vex 2733 . . . . . . . . . . . . . . . 16 𝑚 ∈ V
109 f1odm 5446 . . . . . . . . . . . . . . . . 17 (inl:V–1-1-onto→({∅} × V) → dom inl = V)
1105, 109ax-mp 5 . . . . . . . . . . . . . . . 16 dom inl = V
111108, 110eleqtrri 2246 . . . . . . . . . . . . . . 15 𝑚 ∈ dom inl
112 funfvima 5727 . . . . . . . . . . . . . . 15 ((Fun inl ∧ 𝑚 ∈ dom inl) → (𝑚𝐴 → (inl‘𝑚) ∈ (inl “ 𝐴)))
11381, 111, 112mp2an 424 . . . . . . . . . . . . . 14 (𝑚𝐴 → (inl‘𝑚) ∈ (inl “ 𝐴))
114113ad2antlr 486 . . . . . . . . . . . . 13 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (inl‘𝑚) ∈ (inl “ 𝐴))
115107, 114eqeltrrd 2248 . . . . . . . . . . . 12 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (𝐹𝑦) ∈ (inl “ 𝐴))
116105, 106, 115elrabd 2888 . . . . . . . . . . 11 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → 𝑦 ∈ {𝑥 ∈ ω ∣ (𝐹𝑥) ∈ (inl “ 𝐴)})
117116, 1eleqtrrdi 2264 . . . . . . . . . 10 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → 𝑦𝑆)
118117, 107jca 304 . . . . . . . . 9 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦)))
119118ex 114 . . . . . . . 8 ((𝜑𝑚𝐴) → ((𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)) → (𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦))))
120119eximdv 1873 . . . . . . 7 ((𝜑𝑚𝐴) → (∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)) → ∃𝑦(𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦))))
121103, 120mpd 13 . . . . . 6 ((𝜑𝑚𝐴) → ∃𝑦(𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦)))
122 df-rex 2454 . . . . . 6 (∃𝑦𝑆 (inl‘𝑚) = (𝐹𝑦) ↔ ∃𝑦(𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦)))
123121, 122sylibr 133 . . . . 5 ((𝜑𝑚𝐴) → ∃𝑦𝑆 (inl‘𝑚) = (𝐹𝑦))
124 f1ocnvfv1 5756 . . . . . . . . . 10 ((inl:V–1-1-onto→({∅} × V) ∧ 𝑚 ∈ V) → (inl‘(inl‘𝑚)) = 𝑚)
1255, 108, 124mp2an 424 . . . . . . . . 9 (inl‘(inl‘𝑚)) = 𝑚
126 simpr 109 . . . . . . . . . 10 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → (inl‘𝑚) = (𝐹𝑦))
127126fveq2d 5500 . . . . . . . . 9 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → (inl‘(inl‘𝑚)) = (inl‘(𝐹𝑦)))
128125, 127eqtr3id 2217 . . . . . . . 8 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → 𝑚 = (inl‘(𝐹𝑦)))
12913fveq1i 5497 . . . . . . . . . 10 (𝐺𝑦) = ((inl ∘ 𝐹)‘𝑦)
13018ad2antrr 485 . . . . . . . . . . 11 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → 𝐹:ω⟶(𝐴 ⊔ 1o))
1313sseli 3143 . . . . . . . . . . . 12 (𝑦𝑆𝑦 ∈ ω)
132131adantl 275 . . . . . . . . . . 11 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → 𝑦 ∈ ω)
133 fvco3 5567 . . . . . . . . . . 11 ((𝐹:ω⟶(𝐴 ⊔ 1o) ∧ 𝑦 ∈ ω) → ((inl ∘ 𝐹)‘𝑦) = (inl‘(𝐹𝑦)))
134130, 132, 133syl2anc 409 . . . . . . . . . 10 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → ((inl ∘ 𝐹)‘𝑦) = (inl‘(𝐹𝑦)))
135129, 134eqtrid 2215 . . . . . . . . 9 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → (𝐺𝑦) = (inl‘(𝐹𝑦)))
136135adantr 274 . . . . . . . 8 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → (𝐺𝑦) = (inl‘(𝐹𝑦)))
137128, 136eqtr4d 2206 . . . . . . 7 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → 𝑚 = (𝐺𝑦))
138137ex 114 . . . . . 6 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → ((inl‘𝑚) = (𝐹𝑦) → 𝑚 = (𝐺𝑦)))
139138reximdva 2572 . . . . 5 ((𝜑𝑚𝐴) → (∃𝑦𝑆 (inl‘𝑚) = (𝐹𝑦) → ∃𝑦𝑆 𝑚 = (𝐺𝑦)))
140123, 139mpd 13 . . . 4 ((𝜑𝑚𝐴) → ∃𝑦𝑆 𝑚 = (𝐺𝑦))
141140ralrimiva 2543 . . 3 (𝜑 → ∀𝑚𝐴𝑦𝑆 𝑚 = (𝐺𝑦))
142 dffo3 5643 . . 3 (𝐺:𝑆onto𝐴 ↔ (𝐺:𝑆𝐴 ∧ ∀𝑚𝐴𝑦𝑆 𝑚 = (𝐺𝑦)))
14397, 141, 142sylanbrc 415 . 2 (𝜑𝐺:𝑆onto𝐴)
14453, 55bitr3i 185 . . . . . . 7 ((𝐹𝑛) ∈ (𝐴 ⊔ 1o) ↔ ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
14551, 144sylib 121 . . . . . 6 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
14640orim2i 756 . . . . . 6 (((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ ¬ (𝐹𝑛) ∈ (inl “ 𝐴)))
147145, 146syl 14 . . . . 5 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ ¬ (𝐹𝑛) ∈ (inl “ 𝐴)))
148 df-dc 830 . . . . 5 (DECID (𝐹𝑛) ∈ (inl “ 𝐴) ↔ ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ ¬ (𝐹𝑛) ∈ (inl “ 𝐴)))
149147, 148sylibr 133 . . . 4 ((𝜑𝑛 ∈ ω) → DECID (𝐹𝑛) ∈ (inl “ 𝐴))
150 ibar 299 . . . . . . 7 (𝑛 ∈ ω → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴))))
151150adantl 275 . . . . . 6 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴))))
152151, 64bitr4di 197 . . . . 5 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ 𝑛𝑆))
153152dcbid 833 . . . 4 ((𝜑𝑛 ∈ ω) → (DECID (𝐹𝑛) ∈ (inl “ 𝐴) ↔ DECID 𝑛𝑆))
154149, 153mpbid 146 . . 3 ((𝜑𝑛 ∈ ω) → DECID 𝑛𝑆)
155154ralrimiva 2543 . 2 (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)
1564, 143, 1553jca 1172 1 (𝜑 → (𝑆 ⊆ ω ∧ 𝐺:𝑆onto𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛𝑆))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  DECID wdc 829  w3a 973   = wceq 1348  wex 1485  wcel 2141  wral 2448  wrex 2449  {crab 2452  Vcvv 2730  cun 3119  cin 3120  wss 3121  c0 3414  {csn 3583  ωcom 4574   × cxp 4609  ccnv 4610  dom cdm 4611  ran crn 4612  cima 4614  ccom 4615  Fun wfun 5192   Fn wfn 5193  wf 5194  ontowfo 5196  1-1-ontowf1o 5197  cfv 5198  1oc1o 6388  cdju 7014  inlcinl 7022  inrcinr 7023
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-1st 6119  df-2nd 6120  df-1o 6395  df-dju 7015  df-inl 7024  df-inr 7025
This theorem is referenced by:  ctssdclemr  7089  ctiunct  12395
  Copyright terms: Public domain W3C validator