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

Theorem ifpimpda 1028
Description: Separation of the values of the conditional operator for propositions. (Contributed by AV, 30-Dec-2020.) (Proof shortened by Wolf Lammen, 27-Feb-2021.)
Hypotheses
Ref Expression
ifpimpda.1  |-  ( (
ph  /\  ps )  ->  ch )
ifpimpda.2  |-  ( (
ph  /\  -.  ps )  ->  th )
Assertion
Ref Expression
ifpimpda  |-  ( ph  -> if- ( ps ,  ch ,  th ) )

Proof of Theorem ifpimpda
StepHypRef Expression
1 ifpimpda.1 . . 3  |-  ( (
ph  /\  ps )  ->  ch )
21ex 450 . 2  |-  ( ph  ->  ( ps  ->  ch ) )
3 ifpimpda.2 . . 3  |-  ( (
ph  /\  -.  ps )  ->  th )
43ex 450 . 2  |-  ( ph  ->  ( -.  ps  ->  th ) )
5 dfifp2 1014 . 2  |-  (if- ( ps ,  ch ,  th )  <->  ( ( ps 
->  ch )  /\  ( -.  ps  ->  th )
) )
62, 4, 5sylanbrc 698 1  |-  ( ph  -> if- ( ps ,  ch ,  th ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 384  if-wif 1012
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  df-ifp 1013
This theorem is referenced by:  ifpprsnss  4299  wlkp1lem8  26577  1wlkdlem4  27000
  Copyright terms: Public domain W3C validator