Proving XOR Commutativity: Sufficiency of Tautology

  • Context: Graduate 
  • Thread starter Thread starter gnome
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving the commutativity of the XOR operation, defined as ((X ∧ ¬Y) ∨ (¬X ∧ Y)). It is established that demonstrating the implication ((X ∧ ¬Y) ∨ (¬X ∧ Y)) ⊃ ((Y ∧ ¬X) ∨ (¬Y ∧ X)) as a tautology is insufficient for proving that X XOR Y equals Y XOR X. The participants emphasize the need for rigor in logical proofs, highlighting the distinction between tautological implications and equality in logical expressions.

PREREQUISITES
  • Understanding of logical operations, specifically XOR (exclusive OR)
  • Familiarity with logical implications and tautologies
  • Knowledge of propositional logic notation
  • Basic skills in constructing logical proofs
NEXT STEPS
  • Study the properties of logical operations, focusing on XOR and its characteristics
  • Research methods for proving tautologies in propositional logic
  • Explore the concept of logical equivalence and its implications
  • Learn about formal proof techniques in mathematical logic
USEFUL FOR

This discussion is beneficial for students of mathematics, computer science professionals, and anyone interested in formal logic and proof theory, particularly those focusing on logical operations and their properties.

gnome
Messages
1,031
Reaction score
1
Given that XOR is defined by [itex]((X \wedge \neg Y) \vee (\neg X \wedge Y))[/itex], in order to prove that XOR is commutative is it sufficient to prove that
[itex]((X \wedge \neg Y) \vee (\neg X \wedge Y)) \supset ((Y \wedge \neg X) \vee (\neg Y \wedge X))[/itex]
is a tautology?
 
Physics news on Phys.org
Think about what that says:

If (X xor Y), then (Y xor X).

Is that the same as X xor Y = Y xor X?

(no)

Now, in general you would leave the last step implicit, because it's fairly routine, but I imagine you're interested in full rigor.
 
OK, I'd like to retract that ridiculous statement before I get banned. :smile: :smile: :smile:

Maybe I'd better get some sleep... :zzz:
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
10K