3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 00:55:31 +00:00

Ensure that Z3 uses the correct SMT-LIB2 syntax for push and pop (#4495)

* When pretty-printing SMTLIB2, ensure that Z3 uses the correct syntax for 'push'

Signed-off-by: Andrew V. Jones <andrew.jones@vector.com>

* When pretty-printing SMTLIB2, ensure that Z3 uses the correct syntax for 'pop'

Signed-off-by: Andrew V. Jones <andrew.jones@vector.com>
This commit is contained in:
Andrew V. Jones 2020-06-03 17:35:14 +01:00 committed by GitHub
parent 0bc33e9c9d
commit a23ca1792b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View file

@ -1208,9 +1208,9 @@ namespace qe {
fml = mk_not(m, m.mk_iff(q, fml));
ast_smt_pp pp(m);
out << "; eliminate " << mk_pp(m_var, m) << "\n";
out << "(push)\n";
out << "(push 1)\n";
pp.display_smt2(out, fml);
out << "(pop)\n\n";
out << "(pop 1)\n\n";
#if 0
DEBUG_CODE(
smt_params params;