Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
139 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
46 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

The encodability hierarchy for PCF types (1806.00344v1)

Published 1 Jun 2018 in cs.LO

Abstract: Working with the simple types over a base type of natural numbers (including product types), we consider the question of when a type $\sigma$ is encodable as a definable retract of $\tau$: that is, when there are $\lambda$-terms $e:\sigma\rightarrow\tau$ and $d:\tau\rightarrow\sigma$ with $d \circ e = id$. In general, the answer to this question may vary according to both the choice of $\lambda$-calculus and the notion of equality considered; however, we shall show that the encodability relation $\preceq$ 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 $0,1,\ldots$ (but no arithmetic) considered modulo computational equality, up to the whole of Plotkin's PCF considered modulo observational equivalence. We show that $\sigma \preceq \tau \preceq \sigma$ iff $\sigma \cong \tau$ via trivial isomorphisms, and that for any $\sigma,\tau$ we have either $\sigma \preceq \tau$ or $\tau \preceq \sigma$. Furthermore, we show that the induced linear order on isomorphism classes of types is actually a well-ordering of type $\epsilon_0$, and indeed that there is a close syntactic correspondence between simple types and Cantor normal forms for ordinals below $\epsilon_0$. This means that the relation $\preceq$ is readily decidable, and that terms witnessing a retraction $\sigma \lhd \tau$ are readily constructible when $\sigma \preceq \tau$ holds.

Summary

We haven't generated a summary for this paper yet.