2

How could I go about simplifying an arbitrarily complex boolean expression?

For example:

!(!a && !b || !a && b || a && !b) && !(!a && !b || !a && b || a && !b) ||
!(!a && !b || !a && b || a && !b) && (!a && !b || !a && b || a && !b) ||
(!a && !b || !a && b || a && !b) && !(!a && !b || !a && b || a && !b)

Is an extremely verbose way of saying:

a && b

I could just about do this manually by using boolean laws intuitively. Is there a programmatic approach?

How does Wolfram Alpha do it?

1 Answer 1

2

thats simple boolean algebra

see : http://en.wikipedia.org/wiki/Binary_decision_diagram

http://en.wikipedia.org/wiki/Circuit_minimization

http://en.wikipedia.org/wiki/Karnaugh_map

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.