MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cases2 Structured version   Visualization version   Unicode version

Theorem cases2 993
Description: Case disjunction according to the value of  ph. (Contributed by BJ, 6-Apr-2019.) (Proof shortened by Wolf Lammen, 2-Jan-2020.)
Assertion
Ref Expression
cases2  |-  ( ( ( ph  /\  ps )  \/  ( -.  ph 
/\  ch ) )  <->  ( ( ph  ->  ps )  /\  ( -.  ph  ->  ch ) ) )

Proof of Theorem cases2
StepHypRef Expression
1 pm3.4 584 . . . 4  |-  ( (
ph  /\  ps )  ->  ( ph  ->  ps ) )
2 pm2.24 121 . . . . 5  |-  ( ph  ->  ( -.  ph  ->  ch ) )
32adantr 481 . . . 4  |-  ( (
ph  /\  ps )  ->  ( -.  ph  ->  ch ) )
41, 3jca 554 . . 3  |-  ( (
ph  /\  ps )  ->  ( ( ph  ->  ps )  /\  ( -. 
ph  ->  ch ) ) )
5 pm2.21 120 . . . . 5  |-  ( -. 
ph  ->  ( ph  ->  ps ) )
65adantr 481 . . . 4  |-  ( ( -.  ph  /\  ch )  ->  ( ph  ->  ps ) )
7 pm3.4 584 . . . 4  |-  ( ( -.  ph  /\  ch )  ->  ( -.  ph  ->  ch ) )
86, 7jca 554 . . 3  |-  ( ( -.  ph  /\  ch )  ->  ( ( ph  ->  ps )  /\  ( -. 
ph  ->  ch ) ) )
94, 8jaoi 394 . 2  |-  ( ( ( ph  /\  ps )  \/  ( -.  ph 
/\  ch ) )  -> 
( ( ph  ->  ps )  /\  ( -. 
ph  ->  ch ) ) )
10 pm2.27 42 . . . . . 6  |-  ( ph  ->  ( ( ph  ->  ps )  ->  ps )
)
1110imdistani 726 . . . . 5  |-  ( (
ph  /\  ( ph  ->  ps ) )  -> 
( ph  /\  ps )
)
1211orcd 407 . . . 4  |-  ( (
ph  /\  ( ph  ->  ps ) )  -> 
( ( ph  /\  ps )  \/  ( -.  ph  /\  ch )
) )
1312adantrr 753 . . 3  |-  ( (
ph  /\  ( ( ph  ->  ps )  /\  ( -.  ph  ->  ch ) ) )  -> 
( ( ph  /\  ps )  \/  ( -.  ph  /\  ch )
) )
14 pm2.27 42 . . . . . 6  |-  ( -. 
ph  ->  ( ( -. 
ph  ->  ch )  ->  ch ) )
1514imdistani 726 . . . . 5  |-  ( ( -.  ph  /\  ( -.  ph  ->  ch )
)  ->  ( -.  ph 
/\  ch ) )
1615olcd 408 . . . 4  |-  ( ( -.  ph  /\  ( -.  ph  ->  ch )
)  ->  ( ( ph  /\  ps )  \/  ( -.  ph  /\  ch ) ) )
1716adantrl 752 . . 3  |-  ( ( -.  ph  /\  (
( ph  ->  ps )  /\  ( -.  ph  ->  ch ) ) )  -> 
( ( ph  /\  ps )  \/  ( -.  ph  /\  ch )
) )
1813, 17pm2.61ian 831 . 2  |-  ( ( ( ph  ->  ps )  /\  ( -.  ph  ->  ch ) )  -> 
( ( ph  /\  ps )  \/  ( -.  ph  /\  ch )
) )
199, 18impbii 199 1  |-  ( ( ( ph  /\  ps )  \/  ( -.  ph 
/\  ch ) )  <->  ( ( ph  ->  ps )  /\  ( -.  ph  ->  ch ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 196    \/ wo 383    /\ wa 384
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386
This theorem is referenced by:  dfbi3  994  dfifp2  1014  ifval  4127  ifpidg  37836  ifpim123g  37845
  Copyright terms: Public domain W3C validator