
TL;DR
This paper provides an algebraic, initiality-based characterization of simply-typed languages with reduction rules, enabling modular syntax and semantics modeling, and facilitating semantic-preserving translations between languages.
Contribution
It extends previous initiality techniques to simply-typed syntax with reduction rules, allowing modular, algebraic modeling and translation of typed languages.
Findings
Initial object in a category models simply-typed syntax with reduction rules.
The approach enables semantic-preserving translations between languages.
The framework is modular and combines techniques from prior untyped and typed syntax models.
Abstract
We give an algebraic characterization of the syntax and semantics of a class of simply-typed languages, such as the language PCF: we characterize simply-typed binding syntax equipped with reduction rules via a universal property, namely as the initial object of some category. For this purpose, we employ techniques developed in two previous works: in [2], we model syntactic translations between languages over different sets of types as initial morphisms in a category of models. In [1], we characterize untyped syntax with reduction rules as initial object in a category of models. In the present work, we show that those techniques are modular enough to be combined: we thus characterize simply-typed syntax with reduction rules as initial object in a category. The universal property yields an operator which allows to specify translations - that are semantically faithful by construction -…
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.
