Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ifpid1g Structured version   Visualization version   Unicode version

Theorem ifpid1g 37839
Description: Restate wff as conditional logic operator. (Contributed by RP, 20-Apr-2020.)
Assertion
Ref Expression
ifpid1g  |-  ( (
ph 
<-> if- ( ph ,  ps ,  ch ) )  <->  ( ( ch  ->  ph )  /\  ( ph  ->  ps ) ) )

Proof of Theorem ifpid1g
StepHypRef Expression
1 ifpidg 37836 . 2  |-  ( (
ph 
<-> if- ( ph ,  ps ,  ch ) )  <->  ( (
( ( ph  /\  ps )  ->  ph )  /\  ( ( ph  /\  ph )  ->  ps )
)  /\  ( ( ch  ->  ( ph  \/  ph ) )  /\  ( ph  ->  ( ph  \/  ch ) ) ) ) )
2 ancom 466 . 2  |-  ( ( ( ( ( ph  /\ 
ps )  ->  ph )  /\  ( ( ph  /\  ph )  ->  ps )
)  /\  ( ( ch  ->  ( ph  \/  ph ) )  /\  ( ph  ->  ( ph  \/  ch ) ) ) )  <-> 
( ( ( ch 
->  ( ph  \/  ph ) )  /\  ( ph  ->  ( ph  \/  ch ) ) )  /\  ( ( ( ph  /\ 
ps )  ->  ph )  /\  ( ( ph  /\  ph )  ->  ps )
) ) )
3 pm4.25 537 . . . . 5  |-  ( ph  <->  (
ph  \/  ph ) )
43imbi2i 326 . . . 4  |-  ( ( ch  ->  ph )  <->  ( ch  ->  ( ph  \/  ph ) ) )
5 orc 400 . . . . 5  |-  ( ph  ->  ( ph  \/  ch ) )
65biantru 526 . . . 4  |-  ( ( ch  ->  ( ph  \/  ph ) )  <->  ( ( ch  ->  ( ph  \/  ph ) )  /\  ( ph  ->  ( ph  \/  ch ) ) ) )
74, 6bitr2i 265 . . 3  |-  ( ( ( ch  ->  ( ph  \/  ph ) )  /\  ( ph  ->  (
ph  \/  ch )
) )  <->  ( ch  ->  ph ) )
8 pm4.24 675 . . . . 5  |-  ( ph  <->  (
ph  /\  ph ) )
98imbi1i 339 . . . 4  |-  ( (
ph  ->  ps )  <->  ( ( ph  /\  ph )  ->  ps ) )
10 simpl 473 . . . . 5  |-  ( (
ph  /\  ps )  ->  ph )
1110biantrur 527 . . . 4  |-  ( ( ( ph  /\  ph )  ->  ps )  <->  ( (
( ph  /\  ps )  ->  ph )  /\  (
( ph  /\  ph )  ->  ps ) ) )
129, 11bitr2i 265 . . 3  |-  ( ( ( ( ph  /\  ps )  ->  ph )  /\  ( ( ph  /\  ph )  ->  ps )
)  <->  ( ph  ->  ps ) )
137, 12anbi12i 733 . 2  |-  ( ( ( ( ch  ->  (
ph  \/  ph ) )  /\  ( ph  ->  (
ph  \/  ch )
) )  /\  (
( ( ph  /\  ps )  ->  ph )  /\  ( ( ph  /\  ph )  ->  ps )
) )  <->  ( ( ch  ->  ph )  /\  ( ph  ->  ps ) ) )
141, 2, 133bitri 286 1  |-  ( (
ph 
<-> if- ( ph ,  ps ,  ch ) )  <->  ( ( ch  ->  ph )  /\  ( ph  ->  ps ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196    \/ wo 383    /\ 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: (None)
  Copyright terms: Public domain W3C validator