mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
pydoc regression
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1e21ea4645
commit
b8734273c8
|
@ -1271,7 +1271,7 @@ def Distinct(*args):
|
|||
>>> simplify(Distinct(x, y, z))
|
||||
Distinct(x, y, z)
|
||||
>>> simplify(Distinct(x, y, z), blast_distinct=True)
|
||||
And(Not(x == y), Not(z == x), Not(z == y))
|
||||
And(Not(x == y), Not(x == z), Not(y == z))
|
||||
"""
|
||||
args = _get_args(args)
|
||||
ctx = _ctx_from_ast_arg_list(args)
|
||||
|
|
|
@ -89,10 +89,10 @@ struct unit_subsumption_tactic : public tactic {
|
|||
m_context.push();
|
||||
for (unsigned j = 0; j < m_clause_count; ++j) {
|
||||
if (i == j) {
|
||||
m_context.assert_expr(m.mk_not(m_clauses[j].get()));
|
||||
m_context.assert_expr(m.mk_not(m_clauses.get(j)));
|
||||
}
|
||||
else if (!m_is_deleted.get(j)) {
|
||||
m_context.assert_expr(m_clauses[j].get());
|
||||
m_context.assert_expr(m_clauses.get(j));
|
||||
}
|
||||
}
|
||||
m_context.push(); // force propagation
|
||||
|
@ -114,6 +114,7 @@ struct unit_subsumption_tactic : public tactic {
|
|||
m_is_deleted.reset();
|
||||
m_is_deleted.resize(g->size());
|
||||
m_deleted.reset();
|
||||
|
||||
}
|
||||
|
||||
expr* new_bool(unsigned& count, expr_ref_vector& v, char const* name) {
|
||||
|
|
Loading…
Reference in a new issue