Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1007/978-3-319-66107-0_23guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Using Abstract Stobjs in ACL2 to Compute Matrix Normal Forms

Published: 26 September 2017 Publication History
  • Get Citation Alerts
  • Abstract

    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.

    References

    [2]
    Aransay J and Divasón J Formalisation in higher-order logic and code generation to functional languages of the Gauss-Jordan algorithm J. Funct. Program. 2015 25 9 1-21
    [3]
    Aransay J and Divasón J Formalization of the computation of the echelon form of a matrix in Isabelle/HOL Form. Asp. Comput. 2016 28 1005-1026
    [4]
    Cano G, Cohen C, Dénès M, Mörtberg A, and Siles V Formalized linear algebra over elementary divisor rings in Coq logical methods in computer Science 2016 12 2 1-29
    [5]
    Cowles, J., Gamboa, R., Van Baalen, J.: Using ACL2 arrays to formalize matrix algebra. In: Proceedings of ACL2 2003 (2003)
    [6]
    Domich PD, Kannan R, and Trotter LE Jr Hermite normal form computation using modulo determinant arithmetic Math. Oper. Res. 1987 12 50-69
    [7]
    Goel, S., Hunt Jr., W.A., Kaufmann, M.: Abstract stobjs and their application to ISA modeling. In: Proceedings of ACL2 2013, pp. 54–69 (2013)
    [8]
    Gonthier G van Eekelen M, Geuvers H, Schmaltz J, and Wiedijk F Point-free, set-free concrete linear algebra Interactive Theorem Proving 2011 Heidelberg Springer 103-118
    [9]
    Heras J, Coquand T, Mörtberg A, and Siles V Computing persistent homology within Coq/SSReflect ACM Trans. Comput. Log. 2013 14 4 1-26
    [10]
    Lambán, L., Martín-Mateos, F.-J., Rubio, J., Ruiz-Reina, J.-L.: Towards a verifiable topology of data. In: Proceedings of EACA-2016, pp. 113–116 (2016)
    [11]
    Newman M The Smith normal form Linear Algebra Appl. 1997 254 367-381
    [12]
    Storjohann, A.: Algorithms for matrix canonical forms. Ph.D. thesis, Swiss Federal Institute of Technology, Zurich (2013)

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    Interactive Theorem Proving: 8th International Conference, ITP 2017, Brasília, Brazil, September 26–29, 2017, Proceedings
    Sep 2017
    549 pages
    ISBN:978-3-319-66106-3
    DOI:10.1007/978-3-319-66107-0

    Publisher

    Springer-Verlag

    Berlin, Heidelberg

    Publication History

    Published: 26 September 2017

    Author Tags

    1. Matrices
    2. ACL2
    3. Abstract stobjs
    4. Matrix normal forms

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 0
      Total Downloads
    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 12 Aug 2024

    Other Metrics

    Citations

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media