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

Theorem ctssdclemr 7173
Description: Lemma for ctssdc 7174. 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 5473 . . 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 7172 . . . . 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 7119 . . . . . . . . 9  |- inl : _V -1-1-onto-> ( { (/) }  X.  _V )
8 f1ocnv 5514 . . . . . . . . 9  |-  (inl : _V
-1-1-onto-> ( { (/) }  X.  _V )  ->  `'inl : ( { (/) }  X.  _V ) -1-1-onto-> _V )
9 f1ofun 5503 . . . . . . . . 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 6163 . . . . . . . 8  |-  ( ( Fun  `'inl  /\  g  e.  _V )  ->  ( `'inl  o.  g )  e. 
_V )
1310, 11, 12mp2an 426 . . . . . . 7  |-  ( `'inl 
o.  g )  e. 
_V
14 foeq1 5473 . . . . . . 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 2856 . . . . . 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 4626 . . . . . 6  |-  om  e.  _V
1918rabex 4174 . . . . 5  |-  { t  e.  om  |  ( g `  t )  e.  (inl " A
) }  e.  _V
20 sseq1 3203 . . . . . 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 5474 . . . . . . 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 2856 . . . 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 3154   (/)c0 3447   {csn 3619   omcom 4623    X. cxp 4658   `'ccnv 4659   "cima 4663    o. ccom 4664   Fun wfun 5249   -onto->wfo 5253   -1-1-onto->wf1o 5254   ` cfv 5255   1oc1o 6464   ⊔ cdju 7098  inlcinl 7106
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 4145  ax-sep 4148  ax-nul 4156  ax-pow 4204  ax-pr 4239  ax-un 4465  ax-iinf 4621
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 2987  df-csb 3082  df-dif 3156  df-un 3158  df-in 3160  df-ss 3167  df-nul 3448  df-pw 3604  df-sn 3625  df-pr 3626  df-op 3628  df-uni 3837  df-int 3872  df-iun 3915  df-br 4031  df-opab 4092  df-mpt 4093  df-tr 4129  df-id 4325  df-iord 4398  df-on 4400  df-suc 4403  df-iom 4624  df-xp 4666  df-rel 4667  df-cnv 4668  df-co 4669  df-dm 4670  df-rn 4671  df-res 4672  df-ima 4673  df-iota 5216  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-1st 6195  df-2nd 6196  df-1o 6471  df-dju 7099  df-inl 7108  df-inr 7109
This theorem is referenced by:  ctssdc  7174
  Copyright terms: Public domain W3C validator