3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-14 19:15:41 +00:00

Add sanity assertions in QE regression test setup

This commit is contained in:
copilot-swe-agent[bot] 2026-07-12 23:50:14 +00:00 committed by GitHub
parent 1f71d530f7
commit 002546d83f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,9 +175,11 @@ static void test_qe_regression_4175() {
arith_util a(m);
expr_ref fml = parse_fml(m, "(forall ((b Real)) (= (= r1 b) (= b 0)))");
VERIFY(fml);
expr_ref result(m);
qe::expr_quant_elim qe(m, params);
qe(m.mk_true(), fml, result);
VERIFY(result);
expr_ref r1(m.mk_const(symbol("r1"), a.mk_real()), m);
expr_ref zero(a.mk_numeral(rational(0), false), m);