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

Theorem regexmidlem1 4276
Description: Lemma for regexmid 4278. 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 2087 . . . . . . 7  |-  ( x  =  y  ->  (
x  =  { (/) }  <-> 
y  =  { (/) } ) )
2 eqeq1 2087 . . . . . . . 8  |-  ( x  =  y  ->  (
x  =  (/)  <->  y  =  (/) ) )
32anbi1d 452 . . . . . . 7  |-  ( x  =  y  ->  (
( x  =  (/)  /\ 
ph )  <->  ( y  =  (/)  /\  ph )
) )
41, 3orbi12d 739 . . . . . 6  |-  ( x  =  y  ->  (
( x  =  { (/)
}  \/  ( x  =  (/)  /\  ph )
)  <->  ( y  =  { (/) }  \/  (
y  =  (/)  /\  ph ) ) ) )
5 regexmidlemm.a . . . . . 6  |-  A  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  (
x  =  (/)  /\  ph ) ) }
64, 5elrab2 2751 . . . . 5  |-  ( y  e.  A  <->  ( y  e.  { (/) ,  { (/) } }  /\  ( y  =  { (/) }  \/  ( y  =  (/)  /\ 
ph ) ) ) )
76simprbi 269 . . . 4  |-  ( y  e.  A  ->  (
y  =  { (/) }  \/  ( y  =  (/)  /\  ph ) ) )
8 0ex 3905 . . . . . . . . 9  |-  (/)  e.  _V
98snid 3425 . . . . . . . 8  |-  (/)  e.  { (/)
}
10 eleq2 2142 . . . . . . . 8  |-  ( y  =  { (/) }  ->  (
(/)  e.  y  <->  (/)  e.  { (/)
} ) )
119, 10mpbiri 166 . . . . . . 7  |-  ( y  =  { (/) }  ->  (/)  e.  y )
12 eleq1 2141 . . . . . . . . 9  |-  ( z  =  (/)  ->  ( z  e.  y  <->  (/)  e.  y ) )
13 eleq1 2141 . . . . . . . . . 10  |-  ( z  =  (/)  ->  ( z  e.  A  <->  (/)  e.  A
) )
1413notbid 624 . . . . . . . . 9  |-  ( z  =  (/)  ->  ( -.  z  e.  A  <->  -.  (/)  e.  A
) )
1512, 14imbi12d 232 . . . . . . . 8  |-  ( z  =  (/)  ->  ( ( z  e.  y  ->  -.  z  e.  A
)  <->  ( (/)  e.  y  ->  -.  (/)  e.  A
) ) )
168, 15spcv 2691 . . . . . . 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 3498 . . . . . . . . . 10  |-  (/)  e.  { (/)
,  { (/) } }
19 eqeq1 2087 . . . . . . . . . . . 12  |-  ( x  =  (/)  ->  ( x  =  { (/) }  <->  (/)  =  { (/)
} ) )
20 eqeq1 2087 . . . . . . . . . . . . 13  |-  ( x  =  (/)  ->  ( x  =  (/)  <->  (/)  =  (/) ) )
2120anbi1d 452 . . . . . . . . . . . 12  |-  ( x  =  (/)  ->  ( ( x  =  (/)  /\  ph ) 
<->  ( (/)  =  (/)  /\  ph ) ) )
2219, 21orbi12d 739 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( ( x  =  { (/) }  \/  ( x  =  (/)  /\  ph ) )  <-> 
( (/)  =  { (/) }  \/  ( (/)  =  (/)  /\ 
ph ) ) ) )
2322, 5elrab2 2751 . . . . . . . . . 10  |-  ( (/)  e.  A  <->  ( (/)  e.  { (/)
,  { (/) } }  /\  ( (/)  =  { (/)
}  \/  ( (/)  =  (/)  /\  ph )
) ) )
2418, 23mpbiran 881 . . . . . . . . 9  |-  ( (/)  e.  A  <->  ( (/)  =  { (/)
}  \/  ( (/)  =  (/)  /\  ph )
) )
25 pm2.46 690 . . . . . . . . 9  |-  ( -.  ( (/)  =  { (/)
}  \/  ( (/)  =  (/)  /\  ph )
)  ->  -.  ( (/)  =  (/)  /\  ph )
)
2624, 25sylnbi 635 . . . . . . . 8  |-  ( -.  (/)  e.  A  ->  -.  ( (/)  =  (/)  /\  ph ) )
27 eqid 2081 . . . . . . . . 9  |-  (/)  =  (/)
2827biantrur 297 . . . . . . . 8  |-  ( ph  <->  (
(/)  =  (/)  /\  ph ) )
2926, 28sylnibr 634 . . . . . . 7  |-  ( -.  (/)  e.  A  ->  -.  ph )
3029olcd 685 . . . . . 6  |-  ( -.  (/)  e.  A  ->  ( ph  \/  -.  ph )
)
3117, 30syl6 33 . . . . 5  |-  ( y  =  { (/) }  ->  ( A. z ( z  e.  y  ->  -.  z  e.  A )  ->  ( ph  \/  -.  ph ) ) )
32 orc 665 . . . . . . 7  |-  ( ph  ->  ( ph  \/  -.  ph ) )
3332adantl 271 . . . . . 6  |-  ( ( y  =  (/)  /\  ph )  ->  ( ph  \/  -.  ph ) )
3433a1d 22 . . . . 5  |-  ( ( y  =  (/)  /\  ph )  ->  ( A. z
( z  e.  y  ->  -.  z  e.  A )  ->  ( ph  \/  -.  ph )
) )
3531, 34jaoi 668 . . . 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 122 . 2  |-  ( ( y  e.  A  /\  A. z ( z  e.  y  ->  -.  z  e.  A ) )  -> 
( ph  \/  -.  ph ) )
3837exlimiv 1529 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 102    \/ wo 661   A.wal 1282    = wceq 1284   E.wex 1421    e. wcel 1433   {crab 2352   (/)c0 3251   {csn 3398   {cpr 3399
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-nul 3904
This theorem depends on definitions:  df-bi 115  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-rab 2357  df-v 2603  df-dif 2975  df-un 2977  df-nul 3252  df-sn 3404  df-pr 3405
This theorem is referenced by:  regexmid  4278  nnregexmid  4360
  Copyright terms: Public domain W3C validator