mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
add unit extraction
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
75ba65a18a
commit
718e5a9b6c
27 changed files with 207 additions and 76 deletions
|
@ -6369,6 +6369,11 @@ class Solver(Z3PPObject):
|
|||
"""
|
||||
return AstVector(Z3_solver_get_assertions(self.ctx.ref(), self.solver), self.ctx)
|
||||
|
||||
def units(self):
|
||||
"""Return an AST vector containing all currently inferred units.
|
||||
"""
|
||||
return AstVector(Z3_solver_get_units(self.ctx.ref(), self.solver), self.ctx)
|
||||
|
||||
def statistics(self):
|
||||
"""Return statistics for the last `check()`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue