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

Theorem ctssdclemr 7459
Description: Lemma for ctssdc 7460. 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 5614 . . 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 7458 . . . . 5 (𝑔:ω–onto→(𝐴 ⊔ 1o) → ({𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω ∧ (◡inl ∘ 𝑔):{𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}–onto→𝐴 ∧ ∀𝑛 ∈ ω DECID 𝑛 ∈ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)}))
7 djulf1o 7405 . . . . . . . . 9 inl:V–1-1-onto→({∅} × V)
8 f1ocnv 5655 . . . . . . . . 9 (inl:V–1-1-onto→({∅} × V) → ◡inl:({∅} × V)–1-1-onto→V)
9 f1ofun 5644 . . . . . . . . 9 (◡inl:({∅} × V)–1-1-onto→V → Fun ◡inl)
107, 8, 9mp2b 8 . . . . . . . 8 Fun ◡inl
11 vex 2824 . . . . . . . 8 𝑔 ∈ V
12 cofunexg 6342 . . . . . . . 8 ((Fun ◡inl ∧ 𝑔 ∈ V) → (◡inl ∘ 𝑔) ∈ V)
1310, 11, 12mp2an 430 . . . . . . 7 (◡inl ∘ 𝑔) ∈ V
14 foeq1 5614 . . . . . . 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 4742 . . . . . 6 ω ∈ V
1918rabex 4282 . . . . 5 {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ∈ V
20 sseq1 3271 . . . . . 6 (𝑠 = {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} → (𝑠 ⊆ ω ↔ {𝑡 ∈ ω ∣ (𝑔‘𝑡) ∈ (inl “ 𝐴)} ⊆ ω))
21 foeq2 5615 . . . . . . 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 4739   × cxp 4774  ◡ccnv 4775   “ cima 4779   ∘ ccom 4780  Fun wfun 5374  –onto→wfo 5378  –1-1-onto→wf1o 5379  ‘cfv 5380  1oc1o 6684   ⊔ cdju 7384  inlcinl 7392
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 4248  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-iinf 4737
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 4132  df-opab 4194  df-mpt 4195  df-tr 4232  df-id 4440  df-iord 4513  df-on 4515  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-1st 6378  df-2nd 6379  df-1o 6691  df-dju 7385  df-inl 7394  df-inr 7395
This theorem is used by:  ctssdc  7460
  Copyright terms: Public domain W3C validator