mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 06:15:46 +00:00
add facility to add lemmas
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
af6ebbcd92
commit
ce592d7716
16 changed files with 111 additions and 21 deletions
|
@ -5949,6 +5949,16 @@ extern "C" {
|
|||
*/
|
||||
void Z3_API Z3_solver_assert_and_track(Z3_context c, Z3_solver s, Z3_ast a, Z3_ast p);
|
||||
|
||||
/**
|
||||
\brief add a lemma. A lemma is a assumed to be a consequence of the current assertions.
|
||||
Adding a lemma should therefore be a logical no-op. Solvers are free to ignore lemmas.
|
||||
|
||||
\pre \c a must be a Boolean expression
|
||||
|
||||
def_API('Z3_solver_assert_lemma', VOID, (_in(CONTEXT), _in(SOLVER), _in(AST)))
|
||||
*/
|
||||
void Z3_API Z3_solver_assert_lemma(Z3_context c, Z3_solver s, Z3_ast a);
|
||||
|
||||
/**
|
||||
\brief Return the set of asserted formulas on the solver.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue