Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-09T09:54:26.780Z Has data issue: false hasContentIssue false

Formalisation in higher-order logic and code generation to functional languages of the Gauss-Jordan algorithm

Published online by Cambridge University Press:  13 July 2015

JESÚS ARANSAY
Affiliation:
Departamento de Matemáticas y Computación, Universidad de La Rioja, c/ Luis de Ulloa s/n, La Rioja, 26004, Spain (e-mail: http://www.unirioja.es/cu/jearansa; http://www.unirioja.es/cu/jodivaso)
JOSE DIVASÓN
Affiliation:
Departamento de Matemáticas y Computación, Universidad de La Rioja, c/ Luis de Ulloa s/n, La Rioja, 26004, Spain (e-mail: http://www.unirioja.es/cu/jearansa; http://www.unirioja.es/cu/jodivaso)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

In this paper, we present a formalisation in a proof assistant, Isabelle/HOL, of a naive version of the Gauss-Jordan algorithm, with explicit proofs of some of its applications; and, additionally, a process to obtain versions of this algorithm in two different functional languages (SML and Haskell) by means of code generation techniques from the verified algorithm. The aim of this research is not to compete with specialised numerical implementations of Gauss-like algorithms, but to show that formal proofs in this area can be used to generate usable functional programs. The obtained programs show compelling performance in comparison to some other verified and functional versions, and accomplish some challenging tasks, such as the computation of determinants of matrices of big integers and the computation of the homology of matrices representing digital images.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2015 
Submit a response

Discussions

No Discussions have been published for this article.