Record Types Everywhere
Matthew Toohey, Ara Jamalzadeh, Ningning Xie
Key points
From the paper's conclusion- By proposing new extensions to general record types, we achieve a design that is remarkably simple and principled.
Abstract
This paper introduces a novel calculus that models first-class environments and function application paradigms using standard record types. By proposing new extensions to general record types, we achieve a design that is remarkably simple and principled. We formalise this design in a core calculus and prove several desirable properties, including type soundness, normalization, and a simulation of the simply typed lambda calculus. Additionally, we extend the design with mutable references. The calculus, its semantics, along with the extension, and all stated properties are fully mechanized in the Lean 4 proof assistant, alongside an interpreter formally verified to be equivalent to the operational semantics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Linking as Evaluation: Correct Separate Compilation via First-Class EnvironmentsarXiv · 2026
- First-Class Refinement Types for ScalaProceedings of the ACM on Programming Languages · 2026
- From Strong Normalization to WhatsApp: the Journey of an AxiomarXiv · 2026
- Polymorphic First-Class EnvironmentsarXiv · 2026
- When Do Staging Annotations Preserve Semantics? Mechanizing Typed Semantics-Preserving Multi-stage Programming with Let-InsertionProceedings of the ACM on Programming Languages · 2026
- Composing CRDTs Convergent by ConstructionProceedings of the ACM on Programming Languages · 2026