Keywords

1 The Infinitary Lambek Calculus with Positive Iteration

The Lambek calculus \(\mathbf {L}\) [12] deals with formulae that are built using three connectives, \(\cdot \) (product), \(\mathop {\backslash }\), and \(\mathop {/}\) (left and right divisions). These connectives enjoy a natural interpretation as operations on formal languages (completeness shown by Pentus [17]). There are, however, also other interesting and well-respected operations on formal languages, and it is quite natural to try to extend \(\mathbf {L}\) by adding these operations as new connectives.

One of the most common of such operations is iteration, or Kleene star: for a language M over an alphabet \(\varSigma \) its iteration is defined as follows:

$$M^* = \{ u_1 \dots u_n \mid n \ge 0, u_i \in M \}.$$

As one can notice, \(M^*\) always includes the empty word, \(\varepsilon \). The original Lambek calculus, however, obeys so-called Lambek’s non-emptiness restriction, that is, the empty sequence is never allowed in \(\mathbf {L}\) (this restriction is motivated by linguistic applications; from the algebraic point of view, this means that we’re considering residuated semigroups instead of residuated monoids). Therefore, throughout this paper we consider a modified version of Kleene star, called positive iteration:

$$M^+ = \{ u_1 \dots u_n \mid n \ge 1, u_i \in M \} = M^* - \{ \varepsilon \}.$$

In this paper, we introduce several extensions of the Lambek calculus with this new connective, establish connections between them, and prove some complexity bounds.

Formulae of the Lambek calculus with positive iteration, usually called types, are built from a countable set of variables (primitive types) \(\mathrm {Pr}= \{ p_1, p_2, p_3, \dots \}\) using three binary connectives, \(\cdot \), \(\mathop {\backslash }\), and \(\mathop {/}\), and one unary connective, \({}^+\) (written in the postfix form, \(A^+\)). The set of all types is denoted by \(\mathrm {Tp}\). Types are denoted by capital Latin letters; capital Greek letters stand for finite linearly ordered sequences of types.

Derivable objects are sequents of the form \(\varPi \rightarrow A\), where \(A \in \mathrm {Tp}\) and \(\varPi \) is a non-empty finite sequence of types.

Now let’s define the first calculus for positive iteration, \(\mathbf {L}^{\!+}_{\omega }\). The axioms and the rules for \(\cdot \), \(\mathop {\backslash }\), and \(\mathop {/}\) are the same as in the original Lambek calculus \(\mathbf {L}\):

For \({}^+\), this calculus includes a countable set of right rules:

and one left rule

This rule is an \(\omega \) -rule, or an infinitary rule. Application of such a rule makes the proof tree infinite. This is somewhat unpleasant from the computational point of view, but, as we show later on, it appears to be inevitable.

The rules \((\rightarrow {}^+)_n\) and \(({}^+\rightarrow )_\omega \) come from the rules for iteration in infinitary action logic, \(\mathbf {ACT}_{\omega }\) [4]. Our system \(\mathbf {L}^{\!+}_{\omega }\) differs from \(\mathbf {ACT}_{\omega }\) in the following two points.

  1. 1.

    \(\mathbf {L}^{\!+}_{\omega }\) enriches the “pure” (multiplicative) Lambek calculus \(\mathbf {L}\), while \(\mathbf {ACT}_{\omega }\) is based on the full Lambek calculus \(\mathbf {FL}\), including also additive conjunction (\(\wedge \)) and disjunction (\(\vee \)). This means that complexity lower bounds for \(\mathbf {L}^{\!+}_{\omega }\) are stronger results than lower bounds for \(\mathbf {ACT}_{\omega }\).

  2. 2.

    In contrast to \(\mathbf {ACT}_{\omega }\), in \(\mathbf {L}^{\!+}_{\omega }\) we have Lambek’s non-emptiness restriction, and therefore use positive iteration instead of Kleene star.

The cut rule of the form

is admissible in \(\mathbf {L}^{\!+}_{\omega }\). This fact is proved by the same transfinitary cut-elimination procedure, as presented by Palka [14] for \(\mathbf {ACT}_{\omega }\) (for a restricted fragment of \(\mathbf {L}^{\!+}_{\omega }\) cut elimination was independently shown by Ryzhkova [21]).

The admissibility of \((\mathrm {cut})\) yields the fact that the rules \((\rightarrow \mathop {\backslash })\), \((\rightarrow \mathop {/})\), \((\cdot \rightarrow )\), and, most interestingly, \(({}^+\rightarrow )_\omega \) are invertible.

The Lambek calculus \(\mathbf {L}\), defined by axioms \((\mathrm {ax})\) and rules \((\rightarrow \mathop {\backslash })\), \((\mathop {\backslash }\rightarrow )\), \((\rightarrow \mathop {/})\), \((\mathop {/}\rightarrow )\), \((\rightarrow \cdot )\), and \((\cdot \rightarrow )\), is a conservative fragment of \(\mathbf {L}^{\!+}_{\omega }\). Cut elimination for \(\mathbf {L}\) was known already by Lambek [12].

The calculus \(\mathbf {L}^{\!+}_{\omega }\) defined in this section is sound with respect to the intended interpretation on formal languages, where \({}^+\) is interpreted as positive iteration:

$$ M^+ = \{ u_1 \dots u_n \mid n \ge 1, u_i \in M \}, $$

and the Lambek connectives are interpreted in the same way as for \(\mathbf {L}\):

$$\begin{aligned} M \cdot N&= \{ uv \mid u \in M, v \in N \},\\ M \mathop {\backslash }N&= \{ u \in \varSigma ^+ \mid (\forall v \in M) \, vu \in N \}, \\ N/M&= \{ u \in \varSigma ^+ \mid (\forall v \in M) \, uv \in N \}. \end{aligned}$$

The arrow, \(\rightarrow \), is interpreted as the subset relation.

Completeness with respect to this interpretation is an open problem.

2 \(\varPi _1^0\)-completeness of \(\mathbf {L}^{\!+}_{\omega }\)

In this section we prove that derivability in \(\mathbf {L}^{\!+}_{\omega }\) is \(\varPi _1^0\)- (co-r.e.-) hard. Basically, we follow the same strategy as Buszkowski [4], namely, encoding the totality problem for context-free grammars. Our construction, however, is more involved: instead of embedding context-free grammars into the Lambek environment as Ajdukiewicz – Bar-Hillel basic categorial grammars, we use another translation by Safiullin [22] which yields a categorial grammar that assigns exactly one type to each letter of the alphabet. This trick allows us to avoid using additive operations, and prove the complexity lower bound for the extension of the original, purely multiplicative Lambek calculus \(\mathbf {L}\). For the purely multiplicative fragment of \(\mathbf {ACT}_{\omega }\), the lower complexity bound was left as an open problem by Buszkowski in [4]. Here we solve not that problem exactly, but its version with Lambek’s restriction.

Throughout this paper, all languages do not contain the empty word. Accordingly, all context-free grammars do not contain \(\varepsilon \)-rules. By \(\textsc {total}^+\) we denote the set of all context-free grammars \(\mathcal {G}\) such that the language generated by \(\mathcal {G}\) is the set of all non-empty words, \(\varSigma ^+\). The problem \(\textsc {total}^+\) is \(\varPi _1^0\)-hard. Indeed, as shown in [4], \(\textsc {total}\), the totality problem for context-free grammars possibly using the empty word, reduces to \(\textsc {total}^+\). In its turn, \(\textsc {total}\) itself is known to be undecidable, and standard proofs of this fact actually yield more: they reduce a well-known \(\varSigma _1^0\)- (r.e.-) complete problems, e.g., Post’s correspondence problem [7, Theorem 9.22] or halting problem for Turing machines [5, Example 5.43], to the complement of \(\textsc {total}\). This makes \(\textsc {total}\) and \(\textsc {total}^+\) themselves \(\varPi _1^0\)-complete.

We can further restrict ourselves to context-free grammars over a two-letter alphabet, \(\{ b, c \}\). Denote the \(\varepsilon \)-free totality problem over \(\{ b, c\}\) by \(\textsc {total}^+_2\). The original problem \(\textsc {total}^+\) is reduced to \(\textsc {total}^+_2\) in the following way. Let \(\mathcal {G}\) be a context-free grammar that defines a language \(\mathcal {L}(\mathcal {G})\) over \(\varSigma = \{ a_0, a_1, \dots , a_n \}\). The homomorphism \(h :a_i \mapsto b^{i} c\) is a one-to-one correspondence between \(\varSigma ^+\) and \(\{ u \in \{ b,c \}^+ \mid u \text { ends on } c \text { and doesn't contain } b^{n+1} \text { as a subword} \}\). Now we can computably transform \(\mathcal {G}\) into a new context-free grammar \(\mathcal {G}'\) for the language \(h(\mathcal {L}(\mathcal {G})) \cup \{ u \in \{b,c\}^+ \mid u \text { ends on } \)b\( \text { or contains } b^{n+1} \text { as a subword} \}\) over \(\{b,c\}\). Clearly, \(\mathcal {G}\in \textsc {total}^+ \iff \mathcal {G}' \in \textsc {total}_2^+\). This establishes the necessary reduction and \(\varPi _1^0\)-hardness of \(\textsc {total}_2^+\).

Finally, we consider the alternation problem for context-free grammars over \(\{ b, c \}\), denoted by \(\textsc {alt}_2\). A context-free grammar \(\mathcal {G}\) belongs to \(\textsc {alt}_2\) if the language it generates includes the language \((\{b\}^+ \{c\}^+)^+ = \{ b^{m_1} c^{k_1} \ldots b^{m_n} c^{k_n} \mid n \ge 1, m_i \ge 1, k_j \ge 1 \}\) (as a subset). Clearly, \(\textsc {alt}_2\) is also \(\varPi _1^0\)-hard by reduction of \(\textsc {total}_2^+\), since \(M = \{ b, c \}^+ \iff \{b\} \cdot M \cdot \{c\} \supseteq (\{b\}^+ \{c\}^+)^+\).

Now we need an encoding of context-free grammars in the Lambek calculus. A Lambek categorial grammar with unique type assignment over the alphabet \(\{ a_1, \dots , a_n \}\) consists of \((n+1)\) types (without the \(^+\) connective) \(A_1, \dots , A_n, H\) (H is called the target type), and a word \(w = a_{i_1} \dots a_{i_m}\) belongs to the language generated by this grammar iff the sequent \(A_{i_1}, \dots , A_{i_m} \rightarrow H\) is derivable in \(\mathbf {L}\). These grammars have the same expressive power as context-free grammars (without \(\varepsilon \)-rules).

Theorem 1

(A. Safiullin, 2007). For every context-free language there exists, and can be effectively constructed from the original context-free grammar, a Lambek categorial grammar with unique type assignment [22].

The inverse translation, from Lambek categorial grammars to context-free grammars, is also available due to Pentus [15] (in this paper we don’t need it). In order to make this paper logically self-contained, we revisit Theorem 1 and give its full proof in the Appendix (in Safiullin’s paper [22], the proof is only briefly sketched).

Now we’re ready to prove the main result of this section.

Theorem 2

The derivability problem for \(\mathbf {L}^{\!+}_{\omega }\) is \(\varPi _1^0\)-complete.

Proof

The fact that this problem belongs to class \(\varPi _1^0\) (the upper bound) is established by the same argument as for \(\mathbf {ACT}_{\omega }\) in [14].

To prove \(\varPi _0^1\)-hardness of the derivability problem in \(\mathbf {L}^{\!+}_{\omega }\) (the lower bound), we encode \(\textsc {alt}_2\). For every context-free grammar \(\mathcal {G}\) over \(\{b,c\}\) we algorithmically construct an \(\mathbf {L}^{\!+}_{\omega }\)-sequent \(E \rightarrow H\) such that

$$\mathcal {G}\in \textsc {alt}_2 \iff E \rightarrow H \text { is derivable in } \mathbf {L}^{\!+}_{\omega }.$$

First we apply Theorem 1 to \(\mathcal {G}\) and obtain a Lambek categorial grammar with unique type assignment. In this case, it consists of three types, B, C, and H. Next, let \(E = (B^+ \cdot C^+)^+\).

Now, since the \((\cdot \rightarrow )\) and \(({}^+\rightarrow )\) rules are invertible, the sequent \(E \rightarrow H\) is derivable in \(\mathbf {L}^{\!+}_{\omega }\) iff for any positive natural numbers n, \(m_1\), ..., \(m_n\), \(k_1\), ..., \(k_n\) the sequent \(B^{m_1}, C^{k_1}, \dots , B^{m_n}, C^{k_n} \rightarrow H\) is derivable in \(\mathbf {L}^{\!+}_{\omega }\), and, since it doesn’t contain \(^{+}\), by conservativity also in the Lambek calculus \(\mathbf {L}\). By definition of Lambek grammar, this is equivalent to \(b^{m_1} c^{k_1} \dots b^{m_n} c^{k_n} \in \mathcal {L}(\mathcal {G})\). Therefore, \(E \rightarrow H\) is derivable iff the language generated by \(\mathcal {G}\) includes all words of the form \(b^{m_1} c^{k_1} \dots b^{m_n} c^{k_n}\), i.e., \(\mathcal {G}\in \textsc {alt}_2\).

3 The Calculus with Infinite Derivation Branches

In this section we define \(\mathbf {L}^{\!+}_{\infty }\), another infinitary calculus that extends \(\mathbf {L}\) with positive iteration, in the spirit of sequent systems with non-well-founded derivations for other logics [2, 13, 24]. Compared to \(\mathbf {L}^{\!+}_{\omega }\), \(\mathbf {L}^{\!+}_{\infty }\) has a finite number of rules and each rule has a finite number of premises. The tradeoff is that now derivation trees are allowed to have infinite depth.

The Lambek part (rules for \(\mathop {\backslash }\), \(\mathop {/}\), and \(\cdot \)) is taken from \(\mathbf {L}\). The rules for positive iteration are as follows:

As said before, we allow infinitely deep derivations. For the cut-free version, any trees with possibly infinite paths are allowed, but for the calculus with \((\mathrm {cut})\) one has to be extremely cautious. Clearly, allowing arbitrary infinite proofs would yield dead circles without actually using rules for \(^+\):

Such “derivations” should be ruled out. There are, however, trickier cases like the following:

Here in the only infinite path we can see an infinite number of \(({}^+\rightarrow )\) applications. However, the resulting sequent, \(p^+ \rightarrow p\), is not valid under the formal language interpretation (e.g., \(\{a\}^+ \not \subseteq \{a\}\)) and therefore should not be derivable.

For the calculus with \((\mathrm {cut})\), we impose the following constraint on the infinite derivation tree: in each infinite path there should be an infinite number of applications of \(({}^+\rightarrow )_{\mathrm {L}}\) with the same active occurrence of \(A^+\) (the occurrence is tracked by individuality from bottom to top), cf. [2, Definition 5.5].

In our example that “derives” \(p^+ \rightarrow p\), the occurrence of \(p^+\) that is active in the lower application of \(({}^+\rightarrow )_\mathrm {L}\) tracks to the left premise, and the \(p^+\) that goes further to the infinite path is another occurrence generated by cut. For the cut-free system, this constraint holds automatically.

Also notice that the rules in \(\mathbf {L}^{\!+}_{\infty }\) are asymmetric: we don’t introduce the rules where A appears to the right of \(A^+\). Yet, this calculus is equivalent to the symmetric system \(\mathbf {L}^{\!+}_{\omega }\) (Proposition 1). A motivation for this asymmetry is explained in the end of Sect. 4.

We generalize both \(\mathbf {L}^{\!+}_{\infty }\) and \(\mathbf {L}^{\!+}_{\omega }\) by adding the additive disjunction, \(\vee \), governed by the following rules:

and denote the extensions by \(\mathbf {L}^{\!+}_{\infty }(\vee )\) and \(\mathbf {L}^{\!+}_{\omega }(\vee )\) respectively.

The cut-free calculi \(\mathbf {L}^{\!+}_{\omega }(\vee )\) and \(\mathbf {L}^{\!+}_{\infty }(\vee )\) (and, therefore, their conservative fragments \(\mathbf {L}^{\!+}_{\omega }\) and \(\mathbf {L}^{\!+}_{\infty }\)) are equivalent.

Proposition 1

A sequent is derivable in \(\mathbf {L}^{\!+}_{\omega }(\vee )\) iff it is derivable in \(\mathbf {L}^{\!+}_{\infty }(\vee )\).

Proof

(sketch of). The “only if” part is trivial: the \(\omega \)-rule is derivable in \(\mathbf {L}^{\!+}_{\infty }(\vee )\) and so are the \((\rightarrow {}^+)_n\) rules. All other rules are the same.

For the “if” part, we make use of the \(*\)-elimination result by Palka [14]. We consider the n-th negative mapping that replaces any negative occurrence of \(A^+\) (polarity is defined as usual) by \(A \vee A^2 \vee \ldots \vee A^n\) and show that if a sequent is derivable in \(\mathbf {L}^{\!+}_{\infty }(\vee )\), than all its negative mappings are also derivable. In the negative mapping, however, there are no negative occurrences of \(^+\), and therefore its cut-free derivation doesn’t have infinite branches. Moreover, we replace each \((\rightarrow {}^+)_\mathrm {L}\) rule application with the following subderivation:

The sequent \(A, A^+ \rightarrow A^+\) is derivable in \(\mathbf {L}^{\!+}_{\omega }(\vee )\), using the \(\omega \)-rule. Thus, the negative mapping of the original is derivable in \(\mathbf {L}^{\!+}_{\omega }(\vee )\) using cut, and, by cut elimination, has a cut-free derivation. Then we go backwards and show, following the argument of Palka [14], that the original sequent is derivable in \(\mathbf {L}^{\!+}_{\omega }(\vee )\).

4 The Cyclic Calculus

Now let’s consider the following example:

We see that actually we don’t have to develop the derivation tree further, since the sequent \(p, (p \mathop {\backslash }p)^+ \rightarrow p\) on top already appears lower in the derivation, and now this tree can be built up to an infinite one in a regular way.

We define the notion of cyclic proof as done in [24, 25] (for GL, the Gödel – Löb logic) and call this system \(\mathbf {L}^{\!+}_{\mathrm {circ}}\). In contrast to the situation with GL, however, here \(\mathbf {L}^{\!+}_{\mathrm {circ}}\) is strictly weaker than \(\mathbf {L}^{\!+}_{\omega }\) (\(\mathbf {L}^{\!+}_{\infty }\)) due to complexity reasons. Indeed, \(\mathbf {L}^{\!+}_{\omega }\) is \(\varPi _1^0\)-hard, while in \(\mathbf {L}^{\!+}_{\mathrm {circ}}\) derivations are finite and the derivability problem is recursively enumerable (belongs to \(\varSigma _1^0\)). This is true even in the signature without \(\vee \).

For the extension of \(\mathbf {L}^{\!+}_{\mathrm {circ}}\) with additive disjunction, we show that the cyclic system \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) is equivalent to the corresponding variant of action logic considered by Pratt [19], Kozen [10], and Jipsen [9]. The difference is due to Lambek’s non-emptiness restriction and the use of positive iteration instead of Kleene star.

Formally, cyclic derivations are defined as follows. The system \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) has the same axioms and rules as \(\mathbf {L}^{\!+}_{\infty }(\vee )\), but infinite derivations are not allowed. Instead, for each application of the \(({}^+\rightarrow )_{\mathrm {L}}\) rule that yields \(\varGamma , A^+, \varDelta \rightarrow B\) we trace the active occurrence of \(A^+\) upwards and are allowed to stop if we again get the same sequent, \(\varGamma , A^+, \varDelta \rightarrow B\) with the same occurrence of \(A^+\). This sequent is backlinked to the original one, forming a cycle. The cut rule is also allowed. Note that in the bottom of each cycle we always have the \(({}^+\rightarrow )_{\mathrm {L}}\) rule with the active occurrence of \(A^+\) which is traced through the cycle, thus satisfying the constraint needed for infinite derivations with cut. Clearly, every cyclic derivation can be expanded into an infinite one. On the other hand, the cyclic system \(\mathbf {L}^{\!+}_{\mathrm {circ}}\) is not equivalent to \(\mathbf {L}^{\!+}_{\infty }\) due to complexity reasons.

This system \(\mathbf {L}^{\!+}_{\mathrm {circ}}\) appears to have much in common with various coinductive proof systems [1, 8, 11, 18, 20]. These connections are worth further investigation.

The cyclic system \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) happens to be equivalent to a non-sequential calculus \(\mathbf {ACT}^+\) defined below, which is the positive iteration variant of the axioms for action algebras by Pratt [19]:

$$ A \rightarrow A \qquad (A \cdot B) \cdot C \rightarrow A \cdot (B \cdot C) \qquad A \cdot (B \cdot C) \rightarrow (A \cdot B) \cdot C $$

The rules for \(\mathop {\backslash }\), \(\mathop {/}\), and \(\cdot \) correspond to the non-sequential formulation of the Lambek calculus [12].

Lemma 1

The following rule is admissible in \(\mathbf {ACT}^+\):

This lemma is actually a modification of a well-known alternative formulation of the calculus for action logic (connecting it to Kleene algebra). The difference, again, is in using positive iteration instead of Kleene star.

Proof

The second premise yields \(A \rightarrow C \mathop {\backslash }C\), and since \((C \mathop {\backslash }C) \cdot (C \mathop {\backslash }C) \rightarrow C \mathop {\backslash }C\) is derivable, we get \(A \vee ((C \mathop {\backslash }C) \cdot (C \mathop {\backslash }C)) \rightarrow C \mathop {\backslash }C\), and therefore \(A^+ \rightarrow C \mathop {\backslash }C\) and then \(C \rightarrow C{\mathop {/}}A^+\). By transitivity with \(A \rightarrow C\) this yields \(A \rightarrow C{\mathop {/}}A^+\), and therefore \(A \cdot A^+ \rightarrow C\). Combining this with \(A \rightarrow C\), we get \(A \vee (A \cdot A^+) \rightarrow C\), and it is sufficient to show \(A^+ \rightarrow A \vee (A \cdot A^+)\). Denote \(A \vee (A \cdot A^+)\) by B. We have \(A \rightarrow B\) and also \(B \cdot B \rightarrow B\). Indeed, using distributivity conditions: \((E \vee F) \cdot G \leftrightarrow (E \cdot G) \vee (E \cdot G)\) and \(G \cdot (E \vee F) \leftrightarrow (G \cdot E) \vee (G \cdot F)\), that are derivable in \(\mathbf {ACT}^+\), we replace \(B \cdot B\) with \((A \cdot A) \vee (A \cdot A \cdot A^+) \vee (A \cdot A^+ \cdot A) \vee (A \cdot A^+ \cdot A \cdot A^+)\), and applying the axiom for \({}^+\) and monotonicity, we see that all four disjuncts here yield \(A \cdot A^+\), and therefore B. Hence, by the rule for \({}^+\), we obtain \(A^+ \rightarrow B\).

Lemma 2

The following rule is admissible in \(\mathbf {ACT}^+\):

Lemma 2 is essential for emulating cyclic reasoning in the non-sequential calculus \(\mathbf {ACT}^+\). The k parameter corresponds to the number of \(({}^+\rightarrow )_\mathrm {L}\) applications in the cycle.

Proof

First we prove that

$$A^+ \rightarrow A \vee A^2 \vee \ldots \vee A^k \vee (A^k)^+ \vee (A^k)^+ \cdot A \vee \ldots \vee (A^k)^+ \cdot A^{k-1}$$

is derivable in this calculus. We denote the right-hand side of this formula by B and show \(A \rightarrow B\) and \(B \cdot A \rightarrow B\) (this yields \(A^+ \rightarrow B\) by Lemma 1). The first is trivial. For the second, using distributivity conditions, we replace \(B \cdot A\) with

$$A^2 \vee A^3 \vee \ldots \vee A^k \vee A^{k+1} \vee (A^k)^+ \cdot A \vee (A^k)^+ \cdot A^2 \vee \ldots \vee (A^k)^+ \cdot A^k \vee (A^k)^+ \cdot A^{k+1}.$$

All types in this long disjunction, except \(A^{k+1}\) and \((A^k)^+ \cdot A^{k+1}\), belong to the disjunction B (and therefore yield B). For the two exceptions we have the following: \(A^{k+1} \rightarrow (A^k)^+ \cdot A\) and \((A^k)^+ \cdot A^{k+1} \rightarrow (A^k)^+ \cdot A\).

Now we prove the lemma itself by deriving \(B \rightarrow C\). To do this, we need to show \(H \rightarrow C\) for any disjunct H in B. For \(H = A\), ..., \(H = A^k\) this is stated in the premises. Since that \((C{\mathop {/}}C) \cdot (C{\mathop {/}}C) \rightarrow C{\mathop {/}}C\) is derivable and \(A^k \rightarrow C{\mathop {/}}C\) follows from the last premise, we get \(A^k \vee ((C{\mathop {/}}C) \cdot (C{\mathop {/}}C)) \rightarrow (C{\mathop {/}}C)\), and therefore \((A^k)^+ \rightarrow C{\mathop {/}}C\). Thus, \((A^k)^+ \cdot C \rightarrow C\), then \(C \rightarrow (A^k)^+ \mathop {\backslash }C\), and by transitivity with \(A^i \rightarrow C\) we get \((A^k)^+ \cdot A^i \rightarrow C\) for any \(i = 1, \dots , k-1\). It remains to show \((A^k)^+ \rightarrow C\). We have \((A^k)^+ \cdot A^k \rightarrow C\) and also \(A^k \rightarrow C\) as a premise. One can easily prove \((A^k)^+ \rightarrow A^k \vee ((A^k)^+ \cdot A^k)\) and thus establish \((A^k)^+ \rightarrow C\).

Finally, by transitivity from \(A^+ \rightarrow B\) and \(B \rightarrow C\) we obtain \(A^+ \rightarrow C\).

Theorem 3

A sequent (of the form \(E \rightarrow F\)) is derivable in \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) iff it is derivable in \(\mathbf {ACT}^+\).

Proof

The “if” part is easier. The rules operating Lambek connectives (\(\cdot \), \(\mathop {/}\), and \(\mathop {\backslash }\)) can be emulated in the sequential calculus due to Lambek [12]. The rules for \(\vee \) in \(\mathbf {ACT}^+\) directly correspond to the rules for \(\vee \) in \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\).

The following cyclic derivation yields \(A^+ \rightarrow B\) from \(A \rightarrow B\) and \(B, B \rightarrow B\), thus establishing the rule for \(^+\) from \(\mathbf {ACT}^+\):

The track of \(A^+\) goes through the cycle, and the \(({}^+\rightarrow )_\mathrm {L}\) rule is applied to it at every round.

Finally, for \(A^+ \cdot A^+ \rightarrow A^+\), we first derive \(A \cdot A^+ \rightarrow A^+\) (using \((\rightarrow ^+)_{\mathrm {L}}\) and \((\cdot \rightarrow )\)), and then, following Pratt [19], transform it into \(A^+ \cdot A^+ \rightarrow A^+\):

In this derivation we’ve used other rules of \(\mathbf {ACT}^+\), which were previously shown to be valid in \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\). Together with \(A \rightarrow A^+\) (derivable using \((\rightarrow {}^+)_1\)), this yields the last axiom of \(\mathbf {ACT}^+\), \(A \vee (A^+ \cdot A^+) \rightarrow A^+\).

For “only if” part, we first replace all cycles in the \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) derivation by applications of the rule from Lemma 2. We proceed by induction on the number of cycles. For the induction step, let the derivation end with an application of \((^{}+\rightarrow )_\mathrm {L}\), involved in a cycle. Let k be the number of applications of \(({}^+\rightarrow )_{\mathrm {L}}\) to the active occurrence of \(A^+\) that is tracked along this cycle. Let the goal sequent be \(\varGamma , A^+, \varDelta \rightarrow B\); the same sequent appears on top of the cycle:

Let \(C = \varGamma \mathop {\backslash }B{\mathop {/}}\varDelta \) (if \(\varGamma \) or \(\varDelta \) contains more than one formula, we add \(\cdot \)’s between them; if \(\varGamma \) or \(\varDelta \) is empty, we omit the corresponding division). The sequent \(\varGamma , C, \varDelta \rightarrow B\) is derivable in the Lambek calculus. Then we go down the cycle path, replacing the active \(A^+\) with \(A^i, C\). We start with \(i = 0\) and increase i each time we come across \(({}^+\rightarrow )_{\mathrm {L}}\) applied to the active \(A^+\). After this substitution, this application becomes trivial: instead of

we get

and actually forget about the left premise of the rule. All other rules remain valid. In the end, this gives us \(\varGamma , A^k, C, \varDelta \rightarrow B\), or \(A^k \cdot C \rightarrow C\). Moreover, the derivation of this sequent was obtained by substitution and cutting some branches from the original derivation, and therefore contains less cycles. By induction, we can suppose that \(A^k \cdot C \rightarrow C\) was derived without cycles, using the rule from Lemma 2.

Next, for an arbitrary j from 1 to k, we go upwards along the trace of the active \(A^+\) and find the j-th application of \(({}^+\rightarrow )_{\mathrm {L}}\):

Now we cut off the right (cyclic) derivation branch and replace \(A^+\) in the goal with A. Next, we trace it down back to the original sequent, replacing \(A^+\) with \(A^i\). The index i starts from 1 and gets increased each time we pass through the \(({}^+\rightarrow )_{\mathrm {L}}\) rule with the active \(A^+\). Again, these applications trivialize, all other rules remain valid. In the end, we get \(\varGamma , A^j, \varDelta \rightarrow B\) derivable with a less number of cycles. This yields \(A^j \rightarrow C\).

Finally, having \(A \rightarrow C\), \(A^2 \rightarrow C\), ..., \(A^k \rightarrow C\), and \(A^k \cdot C \rightarrow C\), we apply Lemma 2 and obtain \(A^+ \rightarrow C\). Using cut, we invert \((\cdot \rightarrow )\), \((\rightarrow \mathop {/})\), and \((\rightarrow \mathop {\backslash })\), decompose C and arrive at the original goal sequent \(\varGamma , A^+, \varDelta \rightarrow B\).

This finishes the non-trivial part of the proof: now we have a normal, non-cyclic derivation, and it remains to show that other rules of \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) used in it are admissible in \(\mathbf {ACT}^+\). (Formally speaking, the languages of \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) and \(\mathbf {ACT}^+\) are different. In \(\mathbf {ACT}^+\), instead of sequents of the form \(A_1, \dots , A_n \rightarrow B\), we consider \(A_1 \cdot \ldots \cdot A_n \rightarrow B\).)

The rules for Lambek connectives (\(\mathop {\backslash }\), \(\mathop {/}\), and \(\cdot \)), and also the cut rule, are admissible in \(\mathbf {ACT}^+\) due to Lambek [12]. The rules for \(\vee \) correspond directly. Finally, the \((\rightarrow {}^+)_1\) and \((\rightarrow {}^+)_{\mathrm {L}}\) are validated as follows (here we use previously validated Lambek rules):

Note that, despite the fact that the calculus for \(\mathbf {ACT}^+\) is symmetric, the asymmetry in the rules of \(\mathbf {L}^{\!+}_{\mathrm {circ}}(\vee )\) is essential for our reasoning, because if we allow both left and right rules for \({}^+\), the rule from Lemma 2, that is used to emulate cyclic derivation, would transform into

and for this rule we don’t know whether it is admissible in \(\mathbf {ACT}^+\).

5 Further Work and Open Questions

In this section we summarize the questions that are still (to the author’s best knowledge) unsolved.

  1. 1.

    Though we don’t claim cut elimination for \(\mathbf {L}^{\!+}_{\infty }\) in this paper, it looks plausible that it could be proven using continuous cut elimination (cf. [13, 23]). For \(\mathbf {L}^{\!+}_{\mathrm {circ}}\), however, the problem looks harder, since if one unravels the cyclic derivation into an infinite one and eliminates cut, the resulting derivation could be not cyclic anymore.

  2. 2.

    In this paper we use complexity arguments to show that \(\mathbf {L}^{\!+}_{\omega }\) is strictly more powerful than any its subsystem with finite derivations. This doesn’t yield any examples of concrete sequents derivable in \(\mathbf {L}^{\!+}_{\omega }\) and not derivable, say, in \(\mathbf {L}^{\!+}_{\mathrm {circ}}\). Constructing such examples is yet an open problem.

  3. 3.

    We don’t know whether the rule in the end of Sect. 4 is admissible if \(\mathbf {ACT}^+\). If yes, we could allow both left and right rules for \({}^+\) is cyclic derivations, and this system would be still equivalent to \(\mathbf {ACT}^+\).

  4. 4.

    Safiullin’s construction (see Appendix) essentially uses Lambek’s non-emptiness restriction. The question whether any context-free language can be generated by a categorial grammar with unique type assignment, based on the variant of the Lambek calculus allowing empty left-hand sides of sequents, is still open. From our perspective, a positive answer to this question (maybe, by modification of Safiullin’s construction) would immediately yield \(\varPi _1^0\)-hardness of the Lambek calculus allowing empty left-hand sides of sequents, enriched with Kleene star (but without additive conjunction and disjunction), thus solving a problem posed by Buszkowski [4].

  5. 5.

    An open (and, in the view of the sophisticatedness of Pentus’ completeness proof [17], very hard) question is the completeness of \(\mathbf {L}^{\!+}_{\omega }\) w.r.t. language interpretation (see Sect. 1). A partial completeness result, for the fragment where \(^+\) is allowed only in the denominators of \(\mathop {\backslash }\) and \(\mathop {/}\), was obtained by Ryzhkova [21], using Buszkowski’s canonical model construction [3].