Re: XOR representation of AND



On Apr 22, 9:36 pm, Steven <evanss...@xxxxxxxxx> wrote:
     Is it possible to represent the logic AND operation using only
NOT and XOR operations?  For instance, I know that the AND operation
can be expressed using only OR and NOT operators:

AB = !(!A + !B)

However, is it possible to represent AND using XOR and NOT operators?
     I've spent the past few hours trying to do so, thinking that it
must be possible.  However, the longer I worked with it, the more I
realized just how symmetrical XOR is in nearly every respect.  This is
what makes the whole ordeal tricky.  I've searched the internet, and
looked in a textbook that I have, but haven't been able to find any
such representation of the AND operation.  I slowly began to wonder if
it's even possible.  Does anyone know for sure?
     Thanks for your time.

I think it requires "False" as well.
You have to set one of the XOR inputs to always false.


Russell
- 2 many 2 count
.



Relevant Pages

  • =?windows-1252?Q?Re=3A_What=E2=80=99s_the_best_general_implementation_of?= =?windows-1252?Q?
    ... two objects are eql if their ivars are eql) a good general approach? ...     VALUE ary; ... This looks like a typical cryptographic hash algorithm pattern ... This scrambles the bits more than just a straight xor ...
    (comp.lang.ruby)
  • Re: XOR representation of AND
    ... is it possible to represent AND using XOR and NOT operators? ... The set is inadequate. ... You've already put your finger on the reason. ...
    (sci.logic)
  • Re: "Sorting" assignment
    ...     LD R1,ptrToA ...  ; start of loop body ...     XOR R7,R5,R6 ... For English text, the probability of two characters in separate strings ...
    (comp.programming)
  • Re: "Sorting" assignment
    ...     LD R1,ptrToA ...  ; start of loop body ...     XOR R7,R5,R6 ... ahead to 187 clock thingies in the single benchmark I've had time to ...
    (comp.programming)
  • Re: XOR representation of AND
    ... Steven schrieb: ... is it possible to represent AND using XOR and NOT operators? ... I've searched the internet, and ... looked in a textbook that I have, but haven't been able to find any ...
    (sci.logic)

Quantcast