mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
working on new interpolation
This commit is contained in:
parent
3a0947b3ba
commit
79b0f83ab3
3 changed files with 691 additions and 35 deletions
|
@ -325,6 +325,13 @@ class iz3mgr {
|
|||
return rational(1);
|
||||
}
|
||||
|
||||
ast get_linear_var(const ast& t){
|
||||
rational res;
|
||||
if(op(t) == Times && is_numeral(arg(t,0),res))
|
||||
return arg(t,1);
|
||||
return t;
|
||||
}
|
||||
|
||||
int get_quantifier_num_bound(const ast &t) {
|
||||
return to_quantifier(t.raw())->get_num_decls();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue