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
Communication Dans Un Congrès Année : 2023

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

Résumé

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
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Licence

Identifiants

Citer

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⟩
178 Consultations
289 Téléchargements

Altmetric

Partager

More