[Paper Review] Quantitative Models and Implicit Complexity
This paper introduces a novel semantic framework based on resource-bounded realizability that uniformly proves soundness for multiple implicit complexity logics, including LFPL, LAL, EAL, and SAL. By using abstract resource monoids to constrain realizers to polynomially bounded computations, it achieves polytime soundness through model construction rather than syntactic analysis, enabling new results like polymorphism and a modality in LFPL.
We give new proofs of soundness (all representable functions on base types lies in certain complexity classes) for Elementary Affine Logic, LFPL (a language for polytime computation close to realistic functional programming introduced by one of us), Light Affine Logic and Soft Affine Logic. The proofs are based on a common semantical framework which is merely instantiated in four different ways. The framework consists of an innovative modification of realizability which allows us to use resource-bounded computations as realisers as opposed to including all Turing computable functions as is usually the case in realizability constructions. For example, all realisers in the model for LFPL are polynomially bounded computations whence soundness holds by construction of the model. The work then lies in being able to interpret all the required constructs in the model. While being the first entirely semantical proof of polytime soundness for light logi cs, our proof also provides a notable simplification of the original already semantical proof of polytime soundness for LFPL. A new result made possible by the semantic framework is the addition of polymorphism and a modality to LFPL thus allowing for an internal definition of inductive datatypes.
Motivation & Objective
- To unify the analysis of quantitative computational complexity across multiple implicit complexity systems.
- To overcome the limitations of prior syntactic or external proof methods by constructing models where resource bounds are built into the semantics.
- To enable new language features—specifically polymorphism and a modality—in LFPL while preserving complexity guarantees.
- To provide a general, reusable semantic foundation for reasoning about resource usage in higher-order functional languages.
- To demonstrate that soundness for complexity classes can be established by model construction rather than syntactic derivation, simplifying existing proofs.
Proposed method
- Introduces a modified realizability framework where realizers are resource-bounded computations instead of arbitrary Turing-computable functions.
- Uses a resource monoid to abstractly represent time bounds, with elements of the monoid tracking computational cost across operations.
- Constructs models of type theories by interpreting types as partial equivalence relations on untyped realizers, constrained by the monoid's bounds.
- Applies the framework to four logics—LFPL, LAL, EAL, and SAL—by instantiating the monoid to reflect their respective complexity constraints.
- Employs length spaces to interpret linear logic connectives and weakenings, ensuring resource bounds are preserved under type formation.
- Extends LFPL with polymorphism and a modality by defining internal encodings of inductive datatypes (e.g., lazy trees) using cartesian products and bounded recursion.
Experimental results
Research questions
- RQ1Can a single semantic framework uniformly prove polytime soundness for diverse implicit complexity logics?
- RQ2How can realizability be adapted to enforce resource bounds without relying on syntactic restrictions or external proof systems?
- RQ3Can the framework support advanced language features such as polymorphism and internalized inductive types in complexity-controlled languages?
- RQ4What is the role of abstract resource monoids in enabling a modular and extensible approach to complexity-aware semantics?
- RQ5To what extent can this framework simplify or replace existing syntactic proofs of complexity soundness?
Key findings
- The framework provides the first entirely semantic proof of polytime soundness for Light Affine Logic and Soft Affine Logic.
- It simplifies the original semantical proof of polytime soundness for LFPL by embedding complexity bounds directly into the model construction.
- The addition of polymorphism and a modality to LFPL is made possible by the semantic framework, enabling internal definitions of inductive datatypes.
- Lazy trees are encoded using cartesian product and bounded recursion, with realizers computing subtrees on-demand to avoid exponential space usage.
- The model ensures that all representable functions on base types lie within the intended complexity classes by construction, due to the bounded nature of realizers.
- The framework generalizes traditional realizability by combining it with polynomial interpretation techniques, using abstract resource monoids instead of numerical bounds.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.