Logical Methods in Computer Science (Jun 2022)

Modular Termination for Second-Order Computation Rules and Application to Algebraic Effect Handlers

  • Makoto Hamana

DOI
https://doi.org/10.46298/lmcs-18(2:18)2022
Journal volume & issue
Vol. Volume 18, Issue 2

Abstract

Read online

We present a new modular proof method of termination for second-order computation, and report its implementation SOL. The proof method is useful for proving termination of higher-order foundational calculi. To establish the method, we use a variation of semantic labelling translation and Blanqui's General Schema: a syntactic criterion of strong normalisation. As an application, we apply this method to show termination of a variant of call-by-push-value calculus with algebraic effects and effect handlers. We also show that our tool SOL is effective to solve higher-order termination problems.

Keywords