Skip to main content
QUICK REVIEW

[Paper Review] Around finite second-order coherence spaces

Lê Thành Dũng Nguyễn, Pradic, Cécilia|arXiv (Cornell University)|Jan 1, 2019
Logic, programming, and type systemsComputer Science22 references1 citations
TL;DR

This paper establishes that second-order Multiplicative-Additive Linear Logic (mall2) admits a non-trivial finite semantics using Girard's coherence spaces and normal functors, proving that denotations of formulas and proofs are both finite and computable. The key contribution is a constructive, effective finite model for impredicative polymorphism in a purely linear setting, enabling applications in implicit computational complexity and higher-order model checking.

ABSTRACT

Many applications of denotational semantics, such as higher-order model checking or the complexity of normalization, rely on finite semantics for monomorphic type systems. We exhibit such a finite semantics for a polymorphic purely linear language: more precisely, we show that in Girard's semantics of second-order linear logic using coherence spaces and normal functors, the denotations of multiplicative-additive formulas are finite. This model is also effective, in the sense that the denotations of formulas and proofs are computable, as we show. We also establish analogous results for a second-order extension of Ehrhard's hypercoherences; while finiteness holds for the same reason as in coherence spaces, effectivity presents additional difficulties. Finally, we discuss the applications our our work to implicit computational complexity in linear (or affine) logic. In view of these applications, we study cardinality and complexity bounds in our finite semantics.

Motivation & Objective

  • To develop a finite, effective denotational semantics for a polymorphic, purely linear type system, specifically mall2 (second-order multiplicative-additive linear logic).
  • To overcome the well-known obstacle that System F (impredicative polymorphism) lacks non-trivial finite models due to its ability to encode infinite data types.
  • To establish that finiteness in coherence space semantics arises from the combination of linearity and impredicative quantification, not just linearity alone.
  • To extend the finite semantics to Ehrhard’s hypercoherences, analyzing the additional challenges to effectivity in this setting.
  • To apply the finite semantics to implicit computational complexity, showing that proofs in a restricted linear logic fragment (ell2) correspond exactly to regular languages.

Proposed method

  • Leverages Girard’s coherence space model for second-order linear logic, where formulas are interpreted as finite coherence spaces and proofs as cliques (compatible sets of elements).
  • Uses normal functors to interpret second-order quantifiers, ensuring that the denotations of closed mall2 formulas are finite sets of cliques.
  • Applies a stratification property of ell2 (a fragment of second-order linear logic with functorial promotion) to bound the number of !-modalities in proofs.
  • Constructs a deterministic finite automaton (DFA) from the semantics of a proof π: Str[A] ⊸ Bool, where states are cliques of the denotation of the input type.
  • Uses the compositionality of the coherence space model to ensure that the DFA’s state after reading a string w corresponds exactly to the denotation JwK.
  • Introduces a 'truncation at depth k' operation to reduce the converse direction (only regular languages are decidable) to a lemma about coherence space semantics.

Experimental results

Research questions

  • RQ1Can a non-trivial finite semantics be constructed for a polymorphic, purely linear type system such as mall2?
  • RQ2What structural properties of coherence spaces and normal functors ensure finiteness of denotations in second-order linear logic?
  • RQ3How does effectivity (computability of denotations) differ between coherence spaces and hypercoherences in this setting?
  • RQ4Can the finite semantics be used to characterize complexity classes, such as regular languages, in a machine-free, semantic way?
  • RQ5What role does the absence of exponential modalities (!, ?) play in enabling finite models for impredicative polymorphism?

Key findings

  • The denotations of all closed formulas in mall2 are finite when interpreted in the coherence space model with normal functors.
  • The model is effective: the denotations of formulas and proofs are computable, as shown by explicit constructions of finite automata from proofs.
  • For the second-order extension of Ehrhard’s hypercoherences, finiteness of denotations holds for the same reason as in coherence spaces, but effectivity requires new techniques such as specifications by projections.
  • Every regular language is exactly the language decided by a proof in ell2 (a fragment of second-order linear logic with functorial promotion), establishing a semantic characterization of regularity.
  • The semantics of a proof π: Str[A1] ⊗ ... ⊗ Str[An] ⊸ Bool induces a deterministic finite automaton whose states are cliques of the denotation of the input type, and which correctly recognizes the language {w | π(w) →∗ true}.
  • The key insight is that the geometric and combinatorial properties of coherence spaces compress witness information from existential quantifiers into bounded, finite data, enabling finiteness even under impredicative quantification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.