Skip to content

Bad model count for tautologies #30

Open
@haz

Description

@haz
import nnf
x = nnf.Var('x')
T = x | ~x
nnf.dsharp.compile(T.to_CNF(), smooth=True).model_count()

Should equal 2, but it's equal to 1. This is because T.to_CNF() evaluates to true

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions