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

Theorem ctssdccl 7076
Description: A mapping from a decidable subset of the natural numbers onto a countable set. This is similar to one direction of ctssdc 7078 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 3227 . . . 4 {𝑥 ∈ ω ∣ (𝐹𝑥) ∈ (inl “ 𝐴)} ⊆ ω
31, 2eqsstri 3174 . . 3 𝑆 ⊆ ω
43a1i 9 . 2 (𝜑𝑆 ⊆ ω)
5 djulf1o 7023 . . . . . . 7 inl:V–1-1-onto→({∅} × V)
6 f1ocnv 5445 . . . . . . 7 (inl:V–1-1-onto→({∅} × V) → inl:({∅} × V)–1-1-onto→V)
7 f1ofun 5434 . . . . . . 7 (inl:({∅} × V)–1-1-onto→V → Fun inl)
85, 6, 7mp2b 8 . . . . . 6 Fun inl
9 ctssdccl.f . . . . . . 7 (𝜑𝐹:ω–onto→(𝐴 ⊔ 1o))
10 fofun 5411 . . . . . . 7 (𝐹:ω–onto→(𝐴 ⊔ 1o) → Fun 𝐹)
119, 10syl 14 . . . . . 6 (𝜑 → Fun 𝐹)
12 funco 5228 . . . . . . 7 ((Fun inl ∧ Fun 𝐹) → Fun (inl ∘ 𝐹))
13 ctssdccl.g . . . . . . . 8 𝐺 = (inl ∘ 𝐹)
1413funeqi 5209 . . . . . . 7 (Fun 𝐺 ↔ Fun (inl ∘ 𝐹))
1512, 14sylibr 133 . . . . . 6 ((Fun inl ∧ Fun 𝐹) → Fun 𝐺)
168, 11, 15sylancr 411 . . . . 5 (𝜑 → Fun 𝐺)
17 fof 5410 . . . . . . . . . . . 12 (𝐹:ω–onto→(𝐴 ⊔ 1o) → 𝐹:ω⟶(𝐴 ⊔ 1o))
189, 17syl 14 . . . . . . . . . . 11 (𝜑𝐹:ω⟶(𝐴 ⊔ 1o))
1918fdmd 5344 . . . . . . . . . 10 (𝜑 → dom 𝐹 = ω)
2019eleq2d 2236 . . . . . . . . 9 (𝜑 → (𝑛 ∈ dom 𝐹𝑛 ∈ ω))
2120anbi1d 461 . . . . . . . 8 (𝜑 → ((𝑛 ∈ dom 𝐹 ∧ (𝐹𝑛) ∈ dom inl) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ dom inl)))
22 dmcoss 4873 . . . . . . . . . . . 12 dom (inl ∘ 𝐹) ⊆ dom 𝐹
2322sseli 3138 . . . . . . . . . . 11 (𝑛 ∈ dom (inl ∘ 𝐹) → 𝑛 ∈ dom 𝐹)
2423pm4.71ri 390 . . . . . . . . . 10 (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝑛 ∈ dom 𝐹𝑛 ∈ dom (inl ∘ 𝐹)))
25 dmfco 5554 . . . . . . . . . . 11 ((Fun 𝐹𝑛 ∈ dom 𝐹) → (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝐹𝑛) ∈ dom inl))
2625pm5.32da 448 . . . . . . . . . 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 4957 . . . . . . . . . . . . . 14 (inl “ 𝐴) ⊆ ran inl
3130sseli 3138 . . . . . . . . . . . . 13 ((𝐹𝑛) ∈ (inl “ 𝐴) → (𝐹𝑛) ∈ ran inl)
3231adantl 275 . . . . . . . . . . . 12 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → (𝐹𝑛) ∈ ran inl)
33 df-rn 4615 . . . . . . . . . . . . 13 ran inl = dom inl
3433eleq2i 2233 . . . . . . . . . . . 12 ((𝐹𝑛) ∈ ran inl ↔ (𝐹𝑛) ∈ dom inl)
3532, 34sylib 121 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → (𝐹𝑛) ∈ dom inl)
3629, 352thd 174 . . . . . . . . . 10 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ dom inl))
37 djuin 7029 . . . . . . . . . . . . . 14 ((inl “ 𝐴) ∩ (inr “ 1o)) = ∅
38 disjel 3463 . . . . . . . . . . . . . 14 ((((inl “ 𝐴) ∩ (inr “ 1o)) = ∅ ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
3937, 38mpan 421 . . . . . . . . . . . . 13 ((𝐹𝑛) ∈ (inl “ 𝐴) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
4039con2i 617 . . . . . . . . . . . 12 ((𝐹𝑛) ∈ (inr “ 1o) → ¬ (𝐹𝑛) ∈ (inl “ 𝐴))
4140adantl 275 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ¬ (𝐹𝑛) ∈ (inl “ 𝐴))
42 djuin 7029 . . . . . . . . . . . . . . . 16 ((inl “ V) ∩ (inr “ 1o)) = ∅
43 disjel 3463 . . . . . . . . . . . . . . . 16 ((((inl “ V) ∩ (inr “ 1o)) = ∅ ∧ (𝐹𝑛) ∈ (inl “ V)) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
4442, 43mpan 421 . . . . . . . . . . . . . . 15 ((𝐹𝑛) ∈ (inl “ V) → ¬ (𝐹𝑛) ∈ (inr “ 1o))
45 dfrn4 5064 . . . . . . . . . . . . . . 15 ran inl = (inl “ V)
4644, 45eleq2s 2261 . . . . . . . . . . . . . 14 ((𝐹𝑛) ∈ ran inl → ¬ (𝐹𝑛) ∈ (inr “ 1o))
4746con2i 617 . . . . . . . . . . . . 13 ((𝐹𝑛) ∈ (inr “ 1o) → ¬ (𝐹𝑛) ∈ ran inl)
4847adantl 275 . . . . . . . . . . . 12 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ¬ (𝐹𝑛) ∈ ran inl)
4948, 34sylnib 666 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ¬ (𝐹𝑛) ∈ dom inl)
5041, 492falsed 692 . . . . . . . . . 10 (((𝜑𝑛 ∈ ω) ∧ (𝐹𝑛) ∈ (inr “ 1o)) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ dom inl))
5118ffvelrnda 5620 . . . . . . . . . . . 12 ((𝜑𝑛 ∈ ω) → (𝐹𝑛) ∈ (𝐴 ⊔ 1o))
52 djuun 7032 . . . . . . . . . . . . 13 ((inl “ 𝐴) ∪ (inr “ 1o)) = (𝐴 ⊔ 1o)
5352eleq2i 2233 . . . . . . . . . . . 12 ((𝐹𝑛) ∈ ((inl “ 𝐴) ∪ (inr “ 1o)) ↔ (𝐹𝑛) ∈ (𝐴 ⊔ 1o))
5451, 53sylibr 133 . . . . . . . . . . 11 ((𝜑𝑛 ∈ ω) → (𝐹𝑛) ∈ ((inl “ 𝐴) ∪ (inr “ 1o)))
55 elun 3263 . . . . . . . . . . 11 ((𝐹𝑛) ∈ ((inl “ 𝐴) ∪ (inr “ 1o)) ↔ ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
5654, 55sylib 121 . . . . . . . . . 10 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
5736, 50, 56mpjaodan 788 . . . . . . . . 9 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ dom inl))
5857pm5.32da 448 . . . . . . . 8 (𝜑 → ((𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴)) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ dom inl)))
5921, 28, 583bitr4d 219 . . . . . . 7 (𝜑 → (𝑛 ∈ dom (inl ∘ 𝐹) ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴))))
6013dmeqi 4805 . . . . . . . 8 dom 𝐺 = dom (inl ∘ 𝐹)
6160eleq2i 2233 . . . . . . 7 (𝑛 ∈ dom 𝐺𝑛 ∈ dom (inl ∘ 𝐹))
62 fveq2 5486 . . . . . . . . 9 (𝑥 = 𝑛 → (𝐹𝑥) = (𝐹𝑛))
6362eleq1d 2235 . . . . . . . 8 (𝑥 = 𝑛 → ((𝐹𝑥) ∈ (inl “ 𝐴) ↔ (𝐹𝑛) ∈ (inl “ 𝐴)))
6463, 1elrab2 2885 . . . . . . 7 (𝑛𝑆 ↔ (𝑛 ∈ ω ∧ (𝐹𝑛) ∈ (inl “ 𝐴)))
6559, 61, 643bitr4g 222 . . . . . 6 (𝜑 → (𝑛 ∈ dom 𝐺𝑛𝑆))
6665eqrdv 2163 . . . . 5 (𝜑 → dom 𝐺 = 𝑆)
67 df-fn 5191 . . . . 5 (𝐺 Fn 𝑆 ↔ (Fun 𝐺 ∧ dom 𝐺 = 𝑆))
6816, 66, 67sylanbrc 414 . . . 4 (𝜑𝐺 Fn 𝑆)
6913fveq1i 5487 . . . . . . 7 (𝐺𝑚) = ((inl ∘ 𝐹)‘𝑚)
7018adantr 274 . . . . . . . 8 ((𝜑𝑚𝑆) → 𝐹:ω⟶(𝐴 ⊔ 1o))
71 fveq2 5486 . . . . . . . . . . . . 13 (𝑥 = 𝑚 → (𝐹𝑥) = (𝐹𝑚))
7271eleq1d 2235 . . . . . . . . . . . 12 (𝑥 = 𝑚 → ((𝐹𝑥) ∈ (inl “ 𝐴) ↔ (𝐹𝑚) ∈ (inl “ 𝐴)))
7372, 1elrab2 2885 . . . . . . . . . . 11 (𝑚𝑆 ↔ (𝑚 ∈ ω ∧ (𝐹𝑚) ∈ (inl “ 𝐴)))
7473biimpi 119 . . . . . . . . . 10 (𝑚𝑆 → (𝑚 ∈ ω ∧ (𝐹𝑚) ∈ (inl “ 𝐴)))
7574adantl 275 . . . . . . . . 9 ((𝜑𝑚𝑆) → (𝑚 ∈ ω ∧ (𝐹𝑚) ∈ (inl “ 𝐴)))
7675simpld 111 . . . . . . . 8 ((𝜑𝑚𝑆) → 𝑚 ∈ ω)
77 fvco3 5557 . . . . . . . 8 ((𝐹:ω⟶(𝐴 ⊔ 1o) ∧ 𝑚 ∈ ω) → ((inl ∘ 𝐹)‘𝑚) = (inl‘(𝐹𝑚)))
7870, 76, 77syl2anc 409 . . . . . . 7 ((𝜑𝑚𝑆) → ((inl ∘ 𝐹)‘𝑚) = (inl‘(𝐹𝑚)))
7969, 78syl5eq 2211 . . . . . 6 ((𝜑𝑚𝑆) → (𝐺𝑚) = (inl‘(𝐹𝑚)))
80 f1ofun 5434 . . . . . . . . . 10 (inl:V–1-1-onto→({∅} × V) → Fun inl)
815, 80ax-mp 5 . . . . . . . . 9 Fun inl
82 fvelima 5538 . . . . . . . . 9 ((Fun inl ∧ (𝐹𝑚) ∈ (inl “ 𝐴)) → ∃𝑧𝐴 (inl‘𝑧) = (𝐹𝑚))
8381, 82mpan 421 . . . . . . . 8 ((𝐹𝑚) ∈ (inl “ 𝐴) → ∃𝑧𝐴 (inl‘𝑧) = (𝐹𝑚))
8475, 83simpl2im 384 . . . . . . 7 ((𝜑𝑚𝑆) → ∃𝑧𝐴 (inl‘𝑧) = (𝐹𝑚))
85 simprr 522 . . . . . . . . 9 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘𝑧) = (𝐹𝑚))
8685fveq2d 5490 . . . . . . . 8 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘(inl‘𝑧)) = (inl‘(𝐹𝑚)))
87 vex 2729 . . . . . . . . . 10 𝑧 ∈ V
88 f1ocnvfv1 5745 . . . . . . . . . 10 ((inl:V–1-1-onto→({∅} × V) ∧ 𝑧 ∈ V) → (inl‘(inl‘𝑧)) = 𝑧)
895, 87, 88mp2an 423 . . . . . . . . 9 (inl‘(inl‘𝑧)) = 𝑧
90 simprl 521 . . . . . . . . 9 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → 𝑧𝐴)
9189, 90eqeltrid 2253 . . . . . . . 8 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘(inl‘𝑧)) ∈ 𝐴)
9286, 91eqeltrrd 2244 . . . . . . 7 (((𝜑𝑚𝑆) ∧ (𝑧𝐴 ∧ (inl‘𝑧) = (𝐹𝑚))) → (inl‘(𝐹𝑚)) ∈ 𝐴)
9384, 92rexlimddv 2588 . . . . . 6 ((𝜑𝑚𝑆) → (inl‘(𝐹𝑚)) ∈ 𝐴)
9479, 93eqeltrd 2243 . . . . 5 ((𝜑𝑚𝑆) → (𝐺𝑚) ∈ 𝐴)
9594ralrimiva 2539 . . . 4 (𝜑 → ∀𝑚𝑆 (𝐺𝑚) ∈ 𝐴)
96 ffnfv 5643 . . . 4 (𝐺:𝑆𝐴 ↔ (𝐺 Fn 𝑆 ∧ ∀𝑚𝑆 (𝐺𝑚) ∈ 𝐴))
9768, 95, 96sylanbrc 414 . . 3 (𝜑𝐺:𝑆𝐴)
98 djulcl 7016 . . . . . . . 8 (𝑚𝐴 → (inl‘𝑚) ∈ (𝐴 ⊔ 1o))
99 foelrn 5721 . . . . . . . . . 10 ((𝐹:ω–onto→(𝐴 ⊔ 1o) ∧ (inl‘𝑚) ∈ (𝐴 ⊔ 1o)) → ∃𝑦 ∈ ω (inl‘𝑚) = (𝐹𝑦))
1009, 99sylan 281 . . . . . . . . 9 ((𝜑 ∧ (inl‘𝑚) ∈ (𝐴 ⊔ 1o)) → ∃𝑦 ∈ ω (inl‘𝑚) = (𝐹𝑦))
101 df-rex 2450 . . . . . . . . 9 (∃𝑦 ∈ ω (inl‘𝑚) = (𝐹𝑦) ↔ ∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)))
102100, 101sylib 121 . . . . . . . 8 ((𝜑 ∧ (inl‘𝑚) ∈ (𝐴 ⊔ 1o)) → ∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)))
10398, 102sylan2 284 . . . . . . 7 ((𝜑𝑚𝐴) → ∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)))
104 fveq2 5486 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
105104eleq1d 2235 . . . . . . . . . . . 12 (𝑥 = 𝑦 → ((𝐹𝑥) ∈ (inl “ 𝐴) ↔ (𝐹𝑦) ∈ (inl “ 𝐴)))
106 simprl 521 . . . . . . . . . . . 12 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → 𝑦 ∈ ω)
107 simprr 522 . . . . . . . . . . . . 13 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (inl‘𝑚) = (𝐹𝑦))
108 vex 2729 . . . . . . . . . . . . . . . 16 𝑚 ∈ V
109 f1odm 5436 . . . . . . . . . . . . . . . . 17 (inl:V–1-1-onto→({∅} × V) → dom inl = V)
1105, 109ax-mp 5 . . . . . . . . . . . . . . . 16 dom inl = V
111108, 110eleqtrri 2242 . . . . . . . . . . . . . . 15 𝑚 ∈ dom inl
112 funfvima 5716 . . . . . . . . . . . . . . 15 ((Fun inl ∧ 𝑚 ∈ dom inl) → (𝑚𝐴 → (inl‘𝑚) ∈ (inl “ 𝐴)))
11381, 111, 112mp2an 423 . . . . . . . . . . . . . 14 (𝑚𝐴 → (inl‘𝑚) ∈ (inl “ 𝐴))
114113ad2antlr 481 . . . . . . . . . . . . 13 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (inl‘𝑚) ∈ (inl “ 𝐴))
115107, 114eqeltrrd 2244 . . . . . . . . . . . 12 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (𝐹𝑦) ∈ (inl “ 𝐴))
116105, 106, 115elrabd 2884 . . . . . . . . . . 11 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → 𝑦 ∈ {𝑥 ∈ ω ∣ (𝐹𝑥) ∈ (inl “ 𝐴)})
117116, 1eleqtrrdi 2260 . . . . . . . . . 10 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → 𝑦𝑆)
118117, 107jca 304 . . . . . . . . 9 (((𝜑𝑚𝐴) ∧ (𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦))) → (𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦)))
119118ex 114 . . . . . . . 8 ((𝜑𝑚𝐴) → ((𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)) → (𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦))))
120119eximdv 1868 . . . . . . 7 ((𝜑𝑚𝐴) → (∃𝑦(𝑦 ∈ ω ∧ (inl‘𝑚) = (𝐹𝑦)) → ∃𝑦(𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦))))
121103, 120mpd 13 . . . . . 6 ((𝜑𝑚𝐴) → ∃𝑦(𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦)))
122 df-rex 2450 . . . . . 6 (∃𝑦𝑆 (inl‘𝑚) = (𝐹𝑦) ↔ ∃𝑦(𝑦𝑆 ∧ (inl‘𝑚) = (𝐹𝑦)))
123121, 122sylibr 133 . . . . 5 ((𝜑𝑚𝐴) → ∃𝑦𝑆 (inl‘𝑚) = (𝐹𝑦))
124 f1ocnvfv1 5745 . . . . . . . . . 10 ((inl:V–1-1-onto→({∅} × V) ∧ 𝑚 ∈ V) → (inl‘(inl‘𝑚)) = 𝑚)
1255, 108, 124mp2an 423 . . . . . . . . 9 (inl‘(inl‘𝑚)) = 𝑚
126 simpr 109 . . . . . . . . . 10 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → (inl‘𝑚) = (𝐹𝑦))
127126fveq2d 5490 . . . . . . . . 9 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → (inl‘(inl‘𝑚)) = (inl‘(𝐹𝑦)))
128125, 127eqtr3id 2213 . . . . . . . 8 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → 𝑚 = (inl‘(𝐹𝑦)))
12913fveq1i 5487 . . . . . . . . . 10 (𝐺𝑦) = ((inl ∘ 𝐹)‘𝑦)
13018ad2antrr 480 . . . . . . . . . . 11 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → 𝐹:ω⟶(𝐴 ⊔ 1o))
1313sseli 3138 . . . . . . . . . . . 12 (𝑦𝑆𝑦 ∈ ω)
132131adantl 275 . . . . . . . . . . 11 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → 𝑦 ∈ ω)
133 fvco3 5557 . . . . . . . . . . 11 ((𝐹:ω⟶(𝐴 ⊔ 1o) ∧ 𝑦 ∈ ω) → ((inl ∘ 𝐹)‘𝑦) = (inl‘(𝐹𝑦)))
134130, 132, 133syl2anc 409 . . . . . . . . . 10 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → ((inl ∘ 𝐹)‘𝑦) = (inl‘(𝐹𝑦)))
135129, 134syl5eq 2211 . . . . . . . . 9 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → (𝐺𝑦) = (inl‘(𝐹𝑦)))
136135adantr 274 . . . . . . . 8 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → (𝐺𝑦) = (inl‘(𝐹𝑦)))
137128, 136eqtr4d 2201 . . . . . . 7 ((((𝜑𝑚𝐴) ∧ 𝑦𝑆) ∧ (inl‘𝑚) = (𝐹𝑦)) → 𝑚 = (𝐺𝑦))
138137ex 114 . . . . . 6 (((𝜑𝑚𝐴) ∧ 𝑦𝑆) → ((inl‘𝑚) = (𝐹𝑦) → 𝑚 = (𝐺𝑦)))
139138reximdva 2568 . . . . 5 ((𝜑𝑚𝐴) → (∃𝑦𝑆 (inl‘𝑚) = (𝐹𝑦) → ∃𝑦𝑆 𝑚 = (𝐺𝑦)))
140123, 139mpd 13 . . . 4 ((𝜑𝑚𝐴) → ∃𝑦𝑆 𝑚 = (𝐺𝑦))
141140ralrimiva 2539 . . 3 (𝜑 → ∀𝑚𝐴𝑦𝑆 𝑚 = (𝐺𝑦))
142 dffo3 5632 . . 3 (𝐺:𝑆onto𝐴 ↔ (𝐺:𝑆𝐴 ∧ ∀𝑚𝐴𝑦𝑆 𝑚 = (𝐺𝑦)))
14397, 141, 142sylanbrc 414 . 2 (𝜑𝐺:𝑆onto𝐴)
14453, 55bitr3i 185 . . . . . . 7 ((𝐹𝑛) ∈ (𝐴 ⊔ 1o) ↔ ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
14551, 144sylib 121 . . . . . 6 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)))
14640orim2i 751 . . . . . 6 (((𝐹𝑛) ∈ (inl “ 𝐴) ∨ (𝐹𝑛) ∈ (inr “ 1o)) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ ¬ (𝐹𝑛) ∈ (inl “ 𝐴)))
147145, 146syl 14 . . . . 5 ((𝜑𝑛 ∈ ω) → ((𝐹𝑛) ∈ (inl “ 𝐴) ∨ ¬ (𝐹𝑛) ∈ (inl “ 𝐴)))
148 df-dc 825 . . . . 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 828 . . . 4 ((𝜑𝑛 ∈ ω) → (DECID (𝐹𝑛) ∈ (inl “ 𝐴) ↔ DECID 𝑛𝑆))
154149, 153mpbid 146 . . 3 ((𝜑𝑛 ∈ ω) → DECID 𝑛𝑆)
155154ralrimiva 2539 . 2 (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)
1564, 143, 1553jca 1167 1 (𝜑 → (𝑆 ⊆ ω ∧ 𝐺:𝑆onto𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛𝑆))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824  w3a 968   = wceq 1343  wex 1480  wcel 2136  wral 2444  wrex 2445  {crab 2448  Vcvv 2726  cun 3114  cin 3115  wss 3116  c0 3409  {csn 3576  ωcom 4567   × cxp 4602  ccnv 4603  dom cdm 4604  ran crn 4605  cima 4607  ccom 4608  Fun wfun 5182   Fn wfn 5183  wf 5184  ontowfo 5186  1-1-ontowf1o 5187  cfv 5188  1oc1o 6377  cdju 7002  inlcinl 7010  inrcinr 7011
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 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1st 6108  df-2nd 6109  df-1o 6384  df-dju 7003  df-inl 7012  df-inr 7013
This theorem is referenced by:  ctssdclemr  7077  ctiunct  12373
  Copyright terms: Public domain W3C validator