3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00

expose Z3_model_has_interp to C API

This commit is contained in:
Tim Felgentreff 2013-04-09 11:44:16 +02:00
parent 89c1785b73
commit 8fb7de5110
2 changed files with 21 additions and 0 deletions

View file

@ -4455,6 +4455,15 @@ END_MLAPI_EXCLUDE
*/
Z3_ast_opt Z3_API Z3_model_get_const_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl a);
/**
\brief Test if there exists an interpretation (i.e., assignment) of constant \c a in the model \c m.
\pre Z3_get_arity(c, a) == 0
def_API('Z3_model_has_interp', BOOL, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL)))
*/
Z3_bool Z3_API Z3_model_has_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl a);
/**
\brief Return the interpretation of the function \c f in the model \c m.
Return \mlonly [None], \endmlonly \conly \c NULL,