You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Solver's from_string method in z3py to load a SMT2 file, unsat cores are produced correctly for tracked assertions in the smtlib file. However, if I switch from using Solver to Optimize, the unsat core list is always empty.
Also - to produce unsat cores with a Solver when using from_string, I have to include (set-option :produce-unsat-cores true) in the smtlib file as solver.set(unsat_core=True) doesn't seem to affect the from_string call. I'm not sure whether this is expected behavior or not.
The text was updated successfully, but these errors were encountered:
When using the
Solver
'sfrom_string
method in z3py to load a SMT2 file, unsat cores are produced correctly for tracked assertions in the smtlib file. However, if I switch from usingSolver
toOptimize
, the unsat core list is always empty.Also - to produce unsat cores with a
Solver
when usingfrom_string
, I have to include(set-option :produce-unsat-cores true)
in the smtlib file assolver.set(unsat_core=True)
doesn't seem to affect thefrom_string
call. I'm not sure whether this is expected behavior or not.The text was updated successfully, but these errors were encountered: