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

Theorem xordc 1355
Description: Two ways to express "exclusive or" between decidable propositions. Theorem *5.22 of [WhiteheadRussell] p. 124, but for decidable propositions. (Contributed by Jim Kingdon, 5-May-2018.)
Assertion
Ref Expression
xordc  |-  (DECID  ph  ->  (DECID  ps 
->  ( -.  ( ph  <->  ps )  <->  ( ( ph  /\ 
-.  ps )  \/  ( ps  /\  -.  ph )
) ) ) )

Proof of Theorem xordc
StepHypRef Expression
1 excxor 1341 . . . 4  |-  ( (
ph  \/_  ps )  <->  ( ( ph  /\  -.  ps )  \/  ( -.  ph  /\  ps )
) )
2 ancom 264 . . . . 5  |-  ( ( -.  ph  /\  ps )  <->  ( ps  /\  -.  ph ) )
32orbi2i 736 . . . 4  |-  ( ( ( ph  /\  -.  ps )  \/  ( -.  ph  /\  ps )
)  <->  ( ( ph  /\ 
-.  ps )  \/  ( ps  /\  -.  ph )
) )
41, 3bitri 183 . . 3  |-  ( (
ph  \/_  ps )  <->  ( ( ph  /\  -.  ps )  \/  ( ps  /\  -.  ph )
) )
5 xornbidc 1354 . . . 4  |-  (DECID  ph  ->  (DECID  ps 
->  ( ( ph  \/_  ps ) 
<->  -.  ( ph  <->  ps )
) ) )
65imp 123 . . 3  |-  ( (DECID  ph  /\ DECID  ps )  ->  ( ( ph  \/_ 
ps )  <->  -.  ( ph 
<->  ps ) ) )
74, 6syl5rbbr 194 . 2  |-  ( (DECID  ph  /\ DECID  ps )  ->  ( -.  ( ph 
<->  ps )  <->  ( ( ph  /\  -.  ps )  \/  ( ps  /\  -.  ph ) ) ) )
87ex 114 1  |-  (DECID  ph  ->  (DECID  ps 
->  ( -.  ( ph  <->  ps )  <->  ( ( ph  /\ 
-.  ps )  \/  ( ps  /\  -.  ph )
) ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 682  DECID wdc 804    \/_ wxo 1338
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 588  ax-in2 589  ax-io 683
This theorem depends on definitions:  df-bi 116  df-stab 801  df-dc 805  df-xor 1339
This theorem is referenced by:  dfbi3dc  1360  pm5.24dc  1361
  Copyright terms: Public domain W3C validator