Back to results

University of Cambridge

Categorical models of second-order abstract syntax

Abstract

dc:description.abstract

Mathematics and computer science increasingly rely on proof assistants to verify reasoning and ensure program correctness. Yet a persistent obstacle in the formalisation of programming languages and calculi is the treatment of variables and the associated operations of α-renaming and capture-avoiding substitution. Despite many proposed approaches, none match the flexibility and clarity of informal reasoning on paper. As a result, formalising languages in proof assistants often demands navigating a cumbersome layer of syntactic metatheory before any real benefits of mechanisation can be realised. In parallel, mathematical frameworks offer powerful, reusable tools for working with syntax – such as type-preserving simultaneous substitution and compositional semantics via initial algebras. However, their practical impact on formal verification has been limited, due to their categorical sophistication and the challenges of encoding them in dependently-typed settings. This thesis bridges this gap by formally relating the method of intrinsically typed encodings to the presheaf approach for languages with binding. We introduce the familial model of second-order abstract syntax as a categorical foundation for intrinsic typing, and show its equivalence to the presheaf model both syntactically and semantically. This places many ad hoc practices on solid mathematical footing, opening up principled paths for abstraction and extension. Along the way, we develop general tools for weakened monoidal structures and functorial models of syntax, framed by adjoint modalities – laying the groundwork for scalable and mechanised reasoning about syntax.

Degree

thesis:*
Name dc:type.qualificationname
Doctor of Philosophy (PhD)
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
University of Cambridge
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Szamozvancev, Dmitrij
Advisor dc:contributor.advisor
  • Fiore, Marcelo

Subjects

dc:subject × 4

Rights

dc:rights
Language dc:language
eng

Identifiers

dc:identifier.*
OAI identifier oai:identifier
oai:www.repository.cam.ac.uk:1810/399246

Chain of custody

source
Harvested from
Cambridge University
Base URL
api.repository.cam.ac.uk/server/oai/request
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Szamozvancev, Dmitrij. Categorical models of second-order abstract syntax. Doctoral thesis, University of Cambridge, 2025. https://doi.org/10.17863/CAM.127851