Van de Geijn, Robert A.2014-01-292017-05-112017-05-112013-12December 2http://hdl.handle.net/2152/22974textLoop invariants have traditionally been used in proofs of correctness (e.g. program verification) and program derivation. Given that a loop invariant is all that is required to derive a provably correct program, the loop invariant can be thought of as being the essence of a loop. Being the essence of a loop, we ask the question “What other information is embedded within a loop invariant?” This dissertation provides evidence that in the domain of dense linear algebra, loop invariants can be used to determine the behavior of the loops. This dissertation demonstrates that by understanding how the loop invariant describes the behavior of the loop, a goal-oriented approach can be used to derive loops that are not only provably correct, but also have the desired performance behavior.application/pdfen-USLoop InvariantsLoop optimizationDense linear algebraGoal-oriented programmingA calculus of loop invariants for dense linear algebra optimization2014-01-29