Skip to main navigation Skip to search Skip to main content

New equations for neutral terms: a sound and complete decision procedure, formalized

Guillaume Allais, Conor McBride, Pierre Boutillier

Research output: Chapter in Book/Report/Conference proceedingConference contribution book

23 Downloads (Pure)

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.
Original languageEnglish
Title of host publicationDTP '13: Proceedings of the 2013 ACM SIGPLAN workshop on Dependently-typed programming
Place of PublicationNew York
Pages13-24
Number of pages12
DOIs
Publication statusPublished - 24 Sept 2013

Keywords

  • normalization by evaluation
  • logical relations
  • simply typed lambda calculus
  • map fusion

Fingerprint

Dive into the research topics of 'New equations for neutral terms: a sound and complete decision procedure, formalized'. Together they form a unique fingerprint.

Cite this