gophersat icon indicating copy to clipboard operation
gophersat copied to clipboard

Fix NNF of empty conjunction and disjunction.

Open DrJosh9000 opened this issue 3 years ago • 0 comments

In the existing code, and(True).Eval() = true, but and(True).nnf().Eval() = false. The nnf method elides True, leaving an empty conjunction. So the problem is the choice of False for the NNF of empty conjunction. The dual bug existed for disjunction.

DrJosh9000 avatar Nov 07 '21 09:11 DrJosh9000