8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am new to the pattern feature of z3. I followed the example from here
f = Function('f', IntSort(), IntSort()) g = Function('g', IntSort(), IntSort()) a, b, c = Ints('a b c') x = Int('x') s = Solver() s.set(auto_config=False, mbqi=False) s.add( ForAll(x, f(g(x)) == x, patterns = [f(g(x))]), g(a) == c, g(b) == c, a != b ) # Display solver state using internal format print (s.sexpr()) print (s.check())
Since it disabled auto_config and mbqi, it is supposed to output unknown since the pattern f(g(x)) doesn't exist. But the result is unsat in my end.
unknown
f(g(x))
unsat
I wonder if there is any other configuration I need to setup for this?
The text was updated successfully, but these errors were encountered:
#7630 propagate parameters on lazy tactics
d581dc1
7a30223
No branches or pull requests
Hi, I am new to the pattern feature of z3. I followed the example from here
Since it disabled auto_config and mbqi, it is supposed to output
unknown
since the patternf(g(x))
doesn't exist. But the result isunsat
in my end.I wonder if there is any other configuration I need to setup for this?
The text was updated successfully, but these errors were encountered: