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

Theorem eupth2lem2dc 16309
Description: Lemma for eupth2 . (Contributed by Mario Carneiro, 8-Apr-2015.)
Hypotheses
Ref Expression
eupth2lem2dc.1  |-  ( ph  ->  B  e.  X )
eupth2lem2dc.dc  |-  ( ph  -> DECID  A  =  B )
eupth2lem2dc.bc  |-  ( ph  ->  B  =/=  C )
eupth2lem2dc.bu  |-  ( ph  ->  B  =  U )
Assertion
Ref Expression
eupth2lem2dc  |-  ( ph  ->  ( -.  U  e.  if ( A  =  B ,  (/) ,  { A ,  B }
)  <->  U  e.  if ( A  =  C ,  (/) ,  { A ,  C } ) ) )

Proof of Theorem eupth2lem2dc
StepHypRef Expression
1 eupth2lem2dc.dc . . 3  |-  ( ph  -> DECID  A  =  B )
2 eqidd 2232 . . . . . . . 8  |-  ( ph  ->  B  =  B )
32olcd 741 . . . . . . 7  |-  ( ph  ->  ( B  =  A  \/  B  =  B ) )
43biantrud 304 . . . . . 6  |-  ( ph  ->  ( A  =/=  B  <->  ( A  =/=  B  /\  ( B  =  A  \/  B  =  B
) ) ) )
5 eupth2lem2dc.1 . . . . . . 7  |-  ( ph  ->  B  e.  X )
6 eupth2lem1 16308 . . . . . . 7  |-  ( B  e.  X  ->  ( B  e.  if ( A  =  B ,  (/)
,  { A ,  B } )  <->  ( A  =/=  B  /\  ( B  =  A  \/  B  =  B ) ) ) )
75, 6syl 14 . . . . . 6  |-  ( ph  ->  ( B  e.  if ( A  =  B ,  (/) ,  { A ,  B } )  <->  ( A  =/=  B  /\  ( B  =  A  \/  B  =  B ) ) ) )
8 eupth2lem2dc.bu . . . . . . 7  |-  ( ph  ->  B  =  U )
98eleq1d 2300 . . . . . 6  |-  ( ph  ->  ( B  e.  if ( A  =  B ,  (/) ,  { A ,  B } )  <->  U  e.  if ( A  =  B ,  (/) ,  { A ,  B } ) ) )
104, 7, 93bitr2d 216 . . . . 5  |-  ( ph  ->  ( A  =/=  B  <->  U  e.  if ( A  =  B ,  (/) ,  { A ,  B } ) ) )
1110a1d 22 . . . 4  |-  ( ph  ->  (DECID  A  =  B  -> 
( A  =/=  B  <->  U  e.  if ( A  =  B ,  (/) ,  { A ,  B } ) ) ) )
1211necon1bbiddc 2465 . . 3  |-  ( ph  ->  (DECID  A  =  B  -> 
( -.  U  e.  if ( A  =  B ,  (/) ,  { A ,  B }
)  <->  A  =  B
) ) )
131, 12mpd 13 . 2  |-  ( ph  ->  ( -.  U  e.  if ( A  =  B ,  (/) ,  { A ,  B }
)  <->  A  =  B
) )
14 eupth2lem2dc.bc . . . . . . 7  |-  ( ph  ->  B  =/=  C )
15 neeq1 2415 . . . . . . 7  |-  ( B  =  A  ->  ( B  =/=  C  <->  A  =/=  C ) )
1614, 15syl5ibcom 155 . . . . . 6  |-  ( ph  ->  ( B  =  A  ->  A  =/=  C
) )
1716pm4.71rd 394 . . . . 5  |-  ( ph  ->  ( B  =  A  <-> 
( A  =/=  C  /\  B  =  A
) ) )
18 eqcom 2233 . . . . 5  |-  ( A  =  B  <->  B  =  A )
19 ancom 266 . . . . 5  |-  ( ( B  =  A  /\  A  =/=  C )  <->  ( A  =/=  C  /\  B  =  A ) )
2017, 18, 193bitr4g 223 . . . 4  |-  ( ph  ->  ( A  =  B  <-> 
( B  =  A  /\  A  =/=  C
) ) )
2114neneqd 2423 . . . . . . 7  |-  ( ph  ->  -.  B  =  C )
22 biorf 751 . . . . . . 7  |-  ( -.  B  =  C  -> 
( B  =  A  <-> 
( B  =  C  \/  B  =  A ) ) )
2321, 22syl 14 . . . . . 6  |-  ( ph  ->  ( B  =  A  <-> 
( B  =  C  \/  B  =  A ) ) )
24 orcom 735 . . . . . 6  |-  ( ( B  =  C  \/  B  =  A )  <->  ( B  =  A  \/  B  =  C )
)
2523, 24bitrdi 196 . . . . 5  |-  ( ph  ->  ( B  =  A  <-> 
( B  =  A  \/  B  =  C ) ) )
2625anbi1d 465 . . . 4  |-  ( ph  ->  ( ( B  =  A  /\  A  =/= 
C )  <->  ( ( B  =  A  \/  B  =  C )  /\  A  =/=  C
) ) )
2720, 26bitrd 188 . . 3  |-  ( ph  ->  ( A  =  B  <-> 
( ( B  =  A  \/  B  =  C )  /\  A  =/=  C ) ) )
2827biancomd 271 . 2  |-  ( ph  ->  ( A  =  B  <-> 
( A  =/=  C  /\  ( B  =  A  \/  B  =  C ) ) ) )
29 eupth2lem1 16308 . . . 4  |-  ( B  e.  X  ->  ( B  e.  if ( A  =  C ,  (/)
,  { A ,  C } )  <->  ( A  =/=  C  /\  ( B  =  A  \/  B  =  C ) ) ) )
305, 29syl 14 . . 3  |-  ( ph  ->  ( B  e.  if ( A  =  C ,  (/) ,  { A ,  C } )  <->  ( A  =/=  C  /\  ( B  =  A  \/  B  =  C ) ) ) )
318eleq1d 2300 . . 3  |-  ( ph  ->  ( B  e.  if ( A  =  C ,  (/) ,  { A ,  C } )  <->  U  e.  if ( A  =  C ,  (/) ,  { A ,  C } ) ) )
3230, 31bitr3d 190 . 2  |-  ( ph  ->  ( ( A  =/= 
C  /\  ( B  =  A  \/  B  =  C ) )  <->  U  e.  if ( A  =  C ,  (/) ,  { A ,  C } ) ) )
3313, 28, 323bitrd 214 1  |-  ( ph  ->  ( -.  U  e.  if ( A  =  B ,  (/) ,  { A ,  B }
)  <->  U  e.  if ( A  =  C ,  (/) ,  { A ,  C } ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104    <-> wb 105    \/ wo 715  DECID wdc 841    = wceq 1397    e. wcel 2202    =/= wne 2402   (/)c0 3494   ifcif 3605   {cpr 3670
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 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-ext 2213
This theorem depends on definitions:  df-bi 117  df-stab 838  df-dc 842  df-tru 1400  df-nf 1509  df-sb 1811  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ne 2403  df-v 2804  df-dif 3202  df-un 3204  df-nul 3495  df-if 3606  df-sn 3675  df-pr 3676
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator