Define $ R \subseteq T xT $ as follows:
$ (x,y) \in R \iff (x\land y)\lor ( \lnot x\land \lnot y)=1$.
Show, using the laws of Boolean Algebra, that R is an equivalence relation. Hint: if $ A = B = 1 \;then\; A \land B \land C = A \land B \implies C = 1$
I am assuming that I just need to prove that $(x\land y)\lor ( \lnot x\land \lnot y)=1$
So, what I have did so far,
- $(x\land y)\lor ( \lnot x\land \lnot y) $
- $(x \lor ( \lnot x\land \lnot y)) \land ( y \lor ( \lnot x\land \lnot y)) $
- $ (( x \lor \lnot x) \land ( x \lor \lnot y)) \land ((y \lor \lnot x) \land ( y \lor \lnot y)) $
- $(1 \land (x \lor \lnot y)) \land ((y \lor \lnot x) \land 1)$
- $(x \lor \lnot y) \land (y \lor \lnot x)$
feel like I am chasing my tail here.
I have go about the question in the wrong direction, I should have prove it to be equivalence relation, which i already know how. My mistake for not writing the full question at first. Thanks
You do not need to prove that $(x\wedge y)\vee(\neg x\wedge\neg y)=1$ (in fact, the latter is false: in general take $x=0$ and $y=1$).
You need to show three things:
Substituting the definition of $R$, you need to show
The first is just idempotency of boolean operations, the second symmetry. The third requires you to "or" the givens together and apply distributivity. I'll leave the details to you.