NLA-lib Explorer

NLAlib.Ops.tacticLoop_inv___With___

Library · def

loop_inv F P with i hi m' hfr hP applies writes_loop at footprint family F and invariant P, also when the loop begins a sequence. The bound is evaluated or found in the context; footprint monotonicity and inclusion are proved by fp_sub. Leaves initial when the initial invariant needs a proof, round for the body, and exit when the final invariant needs to be weakened or more statements follow. The optional five names introduce the round index, its bound, the fresh memory, its frame and the invariant. Nested loops use repeated loop_inv; fill and early-exit rules are applied directly.

NLAlib.Ops.tacticLoop_inv___With___ : ParserDescr

Full source on GitHub

Import NLAlib.Ops.Logic.Tactic.