Skip to content

Commit

Permalink
Fixed k-ind
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Feb 13, 2024
1 parent ee3088a commit 25d10d5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class BoundedChecker<S : ExprState, A : StmtAction> @JvmOverloads constructor(
logger.write(Logger.Level.MAINSTEP, "\tStarting k-induction\n")

exprs.subList(lastIterLookup.first, exprs.size).forEach { indSolver.add(it) }
indices.subList(lastIterLookup.first, indices.size - 1).forEach { indSolver.add(unfoldedPropExpr(it)) }

return indSolver.pushPop {
indSolver.add(Not(unfoldedPropExpr(indices.last())))
Expand Down

0 comments on commit 25d10d5

Please sign in to comment.