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

Theorem ctssdclemr 7453
Description: Lemma for ctssdc 7454. Showing that our usual definition of countable implies the alternate one. (Contributed by Jim Kingdon, 16-Aug-2023.)
Assertion
Ref Expression
ctssdclemr (∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) → ∃𝑠(𝑠 ⊆ ω ∧ ∃𝑓 𝑓:𝑠–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠))
Distinct variable groups:   𝐴,𝑓,𝑠   𝐴,𝑛,𝑠

Proof of Theorem ctssdclemr
Dummy variables 𝑔 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 foeq1 5611 . . 3 (𝑓 = 𝑔 → (𝑓:ω–onto→(𝐴 ⊔ 1o) ↔ 𝑔:ω–onto→(𝐴 ⊔ 1o)))
21cbvexv 1974 . 2 (∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) ↔ ∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o))
3 id 19 . . . . . 6 (𝑔:ω–onto→(𝐴 ⊔ 1o) → 𝑔:ω–onto→(𝐴 ⊔ 1o))
4 eqid 2238 . . . . . 6 {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}
5 eqid 2238 . . . . . 6 (◡inl ∘ 𝑔) = (◡inl ∘ 𝑔)
63, 4, 5ctssdccl 7452 . . . . 5 (𝑔:ω–onto→(𝐴 ⊔ 1o) → ({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ (◡inl ∘ 𝑔):{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
7 djulf1o 7399 . . . . . . . . 9 inl:V–1-1-onto→({∅} × V)
8 f1ocnv 5652 . . . . . . . . 9 (inl:V–1-1-onto→({∅} × V) → ◡inl:({∅} × V)–1-1-onto→V)
9 f1ofun 5641 . . . . . . . . 9 (◡inl:({∅} × V)–1-1-onto→V → Fun ◡inl)
107, 8, 9mp2b 8 . . . . . . . 8 Fun ◡inl
11 vex 2824 . . . . . . . 8 𝑔 ∈ V
12 cofunexg 6338 . . . . . . . 8 ((Fun ◡inl ∧ 𝑔 ∈ V) → (◡inl ∘ 𝑔) ∈ V)
1310, 11, 12mp2an 430 . . . . . . 7 (◡inl ∘ 𝑔) ∈ V
14 foeq1 5611 . . . . . . 7 (𝑓 = (◡inl ∘ 𝑔) → (𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ↔ (◡inl ∘ 𝑔):{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴))
1513, 14spcev 2920 . . . . . 6 ((◡inl ∘ 𝑔):{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 → ∃𝑓 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴)
16153anim2i 1217 . . . . 5 (({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ (◡inl ∘ 𝑔):{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}) → ({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ ∃𝑓 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
176, 16syl 14 . . . 4 (𝑔:ω–onto→(𝐴 ⊔ 1o) → ({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ ∃𝑓 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
18 omex 4740 . . . . . 6 ω ∈ V
1918rabex 4280 . . . . 5 {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ∈ V
20 sseq1 3271 . . . . . 6 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (𝑠 ⊆ ω ↔ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω))
21 foeq2 5612 . . . . . . 7 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (𝑓:𝑠–onto→𝐴 ↔ 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴))
2221exbidv 1878 . . . . . 6 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (∃𝑓 𝑓:𝑠–onto→𝐴 ↔ ∃𝑓 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴))
23 eleq2 2302 . . . . . . . 8 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (𝑛 ∈ 𝑠 ↔ 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
2423dcbid 850 . . . . . . 7 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (DECID 𝑛 ∈ 𝑠 ↔ DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
2524ralbidv 2550 . . . . . 6 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠 ↔ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
2620, 22, 253anbi123d 1353 . . . . 5 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → ((𝑠 ⊆ ω ∧ ∃𝑓 𝑓:𝑠–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠) ↔ ({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ ∃𝑓 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)})))
2719, 26spcev 2920 . . . 4 (({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ ∃𝑓 𝑓:{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}) → ∃𝑠(𝑠 ⊆ ω ∧ ∃𝑓 𝑓:𝑠–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠))
2817, 27syl 14 . . 3 (𝑔:ω–onto→(𝐴 ⊔ 1o) → ∃𝑠(𝑠 ⊆ ω ∧ ∃𝑓 𝑓:𝑠–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠))
2928exlimiv 1651 . 2 (∃𝑔 𝑔:ω–onto→(𝐴 ⊔ 1o) → ∃𝑠(𝑠 ⊆ ω ∧ ∃𝑓 𝑓:𝑠–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠))
302, 29sylbi 121 1 (∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) → ∃𝑠(𝑠 ⊆ ω ∧ ∃𝑓 𝑓:𝑠–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ 𝑠))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4  DECID wdc 846   ∧ w3a 1009   = wceq 1402  ∃wex 1545   ∈ wcel 2209  ∀wral 2528  {crab 2532  Vcvv 2821   ⊆ wss 3220  ∅c0 3520  {csn 3709  ωcom 4737   × cxp 4772  ◡ccnv 4773   “ cima 4777   ∘ ccom 4778  Fun wfun 5371  –onto→wfo 5375  –1-1-onto→wf1o 5376  ‘cfv 5377  1oc1o 6680   ⊔ cdju 7378  inlcinl 7386
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4246  ax-sep 4249  ax-nul 4259  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-iinf 4735
This proof depends on definitions:  df-bi 117  df-dc 847  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-tr 4230  df-id 4438  df-iord 4511  df-on 4513  df-suc 4516  df-iom 4738  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-1st 6374  df-2nd 6375  df-1o 6687  df-dju 7379  df-inl 7388  df-inr 7389
This theorem is used by:  ctssdc  7454
  Copyright terms: Public domain W3C validator