[Paper Review] Adjoint Natural Deduction
This paper introduces a natural deduction system for adjoint logic, a proof-theoretic framework that unifies substructural logics like linear, affine, and strict logic through modalities with a preorder structure. It establishes a correspondence between natural deduction and sequent calculus, proves cut elimination and normalization, and provides a computational interpretation with properties like garbage freedom and strictness, while presenting a subtle algorithmic type checking system grounded in mode structure.
Adjoint logic is a general approach to combining multiple logics with different structural properties, including linear, affine, strict, and (ordinary) intuitionistic logics, where each proposition has an intrinsic mode of truth. It has been defined in the form of a sequent calculus because the central concept of independence is most clearly understood in this form, and because it permits a proof of cut elimination following standard techniques. In this paper we present a natural deduction formulation of adjoint logic and show how it is related to the sequent calculus. As a consequence, every provable proposition has a verification (sometimes called a long normal form). We also give a computational interpretation of adjoint logic in the form of a functional language and prove properties of computations that derive from the structure of modes, including freedom from garbage (for modes without weakening and contraction), strictness (for modes disallowing weakening), and erasure (based on a preorder between modes). Finally, we present a surprisingly subtle algorithm for type checking.
Motivation & Objective
- To develop a natural deduction formulation of adjoint logic that corresponds precisely to its established sequent calculus counterpart.
- To establish that every provable formula has a verification (long normal form), ensuring proof stability and normalization.
- To provide a computational interpretation of adjoint logic as a functional language with intrinsic substructural properties such as garbage freedom, strictness, and erasure.
- To design and verify a subtle algorithmic type checking system that respects mode preorders and structural rules.
- To lay the foundation for future extensions, including dependent types, mode polymorphism, and metaprogramming.
Proposed method
- Formalizing a natural deduction system with explicit mode annotations and two forms of hypotheses: standard (x : A) and provisional ([x : A]), to model weakening and contraction.
- Introducing context restriction operations (Ξ∥m and [Γ|m]) to enforce mode invariants and manage independence in proof construction.
- Defining a least upper bound operation (Ξ1 ⊔ Ξ2) on contexts to combine multiple proof branches while preserving mode constraints and usage properties.
- Developing a bidirectional, algorithmic type system with explicit mode tracking to ensure type safety and support efficient proof search.
- Proving key metatheoretic properties: subject reduction, context extension, and correctness (soundness and completeness) of the algorithmic system.
- Providing an abstract machine model to operationalize the computational interpretation and derive properties like garbage freedom and strictness from mode structure.
Experimental results
Research questions
- RQ1How can adjoint logic—originally defined in sequent calculus—be faithfully reconstructed in a natural deduction format while preserving its proof-theoretic properties?
- RQ2What are the computational consequences of mode structure (e.g., absence of weakening or contraction) in a functional language derived from adjoint logic?
- RQ3How can a type checking algorithm be designed that respects the preorder between modes and the independence principle in a way that is both correct and efficient?
- RQ4What is the relationship between natural deduction and the original sequent calculus formulation of adjoint logic, and how can normalization be established in the former?
- RQ5How can the structure of modes be exploited to derive 'free theorems' about well-typed programs, such as freedom from garbage or strict evaluation?
Key findings
- The natural deduction system for adjoint logic satisfies a subformula property and ensures every provable formula has a verification in long normal form.
- The system correctly models computational behaviors: garbage freedom in linear modes (no weakening or contraction), strictness in modes without weakening, and erasure based on mode preorders.
- The algorithmic type system is sound and complete with respect to the bidirectional typing rules, and supports efficient proof search through context restriction and mode-aware inference.
- The context combination operation (Ξ1 ⊔ Ξ2) correctly handles shared variables across proof branches, preserving mode constraints and usage policies.
- The system enables a direct operational interpretation via an abstract machine, where mode structure directly determines program behavior such as memory safety and evaluation order.
- The paper establishes that the natural deduction system is isomorphic to the sequent calculus in proof-theoretic power, with cut elimination and normalization preserved.
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.