Home

Awesome

The Calculus of Continuations

My take on Thielecke's CPS-calculus, and variants hereof.

I'm currently running against time to finish everything, and I'm pretty tired, but I'll get back in here to improve this documentation.

Coq 8.16 Coq 8.17 Coq 8.18

Summary of files

A summary of the proof files, in order, and what they cover. I should surely come back here and improve this documentation at some point. This is but a sketch for the curious ones.

The following files are somewhat self-contained and unrelated to the main goal:

Content about the CPS-calculus itself:

TODO

There's some work on other stuff, such as proving contification is sound and that Appel's interpreter is correct. I also gotta review the transition system, and actually make use of the sigma-calculus. We eventually want to prove standardization as well, following factorization. Also, there are some sketches about ANF and correctness of control operators in the translations. We should prove some other CPS translations (such as the one Kennedy uses). I want to mechanize Merro's results on the observational theory as well. May the gods help me.