Packaging Mathematical Structures - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2009

Packaging Mathematical Structures


This paper proposes generic design patterns to define and combine algebraic structures, using dependent records, coercions and type inference, inside the Coq system. This alternative to telescopes in particular allows multiple inheritance, maximal sharing of notations and theories, and automated structure inference. Our methodology is robust enough to support a hierarchy comprising a broad variety of algebraic structures, from types with a choice operator to algebraically closed fields. Interfaces for the structures enjoy the handiness of a classical setting, without requiring any axiom. Finally, we show how externally extensible some of these instances are by discussing a lemma seminal in defining the discrete logarithm, and a matrix decomposition problem.
Fichier principal
Vignette du fichier
main.pdf (206.87 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

inria-00368403 , version 1 (16-03-2009)
inria-00368403 , version 2 (03-07-2009)


  • HAL Id : inria-00368403 , version 2


François Garillot, Georges Gonthier, Assia Mahboubi, Laurence Rideau. Packaging Mathematical Structures. Theorem Proving in Higher Order Logics, 2009, Munich, Germany. ⟨inria-00368403v2⟩
1077 View
2418 Download


Gmail Facebook Twitter LinkedIn More