Users' Mathboxes Mathbox for Jim Kingdon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  subctctexmid Unicode version

Theorem subctctexmid 13881
Description: If every subcountable set is countable and Markov's principle holds, excluded middle follows. Proposition 2.6 of [BauerSwan], p. 14:4. The proof is taken from that paper. (Contributed by Jim Kingdon, 29-Nov-2023.)
Hypotheses
Ref Expression
subctctexmid.x  |-  ( ph  ->  A. x ( E. s ( s  C_  om 
/\  E. f  f : s -onto-> x )  ->  E. g  g : om -onto-> ( x 1o ) ) )
subctctexmid.mk  |-  ( ph  ->  om  e. Markov )
Assertion
Ref Expression
subctctexmid  |-  ( ph  -> EXMID )
Distinct variable groups:    f, s, x    ph, g    x, g
Allowed substitution hints:    ph( x, f, s)

Proof of Theorem subctctexmid
Dummy variables  y  z  h  n  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 subctctexmid.x . . . . 5  |-  ( ph  ->  A. x ( E. s ( s  C_  om 
/\  E. f  f : s -onto-> x )  ->  E. g  g : om -onto-> ( x 1o ) ) )
2 omex 4570 . . . . . . . 8  |-  om  e.  _V
32rabex 4126 . . . . . . 7  |-  { z  e.  om  |  y  =  { (/) } }  e.  _V
43a1i 9 . . . . . 6  |-  ( ph  ->  { z  e.  om  |  y  =  { (/)
} }  e.  _V )
5 ssrab2 3227 . . . . . . 7  |-  { z  e.  om  |  y  =  { (/) } }  C_ 
om
6 f1oi 5470 . . . . . . . . 9  |-  (  _I  |`  { z  e.  om  |  y  =  { (/)
} } ) : { z  e.  om  |  y  =  { (/)
} } -1-1-onto-> { z  e.  om  |  y  =  { (/)
} }
7 f1ofo 5439 . . . . . . . . 9  |-  ( (  _I  |`  { z  e.  om  |  y  =  { (/) } } ) : { z  e. 
om  |  y  =  { (/) } } -1-1-onto-> { z  e.  om  |  y  =  { (/)
} }  ->  (  _I  |`  { z  e. 
om  |  y  =  { (/) } } ) : { z  e. 
om  |  y  =  { (/) } } -onto-> {
z  e.  om  | 
y  =  { (/) } } )
86, 7ax-mp 5 . . . . . . . 8  |-  (  _I  |`  { z  e.  om  |  y  =  { (/)
} } ) : { z  e.  om  |  y  =  { (/)
} } -onto-> { z  e.  om  |  y  =  { (/) } }
9 resiexg 4929 . . . . . . . . . 10  |-  ( { z  e.  om  | 
y  =  { (/) } }  e.  _V  ->  (  _I  |`  { z  e.  om  |  y  =  { (/) } } )  e.  _V )
103, 9ax-mp 5 . . . . . . . . 9  |-  (  _I  |`  { z  e.  om  |  y  =  { (/)
} } )  e. 
_V
11 foeq1 5406 . . . . . . . . 9  |-  ( f  =  (  _I  |`  { z  e.  om  |  y  =  { (/) } }
)  ->  ( f : { z  e.  om  |  y  =  { (/)
} } -onto-> { z  e.  om  |  y  =  { (/) } }  <->  (  _I  |`  { z  e.  om  |  y  =  { (/) } } ) : { z  e. 
om  |  y  =  { (/) } } -onto-> {
z  e.  om  | 
y  =  { (/) } } ) )
1210, 11spcev 2821 . . . . . . . 8  |-  ( (  _I  |`  { z  e.  om  |  y  =  { (/) } } ) : { z  e. 
om  |  y  =  { (/) } } -onto-> {
z  e.  om  | 
y  =  { (/) } }  ->  E. f 
f : { z  e.  om  |  y  =  { (/) } } -onto-> { z  e.  om  |  y  =  { (/)
} } )
138, 12ax-mp 5 . . . . . . 7  |-  E. f 
f : { z  e.  om  |  y  =  { (/) } } -onto-> { z  e.  om  |  y  =  { (/)
} }
145, 13pm3.2i 270 . . . . . 6  |-  ( { z  e.  om  | 
y  =  { (/) } }  C_  om  /\  E. f  f : {
z  e.  om  | 
y  =  { (/) } } -onto-> { z  e.  om  |  y  =  { (/)
} } )
15 sseq1 3165 . . . . . . . 8  |-  ( s  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( s  C_  om  <->  { z  e.  om  |  y  =  { (/) } }  C_  om ) )
16 foeq2 5407 . . . . . . . . 9  |-  ( s  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( f : s -onto-> { z  e.  om  | 
y  =  { (/) } }  <->  f : {
z  e.  om  | 
y  =  { (/) } } -onto-> { z  e.  om  |  y  =  { (/)
} } ) )
1716exbidv 1813 . . . . . . . 8  |-  ( s  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( E. f  f : s -onto-> { z  e.  om  |  y  =  { (/)
} }  <->  E. f 
f : { z  e.  om  |  y  =  { (/) } } -onto-> { z  e.  om  |  y  =  { (/)
} } ) )
1815, 17anbi12d 465 . . . . . . 7  |-  ( s  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( ( s  C_  om  /\  E. f  f : s
-onto-> { z  e.  om  |  y  =  { (/)
} } )  <->  ( {
z  e.  om  | 
y  =  { (/) } }  C_  om  /\  E. f  f : {
z  e.  om  | 
y  =  { (/) } } -onto-> { z  e.  om  |  y  =  { (/)
} } ) ) )
1918spcegv 2814 . . . . . 6  |-  ( { z  e.  om  | 
y  =  { (/) } }  e.  _V  ->  ( ( { z  e. 
om  |  y  =  { (/) } }  C_  om 
/\  E. f  f : { z  e.  om  |  y  =  { (/)
} } -onto-> { z  e.  om  |  y  =  { (/) } }
)  ->  E. s
( s  C_  om  /\  E. f  f : s
-onto-> { z  e.  om  |  y  =  { (/)
} } ) ) )
204, 14, 19mpisyl 1434 . . . . 5  |-  ( ph  ->  E. s ( s 
C_  om  /\  E. f 
f : s -onto-> { z  e.  om  | 
y  =  { (/) } } ) )
21 foeq3 5408 . . . . . . . . . 10  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( f : s -onto-> x  <-> 
f : s -onto-> { z  e.  om  | 
y  =  { (/) } } ) )
2221exbidv 1813 . . . . . . . . 9  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( E. f  f : s -onto-> x  <->  E. f  f : s -onto-> { z  e.  om  |  y  =  { (/)
} } ) )
2322anbi2d 460 . . . . . . . 8  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( ( s  C_  om  /\  E. f  f : s
-onto-> x )  <->  ( s  C_ 
om  /\  E. f 
f : s -onto-> { z  e.  om  | 
y  =  { (/) } } ) ) )
2423exbidv 1813 . . . . . . 7  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( E. s ( s 
C_  om  /\  E. f 
f : s -onto-> x )  <->  E. s ( s 
C_  om  /\  E. f 
f : s -onto-> { z  e.  om  | 
y  =  { (/) } } ) ) )
25 djueq1 7005 . . . . . . . . 9  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( x 1o )  =  ( { z  e.  om  |  y  =  { (/)
} } 1o ) )
26 foeq3 5408 . . . . . . . . 9  |-  ( ( x 1o )  =  ( { z  e.  om  |  y  =  { (/)
} } 1o )  -> 
( g : om -onto->
( x 1o )  <->  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) ) )
2725, 26syl 14 . . . . . . . 8  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( g : om -onto-> (
x 1o )  <->  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) ) )
2827exbidv 1813 . . . . . . 7  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( E. g  g : om -onto-> ( x 1o ) 
<->  E. g  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) ) )
2924, 28imbi12d 233 . . . . . 6  |-  ( x  =  { z  e. 
om  |  y  =  { (/) } }  ->  ( ( E. s ( s  C_  om  /\  E. f  f : s
-onto-> x )  ->  E. g 
g : om -onto-> (
x 1o ) )  <->  ( E. s ( s  C_  om 
/\  E. f  f : s -onto-> { z  e.  om  |  y  =  { (/)
} } )  ->  E. g  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) ) ) )
303, 29spcv 2820 . . . . 5  |-  ( A. x ( E. s
( s  C_  om  /\  E. f  f : s
-onto-> x )  ->  E. g 
g : om -onto-> (
x 1o ) )  -> 
( E. s ( s  C_  om  /\  E. f  f : s
-onto-> { z  e.  om  |  y  =  { (/)
} } )  ->  E. g  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) ) )
311, 20, 30sylc 62 . . . 4  |-  ( ph  ->  E. g  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )
32 fveq1 5485 . . . . . . . . . . . 12  |-  ( h  =  ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) )  ->  (
h `  n )  =  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n ) )
3332eqeq1d 2174 . . . . . . . . . . 11  |-  ( h  =  ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) )  ->  (
( h `  n
)  =  1o  <->  ( (
w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o ) )
3433rexbidv 2467 . . . . . . . . . 10  |-  ( h  =  ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) )  ->  ( E. n  e.  om  ( h `  n
)  =  1o  <->  E. n  e.  om  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o ) )
3534notbid 657 . . . . . . . . 9  |-  ( h  =  ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) )  ->  ( -.  E. n  e.  om  ( h `  n
)  =  1o  <->  -.  E. n  e.  om  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o ) )
3635notbid 657 . . . . . . . 8  |-  ( h  =  ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) )  ->  ( -.  -.  E. n  e. 
om  ( h `  n )  =  1o  <->  -. 
-.  E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o ) )
3736, 34imbi12d 233 . . . . . . 7  |-  ( h  =  ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) )  ->  (
( -.  -.  E. n  e.  om  (
h `  n )  =  1o  ->  E. n  e.  om  ( h `  n )  =  1o )  <->  ( -.  -.  E. n  e.  om  (
( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o 
->  E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o ) ) )
38 subctctexmid.mk . . . . . . . . 9  |-  ( ph  ->  om  e. Markov )
39 ismkvnex 7119 . . . . . . . . . 10  |-  ( om  e. Markov  ->  ( om  e. Markov  <->  A. h  e.  ( 2o  ^m 
om ) ( -. 
-.  E. n  e.  om  ( h `  n
)  =  1o  ->  E. n  e.  om  (
h `  n )  =  1o ) ) )
4038, 39syl 14 . . . . . . . . 9  |-  ( ph  ->  ( om  e. Markov  <->  A. h  e.  ( 2o  ^m  om ) ( -.  -.  E. n  e.  om  (
h `  n )  =  1o  ->  E. n  e.  om  ( h `  n )  =  1o ) ) )
4138, 40mpbid 146 . . . . . . . 8  |-  ( ph  ->  A. h  e.  ( 2o  ^m  om )
( -.  -.  E. n  e.  om  (
h `  n )  =  1o  ->  E. n  e.  om  ( h `  n )  =  1o ) )
4241adantr 274 . . . . . . 7  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  A. h  e.  ( 2o  ^m  om ) ( -.  -.  E. n  e.  om  (
h `  n )  =  1o  ->  E. n  e.  om  ( h `  n )  =  1o ) )
43 1lt2o 6410 . . . . . . . . . . . 12  |-  1o  e.  2o
4443a1i 9 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  ( 1st `  (
g `  n )
)  =  (/) )  ->  1o  e.  2o )
45 0lt2o 6409 . . . . . . . . . . . 12  |-  (/)  e.  2o
4645a1i 9 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  -.  ( 1st `  (
g `  n )
)  =  (/) )  ->  (/) 
e.  2o )
47 simplr 520 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )
48 fof 5410 . . . . . . . . . . . . . . 15  |-  ( g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o )  ->  g : om --> ( { z  e.  om  |  y  =  { (/) } } 1o ) )
4947, 48syl 14 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  g : om --> ( { z  e.  om  |  y  =  { (/) } } 1o ) )
50 simpr 109 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  n  e.  om )
5149, 50ffvelrnd 5621 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  (
g `  n )  e.  ( { z  e. 
om  |  y  =  { (/) } } 1o ) )
52 eldju1st 7036 . . . . . . . . . . . . 13  |-  ( ( g `  n )  e.  ( { z  e.  om  |  y  =  { (/) } } 1o )  ->  ( ( 1st `  ( g `  n ) )  =  (/)  \/  ( 1st `  (
g `  n )
)  =  1o ) )
5351, 52syl 14 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  (
( 1st `  (
g `  n )
)  =  (/)  \/  ( 1st `  ( g `  n ) )  =  1o ) )
54 1n0 6400 . . . . . . . . . . . . . . . 16  |-  1o  =/=  (/)
5554neii 2338 . . . . . . . . . . . . . . 15  |-  -.  1o  =  (/)
56 eqeq1 2172 . . . . . . . . . . . . . . 15  |-  ( ( 1st `  ( g `
 n ) )  =  1o  ->  (
( 1st `  (
g `  n )
)  =  (/)  <->  1o  =  (/) ) )
5755, 56mtbiri 665 . . . . . . . . . . . . . 14  |-  ( ( 1st `  ( g `
 n ) )  =  1o  ->  -.  ( 1st `  ( g `
 n ) )  =  (/) )
5857orim2i 751 . . . . . . . . . . . . 13  |-  ( ( ( 1st `  (
g `  n )
)  =  (/)  \/  ( 1st `  ( g `  n ) )  =  1o )  ->  (
( 1st `  (
g `  n )
)  =  (/)  \/  -.  ( 1st `  ( g `
 n ) )  =  (/) ) )
59 df-dc 825 . . . . . . . . . . . . 13  |-  (DECID  ( 1st `  ( g `  n
) )  =  (/)  <->  (
( 1st `  (
g `  n )
)  =  (/)  \/  -.  ( 1st `  ( g `
 n ) )  =  (/) ) )
6058, 59sylibr 133 . . . . . . . . . . . 12  |-  ( ( ( 1st `  (
g `  n )
)  =  (/)  \/  ( 1st `  ( g `  n ) )  =  1o )  -> DECID  ( 1st `  (
g `  n )
)  =  (/) )
6153, 60syl 14 . . . . . . . . . . 11  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  -> DECID  ( 1st `  (
g `  n )
)  =  (/) )
6244, 46, 61ifcldadc 3549 . . . . . . . . . 10  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  e.  2o )
6362fmpttd 5640 . . . . . . . . 9  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  (
n  e.  om  |->  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) ) ) : om --> 2o )
64 2fveq3 5491 . . . . . . . . . . . . . 14  |-  ( w  =  n  ->  ( 1st `  ( g `  w ) )  =  ( 1st `  (
g `  n )
) )
6564eqeq1d 2174 . . . . . . . . . . . . 13  |-  ( w  =  n  ->  (
( 1st `  (
g `  w )
)  =  (/)  <->  ( 1st `  ( g `  n
) )  =  (/) ) )
6665ifbid 3541 . . . . . . . . . . . 12  |-  ( w  =  n  ->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) )  =  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) ) )
67 eqcom 2167 . . . . . . . . . . . 12  |-  ( w  =  n  <->  n  =  w )
68 eqcom 2167 . . . . . . . . . . . 12  |-  ( if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) )  =  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  <->  if (
( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  =  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )
6966, 67, 683imtr3i 199 . . . . . . . . . . 11  |-  ( n  =  w  ->  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  =  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )
7069cbvmptv 4078 . . . . . . . . . 10  |-  ( n  e.  om  |->  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) ) )  =  ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )
7170feq1i 5330 . . . . . . . . 9  |-  ( ( n  e.  om  |->  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) ) ) : om --> 2o  <->  ( w  e.  om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) : om --> 2o )
7263, 71sylib 121 . . . . . . . 8  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  (
w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) : om --> 2o )
73 2onn 6489 . . . . . . . . . 10  |-  2o  e.  om
7473elexi 2738 . . . . . . . . 9  |-  2o  e.  _V
7574, 2elmap 6643 . . . . . . . 8  |-  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )  e.  ( 2o  ^m  om ) 
<->  ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) : om --> 2o )
7672, 75sylibr 133 . . . . . . 7  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  (
w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )  e.  ( 2o  ^m  om ) )
7737, 42, 76rspcdva 2835 . . . . . 6  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  ( -.  -.  E. n  e. 
om  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o 
->  E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o ) )
78 eqid 2165 . . . . . . . . . . . . 13  |-  ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )  =  ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) )
7978, 66, 50, 62fvmptd3 5579 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  (
( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) ) )
8079eqeq1d 2174 . . . . . . . . . . 11  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  (
( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o  <->  if (
( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  =  1o ) )
8151adantr 274 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  (
g `  n )  e.  ( { z  e. 
om  |  y  =  { (/) } } 1o ) )
82 simpr 109 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  =  1o )
8382eqcomd 2171 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  1o  =  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) ) )
84 eqifdc 3554 . . . . . . . . . . . . . . . . . . 19  |-  (DECID  ( 1st `  ( g `  n
) )  =  (/)  ->  ( 1o  =  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  <->  ( (
( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o )  \/  ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) ) ) ) )
8561, 84syl 14 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  ( 1o  =  if (
( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  <->  ( (
( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o )  \/  ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) ) ) ) )
86 eqid 2165 . . . . . . . . . . . . . . . . . . 19  |-  1o  =  1o
87 orcom 718 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o )  \/  ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) ) )  <->  ( ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) )  \/  (
( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o ) ) )
8855intnan 919 . . . . . . . . . . . . . . . . . . . . 21  |-  -.  ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) )
89 biorf 734 . . . . . . . . . . . . . . . . . . . . 21  |-  ( -.  ( -.  ( 1st `  ( g `  n
) )  =  (/)  /\  1o  =  (/) )  -> 
( ( ( 1st `  ( g `  n
) )  =  (/)  /\  1o  =  1o )  <-> 
( ( -.  ( 1st `  ( g `  n ) )  =  (/)  /\  1o  =  (/) )  \/  ( ( 1st `  ( g `  n ) )  =  (/)  /\  1o  =  1o ) ) ) )
9088, 89ax-mp 5 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o )  <->  ( ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) )  \/  (
( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o ) ) )
9187, 90bitr4i 186 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o )  \/  ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) ) )  <->  ( ( 1st `  ( g `  n ) )  =  (/)  /\  1o  =  1o ) )
9286, 91mpbiran2 931 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  1o )  \/  ( -.  ( 1st `  (
g `  n )
)  =  (/)  /\  1o  =  (/) ) )  <->  ( 1st `  ( g `  n
) )  =  (/) )
9385, 92bitrdi 195 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  ( 1o  =  if (
( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  <->  ( 1st `  ( g `  n
) )  =  (/) ) )
9493adantr 274 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  ( 1o  =  if (
( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  <->  ( 1st `  ( g `  n
) )  =  (/) ) )
9583, 94mpbid 146 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  ( 1st `  ( g `  n ) )  =  (/) )
96 eldju2ndl 7037 . . . . . . . . . . . . . . 15  |-  ( ( ( g `  n
)  e.  ( { z  e.  om  | 
y  =  { (/) } } 1o )  /\  ( 1st `  ( g `  n ) )  =  (/) )  ->  ( 2nd `  ( g `  n
) )  e.  {
z  e.  om  | 
y  =  { (/) } } )
9781, 95, 96syl2anc 409 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  ( 2nd `  ( g `  n ) )  e. 
{ z  e.  om  |  y  =  { (/)
} } )
98 biidd 171 . . . . . . . . . . . . . . 15  |-  ( z  =  ( 2nd `  (
g `  n )
)  ->  ( y  =  { (/) }  <->  y  =  { (/) } ) )
9998elrab 2882 . . . . . . . . . . . . . 14  |-  ( ( 2nd `  ( g `
 n ) )  e.  { z  e. 
om  |  y  =  { (/) } }  <->  ( ( 2nd `  ( g `  n ) )  e. 
om  /\  y  =  { (/) } ) )
10097, 99sylib 121 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  (
( 2nd `  (
g `  n )
)  e.  om  /\  y  =  { (/) } ) )
101100simprd 113 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  n  e.  om )  /\  if ( ( 1st `  ( g `  n
) )  =  (/) ,  1o ,  (/) )  =  1o )  ->  y  =  { (/) } )
102101ex 114 . . . . . . . . . . 11  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  ( if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) )  =  1o 
->  y  =  { (/)
} ) )
10380, 102sylbid 149 . . . . . . . . . 10  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  n  e.  om )  ->  (
( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o  ->  y  =  { (/) } ) )
104103rexlimdva 2583 . . . . . . . . 9  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  ( E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o  ->  y  =  { (/) } ) )
105 simplr 520 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  -> 
g : om -onto-> ( { z  e.  om  |  y  =  { (/)
} } 1o ) )
106 biidd 171 . . . . . . . . . . . . . 14  |-  ( z  =  (/)  ->  ( y  =  { (/) }  <->  y  =  { (/) } ) )
107 peano1 4571 . . . . . . . . . . . . . . 15  |-  (/)  e.  om
108107a1i 9 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  ->  (/) 
e.  om )
109 simpr 109 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  -> 
y  =  { (/) } )
110106, 108, 109elrabd 2884 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  ->  (/) 
e.  { z  e. 
om  |  y  =  { (/) } } )
111 djulcl 7016 . . . . . . . . . . . . 13  |-  ( (/)  e.  { z  e.  om  |  y  =  { (/)
} }  ->  (inl `  (/) )  e.  ( { z  e.  om  |  y  =  { (/)
} } 1o ) )
112110, 111syl 14 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  -> 
(inl `  (/) )  e.  ( { z  e. 
om  |  y  =  { (/) } } 1o ) )
113 foelrn 5721 . . . . . . . . . . . 12  |-  ( ( g : om -onto-> ( { z  e.  om  |  y  =  { (/)
} } 1o )  /\  (inl `  (/) )  e.  ( { z  e.  om  |  y  =  { (/)
} } 1o ) )  ->  E. n  e.  om  (inl `  (/) )  =  ( g `  n ) )
114105, 112, 113syl2anc 409 . . . . . . . . . . 11  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  ->  E. n  e.  om  (inl `  (/) )  =  ( g `  n ) )
11579adantlr 469 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  /\  n  e.  om )  ->  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  if ( ( 1st `  (
g `  n )
)  =  (/) ,  1o ,  (/) ) )
116 fveq2 5486 . . . . . . . . . . . . . . . 16  |-  ( (inl
`  (/) )  =  ( g `  n )  ->  ( 1st `  (inl `  (/) ) )  =  ( 1st `  ( g `
 n ) ) )
117 1stinl 7039 . . . . . . . . . . . . . . . . 17  |-  ( (/)  e.  om  ->  ( 1st `  (inl `  (/) ) )  =  (/) )
118107, 117ax-mp 5 . . . . . . . . . . . . . . . 16  |-  ( 1st `  (inl `  (/) ) )  =  (/)
119116, 118eqtr3di 2214 . . . . . . . . . . . . . . 15  |-  ( (inl
`  (/) )  =  ( g `  n )  ->  ( 1st `  (
g `  n )
)  =  (/) )
120119iftrued 3527 . . . . . . . . . . . . . 14  |-  ( (inl
`  (/) )  =  ( g `  n )  ->  if ( ( 1st `  ( g `
 n ) )  =  (/) ,  1o ,  (/) )  =  1o )
121115, 120sylan9eq 2219 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/)
} } 1o ) )  /\  y  =  { (/)
} )  /\  n  e.  om )  /\  (inl `  (/) )  =  (
g `  n )
)  ->  ( (
w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o )
122121ex 114 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  | 
y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  /\  n  e.  om )  ->  ( (inl `  (/) )  =  ( g `
 n )  -> 
( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o ) )
123122reximdva 2568 . . . . . . . . . . 11  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  -> 
( E. n  e. 
om  (inl `  (/) )  =  ( g `  n
)  ->  E. n  e.  om  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o ) )
124114, 123mpd 13 . . . . . . . . . 10  |-  ( ( ( ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  /\  y  =  { (/) } )  ->  E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o )
125124ex 114 . . . . . . . . 9  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  (
y  =  { (/) }  ->  E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o ) )
126104, 125impbid 128 . . . . . . . 8  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  ( E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o  <->  y  =  { (/) } ) )
127126notbid 657 . . . . . . 7  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  ( -.  E. n  e.  om  ( ( w  e. 
om  |->  if ( ( 1st `  ( g `
 w ) )  =  (/) ,  1o ,  (/) ) ) `  n
)  =  1o  <->  -.  y  =  { (/) } ) )
128127notbid 657 . . . . . 6  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  ( -.  -.  E. n  e. 
om  ( ( w  e.  om  |->  if ( ( 1st `  (
g `  w )
)  =  (/) ,  1o ,  (/) ) ) `  n )  =  1o  <->  -. 
-.  y  =  { (/)
} ) )
12977, 128, 1263imtr3d 201 . . . . 5  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  ->  ( -.  -.  y  =  { (/)
}  ->  y  =  { (/) } ) )
130 df-stab 821 . . . . 5  |-  (STAB  y  =  { (/) }  <->  ( -.  -.  y  =  { (/)
}  ->  y  =  { (/) } ) )
131129, 130sylibr 133 . . . 4  |-  ( (
ph  /\  g : om -onto-> ( { z  e.  om  |  y  =  { (/) } } 1o ) )  -> STAB  y  =  { (/) } )
13231, 131exlimddv 1886 . . 3  |-  ( ph  -> STAB  y  =  { (/) } )
133132adantr 274 . 2  |-  ( (
ph  /\  y  C_  {
(/) } )  -> STAB  y  =  { (/) } )
134133exmid1stab 13880 1  |-  ( ph  -> EXMID )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 698  STAB wstab 820  DECID wdc 824   A.wal 1341    = wceq 1343   E.wex 1480    e. wcel 2136   A.wral 2444   E.wrex 2445   {crab 2448   _Vcvv 2726    C_ wss 3116   (/)c0 3409   ifcif 3520   {csn 3576    |-> cmpt 4043  EXMIDwem 4173    _I cid 4266   omcom 4567    |` cres 4606   -->wf 5184   -onto->wfo 5186   -1-1-onto->wf1o 5187   ` cfv 5188  (class class class)co 5842   1stc1st 6106   2ndc2nd 6107   1oc1o 6377   2oc2o 6378    ^m cmap 6614   ⊔ cdju 7002  inlcinl 7010  Markovcmarkov 7115
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  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-stab 821  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-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-exmid 4174  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-iom 4568  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-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-1o 6384  df-2o 6385  df-map 6616  df-dju 7003  df-inl 7012  df-inr 7013  df-markov 7116
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator