prgprg-org / reading-group

:notebook: Regular reading group of the Prague programming languages and systems research network.
5 stars 0 forks source link

Grokking the Sequent Calculus (Functional Pearl) by Binder at al., ICFP 2024 #5

Open fikovnik opened 1 month ago

fikovnik commented 1 month ago

Grokking the Sequent Calculus (Functional Pearl) David Binder, Marco Tzschentke, Marius MΓΌller, Klaus Ostermann ICFP 2024

PDF

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.

Why are you interested in it or why should it be a good idea?

@tpetricek