mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
sort hypotheses
This commit is contained in:
parent
c5fb1c1223
commit
0534b72c4d
1 changed files with 2 additions and 0 deletions
|
@ -427,6 +427,8 @@ proof* hypothesis_reducer::mk_lemma_core(proof* premise, expr *fact) {
|
||||||
return premise;
|
return premise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add some stability
|
||||||
|
std::stable_sort(active_hyps->begin(), active_hyps->end(), ast_lt_proc());
|
||||||
// otherwise, build a disjunction of the negated active hypotheses
|
// otherwise, build a disjunction of the negated active hypotheses
|
||||||
// and add a lemma proof step
|
// and add a lemma proof step
|
||||||
expr_ref_buffer args(m);
|
expr_ref_buffer args(m);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue