You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invariant inference 3/6: invariant and negated condition after a loop without break #545
Part of the loop invariant inference plan (parent issue). Builds on the Houdini sub-issue.
Facts after the loop. For a loop that can only exit through its condition (no break, no labelled jump out), give the instance after the loop the inferred invariant and the negated condition, instead of only its declared refinement. Example: after int i = 0; while (i < n) i++; we know i >= n (and i >= 0, i <= n when inferred).
Loops with break keep today's behaviour (only the declared refinement).
Activity
Add the candidate invariants of the int locals a loop changes (#550)