3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 22:05:45 +00:00

Add 2 new API functions to get depth & groundness of exprs (#7479)

* Update api_ast.cpp

* Update z3_api.h
This commit is contained in:
Nuno Lopes 2024-12-30 16:49:43 +00:00 committed by GitHub
parent f99e1ee581
commit 322dcec531
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View file

@ -4992,6 +4992,16 @@ extern "C" {
*/
bool Z3_API Z3_is_app(Z3_context c, Z3_ast a);
/**
def_API('Z3_is_ground', BOOL, (_in(CONTEXT), _in(AST)))
*/
bool Z3_API Z3_is_ground(Z3_context c, Z3_ast a);
/**
def_API('Z3_get_depth', UINT, (_in(CONTEXT), _in(AST)))
*/
unsigned Z3_API Z3_get_depth(Z3_context c, Z3_ast a);
/**
def_API('Z3_is_numeral_ast', BOOL, (_in(CONTEXT), _in(AST)))
*/