Canonicity for Cost-Aware Logical Framework via Synthetic Tait Computability
Runming Li, Robert Harper
TL;DR
The paper proves canonicity for cost-aware logical framework via synthetic Tait computability, resolving a prior conjecture by embedding the theory into a glued category and interpreting phases and modalities (including open/closed and strict glue types). It introduces a cost-aware CBPV language with a writer monad-like cost structure, defines a computability structure that models both values and computations, and shows that every closed computation of type $e : ed{ mcp}( ed{ extF}( ed{ at}))$ is equal to a costed canonical form $e = ed{ extstepp}^c( ed{ etp}( ed{ ext{sucp}}^n( ed{ extzero})))$ for some $c$ and $n$. The method leverages Artin gluing and the internal language of the glued category to streamline the proof of canonicity, avoiding much of the traditional heavy lifting of logical relations. The findings advance the meta-theory of cost-aware type theories and set the stage for future work on universes and integrating additional effects.
Abstract
In the original work on the cost-aware logical framework by Niu et al., a dependent variant of the call-by-push-value language for cost analysis, the authors conjectured that the canonicity property of the type theory can be succinctly proved via Sterling's synthetic Tait computability. This work resolves the conjecture affirmatively.
