Skip to main content

Computer Arithmetic and Formal Proofs

Verifying Floating-point Algorithms with the Coq System

  • 1st Edition - November 16, 2017
  • Authors: Sylvie Boldo, Guillaume Melquiond
  • Language: English
  • Hardback ISBN:
    9 7 8 - 1 - 7 8 5 4 8 - 1 1 2 - 3
  • eBook ISBN:
    9 7 8 - 0 - 0 8 - 1 0 1 1 7 0 - 6

Floating-point arithmetic is ubiquitous in modern computing, as it is the tool of choice to approximate real numbers. Due to its limited range and precision, its use can become qu… Read more

Computer Arithmetic and Formal Proofs

Purchase options

LIMITED OFFER

Save 50% on book bundles

Immediately download your ebook while waiting for your print delivery. No promo code needed.

Image of books

Institutional subscription on ScienceDirect

Request a sales quote

Floating-point arithmetic is ubiquitous in modern computing, as it is the tool of choice to approximate real numbers. Due to its limited range and precision, its use can become quite involved and potentially lead to numerous failures. One way to greatly increase confidence in floating-point software is by computer-assisted verification of its correctness proofs.

This book provides a comprehensive view of how to formally specify and verify tricky floating-point algorithms with the Coq proof assistant. It describes the Flocq formalization of floating-point arithmetic and some methods to automate theorem proofs. It then presents the specification and verification of various algorithms, from error-free transformations to a numerical scheme for a partial differential equation. The examples cover not only mathematical algorithms but also C programs as well as issues related to compilation.