这是我的简单编码。我想获得呈现所有这些约束的最终布尔 CNF。Z3求解器中是否有任何选项可以获得最终的布尔CNF?
x = Int('x')
y = Int('y')
c1 = And(x >= 1, x <= 10)
c2 = And(y >= 1, y <= 10)
c3 = Distinct(x,y)
s = Solver()
s.add(c1 , c2 , c3)
# I need the final Boolean CNF formula from Z3 solver...
感谢和问候