Keywords

1 Introduction

NL, due to Lambek [13], admits formulas built from variables and the connectives \(\otimes ,\backslash ,/\). The axioms and the rules are as follows.

$$\begin{aligned} \begin{array}{c} \text{(NL-id) } A\Rightarrow A\\ \\ \text{( }\otimes \Rightarrow \text{) } \frac{\varGamma [(A,B)]\Rightarrow C}{\varGamma [A\otimes B]\Rightarrow C}\;\;\text{( }\Rightarrow \otimes \text{) }\frac{\varGamma \Rightarrow A\;\;\varDelta \Rightarrow B}{(\varGamma ,\varDelta )\Rightarrow A\otimes B}\\ \\ \text{( }\backslash \Rightarrow \text{) } \frac{\varGamma [B]\Rightarrow C\;\;\varDelta \Rightarrow A}{\varGamma [(\varDelta ,A\backslash B)]\Rightarrow C}\;\; (\Rightarrow \backslash ) \frac{(A,\varGamma ) \Rightarrow B}{\varGamma \Rightarrow A\backslash B}\\ \\ \text{( }/\Rightarrow \text{) } \frac{\varGamma [A]\Rightarrow C\;\;\varDelta \Rightarrow B}{\varGamma [(A/B,\varDelta )]\Rightarrow C}\;\; \text{( }\Rightarrow /\text{) } \frac{(\varGamma ,B)\Rightarrow A}{\varGamma \Rightarrow A/B}\\ \\ \text{(NL-cut) } \frac{\varGamma [A]\Rightarrow B\;\;\varDelta \Rightarrow A}{\varGamma [\varDelta ]\Rightarrow B} \end{array} \end{aligned}$$

This is a sequent system for NL. Sequents are of the form \(\varGamma \Rightarrow A\), where A is a formula and \(\varGamma \) is a formula structure. Formula structures are defined recursively: (i) all formulas are formula structures, (ii) if \(\varGamma \) and \(\varDelta \) are formula structures, then \((\varGamma ,\varDelta )\) is a formula structure. Formula structures represent the elements of the free groupoid generated by formulas. A context \(\varGamma [\,]\) is a formula structure containing one special formula x. \(\varGamma [\varDelta ]\) denotes the substitution of \(\varDelta \) for x in \(\varGamma [\,]\). We reserve ABCD for formulas and \(\varGamma ,\varDelta ,\varTheta \) for formula structures.

NL is strongly complete with respect to residuated groupoids (see Sect. 2 for the definition). Recall that a logic (in the form of a sequent system) is strongly complete with respect to a class of (ordered) algebras \(\mathcal C\), if the following equivalence holds: \(\varGamma \Rightarrow A\) is provable in this logic from the set of sequents \(\varPhi \) if and only if, for any algebra from \(\mathcal C\) and any valuation \(\mu \), \(\varGamma \Rightarrow A\) is true for \(\mu \) whenever all sequents from \(\varPhi \) are true for \(\mu \). The right-hand side of this equivalence expresses the semantic entailment: \(\varGamma \Rightarrow A\) follows from \(\varPhi \) in \(\mathcal C\). For systems considered here, \(\varGamma \Rightarrow A\) is true for \(\mu \), if \(\mu (\varGamma )\le \mu (A)\).

NL1 is NL admitting empty antecedents of sequents and containing the constant 1, the axiom (a-1) \(\Rightarrow 1\) and the rules:

$$\begin{aligned} (1\Rightarrow ) \frac{\varGamma [\varDelta ]\Rightarrow A}{\varGamma [(1,\varDelta )]\Rightarrow A}\,,\;\;\;\frac{\varGamma [\varDelta ]\Rightarrow A}{\varGamma [(\varDelta ,1)]\Rightarrow A}\,. \end{aligned}$$

NL1 is strongly complete with respect to residuated unital groupoids.

Classical Nonassociative Lambek Calculus (CNL) can be presented as an extension of NL with negation \(^{\sim }\), admitting the axioms \(A^{\sim \sim }\Leftrightarrow A\), \(A^{\sim }/B\Leftrightarrow A\backslash B^{\sim }\) and the transposition rule:

$$\begin{aligned} \frac{A\Rightarrow B}{B^{\sim }\Rightarrow A^{\sim }}\,. \end{aligned}$$

Here \(A\Leftrightarrow B\) replaces two sequents: \(A\Rightarrow B\) and \(B\Rightarrow A\). In [11], CNL is presented as a Schütte style (i.e. one-sided) sequent system in language \(\otimes ,\oplus ,^{\sim }\), where \(A\oplus B\) is equivalent to \((B^{\sim }\otimes A^{\sim })^{\sim }\). So \(\oplus \) corresponds to the operation ‘par’ in linear logics. We do not follow the popular notation of Girard [10], but replace it with a notation used in substructural logics [9]. CNL is a nonassociative variant of Cyclic Noncommutative MALL [15], but it lacks the multiplicative units.

In Sect. 2 we define CNL-algebras, i.e. the ordered algebras corresponding to CNL. We also define phase spaces, appropriate for nonassociative logics without units. We show that CNL-algebras arise from symmetric phase spaces, satisfying a compatibility condition.

In Sect. 3 we present CNL as a dual Schütte style system, which seems closer to the syntax of NL and the framework of type grammars. We discuss the strong completeness of CNL with respect to CNL-algebras and phase spaces. In particular, we outline a model-theoretic proof of cut elimination, similar to those for different substructural logics (see [9] for a discussion). Theorem 2 states that CNL is a strongly conservative extension of NL; we give a model-theoretic proof. At the end we briefly discuss analogous results for related logics: CNL1, i.e. CNL with constants 1 and 0, CNL and CNL1 with \(\vee ,\wedge \), and others.

In Sect. 4 we prove an interpolation lemma for CNL (with assumptions), analogous to the interpolation lemma for NL [4, 8]. Using this lemma, we prove the strong finite model property (SFMP) for CNL (see [9] for the definition), the context-freeness of the languages generated by CNL-grammars and the polynomial time decidability of the consequence relation for CNL. These results remain true for CNL1. At the end, we discuss their status for other logics.

The size limits do not allow us to study CNL\(^{-}\), i.e. the variant of CNL with two negations \(^{\sim }, ^{-}\), satisfying \(A^{\sim -}\Leftrightarrow A\), \(A^{-\sim }\Leftrightarrow A\), \(A^{\sim }/B\Leftrightarrow A\backslash B^{-}\) and the transposition rules. CNL\(^{-}\) is a nonassociative variant of Noncommutative MALL [1], also called Classical Bilinear Logic in [14]; again it lacks units. The corresponding algebras are briefly discussed in Sect. 2. We only note here that CNL\(^{-}\) does not have SFMP. \(A^{\sim }\Rightarrow A^{-}\) entails \(A^{-}\Rightarrow A^{\sim }\) in finite CNL\(^{-}\)-algebras, since \(a^{\sim }<a^{-}\) enforces the infinite chain \(a<a^{\sim \sim }<a^{\sim \sim \sim \sim }<\ldots \); there exist infinite CNL\(^{-}\)-algebras such that \(a^{\sim }<a^{-}\), for some element a.

2 Algebras and Phase Spaces

The algebraic models of NL are residuated groupoids \({\mathbf M}=(M,\otimes , \backslash ,/,\le )\) such that \((M,\le )\) is a nonempty poset and \(\otimes ,\backslash ,/\) are binary operations on M, satisfying:

$$\begin{aligned} \text{(RES) } a\otimes b\le c \text{ iff } b\le a\backslash c \text{ iff } a\le c/b\,, \end{aligned}$$

for all \(a,b,c\in M\). The models of NL1 are residuated unital groupoids, i.e. residuated groupoids containing the unit element for \(\otimes \) (denoted by 1). It follows that \(1\backslash a=a\), \(a/1=a\).

A pair \(^{\sim }, ^{-}\) of unary operations on a poset \((P,\le )\) is called an involutive pair of negations, if for all \(a,b\in P\) the following conditions are satisfied:

  • (TR) if \(a\le b\) then \(b^{\sim }\le a^{\sim }\) and \(b^{-}\le a^{-}\),

  • (DN) \(a^{-\sim }=a\), \(a^{\sim -}=a\);

if \(^{\sim }\) equals \(^{-}\), then \(^{\sim }\) is called a De Morgan negation (then \(a^{\sim \sim }=a\)).

The models of CNL are residuated groupoids \(\mathbf M\) with a De Morgan negation \(^{\sim }\) satisfying the compatibility condition:

  • (COM) for all \(a,b,c\in M\), if \(a\otimes b\le c\) then \(c^{\sim }\otimes a\le b^{\sim }\).

We refer to these algebras as CNL-algebras. Unital CNL-algebras (i.e. with the unit for \(\otimes \)) are called CNL1-algebras.

In any CNL-algebra the following conditions are equivalent: \(a\otimes b\le c\), \(c^{\sim }\otimes a\le b^{\sim }\), \(b\otimes c^{\sim }\le a^{\sim }\). On the basis of other axioms, (COM) is equivalent to:

  • (TR’) \(a\backslash b^{\sim }=a^{\sim }/b\) for all \(a,b\in M\),

and either of the following transposition laws: \(a\backslash b=a^{\sim }/b^{\sim }\), \(a/b=a^{\sim }\backslash b^{\sim }\).

In any CNL-algebra one defines the dual product: \(a\oplus b=(b^{\sim }\otimes a^{\sim })^{\sim }\). The following equations hold:

$$\begin{aligned} a\backslash b=a^{\sim }\oplus b,\;a/b=a\oplus b^{\sim }. \end{aligned}$$

Consequently, \(\oplus ,\backslash ,/\) are definable in terms of \(\otimes ,^{\sim }\).

In any CNL1-algebra one defines: \(0=1^{\sim }\). Then, \(1=0^{\sim }\), 0 is the unit for \(\oplus \), and \(a^{\sim }=a\backslash 0=0/a\).

CNL\(^{-}\)-algebras are residuated groupoids \(\mathbf M\) with an involutive pair of negations, satisfying:

  • (COM\(^{-}\)) for all \(a,b,c\in M\), if \(a\otimes b\le c\) then \(c^{-}\otimes a\le b^{-}\) and \(b\otimes c^{\sim }\le a^{\sim }\).

Unital CNL\(^{-}\)-algebras are referred to as CNL1\(^{-}\)-algebras. In any CNL\(^{-}\)-algebra the three conditions in (COM\(^{-}\)) are equivalent. (COM\(^{-}\)) is equivalent to:

  • (TR”) \(a^{\sim }/b=a\backslash b^{-}\), for all \(a,b\in M\).

Hence in any CNL1\(^{-}\)-algebra, \(1^{\sim }=1^{-}\). One defines \(0=1^{\sim }\) and obtains: \(a^{\sim }=a\backslash 0\), \(a^{-}=0/a\).

CNL\(^{-}\)-algebras (resp. CNL-algebras) are term equivalent to (resp. cyclic) involutive p.o. groupoids [9].

The equation \((a^{-}\otimes b^{-})^{\sim }=(a^{\sim }\otimes b^{\sim })^{-}\) is valid in CNL\(^{-}\)-algebras. One defines \(a\oplus b=(b^{-}\otimes a^{-})^{\sim }\) and obtains:

$$\begin{aligned} a\backslash b=a^{\sim }\oplus b,\; a/b=a\oplus b^{-}. \end{aligned}$$

Consequently, \(\oplus ,\backslash ,/\) are definable in terms of \(\otimes ,^{\sim }, ^{-}\).

These algebras can be constructed from phase spaces, i.e. structures \((M,\cdot ,R)\) such that \((M,\cdot )\) is a groupoid and \(R\subseteq M^{2}\). We focus on symmetric phase spaces (R is symmetric).

A closure operation on a poset \((P,\le )\) is a map \(C:P\mapsto P\), satisfying: (C1) \(x\le C(x)\), (C2) if \(x\le y\) then \(C(x)\le C(y)\), (C3) \(C(C(x))\le C(x)\), for all \(x,y\in P\). A nucleus on a p.o. groupoid \((M,\cdot ,\le )\) is a closure operation C on \((M,\le )\), satisfying: (C4) \(C(x)\cdot C(y)\le C(x\cdot y)\). If \(\mathbf M\) is a residuated groupoid, then C is a nucleus on \((M,\cdot ,\le )\) iff C is a closure operation on \((M,\le )\) and satisfies: (C4’) \(x\backslash y\) and y / x are C-closed for any \(x\in M\) and any C-closed \(y\in M\). Recall that x is C-closed, if \(C(x)=x\).

Let \(R\subseteq M^{2}\). For \(X\subseteq M\), one defines:

$$\begin{aligned} X^{\sim }=\{a\in M:\forall _{b\in X} R(b,a)\},\;X^{-}=\{a\in M:\forall _{b\in X} R(a,b)\}. \end{aligned}$$

The maps \(^{\sim },^{-}\) are a Galois connection on \(\mathcal{P}(M)\): \(X\subseteq Y^{\sim }\) iff \(Y\subseteq X^{-}\). Consequently, \(X\subseteq Y\) entails \(Y^{\sim }\subseteq X^{\sim }\) and \(Y^{-}\subseteq X^{-}\). The maps \(\phi _{R}(X)=X^{-\sim }\) and \(\psi _{R}(X)=X^{\sim -}\) are closure operations on \((\mathcal{P}(M),\subseteq )\). It follows that X is \(\phi _{R}-\)closed (resp. \(\psi _{R}-\)closed) iff \(X=Y^{\sim }\) (resp. \(X=Y^{-}\)) for some Y.

Proposition 1

The following conditions are equivalent. (i) \(X^{\sim }=X^{-}\) for all \(X\subseteq M\), (ii) R is symmetric: R(ab) entails R(ba), for all \(a,b\in M\).

Let \((M,\cdot ,R)\) be a symmetric phase space. Then, \(\phi _{R}=\psi _{R}\). By \(M_{R}\) we denote the family of \(\phi _{R}\)-closed subsets of M. Clearly \(^{\sim }\) is a De Morgan negation on \((M_{R},\subseteq )\).

Let \((M,\cdot ,R)\) be a phase space. For \(X,Y\subseteq M\), one defines: \(X\cdot Y=\{a\cdot b:a\in X, b\in Y\}\), \(X\backslash Y=\{y\in M: X\cdot \{y\}\subseteq Y\}\), \(X/Y=\{x\in M:\{x\}\cdot Y\subseteq X\}\). \(\mathcal {P}(M)\) with \(\cdot ,\backslash ,/, \subseteq \) is a residuated groupoid. Let C be a nucleus on \((\mathcal{P}(M), \cdot ,\subseteq )\). Then, \((M_{C},\otimes ^{C},\backslash ^{C},/^{C},\subseteq )\) is a residuated groupoid, where \(M_{C}\) is the family of \(C-\)closed subsets of M, \(X\otimes ^{C}Y=C(X\cdot Y)\), and \(\backslash ,/\) are the operations defined on \(\mathcal{P}(M)\), restricted to \(M_{C}\). If \(\cdot \) is associative (resp. commutative), then \(\otimes ^{C}\) is associative (resp. commutative). If 1 is the unit for \(\cdot \) in M, then \(C(\{1\})\) is the unit for \(\otimes ^{C}\) (see e.g. [9]).

By a phase space for CNL we mean a symmetric phase space \((M,\cdot ,R)\), satisfying the compatibility condition:

  • (COM-R) for all \(a,b,c\in M\), \(R(a\cdot b,c)\) iff \(R(a,b\cdot c)\).

Phase spaces for CNL\(^{-}\) are defined in a similar way except that the symmetry of R is replaced with \(\phi _{R}=\psi _{R}\).

Proposition 2

For any phase space, (COM-R) holds if and only if, for all \(X,Y,Z\subseteq M\), \(X\cdot Y\subseteq Z^{\sim }\) iff \(Z\cdot X\subseteq Y^{-}\).

Proof

We show \((\Rightarrow )\). \(X\cdot Y\subseteq Z^{\sim }\) is equivalent to \(\forall _{x\in X}\forall _{y\in Y}\forall _{z\in Z}R(z,x\cdot y)\), and \(Z\cdot X\subseteq Y^{-}\) to iff \(\forall _{z\in Z}\forall _{x\in X}\forall _{y\in Y}R(z\cdot x,y)\). Both statements are equivalent, by (COM-R). For \((\Leftarrow )\), take \(X=\{b\}\), \(Y=\{c\}\), \(Z=\{a\}\). Now \(\{b\}\cdot \{c\}\subseteq \{a\}^{\sim }\) iff \(R(a,b\cdot c)\), and \(\{a\}\cdot \{b\}\subseteq \{c\}^{-}\) iff \(R(a\cdot b,c)\).     \(\square \)

Corollary 1

For any phase space, (COM-R) holds if and only if, for all \(Y,Z\subseteq M\), \(Z^{\sim }/Y=Z\backslash Y^{-}\).

Theorem 1

Let \((M,\cdot ,R)\) be a phase space for CNL. Then \(M_{R}\), ordered by \(\subseteq \), with operations \(\otimes ^{\phi _{R}}\) and \(\backslash ,/ ,^{\sim }\), restricted to \(M_{R}\), is a CNL-algebra.

Proof

First, we show that \(\phi _{R}\) satisfies (C4’). Using (COM-R), we show that \(\{a\}\backslash \{b\}^{\sim }=\{b\cdot a\}^{\sim }\) and \(\{a\}^{\sim }/\{b\}=\{b\cdot a\}^{\sim }\) for all \(a,b\in M\). We have: \(c\in \{a\}\backslash \{b\}^{\sim }\) iff \(a\cdot c\in \{b\}^{\sim }\) iff \(R(b,a\cdot c)\) iff \(R(b\cdot a,c)\) iff \(c\in \{b\cdot a\}^{\sim }\). The second equation is proved similarly (use the symmetry of R). This yields \(X\backslash Y^{\sim }=(Y\cdot X)^{\sim }\) and \(X^{\sim }/Y=(Y\cdot X)^{\sim }\), for all \(X,Y\subseteq M\), by the well-known distribution laws: \(\cdot \) distributes over infinite joins in both arguments, \(\backslash \) (resp. /) distributes over infinite meets in the second (resp. first) argument and converts joins into meets in the first (resp. second) argument, and \(^{\sim }\) converts joins into meets. So for \(X=\{a_{i}\}_{i\in I}\), \(Y=\{b_{j}\}_{j\in J}\) we have:

$$\begin{aligned} X\backslash Y^{\sim }=\bigcap _{i\in I}\bigcap _{j\in J}\{a_{i}\}\backslash \{b_{j}\}^{\sim }=\bigcap _{i\in I}\bigcap _{j\in J}\{b_{j}\cdot a_{i}\}^{\sim }=(Y\cdot X)^{\sim }. \end{aligned}$$

Let \(X\subseteq M\), \(Z\in M_{R}\). Then \(Z=Y^{\sim }\) for some Y. Hence \(X\backslash Z=(Y\cdot X)^{\sim }\) belongs to \(M_{R}\), and similarly for Z / X.

Since \(\phi _{R}\) is a nucleus on \((\mathcal{P}(M),\cdot ,\subseteq )\), then \(M_{R}\) with \(\otimes ^{\phi _{R}},\backslash ,/,\subseteq \) is a residuated groupoid. Since R is symmetric, \(^{\sim }\) is a De Morgan negation on \(M_{R}\). (TR’) \(X\backslash Y^{\sim }=X^{\sim }/Y\), for \(X,Y\in M_{R}\), has been shown in the preceding paragraph; (TR’) also follows from Corollary 1.     \(\square \)

If \((M,\cdot ,R)\) is a phase space for CNL, then the CNL-algebra constructed above is referred to as the complex algebra of the phase space. Worthy of noting, every CNL-algebra \(\mathbf M\) is isomorphic to a subalgebra of the complex algebra of the phase space \((M,\otimes ,R)\), where R is defined by: R(ab) iff \(a\le b^{\sim }\). Let \([a]^{\downarrow }\) denote the principal downset in \((M,\le )\) generated by a, i.e. \([a]^{\downarrow }=\{x\in M:x\le a\}\). Then, \([a]^{\downarrow }=\{a^{\sim }\}^{\sim }\). (Here \(^{\sim }\) is used in two meanings: the inner one as an operation in \(\mathbf M\), the outer one as an operation on \(\mathcal{P}(M)\).) The so-defined R is symmetric and \([a]^{\downarrow }\in M_{R}\). The map \(h(a)=[a]^{\downarrow }\) is the required isomorphism. We omit the proof.

Remark 1. In fact, for any symmetric phase space \((M,\cdot ,R)\), (COM-R) holds if and only if \(\phi _{R}\) is a nucleus and (TR’) (equivalently (COM)) holds in the complex algebra.

A unital phase space is a structure \((M,\cdot ,1,R)\) such that \((M,\cdot ,1)\) is a unital groupoid and \(R\subseteq M^{2}\). A phase space for CNL1 is a unital phase space \((M,\cdot ,1,R)\) such that \((M,\cdot ,R)\) is a phase space for CNL. The analogue of Theorem 1 remains true. Now \(\phi _{R}(\{1\})\) is the unit for \(\otimes ^{\phi _{R}}\) in the complex algebra.

For unital phase spaces, (COM-R) implies:

$$\begin{aligned} \text{(Eq-R) } R(a,b) \text{ iff } R(1,a\cdot b) \text{ iff } R(a\cdot b,1). \end{aligned}$$

R can be represented by a set \(O\subseteq M\), satisfying:

  • (COM-O) for all \(a,b,c\in M\), \(a\cdot (b\cdot c)\in O\) iff \((a\cdot b)\cdot c\in O\).

For \(R\subseteq M^{2}\), we define \(O_{R}=\{a\in M: R(1,a)\}\), and for \(O\subseteq M\), we define \(R_{O}=\{(a,b)\in M^{2}: a\cdot b\in O\}\). By (Eq-R), \(R_{O_{R}}=R\) and \(O_{R_{O}}=O\). Furthermore, R satisfies (COM-R) iff \(O_{R}\) satisfies (COM-O). So there is a one-one correspondence between relations \(R\subseteq M^{2}\) satisfying (COM-R) and sets \(O\subseteq M\) satisfying (COM-O). Therefore, unital phase spaces, satisfying (COM-R), can also be defined as structures \((M,\cdot ,1,O)\) such that \((M,\cdot ,1)\) is a unital groupoid and \(O\subseteq M\) satisfies (COM-O). This resembles the standard definitions of phase spaces for linear logics [1, 10, 15].

Remark 2. If 1 is not present, then we can define \(O_{R}=\{a\cdot b: R(a,b)\}\) and \(R_{O}\) as above, but this only yields the inclusions: \(R\subseteq R_{O_{R}}\) and \(O_{R_{O}}\subseteq O\). O satisfies (COM-O) iff \(R_{O}\) satisfies (COM-R). On the other hand, if \(O_{R}\) satisfies (COM-O), then R satisfies (COM-R), but the converse implication fails. If, however, \((M,\cdot )\) is a free groupoid, then there is a one-one correspondence between relations \(R\subseteq M^{2}\) and sets \(O\subseteq M\) such that each element of O is of the form \(x\cdot y\), for some \(x,y\in M\). Also R satisfies (COM-R) iff \(O_{R}\) satisfies (COM-O).

Let \((M,\cdot ,1,O)\) be a unital phase space. The symmetry of \(R_{O}\) is equivalent to the cyclic law for O:

  • (Cy) for all \(a,b\in M\), if \(a\cdot b\in O\) then \(b\cdot a\in O\).

Accordingly, a phase space for CNL1 can be defined as a unital phase space \((M,\cdot ,1,O)\), satisfying (COM-O) and (Cy). Observe that \(X^{\sim }=X\backslash O=O/X\), for any \(X\subseteq M\). We denote \(\phi _{O}=\phi _{R_{O}}\), and similarly for \(\psi _{O}\), \(M_{O}\). O is \(\phi _{O}\)-closed, since \(O=\{1\}^{\sim }\). So \(O\in M_{O}\); also \(O^{\sim }\) is the unit for \(\otimes ^{\phi _{O}}\) and O is the unit for the dual product. If M does not contain 1, then O, even satisfying (COM-O) and (Cy), need not belong to \(M_{O}\).

Example 1. Consider the phase space \((M,\cdot ,O)\) such that \(M=\varSigma ^{+}\), \(\cdot \) is the concatenation of strings, and O is the set of all strings of length 1. Clearly O satisfies (COM-O) and (Cy). So the complex algebra of \((M,\cdot ,R_{O})\) is a CNL-algebra. We have \(\emptyset ^{\sim }=\varSigma ^{+}\) and \(X^{\sim }=\emptyset \) for \(X\ne \emptyset \). Therefore \(M_{O}=\{\emptyset ,\varSigma ^{+}\}\) and \(O\not \in M_{O}\).

Example 2. We construct a phase space \((M,+ ,R)\) such that \((M,+)\) is a commutative semigroup, \(R\subseteq M^{2}\) is symmetric and satisfies (COM-R), but \(R\ne R_{O}\), for any \(O\subseteq M\). Let M consist of all pairs of positive integers. For \(a,b\in M\), \(a=(a_{1},a_{2})\), \(b=(b_{1},b_{2})\), we set \(a+ b=(a_{1}+b_{1},a_{2}+b_{2})\). Let R consist of all \((a,b)\in M^{2}\) such that neither a, nor b is of the form \(x+ y\), for any \(x,y\in M\). Clearly R is symmetric and satisfies (COM-R). Assume \(R=R_{O}\) for some \(O\subseteq M\). Since R((1, 2), (2, 1)), then \((3,3)\in O\). We have \((3,3)=(1,1)+(2,2)\), which yields R((1, 1), (2, 2)). This contradicts the definition of R, since \((2,2)=(1,1)+(1,1)\).     \(\square \)

This example shows that the notion of a phase space with a relation R is essentially wider than that with a set O for the non-unital spaces, even based on (commutative) semigroups. Therefore the former may also be useful in the theory of associative linear logics with no multiplicative units (not only in language, but in the corresponding algebras). Clearly (COM-O) (resp. (Cy)) holds for any \(O\subseteq M\), if \(\cdot \) is associative (resp. commutative).

3 Logics

We present a dual Schütte style system for CNL. Formulas are built from variables \(p,q,\ldots \), negated variables \(p^{\sim },q^{\sim },\ldots \), and connectives \(\otimes ,\oplus \). ABCD range over formulas. By \(\mathcal S\) we denote the free groupoid generated by all formulas. \(\varGamma ,\varDelta ,\varTheta \) range over elements of \(\mathcal S\). These elements are represented as formula structures. The groupoid operation is: \(\varGamma \cdot \varDelta =(\varGamma ,\varDelta )\).

In CNL, sequents are formula-structures, containing at least two formulas; the set of all sequents is denoted by \(\mathcal{S}^{(2)}\). So the distinction between quasi-sequents and sequents in [11] corresponds to our distinction between formula-structures and sequents. In axioms and rules of our systems (and after the provability symbol \(\vdash \)) we omit outer parentheses, e.g. we write \(\vdash \varGamma ,\varDelta \) for \(\vdash (\varGamma ,\varDelta )\). The axioms and the rules of CNL are as follows.

$$\begin{aligned} \begin{array}{c} \text{(id) } p,p^{\sim }\\ \\ \text{(r- }\otimes \text{) } \frac{(A,B),\varGamma }{A\otimes B,\varGamma }\; \text{(r- }\oplus \text{) } \frac{A,\varGamma \;\;B,\varDelta }{A\oplus B,(\varDelta ,\varGamma )} \\ \\ \text{(r-sym) } \frac{\varGamma ,\varDelta }{\varDelta ,\varGamma }\; \text{(r-com) } \frac{\underline{(\varGamma ,\varDelta ), \varTheta }}{\varGamma ,(\varDelta ,\varTheta )} \end{array} \end{aligned}$$

(r-\(\otimes \)), (r-\(\oplus \)) are the introduction rules for connectives, and (r-sym), (r-com) are the structural rules (expressing the symmetry of R and the condition (COM-R) in phase spaces for CNL).

We write \(\varGamma \sim \varDelta \), if \(\varDelta \) can be derived from \(\varGamma \) by finitely many applications of (r-sym), (r-com). Clearly \(\sim \) is an equivalence relation (but not a congruence in \(\mathcal S\)).

Proposition 3

For any sequent \(\varGamma '\in \mathcal{S}^{(2)}\), containing one marked formula \(\underline{A}\), there exists a unique \(\varDelta '\in \mathcal{S}\) such that \(\varGamma '\sim (\underline{A},\varDelta ')\).

Proof

We describe an algorithm which reduces \(\varGamma '\) to some sequent \((\underline{A},\varDelta ')\). We underline the substructure containing \(\underline{A}\). The reduction rules are as follows.

figure a

Each reduction step can be executed by applying at most three instances of (r-sym), (r-com). This procedure is deterministic. If we run it on a sequent \(\varGamma '\in \mathcal{S}^{(2)}\), then the algorithm terminates in finitely many steps and yields \((\underline{A},\varDelta ')\).

The uniqueness of \(\varDelta '\), satisfying \(\varGamma '\sim (\underline{A},\varDelta ')\), follows from the fact:

  • (F1) if \(\varGamma '\) reduces to \((\underline{A},\varDelta ')\) and \(\varTheta '\sim \varGamma '\), then \(\varTheta '\) reduces to \((\underline{A},\varDelta ')\).

The proof of (F1) has two parts: (I) one proves it for \(\varTheta '\) resulting from \(\varGamma '\) by one application of (r-sym) or (r-com), (II) one proves (F1) by induction on the number of applications of (r-sym), (r-com) leading from \(\varGamma '\) to \(\varTheta '\). We skip details.

Now assume that \(\varGamma '\sim (\underline{A},\varDelta )\) and \(\varGamma '\sim (\underline{A},\varDelta ')\). Then \((\underline{A},\varDelta )\sim (\underline{A},\varDelta ')\). By (F1), \((\underline{A},\varDelta )\) reduces to \((\underline{A},\varDelta ')\). Since the algorithm stops on sequents of this form, then \(\varDelta =\varDelta '\).     \(\square \)

Example 3. Take \(\varGamma '=((B,(C',\underline{A})),(C,D))\). The reduction looks as follows:

$$\begin{aligned} \varGamma '\rightarrow _{R3} ((C',\underline{A}),((C,D),B))\rightarrow _{R3}(\underline{A},(((C,D),B),C')). \end{aligned}$$

Due to Proposition 3, the introduction rules can be restricted to the left-most occurrences of formulas in sequents, as above.

We say that a reduction of \(\varGamma '\) to \((\underline{A},\varDelta ')\) preserves a substructure \(\varTheta \) of \(\varGamma '\), if \(\varTheta \) can be replaced by a variable in the whole reduction. The reduction in Example 3 preserves (CD).

Lemma 1

Assume that \(\varGamma '\) reduces to \((\underline{A},\varDelta ')\) and \(\varTheta \) is a substructure of \(\varGamma '\), which does not contain \(\underline{A}\). Then, the reduction preserves \(\varTheta \).

Proof

Let \(\varGamma _{1}\) result from \(\varGamma '\) after one has replaced \(\varTheta \) by a new variable p. By Proposition 3, \(\varGamma _{1}\) reduces to a sequent \((\underline{A},\varDelta _{1})\). Now we substitute \(\varTheta \) for p in the whole reduction, which yields the reduction of \(\varGamma '\) to a sequent \((\underline{A},\varDelta )\). We have \(\varDelta =\varDelta '\), since the algorithm is deterministic. Consequently, the reduction of \(\varGamma '\) to \((\underline{A},\varDelta ')\) preserves \(\varTheta \).     \(\square \)

Let \(\mathbf M\) be a CNL-algebra. A valuation in \(\mathbf M\) is a homomorphism of the free algebra of CNL-formulas into \(\mathbf M\) such that \(\mu (p^{\sim })=\mu (p)^{\sim }\), for any (non-negated) variable p. The valuation \(\mu \) is extended for sequents, by setting: \(\mu ((\varGamma ,\varDelta ))=\mu (\varGamma )\otimes \mu (\varDelta )\). The sequent \((\varGamma ,\varDelta )\) is true for \(\mu \) in \(\mathbf M\), if \(\mu (\varGamma )\le \mu (\varDelta )^{\sim }\). A sequent is valid in \(\mathbf M\), if it is true for all valuations in \(\mathbf M\).

The above system of CNL is weakly complete: the provable sequents are precisely the sequents valid in all CNL-algebras. Since the system is cut-free, its weak completeness entails the cut-elimination theorem (see below). Soundness is easy. The proof of completeness is a routine modification of similar proofs for different substructural logics, tracing back to Lafont [12]; see [9] for a wider discussion. Since for CNL and its variants no proof can be found in the literature, we give some details. We write \(\vdash \varGamma \) if \(\varGamma \) is provable in CNL.

In metalanguage, one defines \(A^{\sim }\) for any formula A:

$$\begin{aligned} \begin{array}{c} (p^{\sim })^{\sim }=p \\ \\ (A\otimes B)^{\sim }=B^{\sim }\oplus A^{\sim }\;\; (A\oplus B)^{\sim }=B^{\sim }\otimes A^{\sim } \end{array} \end{aligned}$$

By formula induction, one proves \(A^{\sim \sim }=A\) and \(\mu (A^{\sim })=\mu (A)^{\sim }\), for any formula A and any valuation \(\mu \) in \(\mathbf M\). Also \(\vdash A,A^{\sim }\), for any A.

It is convenient to write \(\varGamma \Rightarrow A\) for the sequent \((\varGamma ,A^{\sim })\); due to (r-sym), it is deductively equivalent to \((A^{\sim },\varGamma )\). Clearly \(\varGamma \Rightarrow A\) is true for \(\mu \) in \(\mathbf M\), if \(\mu (\varGamma )\le \mu (A)\). We define \([A]=\{\varGamma \in \mathcal{S}:\,\vdash \varGamma \Rightarrow A\}\).

We consider the phase space \((M,\cdot ,R)\) such that \((M,\cdot )=(\mathcal{S},\cdot )\) and \(R=\{(\varGamma ,\varDelta )\in \mathcal{S}^{2}:\, \vdash \varGamma ,\varDelta \}\). Since \((M,\cdot )\) is a free groupoid, R can be replaced by the set \(O_{R}=\{(\varGamma ,\varDelta )\in \mathcal{S}: R(\varGamma ,\varDelta )\}\) (see Remark 2 in Sect. 2). Due to (r-com), (r-sym), R is symmetric and satisfies (COM-R). By Theorem 1, \(M_{R}\) with inclusion and \(\otimes ^{\phi _{R}},\backslash ,/,^{\sim }\) is a CNL-algebra. For any formula A, we have: \([A]=\{A^{\sim }\}^{\sim }\). So [A] is \(\phi _{R}\)-closed for any formula A.

We define a valuation \(\mu \) in \(M_{R}\):

$$\begin{aligned} \mu (p)=[p]=\{p^{\sim }\}^{\sim },\; \mu (p^{\sim })=\mu (p)^{\sim }\,. \end{aligned}$$
(1)

By formula induction, one proves:

$$\begin{aligned} A\in \mu (A)\subseteq [A], \text{ for } \text{ any } \text{ formula } A. \end{aligned}$$
(2)

We only consider the case: \(A\otimes B\). Since \(A\in \mu (A)\), \(B\in \mu (B)\), then \((A,B)\in \mu (A)\cdot \mu (B)\subseteq \mu (A\otimes B)\). We use the fact:

  • (F2) if \((A,B)\in X\) and X is \(\phi _{R}\)-closed then \(A\otimes B\in X\).

Let \(X=Y^{\sim }\), \((A,B)\in X\). Then, for all \(\varGamma \in Y\), \(\vdash (A,B),\varGamma \), hence \(\vdash A\otimes B,\varGamma \), by (r-\(\otimes \)). So \(A\otimes B\in X\). Consequently \(A\otimes B\in \mu (A\otimes B)\).

We show \(\mu (A\otimes B)\subseteq [A\otimes B]\). Since \([A\otimes B]\) is \(\phi _{R}\)-closed, it suffices to show \(\mu (A)\cdot \mu (B)\subseteq [A\otimes B]\). Let \(\varGamma \in \mu (A)\), \(\varDelta \in \mu (B)\). Then, \(\varGamma \in [A]\), \(\varDelta \in [B]\), hence \(\vdash A^{\sim },\varGamma \), \(\vdash B^{\sim },\varDelta \). By (r-\(\oplus \)), \(\vdash (A\otimes B)^{\sim },(\varGamma ,\varDelta )\), which yields \((\varGamma ,\varDelta )\in [A\otimes B]\).

Now assume \(\not \vdash \varGamma ,\varDelta \). By Proposition 3, there exists a sequent \((A,\varTheta )\sim (\varGamma ,\varDelta )\). Then \(\not \vdash A,\varTheta \), hence \(\varTheta \not \in [A^{\sim }]\). By (2), \(\varTheta \not \in \mu (A^{\sim })\) and \(\varTheta \in \mu (\varTheta )\). Consequently \((A,\varTheta )\) is not true for \(\mu \) in the complex algebra of \((M,\cdot ,R)\). It follows that \((\varGamma ,\varDelta )\) is not true, since the set of true sequents is invariant under \(\sim \). This finishes the proof of weak completeness.

The sequents valid in CNL-algebras are closed under the cut rule:

$$\begin{aligned} \text{(cut) }\frac{\varGamma [A]\;\;\;A^{\sim },\varDelta }{\varGamma [\varDelta ]}\,. \end{aligned}$$

Therefore (cut) is admissible in the cut-free system of CNL. By Proposition 3, this rule can also be formulated in the form:

The system of CNL with (cut’) is strongly complete with respect to CNL-algebras: the sequents provable from a set of assumptions \(\varPhi \) are precisely those which follow from \(\varPhi \) in CNL-algebras.

Let \(f(\varGamma )\) be the formula arising from \(\varGamma \) after one has replaced each comma by \(\otimes \). Every sequent \((\varGamma ,\varDelta )\) is deductively equivalent to \((f(\varGamma ),f(\varDelta ))\). This is easy to prove with applying (cut); for the cut-free system one can use the reversibility of (r-\(\otimes \)). Therefore, without lost of generality, we assume that all sequents in \(\varPhi \) are of the form (AB).

In the proof of strong completeness, one constructs the complex algebra of \((\mathcal{S},\cdot ,R)\), where \(R=\{(\varGamma ,\varDelta )\in \mathcal{S}:\varPhi \vdash \varGamma ,\varDelta \}\). Now \([A]=\{\varGamma \in \mathcal{S}:\varPhi \vdash \varGamma \Rightarrow A\}\), and \(\mu \) is defined by (1).

In the presence of (cut’), the inclusion in (2) can be replaced by \(\mu (A)=[A]\); so \(A\in \mu (A)\) may be omitted. We use the fact:

  • (F3) if X is \(\phi _{R}\)-closed, \(A\in X\) and \(\varPhi \vdash \varGamma \Rightarrow A\), then \(\varGamma \in X\).

This is needed to prove that all sequents from \(\varPhi \) are true for \(\mu \) in the complex algebra. Let \((A,B)\in \varPhi \). Then, \(A\in [B^{\sim }]\), hence \([A]\subseteq [B^{\sim }]\), by (F3). Consequently \(\mu (A)\subseteq \mu (B^{\sim })=\mu (B)^{\sim }\).

Remark 3. We have shown in Sect. 2 that not every phase space \((M,\cdot ,R)\) can be replaced by \((M,\cdot ,O)\). The above proof shows that CNL is strongly complete with respect to phase spaces of the latter form, satisfying (COM-O) and (Cy) (even based on free groupoids). It follows that every CNL-algebra is isomorphic to a subalgebra of the complex algebra of some space \((M,\cdot ,O)\) such that \((M,\cdot )\) is a free groupoid.

The connectives \(\backslash ,/\) can be defined by: \(A\backslash B=A^{\sim }\oplus B\), \(A/B=A\oplus B^{\sim }\). Each NL-sequent \(\varGamma \Rightarrow A\) can be treated as a CNL-sequent \(\varGamma \Rightarrow A\), i.e. \((A^{\sim },\varGamma )\). We prove that CNL with (cut’) is a strongly conservative extension of NL with (NL-cut). The weak conservativeness was proved in [11] by proof-theoretic methods.

Theorem 2

Let \(\varPhi \) be a set of NL-sequents (of the form \(C\Rightarrow D\)), and let \(\varGamma \Rightarrow A\) be an NL-sequent. Then, \(\varPhi \vdash _{NL}\varGamma \Rightarrow A\) iff \(\varPhi \vdash _{CNL}\varGamma \Rightarrow A\).

Proof

The only-if part is easy. The easiest proof uses the strong completeness, hence soundness, of NL with respect to residuated groupoids and the strong completeness of CNL with respect to CNL-algebras. We prove the if-part.

We consider the free groupoid \((M,\cdot )\) generated by all NL-formulas and formally negated NL-formulas \(A^{\sim }\), i.e. A with superscript \(^{\sim }\). The elements of M are represented as formula-structures, as above. We define \(O\subseteq M\) as the smallest set which contains all \((A^{\sim },\varGamma )\) such that \(\varPhi \vdash _{NL}\varGamma \Rightarrow A\) and is closed under (r-sym), (r-com). Clearly each element of O contains at least two formulas and exactly one negated formula.

We consider the complex algebra \(M_{O}\), i.e. \(M_{R}\) for \(R=R_{O}\). Since O satisfies (COM-O) and (Cy), \(M_{O}\) is a CNL-algebra, by Theorem 1.

For any NL-formula A, we define \([A]=\{\varGamma : \varPhi \vdash _{NL}\varGamma \Rightarrow A\}\). We show \([A]=\{A^{\sim }\}^{\sim }\). Clearly \([A]\subseteq \{A^{\sim }\}^{\sim }\), by the definition of O. We prove \(\{A^{\sim }\}^{\sim }\subseteq [A]\). Let \(\varGamma \in \{A^{\sim }\}^{\sim }\). Then \((A^{\sim },\varGamma )\in O\). By the definition of O, there exists a NL-sequent \(\varDelta \Rightarrow A\) such that \(\varPhi \vdash _{NL} \varDelta \Rightarrow A\) and \((A^{\sim },\varGamma )\sim (A^{\sim },\varDelta )\). By Proposition  3, \(\varGamma =\varDelta \) (take \(A^{\sim }\) as the marked formula). Consequently \(\varGamma \in [A]\).

So all sets [A] are \(\phi _{O}\)-closed. We define \(\mu \) by (1). By formula induction we show \(\mu (A)=[A]\) for any NL-formula A. This is obvious for p.

The cases \(A\backslash B\), A / B are treated in the same way as in analogous proofs for NL. Let us consider \(A\backslash B\). Assume \(\varGamma \in \mu (A\backslash B)\). Since \(A\in \mu (A)\), then \((A,\varGamma )\in \mu (B)\). So \((A,\varGamma )\in [B]\), which yields \(\varGamma \in [A\backslash B]\), by \((\Rightarrow \backslash )\). Assume \(\varGamma \in [A\backslash B]\). By the reversibility of \((\Rightarrow \backslash )\) in NL, \((A,\varGamma )\in [B]\). Let \(\varDelta \in \mu (A)\). Then \(\varDelta \in [A]\), which yields \((\varDelta ,\varGamma )\in [B]\), by (NL-cut). So \((\varDelta ,\varGamma )\in \mu (B)\) for any \(\varDelta \in \mu (A)\), and consequently \(\varGamma \in \mu (A\backslash B)\).

The case \(A\otimes B\) needs (F2), (F3), which remain true for NL-formulas. We prove (F2). Let \(X=Y^{\sim }\), \((A,B)\in X\). Then, \((\varGamma ,(A,B))\in O\) for any \(\varGamma \in Y\). We fix \(\varGamma \in Y\). Let \(C^{\sim }\) be the only negated formula in \(\varGamma \); we treat \(C^{\sim }\) as the marked formula. By Proposition 3, there is a unique \(\varDelta \) such that \((\varGamma ,(A,B))\sim (C^{\sim },\varDelta )\). By the construction of O, \(\varPhi \vdash _{NL}\varDelta \Rightarrow C\). By Lemma 1, the reduction of \((\varGamma ,(A,B))\) to \((C^{\sim },\varDelta )\) preserves (AB), hence \(\varDelta =\varTheta [(A,B)]\). Accordingly \(\varPhi \vdash _{NL}\varTheta [A\otimes B]\Rightarrow C\), by \((\otimes \Rightarrow )\), hence \((C^{\sim },\varTheta [A\otimes B])\in O\). Clearly \((\varGamma ,A\otimes B)\sim (C^{\sim },\varTheta [A\otimes B])\). Consequently \((\varGamma ,A\otimes B)\in O\). This yields \(A\otimes B\in X\). (F3) can be proved in a similar way (\(\vdash \) in (F3) means \(\vdash _{NL}\)).

We prove \([A\otimes B]\subseteq \mu (A\otimes B)\). Since \(A\in \mu (A)\), \(B\in \mu (B)\), then \((A,B)\in \mu (A)\cdot \mu (B)\subseteq \mu (A\otimes B)\). By (F2), \(A\otimes B\in \mu (A\otimes B)\). Hence \([A\otimes B]\subseteq \mu (A\otimes B)\), by (F3). We prove \(\mu (A\otimes B)\subseteq [A\otimes B]\). Since \([A\otimes B]\) is \(\phi _{O}\)-closed, it suffices to show \(\mu (A)\cdot \mu (B)\subseteq [A\otimes B]\), which amounts to \([A]\cdot [B]\subseteq [A\otimes B]\). This holds, by \((\Rightarrow \otimes )\).

Now assume \(\varPhi \not \vdash _{NL}\varGamma \Rightarrow A\). Then \(\varGamma \in \mu (\varGamma )\), \(\varGamma \not \in [A]=\mu (A)\), and consequently \(\varGamma \Rightarrow A\) is not true for \(\mu \). Let \(C\Rightarrow D\in \varPhi \). \(\mu (C)\subseteq \mu (D)\) follows from \([C]\subseteq [D]\). Therefore \(\varGamma \Rightarrow A\) does not follow from \(\varPhi \) in CNL-algebras. Consequently \(\varPhi \not \vdash _{CNL}\varGamma \Rightarrow A\).     \(\square \)

The results of this section can be extended for several richer logics. Proofs are similar, and we omit them.

First, we consider CNL with \(^{\sim }\) in the language. So formulas are built from variables and \(\otimes ,\oplus ,^{\sim }\). One adds the rules:

$$\begin{aligned} \begin{array}{c} \text{(r- }^{\sim \sim }\text{) }\frac{A,\varGamma }{A^{\sim \sim },\varGamma } \\ \\ \text{(r- }\otimes ^{\sim }\text{) } \frac{A^{\sim },\varGamma \;\;B^{\sim },\varDelta }{(A\otimes B)^{\sim },(\varGamma ,\varDelta )}\;\; \text{(r- }\oplus ^{\sim }\text{) } \frac{(B^{\sim },A^{\sim }),\varGamma }{(A\oplus B)^{\sim },\varGamma }. \end{array} \end{aligned}$$

This system is equivalent to the former one in a strong sense. Every formula with \(^{\sim }\) can be translated into a formula without \(^{\sim }\) (except its occurrences at variables), using the metalanguage definition of \(^{\sim }\), given above. The translation can be extended for sequents and sets of sequents. \(\varGamma \) is provable from \(\varPhi \) in CNL with \(^{\sim }\) if and only if the translation of \(\varGamma \) is provable from the translation of \(\varPhi \) in CNL without \(^{\sim }\).

CNL1 is obtained by adding the constants 1, 0, treated as atomic formulas, and:

$$\begin{aligned} \text{(a-0) } 0,\;\; \text{(r-1) } \frac{\varGamma }{1,\varGamma }\,. \end{aligned}$$

The new axiom (a-0) introduces a sequent containing only one formula. We define sequents as all elements of \(\mathcal S\). The set of formula-structures is defined as the free unital groupoid \(\mathcal{S}_{1}=\mathcal{S}\cup \{\lambda \}\), where \(\lambda \) satisfies \(\varGamma \cdot \lambda =\varGamma =\lambda \cdot \varGamma \). One may imagine \(\lambda \) as the ‘empty structure’. \(\varGamma \) and \(\varDelta \) may be empty in (r-\(\otimes \)), (r-\(\oplus \)).

For CNL1 without \(^{\sim }\), the metalanguage negation is defined as above, with: \(1^{\sim }=0\), \(0^{\sim }=1\). Given a CNL1-algebra and a valuation \(\mu \), one sets \(\mu (\lambda )=1\). A sequent \(\varGamma \in \mathcal{S}\) is said to be true for \(\mu \), if \(\mu (\varGamma )\le 0\). For sequents \((\varGamma ,\varDelta )\) this amounts to the former definition of a true sequent.

CNL1 (in both versions) admits cut elimination, since the cut-free system is weakly complete with respect to CNL1-algebras. With (cut’) it is strongly complete. CNL1 is a strongly conservative extension of NL1.

CNL\(^{*}\) is obtained from CNL1 by dropping 1 and 0. Since CNL\(^{*}\) is strongly complete with respect to CNL1-algebras, then CNL1 is a strongly conservative extension of CNL\(^{*}\). Notice that CNL\(^{*}\) is stronger than CNL; \(p\otimes p^{\sim }\) is provable in CNL\(^{*}\), by (id) and (r-\(\otimes \)), but not in CNL. In CNL1-algebras this law expresses \(a\otimes a^{\sim }\le 0\), which lacks sense in CNL-algebras without 0. The axiom (id) expresses \(a\le a\), which holds in all ordered algebras.

In the completeness proofs, the underlying unital groupoid is \((\mathcal{S}_{1},\cdot ,\lambda )\) and O consists of all provable sequents. Then O satisfies (COM-O) and (Cy), hence the complex algebra is a CNL1-algebra. (1) is extended by: \(\mu (0)=O\), \(\mu (1)=\phi _{O}(\{\lambda \})\).

If C is a closure operation on a complete lattice, then the C-closed sets are closed under infinite meets. So they form a complete lattice. The results of this section can be extended to CNL and CNL1 with lattice connectives \(\vee ,\wedge \), satisfying the lattice laws. These logics may be called Full CNL and Full CNL1 (FCNL and FCNL1) by analogy with FNL, i.e. NL with \(\vee ,\wedge \). FCNL (resp. FCNL1) is a strongly conservative extension of FNL (resp. FNL1).

For FCNL, the connectives are \(\otimes ,\oplus ,\vee ,\wedge \). One adds three new rules.

$$\begin{aligned} \text{(r- }\wedge \text{) } \frac{A,\varGamma }{B\wedge A,\varGamma }\;\;\frac{A,\varGamma }{A\wedge B,\varGamma }\;\; \text{(r- }\vee \text{) } \frac{A,\varGamma \;\;\;B,\varGamma }{A\vee B,\varGamma } \end{aligned}$$

In the complex algebra of \((M,\cdot ,R)\) (an arbitrary phase space) one defines: \(X\wedge Y=X\cap Y\), \(X\vee Y=\phi _{R}(X\cup Y)\). With these operations the complex algebra of a phase space for CNL is a lattice-ordered CNL-algebra. We refer to these algebras as FCNL-algebras. FCNL1-algebras are defined in a similar way.

These results remain true for associative and/or commutative CNL-algebras and CNL1-algebras. The associative FCNL1-algebras are the algebras of Cyclic Noncommutative MALL [15]; the commutative and associative FCNL1-algebras are the algebras of MALL [10]. The completeness results were proved in these papers. The fact that Cyclic Noncommutative MALL is a (weakly) conservative extension of FL1 was proved in Abrusci [2] by a tedious proof-theoretic argument. This can be proved like Theorem 2, which yields the strong conservativeness.

4 Main Results

We need an extended subformula property for \(\varPhi \vdash _{CNL}\varGamma \). Let T be a set of formulas. \(\mathcal{S}_{T}\) consists of all \(\varGamma \in \mathcal{S}\) such that every formula in \(\varGamma \) belongs to T. A T-sequent is a sequent \(\varGamma \in \mathcal{S}^{2}\cap \mathcal{S}_{T}\). A T-proof is a formal proof from \(\varPhi \) in CNL which consists of T-sequents only. We write \(\varPhi \vdash ^{T}_{CNL}\varGamma \), if there exists a T-proof of \(\varGamma \) from \(\varPhi \) in CNL. We write \(\vdash \) for \(\vdash _{CNL}\) and \(\vdash ^{T}\) for \(\vdash ^{T}_{CNL}\). We define \([A]^{T}=\{\varGamma \in \mathcal{S}_{T}:\varPhi \vdash ^{T}\varGamma \Rightarrow A\}\).

Lemma 2

Let T be a set of formulas, closed under subformulas and \(^{\sim }\). Let \(\varPhi \) be a set of T-sequents of the form (AB). For any T-sequent \(\varGamma _{0}\), \(\varPhi \vdash \varGamma _{0}\) if and only if \(\varPhi \vdash ^{T}\varGamma _{0}\).

Proof

The if-part is obvious. For the only-if part, we consider the phase space \((M,\cdot ,R)\) such that \(M=\mathcal{S}_{T}\), \(\cdot \) is defined as in Sect. 3, and \(R=\{(\varGamma ,\varDelta )\in (\mathcal{S}_{T})^{2}:\varPhi \vdash ^{T}\varGamma ,\varDelta \}\). Clearly R is symmetric and satisfies (COM-R). So the complex algebra of \((M,\cdot ,R)\) is a CNL-algebra. We define: \(\mu (p)=[p]^{T}=\{p^{\sim }\}^{\sim }\) for \(p\in T\); the values of \(\mu \) for \(p\not \in T\) may be arbitrary. One proves: \(\mu (A)=[A]^{T}\) for any \(A\in T\), by the same argument as in Sect. 3. Consequently, if \(\varPhi \vdash ^{T} \varGamma _{0}\) does not hold, then \(\varGamma _{0}\) is not true for \(\mu \), but all sequents in \(\varPhi \) are true for \(\mu \). Therefore \(\varPhi \vdash \varGamma _{0}\) does not hold.     \(\square \)

Corollary 2

Let T be the smallest set of formulas, containing all formulas occurring in \(\varPhi \) or \(\varGamma \) and being closed under subformulas and \(^{\sim }\). If \(\varPhi \vdash \varGamma \), then \(\varPhi \vdash ^{T}\varGamma \).

We prove an interpolation lemma for CNL: every proper substructure \(\varDelta \) of a provable sequent \(\varGamma \) can be replaced by a formula (an interpolant) from a finite set.

Lemma 3

Let \(T,\varPhi ,\varGamma _{0}\) be as in Lemma 2, and let \(\varDelta _{0}\) be a substructure of \(\varGamma _{0}\), \(\varDelta _{0} \ne \varGamma _{0}\). We write \(\varGamma _{0} =\varTheta _{0}[\varDelta _{0}]\). If \(\varPhi \vdash ^{T}\varGamma _{0}\), then there exists \(D\in T\) such that \(\varPhi \vdash ^{T}D^{\sim },\varDelta _{0}\) and \(\varPhi \vdash ^{T}\varTheta _{0}[D]\).

Proof

Assume \(\varPhi \vdash ^{T}\varGamma _{0}\). We proceed by induction on T-proofs from \(\varPhi \). If \(\varDelta _{0}\) is a formula, then \(D=\varDelta _{0}\). So the thesis holds, if \(\varGamma _{0}\) is an axiom (id) or belongs to \(\varPhi \). We assume that \(\varDelta _{0}\) is not a formula.

Case: (r-\(\otimes \)). Then D is the same as in the premise.

Case: (r-\(\oplus \)). \(1^{\circ }\). \(\varDelta _{0}=(\varDelta ,\varGamma )\). Then \(D=(A\oplus B)^{\sim }\). \(2^{\circ }\). \(\varDelta _{0}\) is a substructure of \(\varGamma \) or \(\varDelta \). Then D is as in the appropriate premise.

Cases: (r-sym). D is as in the premise.

Case: (r-com) downwards. If \(\varDelta _{0}=(\varDelta ,\varTheta )\), then \(D=D_{1}^{\sim }\), where \(D_{1}\) is the interpolant of \(\varGamma \) in the premise. Otherwise D is the interpolant of \(\varDelta _{0}\) in the premise. (r-com) upwards is treated in a similar way.

Case: (cut’). D is as in the appropriate premise.     \(\square \)

There are two important consequences of Lemma 3.

Theorem 3

CNL has the strong finite model property (SFMP).

Proof

Let \(\varPhi \) be a finite set of sequents of the form (AB). We show that for any sequent \(\varGamma \), if \(\varPhi \vdash _{CNL}\varGamma \) does not hold, then there exist a finite CNL-algebra \(\mathbf M\) and a valuation \(\mu \) in \(\mathbf M\) such that all sequents from \(\varPhi \) are true for \(\mu \), but \(\varGamma \) is not true for \(\mu \).

Assume \(\varPhi \not \vdash \varGamma \). Let T be defined as in Corollary 2. Clearly T is finite and \(\varPhi \not \vdash ^{T}\varGamma \). Let \(\mathbf M\) be the complex algebra constructed in the proof of Lemma 2, and let \(\mu \) be defined as there. It suffices to show that \(\mathbf M\) is finite, this means: there are only finitely many \(\phi _{R}\)-closed sets, i.e. sets of the form \(X^{\sim }\), for \(X\subseteq \mathcal{S}_{T}\). We have \(X^{\sim }=\bigcap _{\varGamma \in X}\{\varGamma \}^{\sim }\). So it suffices to show that there are only finitely many sets of the form \(\{\varGamma \}^{\sim }\).

Let \(\varDelta \in \{\varGamma \}^{\sim }\). Then, \(\varPhi \vdash ^{T}\varGamma ,\varDelta \). By Lemma 3, \(\varPhi \vdash ^{T}\varGamma ,D\), for some \(D\in T\) such that \(\varPhi \vdash ^{T}D^{\sim },\varDelta \). We have: \(D\in \{\varGamma \}^{\sim }\) and \(\varDelta \in [D]^{T}\). By (F3) (precisely: its version for T-sequents and T-proofs), \([D]^{T}\subseteq \{\varGamma \}^{\sim }\). Consequently, \(\{\varGamma \}^{\sim }\) is the union of some family of sets \([D]^{T}\), for \(D\in T\). There are only finitely many sets \([D]^{T}\) such that \(D\in T\), which yields our claim.     \(\square \)

By a CNL-grammar we mean a triple \(G=(\varSigma ,I,A_{0})\) such that \(\varSigma \) is a nonempty, finite alphabet, I is a map from \(\varSigma \) to the family of finite sets of CNL-formulas, and \(A_{0}\) is a CNL-formula. For any \(\varGamma \in \mathcal{S}\), we define a sequence of formulas \(s(\varGamma )\): \(s(A)=A\), \(s((\varGamma ,\varDelta ))=s(\varGamma )s(\varDelta )\), i.e. the concatenation of \(s(\varGamma )\) and \(s(\varDelta )\). We say that G assigns A to the string \(a_{1}\ldots a_{n}\) (\(a_{i}\in \varSigma \)), if there exists \(\varGamma \in \mathcal{S}\) such that \((A^{\sim },\varGamma )\) is provable, \(s(\varGamma )=A_{1}\ldots A_{n}\) and \(A_{i}\in I(a_{i})\) for \(i=1,\ldots ,n\). Here ‘provable’ means ‘provable in CNL’. We also consider grammars based on CNL augmented with finitely many assumptions; then ‘provable’ means ‘provable from \(\varPhi \) in CNL’, where \(\varPhi \) is the set of assumptions. The language of G is the set of all \(x\in \varSigma ^{+}\) such that G assigns \(A_{0}\) to x.

Theorem 4

Let \(\varPhi \) be a finite set of sequents. Let G be a CNL-grammar based on CNL augmented with the assumptions from \(\varPhi \). Then, the language of G is a context-free language.

Proof

Fix a grammar \(G=(\varSigma ,I,A_{0})\). Let T be the smallest set of formulas which contains \(A_{0}\) and all formulas appearing in \(\varPhi \), I and is closed under subformulas and \(^{\sim }\). Clearly T is finite. Let \((A_{0}^{\sim },\varGamma )\) be provable, \(\varGamma \in \mathcal{S}_{T}\). Let (AB) be a substructure of \(\varGamma \); so \(\varGamma =\varTheta [(A,B)]\). By Lemma 3, there exists \(D\in T\) such that \((D^{\sim },(A,B))\) and \((A_{0}^{\sim },\varTheta [D])\) are provable. Accordingly, every \(\varGamma \in \mathcal{S}_{T}\) such that \((A^{\sim }_{0},\varGamma )\) is provable can be derived (as a derivation tree) from \(A_{0}\) by means of context-free rules: \(A\mapsto B\) (resp. \(A\mapsto B,C\)) such that \(A,B,C\in T\) and \(B\Rightarrow A\) (resp. \((B,C)\Rightarrow A\)) is provable. The language of G is generated by the context-free grammar with the terminal alphabet \(\varSigma \), the nonterminal alphabet T, the start symbol \(A_{0}\), and the production rules as above plus \(A\mapsto a\) for \(A\in I(a)\).     \(\square \)

Conversely, every \(\epsilon \)-free context-free language is generated by some CNL-grammar (without assumptions). This follows from Theorem 2 and the fact that every \(\epsilon \)-free context-free language is generated by an NL-grammar [3].

Theorem 3 implies the decidability of the finitary consequence relation for CNL. We prove that it is decidable in polynomial time. [11] shows the polynomial time decidability of CNL.

Theorem 5

The relation \(\varPhi \vdash \varGamma \), for finite sets \(\varPhi \) and \(\varGamma \in \mathcal{S}^{(2)}\), is decidable in polynomial time.

Proof

A sequent \(\varGamma \in \mathcal{S}^{(2)}\) is said to be restricted, if it is of the form (AB), (A, (BC)) or ((AB), C). So (id) and all sequents from \(\varPhi \) are restricted. Fix a finite set \(\varPhi \) and \(\varGamma _{0}\in \mathcal{S}^{(2)}\). Let T be defined as in Corollary 2 (for \(\varGamma =\varGamma _{0}\)).

By CNL\(^{T}_{r}\) we denote the system whose axioms and rules are those of CNL with (cut’), limited to restricted T-sequents. Clearly there are finitely many restricted T-sequents. All sequents provable in CNL\(^{T}_{r}\) from \(\varPhi \) can be determined in polynomial time (in the size of \(\varPhi \cup \{\varGamma _{0}\}\)).

By CNL\(^{T}_{\varPhi }\) we denote the system whose axioms are all sequents provable in CNL\(^{T}_{r}\) from \(\varPhi \) and the only inference rule is (cut) (now admitting unrestricted T-sequents). Notice that (cut) is not the same as (cut’). Observe that every restricted \(T-\)sequent provable in CNL\(^{T}_{\varPhi }\) must be provable in CNL\(^{T}_{r}\) from \(\varPhi \) (if the conclusion of (cut) is restricted, then the premises are restricted; also (cut) limited to restricted T-sequents is derivable in CNL\(^{T}_{r}\)). We prove:

$$\begin{aligned} \varPhi \vdash _{CNL}^{T}\varGamma \text{ iff } \varGamma \text{ is } \text{ provable } \text{ in } \text{ CNL }^{T}_{\varPhi }. \end{aligned}$$

\((\Leftarrow )\) is obvious. For \((\Rightarrow )\), we observe that CNL\(^{T}_{\varPhi }\) has the interpolation property: if \(\varTheta _{0}[\varDelta _{0}]\) is provable and \(\varDelta _{0} \ne \varTheta _{0}[\varDelta _{0}]\), then there exists \(D\in T\) such that \((D^{\sim },\varDelta _{0})\) and \(\varTheta _{0}[D]\) are provable.

First, one proves this property for \(CNL^{T}_{r}\) with the assumptions from \(\varPhi \) in the same way as Lemma 3. For rules (r-\(\oplus \)), (r-com) one uses the fact that \((A,A^{\sim })\), for \(A\in T\), is provable in CNL\(^{T}_{r}\).

Second, one shows this property for CNL\(^{T}_{\varPhi }\) by induction on derivations based on (cut), which is easy. The only interesting case is the following: \(\varTheta _{0}[\varTheta _{1}[\varDelta ]]\) arises by (cut) from \(A^{\sim },\varDelta \) and \(\varTheta _{0}[\varTheta _{1}[A]]\), and \(\varDelta _{0}=\varTheta _{1}[\varDelta ]\). Then, the interpolant of \(\varDelta _{0}\) equals the interpolant of \(\varTheta _{1}[A]\) in \(\varTheta _{0}[\varTheta _{1}[A]]\).

Third, one shows that all rules of CNL, restricted to T-sequents, are admissible in CNL\(^{T}_{\varPhi }\). We only consider (r-sym). Let \((\varGamma ,\varDelta )\) be provable in CNL\(^{T}_{\varPhi }\). By interpolation, there exist \(C\in T\), \(D\in T\) such that (CD), \((C^{\sim },\varGamma )\), \((D^{\sim },\varDelta )\) are provable in CNL\(^{T}_{\varPhi }\). Since (CD) is provable in CNL\(^{T}_{r}\) from \(\varPhi \), then (DC) is provable in CNL\(^{T}_{r}\) from \(\varPhi \), and consequently, \((\varDelta ,\varGamma )\) is provable in CNL\(^{T}_{\varPhi }\), by two applications of (cut). This yields \((\Rightarrow )\).

By Lemma 2, \(\varPhi \vdash _{CNL}\varGamma _{0}\) if and only if \(\varGamma _{0}\) is provable in CNL\(^{T}_{\varPhi }\). In particular, for a restricted \(\varGamma _{0}\), \(\varGamma _{0}\) is provable in CNL from \(\varPhi \) if and only if \(\varGamma _{0}\) is provable in CNL\(^{T}_{r}\).     \(\square \)

We have noted in Sect. 1 that CNL\(^{-}\) does not have SFMP. The status of Theorems 4 and 5 for CNL\(^{-}\) remains an open problem. They are true for the pure CNL\(^{-}\) (i.e. \(\varPhi =\emptyset \)); the proof will be given in another paper.

Chvalovsky [7] proves that the consequence relation for FNL is undecidable. Since FCNL is a strongly conservative extension of FNL, then the consequence relation for FCNL is undecidable (hence SFMP fails). On the other hand, the analogues of Theorems 3 and 4 hold for DFCNL, i.e. FCNL admitting the distributive laws for \(\vee ,\wedge \), like for DFNL and its variants [5, 6].