Kacper F. Korban

PhD student, SYSTEMF, EPFL

I am a PhD student at SYSTEMF@EPFL, supervised by Clément Pit-Claudel. My research is focused on compilers (especially verified ones), programming languages and formal verification. I am also interested in developer tooling, types, and software engineering in general.

Before coming to EPFL I did my Master's degree at Chalmers University of Technology. My Master's project was about Verified Inlining in PureCake, supervised by Magnus O. Myreen. I also worked at VirtusLab, where among others I was involved in developing Scala (and related tools).

Portrait of Kacper F. Korban

Selected work

  • (to apprear in) CPP 2027

    Bootstrapping a Verified Compiler for an Imperative Language in Rocq and HOL4

    Abstract

    Verified compilers are typically not verified end-to-end: theorems are proved about in-logic definitions, but the actual compiler binary is obtained using a combination of unverified extraction and unverified compilation. There is an alternative approach---bootstrapping: compiling the compiler with itself. This technique has been demonstrated for functional languages in HOL4 but neither for imperative languages nor in constructive proof assistants. We present a generic technique for bootstrapping verified compilers for imperative languages and demonstrate it with implementations in both Rocq and HOL4. In Rocq, our approach relies on a new variant of relational compilation that supports proof-producing reification of pattern matching and recursion, including nonstructural recursion.

  • ESOP 2024

    Verified Inlining and Specialisation for PureCake

    Abstract

    Inlining is a crucial optimisation for functional languages. We implemented and verified function inlining and loop specialisation for PureCake, a verified compiler for a Haskell-like, purely functional, lazy language. A novel part of our formalisation justifies inlining by pushing and pulling let bindings. The work was mechanised in HOL4.

  • POPL SRC 2026

    Bootstrapping a verified compiler for an imperative language in Rocq