A purely functional library for modular arithmetic and its application to certifying large prime numbers

  • Authors:
  • Benjamin Grégoire;Laurent Théry

  • Affiliations:
  • INRIA Sophia-Antipolis, France;INRIA Sophia-Antipolis, France

  • Venue:
  • IJCAR'06 Proceedings of the Third international joint conference on Automated Reasoning
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Computing efficiently with numbers can be crucial for some theorem proving applications. In this paper, we present a library of modular arithmetic that has been developed within the Coq proof assistant. The library proposes the usual operations that have all been proved correct. The library is purely functional but can also be used on top of some native modular arithmetic. With this library, we have been capable of certifying the primality of numbers with more than 13000 digits.