New equations for neutral terms : a sound and complete decision procedure, formalized
Allais, Guillaume and McBride, Conor and Boutillier, Pierre; (2013) New equations for neutral terms : a sound and complete decision procedure, formalized. In: DTP '13: Proceedings of the 2013 ACM SIGPLAN workshop on Dependently-typed programming. ACM, New York, pp. 13-24. ISBN 9781450323840 (https://doi.org/10.1145/2502409.2502411)
Preview |
Text.
Filename: Allais_etal_DTP2013_New_equations_for_neutral_terms.pdf
Accepted Author Manuscript License: Strathprints license 1.0 Download (860kB)| Preview |
Abstract
The definitional equality of an intensional type theory is its test of type compatibility. Today's systems rely on ordinary evaluation semantics to compare expressions in types, frustrating users with type errors arising when evaluation fails to identify two `obviously' equal terms. If only the machine could decide a richer theory! We propose a way to decide theories which supplement evaluation with `ν-rules', rearranging the neutral parts of normal forms, and report a successful initial experiment. We study a simple λ-calculus with primitive fold, map and append operations on lists and develop in Agda a sound and complete decision procedure for an equational theory enriched with monoid, functor and fusion laws.
ORCID iDs
Allais, Guillaume ORCID: https://orcid.org/0000-0002-4091-657X, McBride, Conor ORCID: https://orcid.org/0000-0003-1487-0886 and Boutillier, Pierre;-
-
Item type: Book Section ID code: 86555 Dates: DateEvent24 September 2013PublishedSubjects: Science > Mathematics > Electronic computers. Computer science > Other topics, A-Z Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 23 Aug 2023 09:12 Last modified: 22 Dec 2024 01:09 Related URLs: URI: https://strathprints.strath.ac.uk/id/eprint/86555