3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-06 11:20:26 +00:00

z3str3: add a method to rewrite-and-assert an axiom to reduce boilerplate

This commit is contained in:
Murphy Berzish 2019-11-29 11:20:47 -05:00 committed by Nikolaj Bjorner
parent b8f2cf5b0b
commit bf28b815fa
2 changed files with 24 additions and 14 deletions

View file

@ -489,6 +489,8 @@ protected:
void assert_axiom(expr * e);
void assert_implication(expr * premise, expr * conclusion);
expr * rewrite_implication(expr * premise, expr * conclusion);
// Use the rewriter to simplify an axiom, then assert it.
void assert_axiom_rw(expr * e);
expr * mk_string(zstring const& str);
expr * mk_string(const char * str);