mirror of
https://github.com/Z3Prover/z3
synced 2026-03-09 23:00:30 +00:00
Fix congruence closure API naming in Python and Java bindings
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
9ef917c20d
commit
a3ea31cb42
2 changed files with 6 additions and 6 deletions
|
|
@ -7777,7 +7777,7 @@ class Solver(Z3PPObject):
|
|||
cube are likely more useful to cube on."""
|
||||
return self.cube_vs
|
||||
|
||||
def root(self, t):
|
||||
def congruence_root(self, t):
|
||||
"""Retrieve congruence closure root of the term t relative to the current search state
|
||||
The function primarily works for SimpleSolver. Terms and variables that are
|
||||
eliminated during pre-processing are not visible to the congruence closure.
|
||||
|
|
@ -7785,7 +7785,7 @@ class Solver(Z3PPObject):
|
|||
t = _py2expr(t, self.ctx)
|
||||
return _to_expr_ref(Z3_solver_congruence_root(self.ctx.ref(), self.solver, t.ast), self.ctx)
|
||||
|
||||
def next(self, t):
|
||||
def congruence_next(self, t):
|
||||
"""Retrieve congruence closure sibling of the term t relative to the current search state
|
||||
The function primarily works for SimpleSolver. Terms and variables that are
|
||||
eliminated during pre-processing are not visible to the congruence closure.
|
||||
|
|
@ -7793,7 +7793,7 @@ class Solver(Z3PPObject):
|
|||
t = _py2expr(t, self.ctx)
|
||||
return _to_expr_ref(Z3_solver_congruence_next(self.ctx.ref(), self.solver, t.ast), self.ctx)
|
||||
|
||||
def explain_congruent(self, a, b):
|
||||
def congruence_explain(self, a, b):
|
||||
"""Explain congruence of a and b relative to the current search state"""
|
||||
a = _py2expr(a, self.ctx)
|
||||
b = _py2expr(b, self.ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue