mirror of
https://github.com/Z3Prover/z3
synced 2025-06-14 09:56:15 +00:00
User Propagator: Return if propagated lemma is redundant (#6791)
* Give users ability to see if propagation failed * Skip propagations in the new core if they are already satisfied
This commit is contained in:
parent
f5c069f899
commit
4cb158a79b
10 changed files with 48 additions and 31 deletions
|
@ -11704,7 +11704,7 @@ class UserPropagateBase:
|
|||
num_eqs = len(eqs)
|
||||
_lhs, _num_lhs = _to_ast_array([x for x, y in eqs])
|
||||
_rhs, _num_rhs = _to_ast_array([y for x, y in eqs])
|
||||
Z3_solver_propagate_consequence(e.ctx.ref(), ctypes.c_void_p(
|
||||
return Z3_solver_propagate_consequence(e.ctx.ref(), ctypes.c_void_p(
|
||||
self.cb), num_fixed, _ids, num_eqs, _lhs, _rhs, e.ast)
|
||||
|
||||
def conflict(self, deps = [], eqs = []):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue