尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
The sequent calculus is a proof system which was designed as a more symmetric alternative to natural deduction. The λμμ˜-calculus is a term assignment system for the sequent calculus and a great foundation for compiler intermediate languages due to its first-class representation of evaluation contexts. Unfortunately, only experts of the sequent calculus can appreciate its beauty. To remedy this, we present the first introduction to the λμμ˜-calculus which is not directed at type theorists or logicians but at compiler hackers and programming-language enthusiasts. We do this by writing a compiler from a small but interesting surface language to the λμμ˜-calculus as a compiler intermediate language.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@article{abs-2406-14719,
title = {Grokking the Sequent Calculus (Functional Pearl)},
author = {David Binder and Marco Tzschentke and Marius Müller and Klaus Ostermann},
journal = {Proceedings of the ACM on Programming Languages},
volume = {8},
number = {ICFP},
year = {2024},
doi = {10.1145/3674639}
}