Initiality for Typed Syntax and Semantics
Benedikt Ahrens

TL;DR
This thesis develops an algebraic, initiality-based framework for simply-typed languages, enabling type-safe translations and formal verification of syntax and semantics using category theory and Coq.
Contribution
It introduces a universal property-based characterization of typed syntax and semantics via initial objects, facilitating safe translations and formal proofs in Coq.
Findings
Initiality provides a universal iteration principle for syntax translations.
Translations are inherently type-safe and reduction-faithful.
Formalization in Coq yields certified syntax and reduction machinery.
Abstract
In this thesis we give an algebraic characterization of the syntax and semantics of simply-typed languages. More precisely, we characterize simply-typed binding syntax equipped with reduction rules via a universal property, namely as the initial object of some category. We specify a language by a 2-signature ({\Sigma}, A), that is, a signature on two levels: the syntactic level {\Sigma} specifies the sorts and terms of the language, and associates a sort to each term. The semantic level A specifies, through inequations, reduction rules on the terms of the language. To any given 2-signature ({\Sigma}, A) we associate a category of "models" of ({\Sigma}, A). We prove that this category has an initial object, which integrates the terms freely generated by {\Sigma} and the reduction relation - on those terms - generated by A. We call this object the programming language generated by…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Semantic Web and Ontologies
