Skip to content

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

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.

Back to the graph →Read the note 4.1 →

Vercel visit statistics and public-page performance measurements each require separate consent. Neither is needed to use the website.

Website function storage (used when needed)

Security, sign-in and your chosen preferences use storage when needed. This is separate from optional statistics.

Withdrawing stops future statistics. The page reloads if analytics code needs unloading. It does not delete data already sent.

Read Cookie and storage details