DocumentCode :
2371491
Title :
Automatic Generation of Loop-Invariants for Matrix Operations
Author :
Fabregat-Traver, Diego ; Bientinesi, Paolo
Author_Institution :
AICES, RWTH Aachen, Aachen, Germany
fYear :
2011
fDate :
20-23 June 2011
Firstpage :
82
Lastpage :
92
Abstract :
In recent years it has been shown that for many linear algebra operations it is possible to create families of algorithms following a very systematic procedure. We do not refer to the fine tuning of a known algorithm, but to a methodology for the actual generation of both algorithms and routines to solve a given target matrix equation. Although systematic, the methodology relies on complex algebraic manipulations and non-obvious pattern matching, making the procedure challenging to be performed by hand, our goal is the development of a fully automated system that from the sole description of a target equation creates multiple algorithms and routines. We present CL1ck, a symbolic system written in Mathematica, that starts with an equation, decomposes it into multiple equations, and returns a set of loop-invariants for the algorithms -- yet to be generated -- that will solve the equation. In a successive step each loop-invariant is then mapped to its corresponding algorithm and routine. For a large class of equations, the methodology generates known algorithms as well as many previously unknown ones. Most interestingly, the methodology unifies algorithms traditionally developed in isolation. As an example, the five well known algorithms for the LU factorization are for the first time unified under a common root.
Keywords :
mathematics computing; matrix algebra; pattern matching; symbol manipulation; CL1CK; LU factorization; Mathematica; algebraic manipulation; linear algebra operation; loop-invariant generation; nonobvious pattern matching; symbolic system; target matrix equation; Equations; Matrix decomposition; Partitioning algorithms; Pattern matching; Systematics; Table lookup; Yttrium; Algorithm Generation; Automation; Loop-Invariant; Program Correctness;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computational Science and Its Applications (ICCSA), 2011 International Conference on
Conference_Location :
Santander
Print_ISBN :
978-1-4577-0142-9
Type :
conf
DOI :
10.1109/ICCSA.2011.41
Filename :
5959565
Link To Document :
بازگشت