Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool to refactor boolean expressions [closed]

I'm looking for a tool to refactor boolean expression. I've got expressions like

a1 => (b1 <=> c or d) AND 
a2 => (b2 <=> c or d) AND
a2 => (b2 <=> c or d) 

The tool should be able to simplify expressions, e.g. extract the sub expression "c or d" in the example above. Is there a free computer algebra system which can do this?

Currently I think of refactoring the expressions manually an prove the equivalence with a little haskell quickcheck script.

like image 398
ordnungswidrig Avatar asked Apr 20 '09 08:04

ordnungswidrig


1 Answers

I'm not sure about a tool but take a look at Boolean Algebra

you can draw a grid of all the inputs and output to try and find a minimal boolean expression

like image 133
Scott Cowan Avatar answered Sep 30 '22 01:09

Scott Cowan