Using abstract stobjs in ACL2 to compute matrix normal forms

  1. Lambán, L. 2
  2. Martín-Mateos, F.J. 1
  3. Rubio, J. 2
  4. Ruiz-Reina, J.-L. 1
  1. 1 Universidad de Sevilla
    info

    Universidad de Sevilla

    Sevilla, España

    ROR https://ror.org/03yxnpp24

  2. 2 Universidad de La Rioja
    info

    Universidad de La Rioja

    Logroño, España

    ROR https://ror.org/0553yr311

Revue:
Lecture Notes in Computer Science

ISSN: 0302-9743

Année de publication: 2017

Volumen: 10499 LNCS

Pages: 354-370

Type: Article

DOI: 10.1007/978-3-319-66107-0_23 SCOPUS: 2-s2.0-85029505235 GOOGLE SCHOLAR

D'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.