Practical and sound equality tests, automatically -- Deriving eqType instances for Jasmin's data types with Coq-Elpi - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

Practical and sound equality tests, automatically -- Deriving eqType instances for Jasmin's data types with Coq-Elpi

Abstract

In this paper we describe the design and implementation of feqb, a tool that synthesizes sound equality tests for inductive data types in the dependent type theory of the Coq system. Our procedure scales to large inductive data types, as in hundreds of constructors, since the terms and proofs it synthesizes are linear in the size of the inductive type. Moreover it supports some forms of dependently typed arguments and sigma types pairing data with proofs of decidable properties. Finally feqb handles deeply nested containers without requiring any human intervention.
Fichier principal
Vignette du fichier
feqb.pdf (581.41 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03800154 , version 1 (06-10-2022)

Licence

Identifiers

Cite

Benjamin Grégoire, Jean-Christophe Léchenet, Enrico Tassi. Practical and sound equality tests, automatically -- Deriving eqType instances for Jasmin's data types with Coq-Elpi. CPP '23: 12th ACM SIGPLAN International Conference on Certified Programs and Proofs, Jan 2023, Boston MA USA, France. pp.167-181, ⟨10.1145/3573105.3575683⟩. ⟨hal-03800154⟩
158 View
257 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More