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

Theorem xoranor 1355
Description: One way of defining exclusive or. Equivalent to df-xor 1354. (Contributed by Jim Kingdon and Mario Carneiro, 1-Mar-2018.)
Assertion
Ref Expression
xoranor  |-  ( (
ph  \/_  ps )  <->  ( ( ph  \/  ps )  /\  ( -.  ph  \/  -.  ps ) ) )

Proof of Theorem xoranor
StepHypRef Expression
1 df-xor 1354 . . 3  |-  ( (
ph  \/_  ps )  <->  ( ( ph  \/  ps )  /\  -.  ( ph  /\ 
ps ) ) )
2 ax-ia3 107 . . . . . . 7  |-  ( ph  ->  ( ps  ->  ( ph  /\  ps ) ) )
32con3d 620 . . . . . 6  |-  ( ph  ->  ( -.  ( ph  /\ 
ps )  ->  -.  ps ) )
4 olc 700 . . . . . 6  |-  ( -. 
ps  ->  ( -.  ph  \/  -.  ps ) )
53, 4syl6 33 . . . . 5  |-  ( ph  ->  ( -.  ( ph  /\ 
ps )  ->  ( -.  ph  \/  -.  ps ) ) )
6 pm3.21 262 . . . . . . 7  |-  ( ps 
->  ( ph  ->  ( ph  /\  ps ) ) )
76con3d 620 . . . . . 6  |-  ( ps 
->  ( -.  ( ph  /\ 
ps )  ->  -.  ph ) )
8 orc 701 . . . . . 6  |-  ( -. 
ph  ->  ( -.  ph  \/  -.  ps ) )
97, 8syl6 33 . . . . 5  |-  ( ps 
->  ( -.  ( ph  /\ 
ps )  ->  ( -.  ph  \/  -.  ps ) ) )
105, 9jaoi 705 . . . 4  |-  ( (
ph  \/  ps )  ->  ( -.  ( ph  /\ 
ps )  ->  ( -.  ph  \/  -.  ps ) ) )
1110imdistani 441 . . 3  |-  ( ( ( ph  \/  ps )  /\  -.  ( ph  /\ 
ps ) )  -> 
( ( ph  \/  ps )  /\  ( -.  ph  \/  -.  ps ) ) )
121, 11sylbi 120 . 2  |-  ( (
ph  \/_  ps )  ->  ( ( ph  \/  ps )  /\  ( -.  ph  \/  -.  ps ) ) )
13 pm3.14 742 . . . 4  |-  ( ( -.  ph  \/  -.  ps )  ->  -.  ( ph  /\  ps ) )
1413anim2i 339 . . 3  |-  ( ( ( ph  \/  ps )  /\  ( -.  ph  \/  -.  ps ) )  ->  ( ( ph  \/  ps )  /\  -.  ( ph  /\  ps )
) )
1514, 1sylibr 133 . 2  |-  ( ( ( ph  \/  ps )  /\  ( -.  ph  \/  -.  ps ) )  ->  ( ph  \/_  ps ) )
1612, 15impbii 125 1  |-  ( (
ph  \/_  ps )  <->  ( ( ph  \/  ps )  /\  ( -.  ph  \/  -.  ps ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 697    \/_ wxo 1353
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 603  ax-in2 604  ax-io 698
This theorem depends on definitions:  df-bi 116  df-xor 1354
This theorem is referenced by:  excxor  1356  xoror  1357
  Copyright terms: Public domain W3C validator