Light linear logics
(→Elementary linear logic) |
m (→Elementary linear logic: typo) |
||
(29 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Light linear logics are variants of linear logic characterizing complexity classes. They are designed by defining alternative exponential connectives, which induce a complexity bound on the cut-elimination procedure.<br> |
Light linear logics are variants of linear logic characterizing complexity classes. They are designed by defining alternative exponential connectives, which induce a complexity bound on the cut-elimination procedure.<br> |
||
− | Light linear logics are one of the approaches used in ''implicit computational complexity'', the research area studying the computational complexity of programs without referring to external measuring conditions or particular machine models. |
+ | Light linear logics are one of the approaches used in ''implicit computational complexity'', the area studying the computational complexity of programs without referring to external measuring conditions or particular machine models. |
− | == Elementary linear logic == |
+ | = Elementary linear logic = |
− | We present here the intuitionistic version of elementary linear logic, ELL. Moreover we restrict to the fragment without additive connectives. <br> The language of formulas is the same one as that of (multiplicative) ILL: |
+ | We present here the intuitionistic version of ''elementary linear logic'', ELL. Moreover we restrict to the fragment without additive connectives. <br> The language of formulas is the same one as that of (multiplicative) [[Intuitionistic linear logic|ILL]]: |
<math> |
<math> |
||
Line 9: | Line 9: | ||
</math> |
</math> |
||
<br> |
<br> |
||
− | The sequent calculus rules are the same ones as for ILL, except for the rules |
+ | The sequent calculus rules are the same ones as for [[Intuitionistic linear logic|ILL]], except for the rules |
dealing with the exponential connectives: |
dealing with the exponential connectives: |
||
<math> |
<math> |
||
\AxRule{\Gamma\vdash A} |
\AxRule{\Gamma\vdash A} |
||
− | \LabelRule{\oc } |
+ | \LabelRule{\oc\rulename{mf} } |
\UnaRule{\oc{\Gamma}\vdash\oc{A}} |
\UnaRule{\oc{\Gamma}\vdash\oc{A}} |
||
\DisplayProof |
\DisplayProof |
||
Line 27: | Line 27: | ||
\UnaRule{\Gamma,\oc{A}\vdash C} |
\UnaRule{\Gamma,\oc{A}\vdash C} |
||
\DisplayProof |
\DisplayProof |
||
− | </math><br> |
+ | </math> |
+ | |||
The ''depth'' of a derivation <math>\pi</math> is the maximum number of |
The ''depth'' of a derivation <math>\pi</math> is the maximum number of |
||
− | <math>(\oc)</math> rules in a branch of <math>\pi</math>.<br> |
+ | <math>(\oc\rulename{mf})</math> rules in a branch of <math>\pi</math>. |
+ | |||
We consider the function <math>K(.,.)</math> defined by:<br> |
We consider the function <math>K(.,.)</math> defined by:<br> |
||
− | <math>K(0,n)=n, \quad K(k+1,n)=2^{K(k,n)}</math>.<br> |
+ | <math>K(0,n)=n, \quad K(k+1,n)=2^{K(k,n)}</math>. |
+ | |||
{{Theorem|If <math>\pi</math> is an ELL proof of depth d, and R is the corresponding ELL proof-net, then R can be reduced to its normal form by cut elimination in at most <math> K(d+1,|\pi|)</math> steps, where <math>|\pi|</math>is the size of <math>\pi</math>.}} |
{{Theorem|If <math>\pi</math> is an ELL proof of depth d, and R is the corresponding ELL proof-net, then R can be reduced to its normal form by cut elimination in at most <math> K(d+1,|\pi|)</math> steps, where <math>|\pi|</math>is the size of <math>\pi</math>.}} |
||
+ | |||
A function f on integers is ''elementary recursive'' if there exists an integer h and a Turing machine |
A function f on integers is ''elementary recursive'' if there exists an integer h and a Turing machine |
||
− | which computes f in time bounded by <math>K(h,n)</math>. |
+ | which computes f in time bounded by <math>K(h,n)</math>, where n is the size of the input. |
+ | |||
+ | {{Theorem|The functions representable in ELL are exactly the elementary recursive |
||
+ | functions. |
||
+ | }} |
||
+ | |||
+ | One also often considers the ''affine'' variant of ELL, called ''elementary affine logic'' EAL, which is defined by adding unrestricted weakening: |
||
+ | |||
+ | <math> |
||
+ | \AxRule{\Gamma\vdash C} |
||
+ | \LabelRule{ w L} |
||
+ | \UnaRule{\Gamma,A\vdash C} |
||
+ | \DisplayProof |
||
+ | </math> |
||
+ | |||
+ | It enjoys the same properties as ELL. |
||
+ | |||
+ | Elementary linear logic was introduced together with light linear logic |
||
+ | <ref>{{BibEntry|bibtype=journal|author=Girard, Jean-Yves|title=Light linear logic|journal=Information and Computation|volume=143|pages=175-204|year=1998}}</ref>. |
||
+ | |||
+ | = Light linear logic = |
||
+ | We present the intuitionistic version of ''light linear logic'' LLL, without additive connectives. The language of formulas is: |
||
+ | |||
+ | <math> |
||
+ | A ::= X \mid A\tens A \mid A\limp A \mid \oc{A} \mid \pg{A} \mid \forall X A |
||
+ | </math> |
||
+ | <br> |
||
+ | The sequent calculus rules are the same ones as for ILL, except for the rules |
||
+ | dealing with the exponential connectives: |
||
+ | |||
+ | <math> |
||
+ | \AxRule{\Gamma\vdash A} |
||
+ | \LabelRule{\oc\rulename{f} } |
||
+ | \UnaRule{\oc{\Gamma}\vdash\oc{A}} |
||
+ | \DisplayProof |
||
+ | \qquad |
||
+ | \AxRule{\Gamma, \Delta\vdash A} |
||
+ | \LabelRule{\pg } |
||
+ | \UnaRule{\oc{\Gamma}, \pg \Delta\vdash\pg{A}} |
||
+ | \DisplayProof |
||
+ | \qquad |
||
+ | \AxRule{\Gamma,\oc{A},\oc{A}\vdash C} |
||
+ | \LabelRule{\oc c L} |
||
+ | \UnaRule{\Gamma,\oc{A}\vdash C} |
||
+ | \DisplayProof |
||
+ | \qquad |
||
+ | \AxRule{\Gamma\vdash C} |
||
+ | \LabelRule{\oc w L} |
||
+ | \UnaRule{\Gamma,\oc{A}\vdash C} |
||
+ | \DisplayProof |
||
+ | </math> |
||
+ | |||
+ | In the <math>(\oc\rulename{f})</math> rule, <math>\Gamma</math> must contain ''at most one'' formula. |
||
+ | |||
+ | |||
+ | The ''depth'' of a derivation <math>\pi</math> is the maximum number of |
||
+ | <math>(\oc\rulename{f})</math> and <math>(\pg)</math> rules in a branch of <math>\pi</math>. |
||
+ | |||
+ | |||
+ | {{Theorem|If <math>\pi</math> is an LLL proof of depth d, and R is the corresponding LLL proof-net, then R can be reduced to its normal form by cut elimination in |
||
+ | <math> O((d+1)|\pi|^{2^{d+1}})</math> steps, where <math>|\pi|</math>is the size of <math>\pi</math>.}} |
||
+ | |||
+ | The class FP is the class of functions on binary lists which are computable in polynomial time on a Turing machine. |
||
+ | |||
+ | {{Theorem|The class of functions on binary lists representable in LLL is exactly FP. |
||
+ | }} |
||
+ | |||
+ | In the literature one also often considers the ''affine'' variant of LLL, called ''light affine logic'', LAL. |
||
+ | |||
+ | = Soft linear logic = |
||
+ | We consider the intuitionistic version of ''soft linear logic'', SLL. |
||
+ | |||
+ | The language of formulas is the same one as that of ILL: |
||
+ | <math> |
||
+ | A ::= X \mid A\tens A \mid A\limp A \mid A\with A \mid A\plus A \mid \oc{A} \mid \forall X A |
||
+ | </math> |
||
+ | <br> |
||
+ | The sequent calculus rules are the same ones as for ILL, except for the rules |
||
+ | dealing with the exponential connectives: |
||
+ | |||
+ | <math> |
||
+ | \AxRule{\Gamma\vdash A} |
||
+ | \LabelRule{\oc\rulename{mf} } |
||
+ | \UnaRule{\oc{\Gamma}\vdash\oc{A}} |
||
+ | \DisplayProof |
||
+ | \qquad |
||
+ | \AxRule{\Gamma,A^{(n)}\vdash C} |
||
+ | \LabelRule{\rulename{mplex}} |
||
+ | \UnaRule{\Gamma,\oc{A}\vdash C} |
||
+ | \DisplayProof |
||
+ | </math> |
||
+ | |||
+ | The rule mplex is the ''multiplexing'' rule. In its premise, <math>A^{(n)}</math> stands for |
||
+ | n occurrences of formula <math> A </math>. As particular instances of mplex for <math>n=0</math> and 1 respectively, we get weakening and dereliction: |
||
+ | |||
+ | <math> |
||
+ | \AxRule{\Gamma \vdash C} |
||
+ | \UnaRule{\Gamma,\oc{A}\vdash C} |
||
+ | \DisplayProof |
||
+ | \qquad |
||
+ | \AxRule{\Gamma,A\vdash C} |
||
+ | \UnaRule{\Gamma,\oc{A}\vdash C} |
||
+ | \DisplayProof |
||
+ | </math> |
||
+ | |||
+ | The ''depth'' of a derivation <math>\pi</math> is the maximum number of |
||
+ | <math>(\oc\rulename{mf})</math> rules in a branch of <math>\pi</math>. |
||
+ | |||
+ | |||
+ | {{Theorem|If <math>\pi</math> is an SLL proof of depth d, and R is the corresponding SLL proof-net, then R can be reduced to its normal form by cut elimination in |
||
+ | <math> O(|\pi|^d)</math> steps, where <math>|\pi|</math>is the size of <math>\pi</math>.}} |
||
+ | |||
+ | |||
+ | {{Theorem|The class of functions on binary lists representable in SLL is exactly FP. |
||
+ | }} |
||
+ | |||
+ | Soft linear logic was introduced in |
||
+ | <ref>{{BibEntry|bibtype=journal|author=Lafont, Yves|title=Soft linear logic and polynomial time|journal=Theoretcal Computer Science|volume=318(1-2)|pages=163-180|year=2004}}</ref>. |
||
+ | |||
+ | = References = |
||
+ | <references /> |
Latest revision as of 10:28, 2 May 2013
Light linear logics are variants of linear logic characterizing complexity classes. They are designed by defining alternative exponential connectives, which induce a complexity bound on the cut-elimination procedure.
Light linear logics are one of the approaches used in implicit computational complexity, the area studying the computational complexity of programs without referring to external measuring conditions or particular machine models.
Contents |
[edit] Elementary linear logic
We present here the intuitionistic version of elementary linear logic, ELL. Moreover we restrict to the fragment without additive connectives.
The language of formulas is the same one as that of (multiplicative) ILL:
The sequent calculus rules are the same ones as for ILL, except for the rules
dealing with the exponential connectives:
The depth of a derivation π is the maximum number of rules in a branch of π.
We consider the function K(.,.) defined by:
.
Theorem
If π is an ELL proof of depth d, and R is the corresponding ELL proof-net, then R can be reduced to its normal form by cut elimination in at most K(d + 1, | π | ) steps, where | π | is the size of π.
A function f on integers is elementary recursive if there exists an integer h and a Turing machine which computes f in time bounded by K(h,n), where n is the size of the input.
Theorem
The functions representable in ELL are exactly the elementary recursive
functions.
One also often considers the affine variant of ELL, called elementary affine logic EAL, which is defined by adding unrestricted weakening:
It enjoys the same properties as ELL.
Elementary linear logic was introduced together with light linear logic [1].
[edit] Light linear logic
We present the intuitionistic version of light linear logic LLL, without additive connectives. The language of formulas is:
The sequent calculus rules are the same ones as for ILL, except for the rules
dealing with the exponential connectives:
In the rule, Γ must contain at most one formula.
The depth of a derivation π is the maximum number of
and rules in a branch of π.
Theorem
If π is an LLL proof of depth d, and R is the corresponding LLL proof-net, then R can be reduced to its normal form by cut elimination in
steps, where | π | is the size of π.
The class FP is the class of functions on binary lists which are computable in polynomial time on a Turing machine.
Theorem
The class of functions on binary lists representable in LLL is exactly FP.
In the literature one also often considers the affine variant of LLL, called light affine logic, LAL.
[edit] Soft linear logic
We consider the intuitionistic version of soft linear logic, SLL.
The language of formulas is the same one as that of ILL:
The sequent calculus rules are the same ones as for ILL, except for the rules
dealing with the exponential connectives:
The rule mplex is the multiplexing rule. In its premise, A(n) stands for n occurrences of formula A. As particular instances of mplex for n = 0 and 1 respectively, we get weakening and dereliction:
The depth of a derivation π is the maximum number of rules in a branch of π.
Theorem
If π is an SLL proof of depth d, and R is the corresponding SLL proof-net, then R can be reduced to its normal form by cut elimination in
O( | π | d) steps, where | π | is the size of π.
Theorem
The class of functions on binary lists representable in SLL is exactly FP.
Soft linear logic was introduced in [2].