Person. Jon Sterling
Associate Professor in Logical Foundations and Formal Methods at University of Cambridge.
Papers
Hofmann-Streicher lifting of fibred categories slattery-2026-hofmann
Reflexive graph lenses in univalent foundations sterling-2026-reflexive
When is the partial map classifier a Sierpiński cone? pugh-2025-when
Hofmann-Streicher lifting of fibred categories slattery-2025-hofmann
Controlling unfolding in type theory gratzer-2025-controlling
Cost-sensitive computational adequacy of higher-order recursion in synthetic domain theory niu-2024-cost
Toward a Geometry for Syntax sterling-2024-toward
Decalf: A Directed, Effectful Cost-Aware Logical Framework grodin-2024-decalf
The Essence of Generalized Algebraic Data Types sieczkowski-2024-the
Towards Univalent Reference Types: The Impact of Univalence on Denotational Semantics sterling-2024-towards
A denotationally-based program logic for higher-order store aagaard-2023-a
What should a generic object be? sterling-2023-what
Classifying topoi in synthetic guarded domain theory: the universal property of multi-clock guarded recursion palombi_sterling_2023
A Cubical Language for Bishop Sets sterling-2022-a
The directed plump ordering gratzer-2022-the
A cost-aware logical framework niu-2022-a
Strict universes for Grothendieck topoi gratzer-2022-strict
Logical Relations as Types: Proof-Relevant Parametricity for Program Modules sterling_harper_2021
The theory of program modules is of interest to language designers not only for its practical importance to programming, but also because it lies at the nexus of three fundamental concerns in language design: the phase distinction, computational effects, and type abstraction. We contribute a fresh “synthetic” take on program modules that treats modules as the fundamental constructs, in which the usual suspects of prior module calculi (kinds, constructors, dynamic programs) are rendered as derived notions in terms of a modal type-theoretic account of the phase distinction. We simplify the account of type abstraction (embodied in the generativity of module functors) through a lax modality that encapsulates computational effects, placing projectibility of module expressions on a type-theoretic basis.
Our main result is a (significant) proof-relevant and phase-sensitive generalization of the Reynolds abstraction theorem for a calculus of program modules, based on a new kind of logical relation called a parametricity structure. Parametricity structures generalize the proof-irrelevant relations of classical parametricity to proof-relevant families, where there may be non-trivial evidence witnessing the relatedness of two programs—simplifying the metatheory of strong sums over the collection of types, for although there can be no “relation classifying relations,” one easily accommodates a “family classifying small families.”
Using the insight that logical relations/parametricity is itself a form of phase distinction between the syntactic and the semantic, we contribute a new synthetic approach to phase separated parametricity based on the slogan logical relations as types, by iterating our modal account of the phase distinction. We axiomatize a dependent type theory of parametricity structures using two pairs of complementary modalities (syntactic, semantic) and (static, dynamic), substantiated using the topos theoretic Artin gluing construction. Then, to construct a simulation between two implementations of an abstract type, one simply programs a third implementation whose type component carries the representation invariant.