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

Theorem ifpdfbi 37818
Description: Define biimplication as conditional logic operator. (Contributed by RP, 20-Apr-2020.)
Assertion
Ref Expression
ifpdfbi  |-  ( (
ph 
<->  ps )  <-> if- ( ph ,  ps ,  -.  ps )
)

Proof of Theorem ifpdfbi
StepHypRef Expression
1 dfbi2 660 . 2  |-  ( (
ph 
<->  ps )  <->  ( ( ph  ->  ps )  /\  ( ps  ->  ph )
) )
2 ifpim1 37813 . . . . 5  |-  ( (
ph  ->  ps )  <-> if- ( -.  ph , T.  ,  ps ) )
3 ifpn 1022 . . . . 5  |-  (if- (
ph ,  ps , T.  )  <-> if- ( -.  ph , T.  ,  ps )
)
42, 3bitr4i 267 . . . 4  |-  ( (
ph  ->  ps )  <-> if- ( ph ,  ps , T.  )
)
5 ifpim2 37816 . . . 4  |-  ( ( ps  ->  ph )  <-> if- ( ph , T.  ,  -.  ps )
)
64, 5anbi12i 733 . . 3  |-  ( ( ( ph  ->  ps )  /\  ( ps  ->  ph ) )  <->  (if- ( ph ,  ps , T.  )  /\ if- ( ph , T.  ,  -.  ps )
) )
7 ifpan23 37804 . . . 4  |-  ( (if- ( ph ,  ps , T.  )  /\ if- ( ph , T.  ,  -.  ps ) )  <-> if- ( ph , 
( ps  /\ T.  ) ,  ( T.  /\  -.  ps ) ) )
8 ancom 466 . . . . . 6  |-  ( ( ps  /\ T.  )  <-> 
( T.  /\  ps ) )
9 truan 1501 . . . . . 6  |-  ( ( T.  /\  ps )  <->  ps )
108, 9bitri 264 . . . . 5  |-  ( ( ps  /\ T.  )  <->  ps )
11 truan 1501 . . . . 5  |-  ( ( T.  /\  -.  ps ) 
<->  -.  ps )
12 ifpbi23 37817 . . . . 5  |-  ( ( ( ( ps  /\ T.  )  <->  ps )  /\  (
( T.  /\  -.  ps )  <->  -.  ps )
)  ->  (if- ( ph ,  ( ps  /\ T.  ) ,  ( T.  /\  -.  ps ) )  <-> if- ( ph ,  ps ,  -.  ps )
) )
1310, 11, 12mp2an 708 . . . 4  |-  (if- (
ph ,  ( ps 
/\ T.  ) ,  ( T.  /\  -.  ps ) )  <-> if- ( ph ,  ps ,  -.  ps )
)
147, 13bitri 264 . . 3  |-  ( (if- ( ph ,  ps , T.  )  /\ if- ( ph , T.  ,  -.  ps ) )  <-> if- ( ph ,  ps ,  -.  ps )
)
156, 14bitri 264 . 2  |-  ( ( ( ph  ->  ps )  /\  ( ps  ->  ph ) )  <-> if- ( ph ,  ps ,  -.  ps )
)
161, 15bitri 264 1  |-  ( (
ph 
<->  ps )  <-> if- ( ph ,  ps ,  -.  ps )
)
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 196    /\ wa 384  if-wif 1012   T. wtru 1484
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  df-tru 1486
This theorem is referenced by:  ifpbiidcor  37819  ifpbicor  37820
  Copyright terms: Public domain W3C validator