This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

\hideLIPIcs

Steklov Mathematical Institute, 8 Gubkina Str. Moscow, Russia and https://www.researchgate.net/profile/Tikhon-Pshenitsyn [email protected]://orcid.org/0000-0003-4779-3143 {CCSXML} <ccs2012> <concept> <concept_id>10003752.10003790.10003801</concept_id> <concept_desc>Theory of computation Linear logic</concept_desc> <concept_significance>500</concept_significance> </concept> <concept> <concept_id>10003752.10003766.10003771</concept_id> <concept_desc>Theory of computation Grammars and context-free languages</concept_desc> <concept_significance>500</concept_significance> </concept> <concept> <concept_id>10003752.10003766.10003767.10003769</concept_id> <concept_desc>Theory of computation Rewrite systems</concept_desc> <concept_significance>300</concept_significance> </concept> </ccs2012> \ccsdesc[500]Theory of computation Linear logic \ccsdesc[500]Theory of computation Grammars and context-free languages \ccsdesc[300]Theory of computation Rewrite systems \fundingThis work was supported by the Russian Science Foundation under grant no.23-11-00104, https://rscf.ru/project/23-11-00104/.

First-Order Intuitionistic Linear Logic and Hypergraph Languages

Tikhon Pshenitsyn
Abstract

The Lambek calculus is a substructural logic known to be closely related to the formal language theory: on the one hand, it is used for generating formal languages by means of categorial grammars and, on the other hand, it is sound and complete with respect to formal language semantics. This paper studies a similar relation between first-order intuitionistic linear logic ILL1 along with its multiplicative fragment MILL1 and the hypergraph grammar theory.
In the first part, we introduce a novel concept of hypergraph first-order logic categorial grammar, which is a generalisation of string MILL1 grammars studied in (Moot, 2014). We prove that hypergraph ILL1 grammars generate all recursively enumerable hypergraph languages and that hypergraph MILL1 grammars are as powerful as linear-time hypergraph transformation systems. Using these results, we solve an open problem from the article (Moot, 2014), which asks whether string MILL1 grammars generate exactly multiple context-free languages. We show that the class of languages generated by string MILL1 grammars is closed under intersection and that it includes a non-semilinar language as well as an NP-complete one. This shows how powerful string MILL1 grammars are as compared to Lambek categorial grammars.
In the second part, we develop hypergraph language models for MILL1. In such models, formulae of the logic are interpreted as hypergraph languages and multiplicative conjunction is interpreted using parallel composition, which is one of the operations of HR-algebras introduced by Courcelle. We prove completeness of the universal-implicative fragment of MILL1 with respect to these models and thus present a new kind of semantics for a fragment of first-order linear logic.

keywords:
linear logic, categorial grammar, MILL1 grammar, first-order logic, hypergraph language, graph transformation, language semantics, HR-algebra

1 Introduction

There is a strong connection between substructural logics, especially non-commutative ones, and the theory of formal languages and grammars [Buszkowski03, MootR12]. This connection is two-way. On the one hand, a logic can be used as a derivational mechanism for generating formal languages, which is the essence of categorial grammars. One prominent example is Lambek categorial grammars based on the Lambek calculus L\mathrm{L} [Lambek58]; formulae of the latter are built using multiplicative conjunction ‘\cdot’ and two directed implications ‘\\backslash’, ‘//’. In a Lambek categorial grammar, one assigns a finite number of formulae of L\mathrm{L} to each symbol of an alphabet and chooses a distinguished formula SS; then, the grammar accepts a string a1ana_{1}\ldots a_{n} if the sequent A1,,AnSA_{1},\ldots,A_{n}\vdash S is derivable in L\mathrm{L} where, for i=1,,ni=1,\ldots,n, AiA_{i} is one of the formulae assigned to aia_{i}. A famous result by Pentus [Pentus93] says that Lambek categorial grammars generate exactly context-free languages (without the empty word, to be precise).

On the other hand, algebras of formal languages can serve as models for substructural logics. For example, one can define language semantics for the Lambek calculus as follows: a language model is a function uu mapping formulas of L\mathrm{L} to formal languages such that u(AB)={vwvu(A),wu(B)}u(A\cdot B)=\{vw\mid v\in u(A),w\in u(B)\}, u(B\A)={wvu(B)vwu(A)}u(B\backslash A)=\{w\mid\forall v\in u(B)\;vw\in u(A)\}, and u(A/B)={vwu(B)vwu(A)}u(A/B)=\{v\mid\forall w\in u(B)\;vw\in u(A)\}; a sequent ABA\vdash B is interpreted as inclusion u(A)u(B)u(A)\subseteq u(B). Another famous result by Pentus with a very complicated proof [Pentus95] is that L\mathrm{L} is sound and complete w.r.t. language semantics; completeness for the fragment of L\mathrm{L} without ‘\cdot’ had been proved earlier by Buszkowski in [Buszkowski82].

Numerous variants and extensions of the Lambek calculus have been studied, including its nonassociative version [MootR12], commutative version [vanBenthem95] (i.e. multiplicative intuitionistic linear logic), the multimodal Lambek calculus [Moortgat96], the displacement calculus [MorrillVF10] etc. These logics have many common properties, which motivates searching for a unifying logic. One such “umbrella” logic is the first-order multiplicative intuitionistic linear logic MILL1\mathrm{MILL}1 [Moot14, MootP01], which is the multiplicative fragment of first-order intuitionistic linear logic ILL1\mathrm{ILL}1. The Lambek calculus can be embedded in MILL1\mathrm{MILL}1 [MootP01]: for example, the L\mathrm{L} sequent pp\qqp\cdot p\backslash q\vdash q is translated into the MILL1\mathrm{MILL}1 sequent p(x0,x1)y(p(y,x1)q(y,x2))q(x0,x2)p(x_{0},x_{1})\otimes\forall y(p(y,x_{1})\multimap q(y,x_{2}))\vdash q(x_{0},x_{2}). Although MILL1\mathrm{MILL}1 is a first-order generalisation of L\mathrm{L}, derivability problems in these logics have the same complexity, namely, they are NP-complete.

One can define MILL1\mathrm{MILL}1 categorial grammars in the same manner as Lambek categorial grammars [Moot14, Slavnov23]. The former generalise of the latter, hence generate all context-free languages. Moot proved in [Moot14] that MILL1\mathrm{MILL}1 grammars generate all multiple context-free languages, hence some non-context-free ones, e.g. {wwwΣ}\{ww\mid w\in\Sigma^{\ast}\}. However, it has remained an open question whether the upper bound is the same:

“Do MILL1\mathrm{MILL}1 grammars without complex terms <…> generate exactly the multiple context-free languages or strictly more?” [Moot14]

It turns out that the interplay between propositional substructural logics and formal grammars can be elevated fruitfully to that between first-order substructural logics and hypergraph grammars, which is the subject of this article. Hypergraph grammar approaches generate sets of hypergraphs; usually they are designed as generalisations of grammar formalisms generating strings. For example, hyperedge replacement grammar [DrewesKH97] is a formalism that extends context-free grammar. A rule of a hyperedge replacement grammar allows one to replace a hyperedge in a hypergraph by another hypergraph; see an example below.

A\boxed{A\to\vbox{\hbox{{}}}}