LAProof: A Library of Formal Proofs of Accuracy and Correctness for Linear Algebra Programs

The LAProof library provides formal machine-checked proofs of the accuracy of basic linear algebra operations: inner product using conventional multiply and add, inner product using fused multiply-add, scaled matrix-vector and matrix-matrix multiplication, and scaled vector and matrix addition. Thes...

Full description

Saved in:
Bibliographic Details
Published inProceedings - Symposium on Computer Arithmetic pp. 36 - 43
Main Authors Kellison, Ariel E., Appel, Andrew W., Tekriwal, Mohit, Bindel, David
Format Conference Proceeding
LanguageEnglish
Published IEEE 04.09.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The LAProof library provides formal machine-checked proofs of the accuracy of basic linear algebra operations: inner product using conventional multiply and add, inner product using fused multiply-add, scaled matrix-vector and matrix-matrix multiplication, and scaled vector and matrix addition. These proofs can connect to concrete implementations of low-level basic linear algebra subprograms; as a proof of concept we present a machine-checked correctness proof of a C function implementing sparse matrix-vector multiplication using the compressed sparse row format. Our accuracy proofs are backward error bounds and mixed backward-forward error bounds that account for underflow, proved subject to no assumptions except a low-level formal model of IEEE-754 arithmetic. We treat low-order error terms concretely, not approximating as \mathcal{O}\left( {{u^2}} \right).
ISSN:2576-2265
DOI:10.1109/ARITH58626.2023.00021