Controlling unfolding in type theory
Artikel i vetenskaplig tidskrift, 2025

We present a new way to control the unfolding of definitions in dependent type theory. Traditionally, proof assistants require users to fix whether each definition will or will not be unfolded in the remainder of a development; unfolding definitions is often necessary in order to reason about them, but an excess of unfolding can result in brittle proofs and intractably large proof goals. In our system, definitions are by default not unfolded, but users can selectively unfold them in a local manner. We justify our mechanism by means of elaboration to a core theory with extension types - a connective first introduced in the context of homotopy type theory - and by establishing a normalization theorem for our core calculus. We have implemented controlled unfolding in the proof assistant, inspiring an independent implementation in Agda.

Författare

Daniel Gratzer

Aarhus Universitet

Jonathan Sterling

University of Cambridge

Carlo Angiuli

Indiana University

Thierry Coquand

Chalmers, Data- och informationsteknik, Computing Science

Göteborgs universitet

Lars Birkedal

Aarhus Universitet

Mathematical Structures in Computer Science

0960-1295 (ISSN) 1469-8072 (eISSN)

Vol. 35 e38

Ämneskategorier (SSIF 2025)

Datavetenskap (datalogi)

Algebra och logik

DOI

10.1017/S0960129525100327

Mer information

Senast uppdaterat

2026-01-13