3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

z3str3: check whether rewritten axioms rewrite to TRUE (#5039)

This commit is contained in:
Murphy Berzish 2021-02-23 10:36:14 -06:00 committed by GitHub
parent 5599387a34
commit 9bde93f812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,6 +237,7 @@ namespace smt {
ast_manager & m = get_manager();
expr_ref _e(e, m);
ctx.get_rewriter()(_e);
if (m.is_true(_e)) return;
assert_axiom(_e);
}