An invariant over every run
A capped counter stays within its cap after any sequence of operations.
0/9 completed in this course
In this course 8 / 9
Your exercise
Loading the exercise…
Loading editor…
Type
\to in the editor, or click:Run a check to see the goals Lean has left.
ReadyLn 1, Col 1Lean 4
Draft saved in this browser