3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-15 23:35:26 +00:00

speeding up interpolation in RPFP_caching

This commit is contained in:
Ken McMillan 2013-12-24 17:20:12 -08:00
parent 1b9f1ea6b3
commit 11ba2178a9
4 changed files with 63 additions and 18 deletions

View file

@ -451,6 +451,7 @@ namespace Duality {
bool is_datatype() const { return get_sort().is_datatype(); }
bool is_relation() const { return get_sort().is_relation(); }
bool is_finite_domain() const { return get_sort().is_finite_domain(); }
bool is_true() const {return is_app() && decl().get_decl_kind() == True; }
bool is_numeral() const {
return is_app() && decl().get_decl_kind() == OtherArith && m().is_unique_value(to_expr(raw()));