3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

adding translation routine to context to address enhancement request #209

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-10-31 14:28:21 -07:00
parent 4b1a730f46
commit 9acaa49a05
2 changed files with 105 additions and 15 deletions

View file

@ -1324,6 +1324,10 @@ namespace smt {
// -----------------------------------
void assert_expr_core(expr * e, proof * pr);
// copy plugins into a fresh context.
void copy_plugins(context& src, context& dst);
expr_ref translate(literal lit, context& dst);
public:
context(ast_manager & m, smt_params & fp, params_ref const & p = params_ref());