3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

internalize reflect

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-07-04 07:33:37 +07:00
parent b86432e2a3
commit 6d244ed2aa

View file

@ -246,12 +246,12 @@ namespace smt {
SASSERT(m->get_num_args() == 2);
if (m_util.is_numeral(arg2, _val2)) {
numeral val(_val1 + _val2);
if (reflection_enabled()) {
internalize_term_core(to_app(arg1));
internalize_term_core(to_app(arg2));
mk_enode(m);
}
theory_var v = internalize_numeral(m, val);
if (reflection_enabled()) {
internalize_term_core(to_app(arg1));
internalize_term_core(to_app(arg2));
mk_enode(m);
}
add_row_entry<true>(r_id, numeral::one(), v);
return;
}