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

updates with constraints

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-08-09 18:35:05 -07:00
parent 7db0df22e8
commit 0be3d016f6
2 changed files with 3 additions and 6 deletions

View file

@ -92,8 +92,7 @@ namespace synth {
sat::literal lit_e(bv, false);
ctx.attach_lit(lit_e, e);
add_clause(~lit_e, lit);
m_spec.insert(arg);
ctx.push(insert_obj_trail(m_spec, arg));
ctx.push_vec(m_spec, arg);
}
// recognize synthesis objectives here.

View file

@ -56,10 +56,8 @@ namespace synth {
ptr_vector<app> m_solved;
ptr_vector<app> m_synth;
typedef obj_hashtable<func_decl> func_decl_set;
func_decl_set m_uncomputable;
typedef obj_hashtable<app> app_set;
obj_hashtable<expr> m_spec;
obj_hashtable<func_decl> m_uncomputable;
ptr_vector<expr> m_spec;
};