mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
mark assumption literals to be skolem to hide them from models #2406
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4b6a7371dd
commit
5820b16800
4 changed files with 21 additions and 5 deletions
|
@ -1364,7 +1364,7 @@ void cmd_context::assert_expr(symbol const & name, expr * t) {
|
|||
m_check_sat_result = nullptr;
|
||||
m().inc_ref(t);
|
||||
m_assertions.push_back(t);
|
||||
expr * ans = m().mk_const(name, m().mk_bool_sort());
|
||||
app * ans = m().mk_skolem_const(name, m().mk_bool_sort());
|
||||
m().inc_ref(ans);
|
||||
m_assertion_names.push_back(ans);
|
||||
if (m_solver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue