Skip to main content
QUICK REVIEW

[Paper Review] Safe Recursion on Notation into a Light Logic by Levels

Luca Roversi, Luca Vercelli|arXiv (Cornell University)|May 4, 2010
Logic, programming, and type systemsComputer Science13 references5 citations
TL;DR

This paper presents a novel embedding of Safe Recursion on Notation (SRN) into Light Affine Logic by Levels (LALL), a proof-theoretic system with polynomial-time cut elimination. By using recursive types for Scott words and exploiting LALL's 'fuzzy' paragraph boxes for safe duplication, the authors map each SRN term t to a family of polynomial-sized nets ⟨⌈t⌉ₗ⟩, where each net simulates t on inputs of bit length ≤ l, achieving uniform, sound, and complexity-controlled simulation.

ABSTRACT

We embed Safe Recursion on Notation (SRN) into Light Affine Logic by Levels (LALL), derived from the logic L4. LALL is an intuitionistic deductive system, with a polynomial time cut elimination strategy. The embedding allows to represent every term t of SRN as a family of proof nets |t|^l in LALL. Every proof net |t|^l in the family simulates t on arguments whose bit length is bounded by the integer l. The embedding is based on two crucial features. One is the recursive type in LALL that encodes Scott binary numerals, i.e. Scott words, as proof nets. Scott words represent the arguments of t in place of the more standard Church binary numerals. Also, the embedding exploits the "fuzzy" borders of paragraph boxes that LALL inherits from L4 to "freely" duplicate the arguments, especially the safe ones, of t. Finally, the type of |t|^l depends on the number of composition and recursion schemes used to define t, namely the structural complexity of t. Moreover, the size of |t|^l is a polynomial in l, whose degree depends on the structural complexity of t. So, this work makes closer both the predicative recursive theoretic principles SRN relies on, and the proof theoretic one, called /stratification/, at the base of Light Linear Logic.

Motivation & Objective

  • To bridge the gap between predicative recursion (SRN) and proof-theoretic stratification (LALL), two traditions in implicit complexity.
  • To overcome the limitation in prior work where ILAL could not freely duplicate safe arguments, a key requirement for full SRN.
  • To provide a uniform, compositionally natural, and complexity-controlled representation of SRN terms as families of LALL nets.
  • To demonstrate that LALL can simulate full SRN within polynomial size bounds, preserving structural complexity.

Proposed method

  • Uses recursive types in LALL to encode Scott words (binary numerals) as nets, replacing standard Church numerals.
  • Employs 'fuzzy' paragraph boxes from ML4 to enable free duplication of safe arguments in SRN, crucial for recursion on notation.
  • Defines a two-argument map ⌈·⌉ₗ that takes an SRN term t and a bound l on input length, producing a net ⌈t⌉ₗ.
  • Establishes that the size of ⌈t⌉ₗ is O(l^∂(pt) × cmplx(t)), polynomial in l with degree depending on structural complexity.
  • Ensures that ⌈t⌉ₗ correctly simulates t on all inputs of length ≤ l, via type-level composition and cut elimination.
  • Uses a family of nets ⟨⌈t⌉ₗ⟩ₗ∈ℕ to represent each SRN term, achieving uniformity and correctness.

Experimental results

Research questions

  • RQ1Can Safe Recursion on Notation (SRN) be fully embedded into a Light Logic with polynomial-time cut elimination?
  • RQ2Can the obstacle of non-free duplication of safe arguments in ILAL be overcome in a more expressive system like LALL?
  • RQ3Does the use of Scott words and fuzzy paragraph boxes in LALL enable a natural, uniform, and complexity-controlled simulation of SRN?
  • RQ4Can the structural complexity of an SRN term be reflected in the size and type of its corresponding LALL net?
  • RQ5Is there a way to represent full SRN as a family of nets in a Light Logic without losing polynomial-time guarantees?

Key findings

  • The size of each net ⌈t⌉ₗ is bounded by O(l^∂(pt) × cmplx(t)), where ∂(pt) is the degree of the output polynomial and cmplx(t) is the structural complexity of t.
  • The net ⌈t⌉ₗ correctly simulates t on all inputs of bit length ≤ l, ensuring soundness of the embedding.
  • The embedding maps each SRN term t to a family of nets ⟨⌈t⌉ₗ⟩ₗ∈ℕ, achieving uniformity across input sizes.
  • The type of ⌈t⌉ₗ depends on the number of composition and recursion schemes used in t, reflecting its structural complexity.
  • The system supports compositionality: ⌈t⌉ₗ applied to ⌈x₁⌉ₗ,…,⌈yₛ⌉ₗ yields ⌈t(x₁,…,xₙ;y₁,…,yₛ)⌉ₗ.
  • The approach enables representation of complex algorithms like insertion sort on Scott words, demonstrating expressiveness beyond basic recursion.

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.