mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
regenerated ml api
This commit is contained in:
parent
c0c98f7d09
commit
cc940eb18e
12
ml/z3.ml
12
ml/z3.ml
|
@ -1038,6 +1038,9 @@ external get_quantifier_num_no_patterns : context -> ast -> int
|
||||||
external get_quantifier_no_pattern_ast : context -> ast -> int -> ast
|
external get_quantifier_no_pattern_ast : context -> ast -> int -> ast
|
||||||
= "camlidl_z3_Z3_get_quantifier_no_pattern_ast"
|
= "camlidl_z3_Z3_get_quantifier_no_pattern_ast"
|
||||||
|
|
||||||
|
external get_quantifier_num_bound : context -> ast -> int
|
||||||
|
= "camlidl_z3_Z3_get_quantifier_num_bound"
|
||||||
|
|
||||||
external get_quantifier_bound_name : context -> ast -> int -> symbol
|
external get_quantifier_bound_name : context -> ast -> int -> symbol
|
||||||
= "camlidl_z3_Z3_get_quantifier_bound_name"
|
= "camlidl_z3_Z3_get_quantifier_bound_name"
|
||||||
|
|
||||||
|
@ -1047,9 +1050,6 @@ external get_quantifier_bound_sort : context -> ast -> int -> sort
|
||||||
external get_quantifier_body : context -> ast -> ast
|
external get_quantifier_body : context -> ast -> ast
|
||||||
= "camlidl_z3_Z3_get_quantifier_body"
|
= "camlidl_z3_Z3_get_quantifier_body"
|
||||||
|
|
||||||
external get_quantifier_num_bound : context -> ast -> int
|
|
||||||
= "camlidl_z3_Z3_get_quantifier_num_bound"
|
|
||||||
|
|
||||||
external simplify : context -> ast -> ast
|
external simplify : context -> ast -> ast
|
||||||
= "camlidl_z3_Z3_simplify"
|
= "camlidl_z3_Z3_simplify"
|
||||||
|
|
||||||
|
@ -2830,6 +2830,9 @@ external get_quantifier_num_no_patterns : context -> ast -> int
|
||||||
external get_quantifier_no_pattern_ast : context -> ast -> int -> ast
|
external get_quantifier_no_pattern_ast : context -> ast -> int -> ast
|
||||||
= "camlidl_z3V3_Z3_get_quantifier_no_pattern_ast"
|
= "camlidl_z3V3_Z3_get_quantifier_no_pattern_ast"
|
||||||
|
|
||||||
|
external get_quantifier_num_bound : context -> ast -> int
|
||||||
|
= "camlidl_z3V3_Z3_get_quantifier_num_bound"
|
||||||
|
|
||||||
external get_quantifier_bound_name : context -> ast -> int -> symbol
|
external get_quantifier_bound_name : context -> ast -> int -> symbol
|
||||||
= "camlidl_z3V3_Z3_get_quantifier_bound_name"
|
= "camlidl_z3V3_Z3_get_quantifier_bound_name"
|
||||||
|
|
||||||
|
@ -2839,9 +2842,6 @@ external get_quantifier_bound_sort : context -> ast -> int -> sort
|
||||||
external get_quantifier_body : context -> ast -> ast
|
external get_quantifier_body : context -> ast -> ast
|
||||||
= "camlidl_z3V3_Z3_get_quantifier_body"
|
= "camlidl_z3V3_Z3_get_quantifier_body"
|
||||||
|
|
||||||
external get_quantifier_num_bound : context -> ast -> int
|
|
||||||
= "camlidl_z3V3_Z3_get_quantifier_num_bound"
|
|
||||||
|
|
||||||
external simplify : context -> ast -> ast
|
external simplify : context -> ast -> ast
|
||||||
= "camlidl_z3V3_Z3_simplify"
|
= "camlidl_z3V3_Z3_simplify"
|
||||||
|
|
||||||
|
|
|
@ -6661,6 +6661,28 @@ check_error_code(c);
|
||||||
return _vres;
|
return _vres;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
value camlidl_z3_Z3_get_quantifier_num_bound(
|
||||||
|
value _v_c,
|
||||||
|
value _v_a)
|
||||||
|
{
|
||||||
|
Z3_context c; /*in*/
|
||||||
|
Z3_ast a; /*in*/
|
||||||
|
unsigned int _res;
|
||||||
|
value _vres;
|
||||||
|
|
||||||
|
struct camlidl_ctx_struct _ctxs = { CAMLIDL_TRANSIENT, NULL };
|
||||||
|
camlidl_ctx _ctx = &_ctxs;
|
||||||
|
camlidl_ml2c_z3_Z3_context(_v_c, &c, _ctx);
|
||||||
|
camlidl_ml2c_z3_Z3_ast(_v_a, &a, _ctx);
|
||||||
|
_res = Z3_get_quantifier_num_bound(c, a);
|
||||||
|
_vres = Val_int(_res);
|
||||||
|
camlidl_free(_ctx);
|
||||||
|
/* begin user-supplied deallocation sequence */
|
||||||
|
check_error_code(c);
|
||||||
|
/* end user-supplied deallocation sequence */
|
||||||
|
return _vres;
|
||||||
|
}
|
||||||
|
|
||||||
value camlidl_z3_Z3_get_quantifier_bound_name(
|
value camlidl_z3_Z3_get_quantifier_bound_name(
|
||||||
value _v_c,
|
value _v_c,
|
||||||
value _v_a,
|
value _v_a,
|
||||||
|
@ -6733,28 +6755,6 @@ check_error_code(c);
|
||||||
return _vres;
|
return _vres;
|
||||||
}
|
}
|
||||||
|
|
||||||
value camlidl_z3_Z3_get_quantifier_num_bound(
|
|
||||||
value _v_c,
|
|
||||||
value _v_a)
|
|
||||||
{
|
|
||||||
Z3_context c; /*in*/
|
|
||||||
Z3_ast a; /*in*/
|
|
||||||
unsigned int _res;
|
|
||||||
value _vres;
|
|
||||||
|
|
||||||
struct camlidl_ctx_struct _ctxs = { CAMLIDL_TRANSIENT, NULL };
|
|
||||||
camlidl_ctx _ctx = &_ctxs;
|
|
||||||
camlidl_ml2c_z3_Z3_context(_v_c, &c, _ctx);
|
|
||||||
camlidl_ml2c_z3_Z3_ast(_v_a, &a, _ctx);
|
|
||||||
_res = Z3_get_quantifier_num_bound(c, a);
|
|
||||||
_vres = Val_int(_res);
|
|
||||||
camlidl_free(_ctx);
|
|
||||||
/* begin user-supplied deallocation sequence */
|
|
||||||
check_error_code(c);
|
|
||||||
/* end user-supplied deallocation sequence */
|
|
||||||
return _vres;
|
|
||||||
}
|
|
||||||
|
|
||||||
value camlidl_z3_Z3_simplify(
|
value camlidl_z3_Z3_simplify(
|
||||||
value _v_c,
|
value _v_c,
|
||||||
value _v_a)
|
value _v_a)
|
||||||
|
@ -16691,6 +16691,25 @@ value camlidl_z3V3_Z3_get_quantifier_no_pattern_ast(
|
||||||
return _vres;
|
return _vres;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
value camlidl_z3V3_Z3_get_quantifier_num_bound(
|
||||||
|
value _v_c,
|
||||||
|
value _v_a)
|
||||||
|
{
|
||||||
|
Z3_context c; /*in*/
|
||||||
|
Z3_ast a; /*in*/
|
||||||
|
unsigned int _res;
|
||||||
|
value _vres;
|
||||||
|
|
||||||
|
struct camlidl_ctx_struct _ctxs = { CAMLIDL_TRANSIENT, NULL };
|
||||||
|
camlidl_ctx _ctx = &_ctxs;
|
||||||
|
camlidl_ml2c_z3V3_Z3_context(_v_c, &c, _ctx);
|
||||||
|
camlidl_ml2c_z3V3_Z3_ast(_v_a, &a, _ctx);
|
||||||
|
_res = Z3_get_quantifier_num_bound(c, a);
|
||||||
|
_vres = Val_int(_res);
|
||||||
|
camlidl_free(_ctx);
|
||||||
|
return _vres;
|
||||||
|
}
|
||||||
|
|
||||||
value camlidl_z3V3_Z3_get_quantifier_bound_name(
|
value camlidl_z3V3_Z3_get_quantifier_bound_name(
|
||||||
value _v_c,
|
value _v_c,
|
||||||
value _v_a,
|
value _v_a,
|
||||||
|
@ -16754,25 +16773,6 @@ value camlidl_z3V3_Z3_get_quantifier_body(
|
||||||
return _vres;
|
return _vres;
|
||||||
}
|
}
|
||||||
|
|
||||||
value camlidl_z3V3_Z3_get_quantifier_num_bound(
|
|
||||||
value _v_c,
|
|
||||||
value _v_a)
|
|
||||||
{
|
|
||||||
Z3_context c; /*in*/
|
|
||||||
Z3_ast a; /*in*/
|
|
||||||
unsigned int _res;
|
|
||||||
value _vres;
|
|
||||||
|
|
||||||
struct camlidl_ctx_struct _ctxs = { CAMLIDL_TRANSIENT, NULL };
|
|
||||||
camlidl_ctx _ctx = &_ctxs;
|
|
||||||
camlidl_ml2c_z3V3_Z3_context(_v_c, &c, _ctx);
|
|
||||||
camlidl_ml2c_z3V3_Z3_ast(_v_a, &a, _ctx);
|
|
||||||
_res = Z3_get_quantifier_num_bound(c, a);
|
|
||||||
_vres = Val_int(_res);
|
|
||||||
camlidl_free(_ctx);
|
|
||||||
return _vres;
|
|
||||||
}
|
|
||||||
|
|
||||||
value camlidl_z3V3_Z3_simplify(
|
value camlidl_z3V3_Z3_simplify(
|
||||||
value _v_c,
|
value _v_c,
|
||||||
value _v_a)
|
value _v_a)
|
||||||
|
|
Loading…
Reference in a new issue