QArith: Coq Formalisation of Lazy Rational Arithmetic

Milad Niqui 1 Yves Bertot 1
1 LEMME - Software and mathematics
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : In this paper we present the formalisation of the library which is an implementation of rational numbers as binary sequences for both lazy and strict computation. We use the representation also known as the Stern-Brocot representation for rational numbers. This formalisation uses advanced machinery of the theorem prover and applies recent developments in formalising general recursive functions. This formalisation highlights the rôle of type theory both as a tool to verify hand-written programs and as a tool to generate verified programs.
Document type :
Reports
Complete list of metadatas

Cited literature [1 references]  Display  Hide  Download

https://hal.inria.fr/inria-00077041
Contributor : Rapport de Recherche Inria <>
Submitted on : Monday, May 29, 2006 - 11:58:04 AM
Last modification on : Monday, September 3, 2018 - 10:56:01 AM
Long-term archiving on: Monday, April 5, 2010 - 9:33:20 PM

Identifiers

  • HAL Id : inria-00077041, version 1

Collections

Citation

Milad Niqui, Yves Bertot. QArith: Coq Formalisation of Lazy Rational Arithmetic. [Research Report] RR-5004, INRIA. 2003, pp.19. ⟨inria-00077041⟩

Share

Metrics

Record views

209

Files downloads

345