MATH3250 · Definition · Chapter 4 · Integer algorithms
Loop invariant
0 steps of prerequisites below it
A loop invariant is a proposition about the program state that holds before the first iteration and is preserved by every iteration, while a termination measure is a nonnegative integer that strictly decreases at each iteration.
Taught in
- 4.1 Euclidean invariants and binary exponentiation · introduced
Builds on
Nothing in the notes sits below this point: it is a starting point.
Used by
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Nothing is recorded below this point: it is a starting point.