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

Theorem ctssdclemr 7171
Description: Lemma for ctssdc 7172. Showing that our usual definition of countable implies the alternate one. (Contributed by Jim Kingdon, 16-Aug-2023.)
Assertion
Ref Expression
ctssdclemr  |-  ( E. f  f : om -onto->
( A 1o )  ->  E. s ( s 
C_  om  /\  E. f 
f : s -onto-> A  /\  A. n  e. 
om DECID 
n  e.  s ) )
Distinct variable groups:    A, f, s    A, n, s

Proof of Theorem ctssdclemr
Dummy variables  g  t are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 foeq1 5472 . . 3  |-  ( f  =  g  ->  (
f : om -onto-> ( A 1o )  <->  g : om -onto-> ( A 1o ) ) )
21cbvexv 1930 . 2  |-  ( E. f  f : om -onto->
( A 1o )  <->  E. g  g : om -onto->
( A 1o )
)
3 id 19 . . . . . 6  |-  ( g : om -onto-> ( A 1o )  ->  g : om -onto-> ( A 1o ) )
4 eqid 2193 . . . . . 6  |-  { t  e.  om  |  ( g `  t )  e.  (inl " A
) }  =  {
t  e.  om  | 
( g `  t
)  e.  (inl " A ) }
5 eqid 2193 . . . . . 6  |-  ( `'inl 
o.  g )  =  ( `'inl  o.  g
)
63, 4, 5ctssdccl 7170 . . . . 5  |-  ( g : om -onto-> ( A 1o )  ->  ( { t  e.  om  | 
( g `  t
)  e.  (inl " A ) }  C_  om 
/\  ( `'inl  o.  g ) : {
t  e.  om  | 
( g `  t
)  e.  (inl " A ) } -onto-> A  /\  A. n  e.  om DECID  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A ) } ) )
7 djulf1o 7117 . . . . . . . . 9  |- inl : _V -1-1-onto-> ( { (/) }  X.  _V )
8 f1ocnv 5513 . . . . . . . . 9  |-  (inl : _V
-1-1-onto-> ( { (/) }  X.  _V )  ->  `'inl : ( { (/) }  X.  _V ) -1-1-onto-> _V )
9 f1ofun 5502 . . . . . . . . 9  |-  ( `'inl
: ( { (/) }  X.  _V ) -1-1-onto-> _V  ->  Fun  `'inl )
107, 8, 9mp2b 8 . . . . . . . 8  |-  Fun  `'inl
11 vex 2763 . . . . . . . 8  |-  g  e. 
_V
12 cofunexg 6161 . . . . . . . 8  |-  ( ( Fun  `'inl  /\  g  e.  _V )  ->  ( `'inl  o.  g )  e. 
_V )
1310, 11, 12mp2an 426 . . . . . . 7  |-  ( `'inl 
o.  g )  e. 
_V
14 foeq1 5472 . . . . . . 7  |-  ( f  =  ( `'inl  o.  g )  ->  (
f : { t  e.  om  |  ( g `  t )  e.  (inl " A
) } -onto-> A  <->  ( `'inl  o.  g ) : {
t  e.  om  | 
( g `  t
)  e.  (inl " A ) } -onto-> A
) )
1513, 14spcev 2855 . . . . . 6  |-  ( ( `'inl  o.  g ) : { t  e.  om  |  ( g `  t )  e.  (inl " A ) } -onto-> A  ->  E. f  f : { t  e.  om  |  ( g `  t )  e.  (inl " A ) } -onto-> A
)
16153anim2i 1188 . . . . 5  |-  ( ( { t  e.  om  |  ( g `  t )  e.  (inl " A ) }  C_  om 
/\  ( `'inl  o.  g ) : {
t  e.  om  | 
( g `  t
)  e.  (inl " A ) } -onto-> A  /\  A. n  e.  om DECID  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A ) } )  ->  ( { t  e.  om  |  ( g `  t )  e.  (inl " A
) }  C_  om  /\  E. f  f : {
t  e.  om  | 
( g `  t
)  e.  (inl " A ) } -onto-> A  /\  A. n  e.  om DECID  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A ) } ) )
176, 16syl 14 . . . 4  |-  ( g : om -onto-> ( A 1o )  ->  ( { t  e.  om  | 
( g `  t
)  e.  (inl " A ) }  C_  om 
/\  E. f  f : { t  e.  om  |  ( g `  t )  e.  (inl " A ) } -onto-> A  /\  A. n  e.  om DECID  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A ) } ) )
18 omex 4625 . . . . . 6  |-  om  e.  _V
1918rabex 4173 . . . . 5  |-  { t  e.  om  |  ( g `  t )  e.  (inl " A
) }  e.  _V
20 sseq1 3202 . . . . . 6  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  ( s  C_ 
om 
<->  { t  e.  om  |  ( g `  t )  e.  (inl " A ) }  C_  om ) )
21 foeq2 5473 . . . . . . 7  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  ( f : s -onto-> A  <->  f : { t  e.  om  |  ( g `  t )  e.  (inl " A ) } -onto-> A
) )
2221exbidv 1836 . . . . . 6  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  ( E. f  f : s
-onto-> A  <->  E. f  f : { t  e.  om  |  ( g `  t )  e.  (inl " A ) } -onto-> A
) )
23 eleq2 2257 . . . . . . . 8  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  ( n  e.  s  <->  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A
) } ) )
2423dcbid 839 . . . . . . 7  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  (DECID  n  e.  s 
<-> DECID  n  e.  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) } ) )
2524ralbidv 2494 . . . . . 6  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  ( A. n  e.  om DECID  n  e.  s  <->  A. n  e.  om DECID  n  e.  { t  e.  om  | 
( g `  t
)  e.  (inl " A ) } ) )
2620, 22, 253anbi123d 1323 . . . . 5  |-  ( s  =  { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  ->  ( (
s  C_  om  /\  E. f  f : s
-onto-> A  /\  A. n  e.  om DECID  n  e.  s )  <-> 
( { t  e. 
om  |  ( g `
 t )  e.  (inl " A ) }  C_  om  /\  E. f  f : {
t  e.  om  | 
( g `  t
)  e.  (inl " A ) } -onto-> A  /\  A. n  e.  om DECID  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A ) } ) ) )
2719, 26spcev 2855 . . . 4  |-  ( ( { t  e.  om  |  ( g `  t )  e.  (inl " A ) }  C_  om 
/\  E. f  f : { t  e.  om  |  ( g `  t )  e.  (inl " A ) } -onto-> A  /\  A. n  e.  om DECID  n  e.  { t  e.  om  |  ( g `  t )  e.  (inl " A ) } )  ->  E. s ( s 
C_  om  /\  E. f 
f : s -onto-> A  /\  A. n  e. 
om DECID 
n  e.  s ) )
2817, 27syl 14 . . 3  |-  ( g : om -onto-> ( A 1o )  ->  E. s
( s  C_  om  /\  E. f  f : s
-onto-> A  /\  A. n  e.  om DECID  n  e.  s ) )
2928exlimiv 1609 . 2  |-  ( E. g  g : om -onto->
( A 1o )  ->  E. s ( s 
C_  om  /\  E. f 
f : s -onto-> A  /\  A. n  e. 
om DECID 
n  e.  s ) )
302, 29sylbi 121 1  |-  ( E. f  f : om -onto->
( A 1o )  ->  E. s ( s 
C_  om  /\  E. f 
f : s -onto-> A  /\  A. n  e. 
om DECID 
n  e.  s ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4  DECID wdc 835    /\ w3a 980    = wceq 1364   E.wex 1503    e. wcel 2164   A.wral 2472   {crab 2476   _Vcvv 2760    C_ wss 3153   (/)c0 3446   {csn 3618   omcom 4622    X. cxp 4657   `'ccnv 4658   "cima 4662    o. ccom 4663   Fun wfun 5248   -onto->wfo 5252   -1-1-onto->wf1o 5253   ` cfv 5254   1oc1o 6462   ⊔ cdju 7096  inlcinl 7104
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-coll 4144  ax-sep 4147  ax-nul 4155  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-iinf 4620
This theorem depends on definitions:  df-bi 117  df-dc 836  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ne 2365  df-ral 2477  df-rex 2478  df-reu 2479  df-rab 2481  df-v 2762  df-sbc 2986  df-csb 3081  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3447  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-iun 3914  df-br 4030  df-opab 4091  df-mpt 4092  df-tr 4128  df-id 4324  df-iord 4397  df-on 4399  df-suc 4402  df-iom 4623  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-ima 4672  df-iota 5215  df-fun 5256  df-fn 5257  df-f 5258  df-f1 5259  df-fo 5260  df-f1o 5261  df-fv 5262  df-1st 6193  df-2nd 6194  df-1o 6469  df-dju 7097  df-inl 7106  df-inr 7107
This theorem is referenced by:  ctssdc  7172
  Copyright terms: Public domain W3C validator