Constantine Theocharis
Kωνσταντίνος Θεοχάρης ⋅ /ˈkɒnstəntiːn θe.oˈhäːris/
I am a PhD student at the University of St Andrews. My research is about the theory and implementation of modern type-theoretic programming languages. I am supervised by Edwin Brady.
My academic interests include type theory, its formalisation (in type theory), category theory, low-level verification, metaprogramming, optimisations, compiler design, and elaboration.
github ⋅ mastodon ⋅ orcid ⋅ st-andrews ⋅ linkedin ⋅ gscholar
My academic email can be found at the st-andrews link above.
Current research
I am looking into phase distinctions as a way of internalising different compilation artefacts in the type system. Phase distinctions can be used for various kinds of control over code generation, such as unboxing, type erasure, and algorithmic optimisation.
As part of this, I am working on a general framework for specifying type theories with phase distinctions, in a manner inspired by Cartmell’s generalised algebraic theories, and Uemura’s second-order generalised algebraic theories.
Papers, abstracts & talks
- Phase Your Compilation (talk). TRIPLE 2026. [slides]
- Type Theory with Erasure (paper). FSCD 2026, with Edwin Brady. [published]
- Natural Models for Computational Irrelevance (talk). SPLS Dec. 2025. [slides]
- Unboxed Dependent Types (extended abstract). TYPES 2025, with Ellis Kesterton. [video] [slides] [abstract]
- Custom Representations of Inductive Families (paper). TFP 2025, with Edwin Brady. [preprint] [published]
- Structural Refactorings for Exploring Dependently Typed Programming (paper). TFP 2024, with Adam Barwell, Christopher Brown, Mun See Chang, Simon Thompson. [published]