Using abstract stobjs in ACL2 to compute matrix normal forms
- Lambán, L. 2
- Martín-Mateos, F.J. 1
- Rubio, J. 2
- Ruiz-Reina, J.-L. 1
-
1
Universidad de Sevilla
info
-
2
Universidad de La Rioja
info
ISSN: 0302-9743
Année de publication: 2017
Volumen: 10499 LNCS
Pages: 354-370
Type: Article
beta Ver similares en nube de resultadosD'autres publications dans: Lecture Notes in Computer Science
Résumé
We present here an application of abstract single threaded objects (abstract stobjs) in the ACL2 theorem prover, to define a formally verified algorithm that given a matrix with elements in the ring of integers, computes an equivalent matrix in column echelon form. Abstract stobjs allow us to define a sound logical interface between matrices defined as lists of lists, convenient for reasoning but inefficient, and matrices represented as unidimensional stobjs arrays, which implement accesses and (destructive) updates in constant time. Also, by means of the abstract stobjs mechanism, we use a more convenient logical representation of the transformation matrix, as a sequence of elemental transformations. Although we describe here a particular normalization algorithm, we think this approach could be useful to obtain formally verified and efficient executable implementations of a number of matrix normal form algorithms. © 2017, Springer International Publishing AG.