Synthetic Tait Computability
- Synthetic Tait Computability is a synthetic formulation of Tait-style computability that encodes syntactic–semantic phase distinctions using modalities and glue types.
- It leverages categorical gluing techniques to embed canonicity proofs and cost analysis directly into the internal language of a glued topos.
- The framework bridges traditional logical-relations methods with effectful computation approaches, as demonstrated in the CALF application and mechanization in extensional proof assistants.
Synthetic Tait Computability (STC) is a synthetic formulation of Tait-style computability and logical-relations arguments inside the internal language of a glued categorical model rather than as an external metatheoretic construction. In this formulation, modalities and glue-like type formers encode the syntactic–semantic phase distinction that classical proofs treat through presheaves, naturality conditions, and substitution lemmas. The general program is developed in "Synthetic Tait Computability the Hard Way" (Huang, 2023), while "Canonicity for Cost-Aware Logical Framework via Synthetic Tait Computability" (Li et al., 16 Apr 2025) applies it to the cost-aware logical framework CALF and resolves a conjecture of Niu et al. by proving canonicity for closed computations of type . A later mechanization in Istari shows that core STC constructions can be formalized essentially verbatim in an extensional proof assistant (Li et al., 14 Sep 2025).
1. Conceptual basis of STC
STC recasts classical computability predicates as internal objects of a glued topos. In the account of "Synthetic Tait Computability the Hard Way" (Huang, 2023), the progression runs from naive Tait-style canonicity and normalization proofs, through categorical reformulations using presheaves and Artin gluing, to a synthetic presentation in which the ambient internal logic discharges naturality, coherence, and substitution stability automatically. The resulting viewpoint treats canonicity, normalization, and parametricity as consequences of internal semantic structure rather than as externally maintained logical-relations invariants.
A central feature of STC is a modal phase distinction. In the general presentation, the internal language carries a proposition governing the syntactic phase and two corresponding modalities: an open modality, written as a reader-like construction such as or , and a closed modality, written as or , that quotients or trivializes information under the phase proposition (Huang, 2023). Extension types and glue types then internalize the gluing constraints: syntactic data remain visible in the open component, while semantic data inhabit the closed component and restrict correctly under the phase proposition.
This construction is “synthetic” in a precise sense. Rather than defining a logical relation externally and then proving substitution closure, head expansion, and compatibility with type formers by hand, STC works inside the internal higher-order logic of the glued category, where exponentials, pullbacks, and finite limits already realize the relevant Kripke and gluing structure (Huang, 2023). A plausible implication is that the proof burden shifts from bespoke metatheoretic bookkeeping to the design of the internal modalities and glue objects.
2. STC in the cost-aware logical framework CALF
In the CALF application, STC is specialized to a dependent, effectful variant of call-by-push-value for synthetic cost analysis. CALF separates value types and computation types, introduces a writer-style cost effect via a primitive step constructor, and enforces a phase distinction between behavioral equality and cost sensitivity through a proposition (Li et al., 16 Apr 2025). The underlying CBPV split is explicit: value types inhabit , computation types inhabit , value terms are , and computation terms are .
The core CBPV structure is given by the adjunction
0
together with
1
2
satisfying the usual 3, 4, and associativity equations. Cost is governed by a monoid 5 and a step constructor
6
with laws 7 and 8. The behavioral phase proposition 9 enforces the crucial equation
0
so cost is silent under 1 (Li et al., 16 Apr 2025).
Canonicity in this setting is computation-level rather than purely value-level. For natural numbers, the main theorem states that every closed computation of type 2 is equal to a computation that first incurs some abstract cost and then returns a canonical numeral: 3 This is the conjectured canonicity property of CALF proved by STC in (Li et al., 16 Apr 2025).
3. Internal computability structures
The CALF proof instantiates STC with two phase propositions: 4, governing the syntax/semantics split of the synthetic proof, and 5, governing CALF’s behavioral collapse of cost (Li et al., 16 Apr 2025). The proof then constructs computability structures internally in the language of an Artin-glued category.
For value types, the STC interpretation is a strict glue whose open component is the object-language type and whose closed component is a proof-relevant semantic family. The paper chooses that family to be all terms: 6 Concretely, the value-type universe is given by
7
so every semantic inhabitant of a value type is represented by its terms (Li et al., 16 Apr 2025).
For computation types, the semantic side is not merely a set of terms but a cost algebra. The paper defines a record 8 with carrier 9, semantic stepping operation 0, and laws 1, 2, and 3, the last of which mirrors the object-theoretic equation that cost vanishes under 4 (Li et al., 16 Apr 2025). The interpretation of computation types is then
5
The most important semantic object is the free 6-algebra, 7, whose carrier directly packages the canonicity shape of computations. Its closed component records that a computation 8 is of the form 9, with cost hidden behind 0 and collapsed to 1 under 2: 3 where
4
The canonicity theorem is therefore not extracted from a separate normalization argument; it is built into the carrier of the semantic interpretation itself (Li et al., 16 Apr 2025).
For 5, the value interpretation similarly enforces numeral form: 6 Thus closed terms of value type 7 are canonical numerals, and closed computations of type 8 are step-plus-return computations whose returned value is a numeral (Li et al., 16 Apr 2025).
4. Proof architecture and the role of Artin gluing
The canonicity proof proceeds by constructing a computability structure 9, where 0 is the syntactic model restricted under 1 (Li et al., 16 Apr 2025). This yields a section of the Artin-glued category over syntax.
The ambient glued category is
2
where 3 is the walking arrow 4, with 5 and 6. Objects of 7 carry both syntactic and semantic components, together with compatibility under precomposition by 8. The forgetful functor 9 erases semantic structure, and the induced functor
0
satisfies 1 (Li et al., 16 Apr 2025).
This is the synthetic version of the Fundamental Theorem of Logical Relations. Every well-typed term inhabits its glued interpretation, and the open component retracts to the original syntax. For a closed computation 2, the semantic component of 3 contains a witness triple 4, where 5 proves
6
Projecting back to the syntactic side yields exactly the canonicity theorem in the original category of judgments (Li et al., 16 Apr 2025).
Two technical ingredients are especially important. First, the interaction law
7
is used to lift semantic stepping through 8-types. Second, the 9 clause in the glued semantics uses the witness that a computation is syntactically equal to 0 to derive the corresponding shape of 1; the paper identifies this as the STC counterpart of classical head-expansion reasoning (Li et al., 16 Apr 2025).
5. Relation to earlier STC and later mechanization
The CALF proof is a specialization of the more general STC methodology developed in "Synthetic Tait Computability the Hard Way" (Huang, 2023). In that broader account, STC handles canonicity for a simple base type, normalization by reify/reflect and normalization by evaluation, dependent types with 2, 3, and 4, and parametricity for System F through double gluing. The common pattern is always the same: define a glued semantic object whose open component is the syntax, prove a synthetic fundamental lemma, and then read off the desired metatheorem from the closed component.
The CALF application extends this pattern in a direction absent from ordinary STC examples: it combines dependent CBPV polarization with an explicit cost effect and a second phase proposition 5 that erases cost. The paper identifies several new ingredients relative to ordinary CBPV logical relations: a cost-sensitive algebra 6 with 7, gluing of computation types to algebras in the closed component, try/closed-induction forms specialized to 8, and the crucial use of 9 rather than 0 (Li et al., 16 Apr 2025). This suggests that STC is not merely a repackaging of standard canonicity arguments, but a framework capable of internalizing nontrivial effect-specific proof obligations.
A later development, "Mechanizing Synthetic Tait Computability in Istari" (Li et al., 14 Sep 2025), shows that these internal constructions can be formalized essentially verbatim in an extensional type theory with equality reflection. That work develops a reusable phase-distinction library with modalities, extension types, and strict glue types, and applies it both to a canonicity model for dependent type theory with booleans and to a Kripke canonicity model for the cost-aware logical framework. In the CALF case, the mechanization uses presheaves over the two-point poset 1, corresponding to a two-world Kripke logical relation, and relies on equality reflection to avoid transport-heavy encodings (Li et al., 14 Sep 2025).
6. Significance, scope, and limitations
Within CALF, the canonicity theorem has a clear semantic meaning: a closed computation of 2 is observationally equivalent to “incur cost, then return a value.” For 3, value-level canonicity says every closed 4 satisfies 5, while computation-level canonicity strengthens this to the step-plus-return form for closed 6 (Li et al., 16 Apr 2025). The paper explicitly connects this to a sound basis for cost analysis and to algorithmic cost proofs, citing examples such as merge sort 7 (Li et al., 16 Apr 2025).
At the same time, several boundaries are explicit. The CALF result is canonicity, not full normalization; termination and normalization beyond canonicity are not addressed (Li et al., 16 Apr 2025). The framework omits a mixed computation-level 8 to avoid effect-forgetting projections, and the paper states that adding such constructs would require linear contexts, such as the Enriched Effect Calculus, which are not modeled there (Li et al., 16 Apr 2025). Equality reflection is confined to values rather than computations, and universes of computation types are left for future work (Li et al., 16 Apr 2025).
Broader STC also carries methodological caveats. The general STC account notes that G-types may require strictification to reconcile “equal under 9” with external isomorphism, though the restricted uses in that development can be constructive (Huang, 2023). The Istari mechanization similarly states that strict glue type equations are justified by realignment or strictification axioms in a Grothendieck topos, and that algorithmic content must be externalized from the internal language of the gluing model (Li et al., 14 Sep 2025).
These limitations clarify a common misconception. STC is not itself a normalization algorithm, nor does it automatically yield computational extraction. Rather, it is a semantic proof technology that internalizes gluing and logical relations into modal dependent type theory. Its significance lies in making phase distinctions, computability structures, and read-back arguments precise enough that canonicity and related metatheorems emerge from the internal structure of the model rather than from externally managed logical-relations infrastructure.