Loop invariant minimum