3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-27 19:08:49 +00:00

First check for conflict and then sat

This commit is contained in:
CEisenhofer 2026-05-22 14:38:07 +02:00
parent 7ede1b9c3d
commit cedb13d045
4 changed files with 20 additions and 115 deletions

View file

@ -548,6 +548,7 @@ namespace seq {
std::vector<std::string> int_constraints;
for (auto const& ic : m_constraints) {
int_constraints.push_back(constraint_html(ic, names, next_id, m));
SASSERT(!int_constraints.empty());
}
if (!int_constraints.empty()) {
// eliminate duplicates
@ -557,7 +558,7 @@ namespace seq {
if (int_constraints[i] != int_constraints[prev])
int_constraints[++prev] = int_constraints[i];
}
int_constraints.resize(prev);
int_constraints.resize(prev + 1);
if (!any) { out << "Cnstr:<br/>"; any = true; }
out << "Int:<br/>";
for (const auto& s : int_constraints) {