Answer the question
In order to leave comments, you need to log in
Is there a ready-made library or algorithm for turning an if statement into a CNF formula?
Good day!
The SAT solver needs formulas in CNF format, i.e.:
(a | b | c) &
(a | !d ) &
(a | !c )
if ( (a && b && c) || (c && d && f) || )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question