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).
E-mail · GitHub · Google Scholar · ORCID · CV
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.
- SCALA 2026
Lorikeet: Flexible code rewriting for Scala 3
Abstract
Lorikeet is a Scala tool for automated code feedback and refactoring built on top of Scalafix. This tool allows users to specify code patterns and rewrites in a user-friendly DSL based on Scala. It can be used both as a developer tool, to help make large scale refactors, for example in the context of dependency updates, and as an educational tool, to give students feedback on the quality of their code.
- 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