Skip to content

Commit

Permalink
cex reducer: skip testing implied constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Dec 24, 2024
1 parent c5ddf97 commit b711187
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ static bool error(Errors &errs, State &src_state, State &tgt_state,
optional<Result> newr;

auto try_reduce = [&](const expr &e) {
if (e.isTrue())
return true;

bool ok = false;
{
SolverPush push(solver);
Expand Down

0 comments on commit b711187

Please sign in to comment.