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

Theorem regexmidlem1 4517
Description: Lemma for regexmid 4519. If  A has a minimal element, excluded middle follows. (Contributed by Jim Kingdon, 3-Sep-2019.)
Hypothesis
Ref Expression
regexmidlemm.a  |-  A  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  (
x  =  (/)  /\  ph ) ) }
Assertion
Ref Expression
regexmidlem1  |-  ( E. y ( y  e.  A  /\  A. z
( z  e.  y  ->  -.  z  e.  A ) )  -> 
( ph  \/  -.  ph ) )
Distinct variable groups:    y, A, z    ph, x, y
Allowed substitution hints:    ph( z)    A( x)

Proof of Theorem regexmidlem1
StepHypRef Expression
1 eqeq1 2177 . . . . . . 7  |-  ( x  =  y  ->  (
x  =  { (/) }  <-> 
y  =  { (/) } ) )
2 eqeq1 2177 . . . . . . . 8  |-  ( x  =  y  ->  (
x  =  (/)  <->  y  =  (/) ) )
32anbi1d 462 . . . . . . 7  |-  ( x  =  y  ->  (
( x  =  (/)  /\ 
ph )  <->  ( y  =  (/)  /\  ph )
) )
41, 3orbi12d 788 . . . . . 6  |-  ( x  =  y  ->  (
( x  =  { (/)
}  \/  ( x  =  (/)  /\  ph )
)  <->  ( y  =  { (/) }  \/  (
y  =  (/)  /\  ph ) ) ) )
5 regexmidlemm.a . . . . . 6  |-  A  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  (
x  =  (/)  /\  ph ) ) }
64, 5elrab2 2889 . . . . 5  |-  ( y  e.  A  <->  ( y  e.  { (/) ,  { (/) } }  /\  ( y  =  { (/) }  \/  ( y  =  (/)  /\ 
ph ) ) ) )
76simprbi 273 . . . 4  |-  ( y  e.  A  ->  (
y  =  { (/) }  \/  ( y  =  (/)  /\  ph ) ) )
8 0ex 4116 . . . . . . . . 9  |-  (/)  e.  _V
98snid 3614 . . . . . . . 8  |-  (/)  e.  { (/)
}
10 eleq2 2234 . . . . . . . 8  |-  ( y  =  { (/) }  ->  (
(/)  e.  y  <->  (/)  e.  { (/)
} ) )
119, 10mpbiri 167 . . . . . . 7  |-  ( y  =  { (/) }  ->  (/)  e.  y )
12 eleq1 2233 . . . . . . . . 9  |-  ( z  =  (/)  ->  ( z  e.  y  <->  (/)  e.  y ) )
13 eleq1 2233 . . . . . . . . . 10  |-  ( z  =  (/)  ->  ( z  e.  A  <->  (/)  e.  A
) )
1413notbid 662 . . . . . . . . 9  |-  ( z  =  (/)  ->  ( -.  z  e.  A  <->  -.  (/)  e.  A
) )
1512, 14imbi12d 233 . . . . . . . 8  |-  ( z  =  (/)  ->  ( ( z  e.  y  ->  -.  z  e.  A
)  <->  ( (/)  e.  y  ->  -.  (/)  e.  A
) ) )
168, 15spcv 2824 . . . . . . 7  |-  ( A. z ( z  e.  y  ->  -.  z  e.  A )  ->  ( (/) 
e.  y  ->  -.  (/) 
e.  A ) )
1711, 16syl5com 29 . . . . . 6  |-  ( y  =  { (/) }  ->  ( A. z ( z  e.  y  ->  -.  z  e.  A )  ->  -.  (/)  e.  A ) )
188prid1 3689 . . . . . . . . . 10  |-  (/)  e.  { (/)
,  { (/) } }
19 eqeq1 2177 . . . . . . . . . . . 12  |-  ( x  =  (/)  ->  ( x  =  { (/) }  <->  (/)  =  { (/)
} ) )
20 eqeq1 2177 . . . . . . . . . . . . 13  |-  ( x  =  (/)  ->  ( x  =  (/)  <->  (/)  =  (/) ) )
2120anbi1d 462 . . . . . . . . . . . 12  |-  ( x  =  (/)  ->  ( ( x  =  (/)  /\  ph ) 
<->  ( (/)  =  (/)  /\  ph ) ) )
2219, 21orbi12d 788 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( ( x  =  { (/) }  \/  ( x  =  (/)  /\  ph ) )  <-> 
( (/)  =  { (/) }  \/  ( (/)  =  (/)  /\ 
ph ) ) ) )
2322, 5elrab2 2889 . . . . . . . . . 10  |-  ( (/)  e.  A  <->  ( (/)  e.  { (/)
,  { (/) } }  /\  ( (/)  =  { (/)
}  \/  ( (/)  =  (/)  /\  ph )
) ) )
2418, 23mpbiran 935 . . . . . . . . 9  |-  ( (/)  e.  A  <->  ( (/)  =  { (/)
}  \/  ( (/)  =  (/)  /\  ph )
) )
25 pm2.46 734 . . . . . . . . 9  |-  ( -.  ( (/)  =  { (/)
}  \/  ( (/)  =  (/)  /\  ph )
)  ->  -.  ( (/)  =  (/)  /\  ph )
)
2624, 25sylnbi 673 . . . . . . . 8  |-  ( -.  (/)  e.  A  ->  -.  ( (/)  =  (/)  /\  ph ) )
27 eqid 2170 . . . . . . . . 9  |-  (/)  =  (/)
2827biantrur 301 . . . . . . . 8  |-  ( ph  <->  (
(/)  =  (/)  /\  ph ) )
2926, 28sylnibr 672 . . . . . . 7  |-  ( -.  (/)  e.  A  ->  -.  ph )
3029olcd 729 . . . . . 6  |-  ( -.  (/)  e.  A  ->  ( ph  \/  -.  ph )
)
3117, 30syl6 33 . . . . 5  |-  ( y  =  { (/) }  ->  ( A. z ( z  e.  y  ->  -.  z  e.  A )  ->  ( ph  \/  -.  ph ) ) )
32 orc 707 . . . . . . 7  |-  ( ph  ->  ( ph  \/  -.  ph ) )
3332adantl 275 . . . . . 6  |-  ( ( y  =  (/)  /\  ph )  ->  ( ph  \/  -.  ph ) )
3433a1d 22 . . . . 5  |-  ( ( y  =  (/)  /\  ph )  ->  ( A. z
( z  e.  y  ->  -.  z  e.  A )  ->  ( ph  \/  -.  ph )
) )
3531, 34jaoi 711 . . . 4  |-  ( ( y  =  { (/) }  \/  ( y  =  (/)  /\  ph ) )  ->  ( A. z
( z  e.  y  ->  -.  z  e.  A )  ->  ( ph  \/  -.  ph )
) )
367, 35syl 14 . . 3  |-  ( y  e.  A  ->  ( A. z ( z  e.  y  ->  -.  z  e.  A )  ->  ( ph  \/  -.  ph )
) )
3736imp 123 . 2  |-  ( ( y  e.  A  /\  A. z ( z  e.  y  ->  -.  z  e.  A ) )  -> 
( ph  \/  -.  ph ) )
3837exlimiv 1591 1  |-  ( E. y ( y  e.  A  /\  A. z
( z  e.  y  ->  -.  z  e.  A ) )  -> 
( 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   (/)c0 3414   {csn 3583   {cpr 3584
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-ext 2152  ax-nul 4115
This theorem depends on definitions:  df-bi 116  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-rab 2457  df-v 2732  df-dif 3123  df-un 3125  df-nul 3415  df-sn 3589  df-pr 3590
This theorem is referenced by:  regexmid  4519  nnregexmid  4605
  Copyright terms: Public domain W3C validator