arXiv · 2510.12304
Substitution Without Copy and Paste
Abstract
Defining substitution for a language with binders like the simply typed $\lambda$-calculus requires repetition, defining substitution and renaming separately. To verify the categorical properties of this calculus, we must repeat the same argument many times. We present a lightweight method that avoids repetition and that gives rise to a simply typed category with families (CwF) isomorphic to the initial simply typed CwF. Our paper is a literate Agda script.
Explore related subjects
Keep this discovery
Thorsten Altenkirch, Nathaniel Burke, Philip Wadler. 2025-10-14. Substitution Without Copy and Paste. https://doi.org/10.4204/eptcs.431.5
Cite the original work for its findings. Save a collection to share your selection of sources.