Formal Metatheory of Second-Order Abstract SyntaxDistinguished PaperRemote
Despite extensive research both on the theoretical and practical front, formalising, reasoning about, and implementing languages with variable binding is still a daunting endeavour – repetitive boilerplate and the overly complicated metatheory of capture-avoiding substitution often get in the way of progressing on to the actually interesting properties of a language. Existing developments offer some relief, however at the expense of inconvenient and error-prone term encoding and lack of formal foundations.
We present a mathematically-inspired language formalisation framework implemented in Agda. The system translates the description of a syntax signature with variable-binding operators into an inductive, intrinsically-encoded data type equipped with syntactic operations such as weakening and substitution, along with their correctness properties. The generated metatheory further incorporates metavariables and their associated operation of metasubstitution, which enables second-order equational reasoning. The underlying mathematical foundation of the framework – initial algebra semantics – may be used to derive compositional interpretations of languages into their models satisfying the semantic substitution lemma by construction.
Fri 21 JanDisplayed time zone: Eastern Time (US & Canada) change
15:05 - 16:20 | |||
15:05 25mResearch paper | A Cost-Aware Logical FrameworkInPerson POPL Yue Niu Carnegie Mellon University, Jonathan Sterling Aarhus University, Harrison Grodin Carnegie Mellon University, Robert Harper Carnegie Mellon University DOI Media Attached | ||
15:30 25mResearch paper | Formal Metatheory of Second-Order Abstract SyntaxDistinguished PaperRemote POPL DOI Media Attached | ||
15:55 25mResearch paper | Observational Equality: Now for GoodDistinguished PaperRemote POPL DOI Media Attached |