The encodability hierarchy for PCF types
John Longley

TL;DR
This paper establishes a stable, decidable hierarchy of simple PCF types based on encodability and retractions, revealing a deep connection between type structure and ordinal normal forms below epsilon_0.
Contribution
It proves that the encodability relation among simple PCF types forms a well-ordering isomorphic to ordinals below epsilon_0, with a syntactic correspondence to Cantor normal forms.
Findings
The encodability relation is stable across various languages and equality notions.
The type hierarchy is a well-ordering of order type epsilon_0.
Decidability of encodability and constructibility of retraction terms are established.
Abstract
Working with the simple types over a base type of natural numbers (including product types), we consider the question of when a type is encodable as a definable retract of : that is, when there are -terms and with . In general, the answer to this question may vary according to both the choice of -calculus and the notion of equality considered; however, we shall show that the encodability relation between types actually remains stable across a large class of languages and equality relations, ranging from a very basic language with infinitely many distinguishable constants (but no arithmetic) considered modulo computational equality, up to the whole of Plotkin's PCF considered modulo observational equivalence. We show that iff…
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 · Computability, Logic, AI Algorithms
