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

Theorem nnregexmid 4605
Description: If inhabited sets of natural numbers always have minimal elements, excluded middle follows. The argument is essentially the same as regexmid 4519 and the larger lesson is that although natural numbers may behave "non-constructively" even in a constructive set theory (for example see nndceq 6478 or nntri3or 6472), sets of natural numbers are a different animal. (Contributed by Jim Kingdon, 6-Sep-2019.)
Hypothesis
Ref Expression
nnregexmid.1  |-  ( ( x  C_  om  /\  E. y  y  e.  x
)  ->  E. y
( y  e.  x  /\  A. z ( z  e.  y  ->  -.  z  e.  x )
) )
Assertion
Ref Expression
nnregexmid  |-  ( ph  \/  -.  ph )
Distinct variable group:    ph, x, y, z

Proof of Theorem nnregexmid
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 ssrab2 3232 . . . 4  |-  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  C_  {
(/) ,  { (/) } }
2 peano1 4578 . . . . 5  |-  (/)  e.  om
3 suc0 4396 . . . . . 6  |-  suc  (/)  =  { (/)
}
4 peano2 4579 . . . . . . 7  |-  ( (/)  e.  om  ->  suc  (/)  e.  om )
52, 4ax-mp 5 . . . . . 6  |-  suc  (/)  e.  om
63, 5eqeltrri 2244 . . . . 5  |-  { (/) }  e.  om
7 prssi 3738 . . . . 5  |-  ( (
(/)  e.  om  /\  { (/)
}  e.  om )  ->  { (/) ,  { (/) } }  C_  om )
82, 6, 7mp2an 424 . . . 4  |-  { (/) ,  { (/) } }  C_  om
91, 8sstri 3156 . . 3  |-  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  C_  om
10 eqid 2170 . . . 4  |-  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  =  { w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) }
1110regexmidlemm 4516 . . 3  |-  E. y 
y  e.  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }
12 pp0ex 4175 . . . . 5  |-  { (/) ,  { (/) } }  e.  _V
1312rabex 4133 . . . 4  |-  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  e.  _V
14 sseq1 3170 . . . . . 6  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( x  C_  om  <->  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  C_  om ) )
15 eleq2 2234 . . . . . . 7  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( y  e.  x  <->  y  e.  { w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) } ) )
1615exbidv 1818 . . . . . 6  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( E. y  y  e.  x  <->  E. y  y  e. 
{ w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) )
1714, 16anbi12d 470 . . . . 5  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( ( x  C_  om  /\  E. y  y  e.  x
)  <->  ( { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  C_  om 
/\  E. y  y  e. 
{ w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) )
18 eleq2 2234 . . . . . . . . . 10  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( z  e.  x  <->  z  e.  { w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) } ) )
1918notbid 662 . . . . . . . . 9  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( -.  z  e.  x  <->  -.  z  e.  { w  e.  { (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) } ) )
2019imbi2d 229 . . . . . . . 8  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( ( z  e.  y  ->  -.  z  e.  x )  <->  ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) )
2120albidv 1817 . . . . . . 7  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( A. z ( z  e.  y  ->  -.  z  e.  x )  <->  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) )
2215, 21anbi12d 470 . . . . . 6  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( ( y  e.  x  /\  A. z ( z  e.  y  ->  -.  z  e.  x )
)  <->  ( y  e. 
{ w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) }  /\  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) ) )
2322exbidv 1818 . . . . 5  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( E. y ( y  e.  x  /\  A. z ( z  e.  y  ->  -.  z  e.  x ) )  <->  E. y
( y  e.  {
w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) }  /\  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) ) )
2417, 23imbi12d 233 . . . 4  |-  ( x  =  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  ->  ( ( ( x  C_  om 
/\  E. y  y  e.  x )  ->  E. y
( y  e.  x  /\  A. z ( z  e.  y  ->  -.  z  e.  x )
) )  <->  ( ( { w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) }  C_  om  /\  E. y  y  e.  {
w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) } )  ->  E. y ( y  e. 
{ w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) }  /\  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) ) ) )
25 nnregexmid.1 . . . 4  |-  ( ( x  C_  om  /\  E. y  y  e.  x
)  ->  E. y
( y  e.  x  /\  A. z ( z  e.  y  ->  -.  z  e.  x )
) )
2613, 24, 25vtocl 2784 . . 3  |-  ( ( { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) }  C_  om 
/\  E. y  y  e. 
{ w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } )  ->  E. y ( y  e.  { w  e. 
{ (/) ,  { (/) } }  |  ( w  =  { (/) }  \/  ( w  =  (/)  /\  ph ) ) }  /\  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) ) )
279, 11, 26mp2an 424 . 2  |-  E. y
( y  e.  {
w  e.  { (/) ,  { (/) } }  | 
( w  =  { (/)
}  \/  ( w  =  (/)  /\  ph )
) }  /\  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) )
2810regexmidlem1 4517 . 2  |-  ( E. y ( y  e. 
{ w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) }  /\  A. z ( z  e.  y  ->  -.  z  e.  { w  e.  { (/)
,  { (/) } }  |  ( w  =  { (/) }  \/  (
w  =  (/)  /\  ph ) ) } ) )  ->  ( ph  \/  -.  ph ) )
2927, 28ax-mp 5 1  |-  ( ph  \/  -.  ph )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    \/ wo 703   A.wal 1346    = wceq 1348   E.wex 1485    e. wcel 2141   {crab 2452    C_ wss 3121   (/)c0 3414   {csn 3583   {cpr 3584   suc csuc 4350   omcom 4574
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-uni 3797  df-int 3832  df-suc 4356  df-iom 4575
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator