A unified view of modal and substructural logics Elaine Pimentel1 , Bj¨orn Lellmann2 and Carlos Olarte3? 1

2

Department of Mathematics, UFRN, Brazil Department of Computer Languages, TU Wien, Austria 3 ECT, UFRN, Brazil

Abstract. It is well known that context dependent logical rules can be hard to both, implement and reason about. This is one of the reasons for the quest for better behaved logical systems. In the case of modalities, local rules can be, in general, described using generalizations of sequent calculus systems. In this work, we propose a general framework for describing systems based on multiplicative additive linear logic plus simply dependent multimodalities. This class of systems includes linear logic with subexponentials (SELL) and hybrid linear logics. The chosen approach is linear nested sequents (LNS). It turns out that LNS systems can be adequately encoded into (plain) linear logic, showing that LL is, in fact an “universal framework” for the specification of logical systems. From the theoretical point of view, our results show that (1) logics such as SELL, that were thought to be more expressive than LL, are, in fact, equally expressive; and (2) it is possible to give an uniform presentation to linear logics featuring different axioms of modalities. From the practical point of view, our results: (3) lead to a generic way of building theorem provers for different logics, all of them based on the same grounds; and (4) allow for the use of the same logical framework for reasoning about all such logical systems.

1

Introduction

One feature often common in modal/substructural logics is that the sequent rules for modal connectives are context dependent. For example, in linear logic (LL) [Gir87] the promotion rule ` ?Γ, F prom ` ?Γ, ! F is such that the bang can be introduced only if the context is classical, i.e., all formulas in Γ are marked with ?. This lack of locality is often a problem for either describing different modalities in a modular way or proving meta-level properties about the systems, such as cut-elimination. In fact, being able to provide a general framework for reasoning about different logical systems usually implies that the systems themselves have an adequate syntax, i.e., modular enough. In order to illustrate that, in a series of works [MP02,MP04,PM05,MP13], linear logic was used as a framework for specifying and reasoning about sequent systems. ?

Pimentel and Olarte are funded by CNPq and CAPES. Lellmann is funded by the EU under Marie Skłodowska-Curie grant agreement No. 660047.

While LL was general enough for capturing classical and intuitionistic features, basically, the only modality that could be specified was its own. More complex modalities, like classical S4 or multi-conclusion intuitionistic systems, for example, could be handled only with the help of the so called subexponentials [DJS93] (see [NPR14]). While this could signalize that LL is not general enough for capturing certain features of proof systems, it also indicates that some proof systems are just not adequate for describing modalities. In fact, consider the known rules for k and d Γ`A k Γ 0 , Γ ` A, ∆

Γ, A ` d Γ 0 , Γ, A ` ∆

These rules are not modular, since they introduce more than one connective at a time. In [LP15], we used a generalization of sequent calculus called linear nested sequents, and showed that, by separating left and right introduction rules for the modalities, LL could be used for specifying various classical modal systems. This led to two interesting results: 1) modular theorem provers can be automatically generated for such logics; and 2) LL, as a logical framework, could be used for reasoning about object level properties of modal logics. In this paper we move to the linear (resource conscious) case. On understanding better the locality of LL, we are able to modularly describe other kinds of modalities, such as the subexponentials and other substructural behaviors. As an unexpected side effect, we show that the system SELL [DJS93,OPN15] for linear logic with subexponentials can be encoded in linear logic, showing that subexponentials, in fact, do not enhance the expressive power of linear logic as a logical framework.

Organization and contributions In Section 2 we propose the system LNSLL , a system with local rules for linear logic using linear nested sequents. The promotion rule of LNSLL does not require to test the context to be applied, thus making it simpler and more elegant form the theoretical point of view and also more suitable for implementation. We also present the system FLNSLL , a focused version of LNSLL . In Section 3 we extend the concept of simply dependent multimodal logics [Dem00] to the linear case. We give a general view of different modalities where LL is the base logic. We call such systems simply dependent multimodal linear systems (SDMLS). We show that different extensions of linear logic such as Elementary Linear Logic and Linear Logic with Subexpoentials (SELL) are particular instances of SDMLS. Section 4 shows that all the machinery of SDMLS can be encoded into (plain) LL. The results of this section have interesting consequences. We show that SELL, that were thought to be more expressive than LL, is in fact as expressive as LL. This shows that LL is indeed a universal framework that carries itself all the information of its extensions. As a more practical outcome, we show how a prover for linear logic can be used to prove theorems of different (modal) logics. Finally, Section 5 concludes the paper.

` Γ1 , F ` Γ2 , F ⊥ cut ` p, p⊥ ` Γ1 , Γ2 `Γ ` Γ, F, G ` Γ, F ` Γ, G ` Γ, F[y/x] ⊥ O > & ∀ ` Γ, ⊥ ` Γ, FOG ` Γ, > ` Γ, F & G ` Γ, ∀x.F ` Γ1 , F ` Γ2 , G ` Γ, Fi ` Γ, F[t/x] 1 ⊗ ⊕i ∃ `1 ` Γ1 , Γ2 , F ⊗ G ` Γ, F1 ⊕ F2 ` Γ, ∃x.F `Γ ` Γ, F ` F, ?Γ ` Γ, ?F, ?F cont weak der prom ` Γ, ?F ` Γ, ?F ` Γ, ?F ` ! F, ?Γ init

Fig. 1. Sequent system LL for classical linear logic. In the init rule, p is an atomic formula.

2

Local rules for linear logic

In this section we propose a system for linear logic with local rules based on the linear nested sequent framework. Although we assume that the reader is familiar with linear logic, we review some of its basic proof theory (see [Tro92] for more details). 2.1

Linear logic

Linear logic is a substructural logic proposed by Girard [Gir87], where not all formulas are allowed to be contracted or weakened. Formulas are built from the following grammar F ::= p | 1 | > | ⊥ | F1 ⊗ F2 | F1 OF2 | F1 & F2 | F1 ⊕ F2 | ∃x.F | ∀x.F. | ?F | ! F and connectives are separated into two classes, the negative: ⊥, >, &, O, ∀, ? and the positive: ⊗, ⊕, ∃, !, 1. The polarity of non-atomic formulas is inherited from its outermost connective and any bias can be assigned to atomic formulas. LL sequents have the form ` Γ that is, we will adopt the one sided sequent formulation of classical linear logic, although all the results in this paper can be extended to the intuitionistic (and hence two sided) case. The sequent calculus system LL is presented in Figure 1. We recall that contraction and weakening of formulas are controlled by using the connectives ! and ? called exponentials. The following formulas are of special interest, since they have classical behavior. Definition 1. A formula A is said to be essentially negative (Neg) if it is built from the grammar A := ?B |⊥| > | A & A | AOA | A & A | ∀A where B is any linear logic formula. The result bellow is well known [GMM98] and it follows either by easy structural induction or by focusing reasoning. Proposition 1. If A ∈ Neg, then A ≡LL ?A. This proposition is important since it shows that the context restriction on the promotion rule could be softened: instead of only question marked formulas, one could ask for Neg formulas in the context.

E// ` p, p



init

G// ` Γ1 , F G// ` Γ1 , F ⊥ cut G// ` Γ1 , Γ2

S{` Γ, F[y/x]} S{` Γ, F, G} S{` Γ, F} S{` Γ, G} S{` Γ} O ⊥ > ∀ & S{` Γ, ⊥} S{` Γ, FOG} S{` Γ, >} S{` Γ, F & G} S{` Γ, ∀x.F} S// ` Γ, Fi G// ` Γ1 , F G// ` Γ2 , G G// ` Γ, F[t/x] ⊕i ⊗ ∃ 1 E// ` 1 G// ` Γ1 , Γ2 , F ⊗ G S// ` Γ, F1 ⊕ F2 G// ` Γ, ∃F S{` Γ, F} S{` Γ} S{` Γ, ?F, ?F} cont weak der S{` Γ, ?F} S{` Γ, ?F} S{` Γ, ?F} S{` Γ// ` ∆, ?F} G// ` Γ// ` F ? ! S{` Γ, ?F// ` ∆} G// ` Γ, ! F Fig. 2. System LNSLL for linear logic. In the init rule, p is atomic and in the ∀ rule, y is a fresh variable.

2.2

A linear nested sequent system for linear logic

In [Str02,GMM98], systems of local rules for linear logic were proposed. While in [Str02] locality was achieved by the use of deep inference [Gug07], in [GMM98] the so called 2-sequents systems were used. In this work we shall study systems with local rules for modal systems based on MALL – including linear logic with subexponentials (SELL) [DJS93,OPN15]. For that, we will use a reformulation of 2-sequents: the linear nested sequents [Lel15]. In the linear nested sequent framework [Lel15], the tree structure of nested sequents is restricted to a line, i.e., a linear nested sequent is simply a finite list of sequents. This data structure matches exactly the history in a backwards proof search in an ordinary sequent calculus. Definition 2. The set LNS of linear nested sequents is given recursively by: 1. if Γ ` ∆ is a sequent then Γ ` ∆ ∈ LNS 2. if Γ ` ∆ is a sequent and G ∈ LNS then Γ ` ∆// G ∈ LNS. We will denote by E the LNS containing an empty history, i.e., with all nested sequents of the form ` · and we write S{` Γ} for denoting a context G// ` Γ// H where G, H ∈ LNS or G, H = ∅. We call each sequent in a linear nested sequent a component and slightly abuse notation and abbreviate “linear nested sequent” to LNS. In Figure 2 we present the system LNSLL with local rules for linear logic. Observe that the promotion rule is completely local, in the sense that one does not need to check the context in order to apply it. Applying the ! rule enables the creation of the future history, in which the banged formula should be proved. The intended interpretation is ι(` Γ) := OΓ ι(` Γ// H) := OΓ O ! ι(H) Note that the rules for positive connectives can be applied only in the last component. This is crucial in order to assure soundness. In fact, a naive linear nested system (where

MALL rules could be applied anywhere) would turn provable, e.g., the sequent ` A ⊕ B, !(A⊥ & B⊥ ), which is not provable in LL. One could circumvent this problem by restricting the use of additive connectives, but the resulting system would be neither local nor modular. Not also that the backwards history is always copied, even in the tensor rule. This is due to the fact that, if a linear nested sequent is provable, then all formulas in the backwards history are in Neg, hence can be copied. Proposition 2. If G// ` ∆ is provable in LNSLL , then A ∈ Neg for all formula A appearing in G. Proof. If A ∈ G is not in Neg, it has a positive or atomic subformula F not in the scope of a ? . Since the rules for such formulas can be applied only in the last component, F will remain in G, and the initial axiom cannot be applied in any branch of the derivation. As expected, this proposition implies soundness of LNSLL w.r.t. LL. Theorem 1. The linear nested sequent system LNSLL is sound and complete w.r.t. LL. Proof. Observe that all the rules in LNSLL are as in LL, with the exception of ? and !. But Proposition 1 guarantees that the promotion rule can be applied if and only if all formulas in all contexts are in Neg, hence with classical behavior. Completeness comes trivially by the interpretation ι. Definition 3. A LNS calculus is end-active if in all its rules the rightmost components of the premises are active and the only active components (in premises and conclusion) are the two rightmost ones. Observe that an application of prom on a branch with history captured by the LNS G can be simulated by: ` ?Γ, F prom ` ?Γ,. ! F .. G .

G// ` ·// ` ?Γ, F ? G// ` ?Γ// ` F ! G// ` ?Γ, ! F

Hence, the system LNSLL can be restricted to its end-active version. This is important for, at least, four reasons: 1. as always happens in nested systems, locality comes with a price: the number of possible proofs, hence the proof search space, increases exponentially. With an end-active version of LNSLL , the complexity of proof search can be reduced to that of sequent calculus; 2. since rules over connectives in MALL can be restricted to be applied only in the last component, the usual linear logic focusing discipline for such rules can be adopted, so that the rules over negative connectives (excluding exponentials) can be applied eagerly. This means that formulas in Neg are transformed, in one negative step, into one of the units > or ⊥ or into a question-marked formula. Hence, we can always assume that the promotion rule is applied in the presence of a classical context; 3. being able to always remember only the last two components makes it possible to propose a labelled version to the linear nested system (see Section 4.1); 4. it is easy to propose a focused, local system to LL, as shown next.

Negative rules G// ⇑ Ψ ; Γ ⊥ G// ⇑ Ψ ; Γ, ⊥

G// ⇑ Ψ ; Γ, F, G O G// ⇑ Ψ ; Γ, FOG

G// ⇑ Ψ ; Γ, >

>

G// ⇑ Ψ ; Γ, F[y/x] G// ⇑ Ψ ; Γ, F G// ⇑ Ψ ; Γ, G ∀ & G// ⇑ Ψ ; Γ, F & G G// ⇑ Ψ ; Γ, ∀x.F G// ⇑ Ψ, F; Γ store G// ⇑ Ψ ; Γ, ?F Positive rules E// Ψ ; · ⇓ 1

G// Ψ ; Γ1 ⇓ F G// Ψ ; Γ2 ⇓ G ⊗ G// Ψ ; Γ1 , Γ2 ⇓ F ⊗ G

1

G// Ψ ; Γ ⇓ F[t/x] ∃ G// Ψ ; Γ ⇓ ∃x.F

G// ⇑ Ψ ; Γ// ⇑ Υ, F; ∆ ? G// ⇑ Ψ, F; Γ// ⇑ Υ; ∆

G// Ψ ; Γ ⇓ Fi ⊕i G// Ψ ; Γ ⇓ F1 ⊕ F2 G// ⇑ Ψ ; Γ// ⇑ ·; F ! G// Ψ ; Γ ⇓ ! F

Identity and Decide and Release rules E// Ψ ; A ⇓ A⊥

I1

E// Ψ, A; · ⇓ A⊥

G// Ψ, F; Γ ⇓ F Dc G// ⇑ Ψ, F; Γ

I2

G// ⇑ Ψ ; Γ, N Rn , N is negative G// Ψ ; Γ ⇓ N

G// Ψ ; Γ ⇓ P Dl , P is positive G// ⇑ Ψ ; Γ, P

Fig. 3. Focused proof search in nested linear logic FLNSLL . In the Identity rules, A is a negative literal.

2.3

Focused nested system for LL

Focusing [And92] is a discipline on proofs aiming at reducing the non-determinism during proof search. Focused proofs can be interpreted as the normal form proofs. It is based on the fact that the negative connectives have invertible rules, while positive connectives have non-invertible rules. This separation induces a two phase proof construction: a negative, where no backtracking on the selection of inference rules is necessary, and a positive, where choices within inference rules can lead to failures for which one may need to backtrack. We separate the context of sequents in two: the set Ψ will always denote the unbounded context, containing only banged formulas, while Γ is a general linear context. We will differentiate focused and unfocused sequents by using different arrow symbols: “⇑” for unfocused and “⇓” for focused. In this way, LNSLL contains two types of sequents: i. ⇑ Ψ ; Γ is an unfocused sequent. ii. Ψ ; Γ ⇓ F is a focused sequent. We call a literal either an atom or a negated atom and we remember that negation is involutive in linear logic, implying that, for any formula F, (F ⊥ )⊥ ≡ F. The rules for the nested (weak) focused system for LL are despited in Figure 3. The focusing is weak since negative rules may be applied anywhere, including in the middle of focused phases. One could avoid that by either restricting the context Γ in the Decision rules so to have only positive or atomic formulas, or presenting a synthetic version of

the system, where the logical content of the phases of focusing are abstracted from the level of formulas to the level of nested sequents (see, e.g., [CMS16]). While restricting contexts goes against the idea of having only local rules, a synthetic system is easily achieved by a simple adaptation of the system presented in [CMS16]. We will not pursue this matter in this paper.

3

Simply dependent multimodal linear logics

In this section, we extend the concept of simply dependent multimodal logics [Dem00] to the linear case. That is, we study different modalities, having LL as the base logic. We start by observing the the linear logic modalities are basically those of S4, due to the transitive behavior of ? in the promotion rule (see Axiom 4 in Figure 4). Hence, on substituting the modality axioms but maintaining linearity as the base logic, one could define, in a modular way, a class of different logics. The following definition is an extension of the modular presentation of simply dependent multimodal logics appearing in [Ach16]. Definition 4. A simply dependent multimodal system (SDMS) is given by a triple (I, 4, F), where I is a set of indices, (I, 4) is a pre-order (i.e., reflexive and transitive), and F is a mapping from I to a set L of logics. In this work, we will assume that L contains the following variations of linear logic:4 i. classical (LL) ; ii. with bounded exponentials, that is, ? does not allow for contraction or weakening (LLb ); iii. modalities determined by axioms from the set {K, 4, D} (see Figure 4).5 We will call the resulting systems simply dependent multimodal linear systems (SDMLS). The logic described by (I, 4, F) has modalities !i , ?i for every i ∈ I, with rules for the modality i given by the logic F(i) and interaction axioms ! j A ⊃ !i A for every i, j ∈ I with i 4 j. Of course, not every SDMLS gives rise to a “reasonable logical system” (for example, having cut elimination). But several known logical systems can be seen as particular cases of this definition. Example 1. LL can be seen as a trivial case of SDMLS, where the index set I is a singleton and L = {LL}. Example 2. Another trivial case of SDMLS is the Elementary Linear Logic [Gir98], with index set I also a singleton and the linear logic contains KD modalities axioms for the exponentials, as noted in [GMM98]. As another example, the following section shows that linear logic with subexponentials is also a SDMLS. 4

5

It is straightforward to extend our approach in order to handle also: intuitionistic (ILL) and affine (aLL) versions of those logics. We note that the axiom T corresponds to dereliction, which is always assumed.

K !(A ⊃ B) ⊃ (! A ⊃ ! B) 4 !A ⊃ !!A D ! A ⊃ ?A S{` Γ// ` ∆, ?F} S{` Γ// ` ∆, F} G// ` Γ// ` F G// ` Γ// ` F ?k ?4 ?d ! S{` Γ, ?F// ` ∆} S{` Γ, ?F// ` ∆} G// ` Γ, ?F G// ` Γ, ! F

Fig. 4. Modal axioms with their respective linear nested rules.

3.1

Linear logic with subexponentials

In this work, we will focus our attention on multi-modalities in linear logic, where LL exponentials are decorated with labels, organized in a preorder. Linear logic with subexponentials (SELL) shares with LL all its connectives except the exponentials: instead of having a single pair of exponentials ! and ?, SELL may contain as many subexponentials [DJS93,NM09,OPN15], written !a and ?a , as one needs. The proof system for SELL is specified by a subexponential signature Σ = hI, , Ui, where I is a set of labels, U ⊆ I is a set specifying which subexponentials allow weakening and contraction, and  is a pre-order among the elements of I. We shall use a, b, . . . to range over elements in I and we will assume that  is upwardly closed with respect to U, i.e., if a ∈ U and a  b, then b ∈ U. The system SELL is constructed by adding all the rules for the linear logic connectives except for the exponentials. The rules for subexponentials are dereliction and promotion of the subexponential labeled with a ∈ I ` ? a1 F 1 , . . . ? an F n , G a ! ` ?a1 F1 , . . . ?an Fn , !aG

` Γ, G a ? ` Γ, ?aG

Here, the rule !a has the side condition that a  ai for all i. That is, one can only introduce a !a on the right if all other formulas in the sequent are marked with indices that are greater or equal than a. Moreover, for all indices a ∈ U, we add the usual rules for weakening and contraction. Depending on the pre-order, proofs in SELL can be interpreted as concurrent processes with different behaviors. For example, if the pre-order is trivial (that is, a subexponential is only related to itself), then formulas having the shape !a F represent processes occurring inside the space a, while !a ?a F confines the process F to that space. Hence, subexponentials adequately capture knowledge and spacial modalities. In a series of works [NOP13,PON14,OPN15], SELL was used in order to capture modal behaviors such as time, probabilities, fuzyness, costs and preferences. The following results shows that SELL can be seen as a SDMLS. Theorem 2. Let L = {LLb , LL} and let  be a pre-order having the restriction that, if i  j and F(i) = LL, then F( j) = LL. The SDMLS determined by (I, 4, F) is sound and complete with respect to SELL with signature hI, 4, Ui, where U = {i ∈ I | F(i) = LL}. Proof. For one direction, from the promotion rule for F(i) and the interaction axiom ` ?i A, B ! ` ?i A, !i B

` !i A⊥ , ? j A if i 4 j

` {Σ j : j 4 i}, B ` {? Σ j : j 4 i}, ! B j

i

ki

` {? j Σ j : j 4 i}, B ` {? Σ j : j 4 i}, ! B j

i

4i

` {Σ j : j 4 i} ` {? j Σ j : j 4 i}

di

Fig. 5. Modal sequent rules for the simply dependent multimodal linear logic given by the description (I, 4, F).

we have

` ? j A, B if i 4 j ` ? j A, !i B

Using the method in [LP13,Lel13] adapted to linear logic, the promotion rule is transformed into the rule ` {? j Σ j | j  i}, B ` {? j Σ j | j  i}, !i B where Σ j is a multiset of formulas. But this is exactly SELL’s promotion rule. The other direction is trivial, since the axiom is derivable from a particular case of the promotion rule. Using the method cited above, we are able to soundly represent the modal sequent rules in Figure 5 for all SDMLS. This means that if, instead of 4 we add KD as base axioms for the ! connective in SELL, the resulting system will be a Elementary Linear Logic with subexponentials. 3.2

Linear nested sequents for subexponentials

In order to convert the resulting sequent systems into LNS systems, we need to modify the linear nested setting to account for all the different non-invertible rules. For this, given a description (I, 4, F) we introduce nesting operators//i for every i ∈ I, and change the interpretation so that they are interpreted by the corresponding modality: ι(` Γ) := OΓ

ι(` Γ//i H) := OΓ

O!i ι(H)

The modal sequent rules are then converted into the modal linear nested sequent rules, as shown in Figure 6. Observe that they are a straightforward generalization of the linear nested rules presented in Figure 4 and we can prove the following. Theorem 3. The linear nested rules in Figure 6 are sound w.r.t. the respective sequent rules in Figure 5. We will call the resulting linear nested system LNSSDMLS .

4

Universal theorem prover for linear modalities

In this section we show how to specify, in a natural way, SDMLS into LL. We also propose a universal theorem prover for linear modalities. The first outcome can be seen

n o S ` Γ//i ` ∆, F n o ?i k S ` Γ, ? j F//i ` ∆

n o S ` Γ//i ` ∆, ? j F n o ?i 4 S ` Γ, ? j F//i ` ∆

G//∗ ` Γ//i ` F G// ` Γ, ? F ∗

i

?i d

G//∗ ` Γ//i ` F G//∗ ` Γ, !i F

!i

Fig. 6. The linear nested sequent rules for the simply dependent multimodal linear logic given by the description (I, 4, F). We assume that i  j.

just as a curious result and/or an extension of a series of works on using linear logic as a framework for specifying logical systems (see e.g. [MP13,NPR14]). But it is, in fact, an important result for at least two reasons: (1) it shows that SELL itself can be specified in linear logic; hence LL is more than ever universal, in the sense that it carries itself all the information of its extensions; and (2) it suggests that the difficulty on specifying a certain logical system in linear logic can mean that sequent systems may not be the best framework for describing the logic. For instance, while the usual sequent system for S4 cannot be naturally specified into LL, variations of it using labels [NvP11] or linear nested sequents [Lel15] have a natural and direct specification in LL (see [NPR14,LP15]). This suggests, again, the universality flavor of linear logic. For encoding the linear nested version of SDMLS into LL we need to transform a LNS into its labeled correspondent.

4.1

Labeled line sequent systems

As pointed out in Section 2.2, being able to restrict linear nested sequents to its end-active version (see Definition 3) makes it possible to propose adequate labeled versions for such systems. In a nutshell, remembering only the last two components means having only one relation between components (see [LP15] for a deeper discussion on this matter). Formally, a (possibly empty) set of relation terms (i.e. terms of the form xRy) is called a relation set R. Definition 5. A labeled line sequent LLS is a labeled sequent ` R, X where 1. R is a singleton; 2. X is a multiset of formulas of the shape x : F where x is a state variable and F is a formula 3. every state variable x that occurs in X must also occur in R. A labeled line sequent calculus is a labeled sequent calculus whose initial sequents and inference rules are constructed from LLS. It is straightforward to construct a LLS inference rule from an inference rule of an end-active LNS calculus. The procedure, that can be automatized, is the same as the one presented in [GR12]. We will denote by Ri the relation corresponding to//i. We present, In Figure 7, the rules for the labeled line calculus LLSSDMLS .

` xRi y, X, y : F j

` xRi y, X, x : ? F

?i k

` xRi y, X, y : ? j F ` xRi y, X, x : ? j F

?i 4

` yRi z, X, z : F ` xR∗ y, X, y : ? j F

?i d

` yRi z, X, z : F ` xR∗ y, X, y : ! j F

!i

Fig. 7. Labeled line sequent calculus LLSSDMLS . In the rules ?i d and !i the symbol ∗ stands for any index and z is a fresh variable. (?i k ) dx : ? j Fe⊥ ⊗ Ri (x, y)⊥ ⊗ (dy : FeORi (x, y)) (?i 4 ) dx : ? j Fe⊥ ⊗ Ri (x, y)⊥ ⊗ (dy : ?i FeORi (x, y)) (?i d ) dy : ? j Fe⊥ ⊗ R∗ (x, y)⊥ ⊗ ∀z.(dz : FeORi (y, z)) (!i ) dy : ! j Fe⊥ ⊗ R∗ (x, y)⊥ ⊗ ∀z.(dz : FeORi (y, z)) Fig. 8. Specification of LLSSDMLS as clauses in LL. All the variables are bounded by an outermost existential quantifier.

4.2

Specifying SDMLS in linear logic

In [MP13] classical linear logic was used as the logical framework for specifying a number of logical and computational systems. The idea is simple: use two meta-level predicates b·c and d·e for identifying objects that appear on the left or on the right side of the sequents in the object logic. Hence, object-level sequents of the form B1 , . . . , Bn ` C1 , . . . , Cm (where n, m ≥ 0) are specified as the multiset bB1 c, . . . , bBn c, dC1 e, . . . , dCm e. If an object-formula B is in a (object-level) classical context, it will be specified in LL as ?bBc or ?dBe (depending on the side of B in the original sequent). Inference rules are specified by a rewriting clause that replaces the active formula in the conclusion by the active formulas in the premises. The linear logic connectives indicate how these object level formulas are connected: contexts are copied (&) or split (⊗), in different inference rules (⊕) or in the same sequent (O). As a matter of example, the additive version of the inference rules for conjunction in classical logic ∆, A −→ Γ ∧L1 ∆, A ∧ B −→ Γ

∆, B −→ Γ ∧L2 ∆, A ∧ B −→ Γ

∆ −→ Γ, A ∆ −→ Γ, B ∧R ∆ −→ Γ, A ∧ B

are specified as ∧L : ∃A, B.(bA ∧ Bc⊥ ⊗ (bAc ⊕ bBc))

∧R : ∃A, B.(dA ∧ Be⊥ ⊗ (dAe & dBe))

The encoding of modal rules into LL is depicted in Figure 8. The encoding of the linear logic connectives can be found in [MP13]. We assume that all atomic predicates have negative polarity. The following theorem shows that, in fact, the specification of modal rules into clauses in LL is, indeed, correct. Theorem 4 (Adequacy). The specification of the linear nested modal rules in Figure 7 into the LL clauses given in Figure 8 is adequate in the sense that a focused step in LL over a clause corresponds exactly to the application of the respective linear nested modal rule.

Proof. Consider the clause (!i ). Note that this formula is positive (stating with ∃). Hence, we observe a focused LL derivation of the shape ` dy : ! j Fe⊥ , dy : ! j Fe

init

` R∗ (x, y)⊥ , R∗ (x, y)

init

π ` Γ 0 , ∀z.(dz : FeORi (y, z))

` Γ, ∃x, y, F.dy : ! j Fe⊥ ⊗ ∀z.(dz : FeORi (y, z)) ⊗ R∗ (x, y)⊥

∃, ⊗

where Γ 0 = Γ − {dy : ! j Fe, R∗ (x, y)}. Now, the formula ∀z.(dz : FeORi (y, z)) is strictly negative, so it is completely decomposed in a single negative step and π has necessarily the shape ` Γ 0 , dz : Fe, Ri (y, z) ∀, O ` Γ 0 , ∀z.(dz : FeORi (y, z)) That is, in one focused step, the formulas dy : ! j Fe, R∗ (x, y) (that should be present in the context since atomic formulas are negative) are consumed, producing the formulas dz : Fe, Ri (y, z), where z is a fresh variable. This is exactly the behavior of the application of the rule !i . The other cases are similar. Observe that this result implies that (the linear nested version of) SELL can be encoded in linear logic, hence showing that LL and SELL have the same expressive power as a logical framework. Prototypical Implementation We implemented in Maude (http://maude.cs.illinois. edu) a prototypical version of the labelled line sequent calculus LLSSDMLS given in Figure 7. The implemented system can be found at http://subsell.logic.at/ universal/. The system is parametric w.r.t. the underlying SDMS, i.e., the triple (I, 4, F). It is interesting to note that we have been able to perform experiments in proving formulas pertaining to different logics by simply setting the parameter (I, 4, F). For instance, we got “for free” a prover for SELL and Hybrid Liner Logic [CD09]. We have also proved canonical examples of modal logics adopted to the linear setting described in this paper. The experiments can be found on the site of the implementation.

5

Concluding remarks and future work

The main motivation of this work was to propose a local system for linear logic with subexponentials. The starting point was to restrict nested systems to its linear version (LNS), propose a LNS to linear logic, and then generalize the concept of subexponentials so that they could be seen as single modalities in a simply dependent logic. Although the local system LNSLL proposed in this paper is original, in the sense that it is, as far as we know, the first nested version for linear logic, it can be seen as an adaptation of the 2-sequent calculus for linear logic presented in [GMM98]. Amazingly enough, the series of works on modalities and 2-sequents has received little attention until the work in [Lel15], where it was shown that 2-sequents can be viewed as a LNS. We note that the approach and motivation in [GMM98] are quite different from ours, since there the interest was more on light modalities in linear logic. Different modalities are often added to linear logic by defining whole algebraic structures, that are then attached to the logical system. We have chosen a completely new

approach: add dependencies between (possible different) logics, so that the algebraic structure is determined by such dependencies. This elegant and modular way of presenting subexponentials can serve as a starting point for proposing different modalities for different logics. For example, on changing the base logic from classical to intuitionistic linear logic, one can talk about modalities over constructive logics (like FLew, for instance). Also, it seems to be possible to add some bounded modalities, as done in [CLOP16], hence being able to propose nested systems for such logics. Finally, we have shown in [PON14,OPN15] how the theory of SELL can inspire new (declarative) constructs for process calculi. Such constructs opened the possibility for specifying richer concurrent systems featuring different modalities as epistemic, spatial and temporal behaviors. We are currently investigating to what extend the families of logics proposed in this work can have interesting computational interpretations.

References Ach16.

Antonis Achilleos. Modal logics with hard diamond-free fragments. In Sergei Artemov and Anil Nerode, editors, LFCS 2016, volume 9537 of LNCS, pages 1–13. Springer International Publishing, 2016. And92. Jean-Marc Andreoli. Logic programming with focusing proofs in linear logic. Journal of Logic and Computation, 2(3):297–347, 1992. Kaustuv Chaudhuri and Jo¨elle Despeyroux. A hybrid linear logic for constrained CD09. transition systems with applications to molecular biology. Research Report inria00402942, INRIA-HAL, 2009. CLOP16. Agata Ciabattoni, Bj¨orn Lellmann, Carlos Olarte, and Elaine Pimentel. From cut-free calculi to automated deduction: the case of bounded contraction. In Proc. of 11th Workshop on Logical and Semantic Frameworks, with Applications, 2016. CMS16. Kaustuv Chaudhuri, Sonia Marin, and Lutz Straßburger. Focused and synthetic nested sequents. In Bart Jacobs and Christof L¨oding, editors, Proc. of FOSSACS 2016., volume 9634 of Lecture Notes in Computer Science, pages 390–407. Springer, 2016. Dem00. St´ephane Demri. Complexity of simple dependent bimodal logics. In Roy Dyckhoff, editor, TABLEAUX 2000, volume 1847 of LNCS, pages 190–204. Springer, 2000. DJS93. Vincent Danos, Jean-Baptiste Joinet, and Harold Schellinx. The structure of exponentials: Uncovering the dynamics of linear logic proofs. In Georg Gottlob, Alexander Leitsch, and Daniele Mundici, editors, Kurt G¨odel Colloquium, volume 713 of LNCS, pages 159–171. Springer, 1993. Gir87. Jean-Yves Girard. Linear logic. Theoretical Computer Science, 50:1–102, 1987. Gir98. Jean-Yves Girard. Light linear logic. Information and Computation, 143(2):175–204, 1998. GMM98. Stefano Guerrini, Simone Martini, and Andrea Masini. An analysis of (linear) exponentials based on extended sequents. Logic Journal of the IGPL, 6(5):735–753, 1998. GR12. Rajeev Gor´e and Revantha Ramanayake. Labelled tree sequents, tree hypersequents and nested (deep) sequents. In Thomas Bolander, Torben Bra¨uner, Silvio Ghilardi, and Lawrence S. Moss, editors, Advances in Modal Logic 9, papers from the ninth conference on ”Advances in Modal Logic,” held in Copenhagen, Denmark, 22-25 August 2012, pages 279–299. College Publications, 2012. Gug07. Alessio Guglielmi. A system of interaction and structure. ACM Trans. on Computational Logic, 8(1):1–64, January 2007.

Lel13. Lel15.

LP13.

LP15.

MP02.

MP04.

MP13. NM09.

NOP13.

NPR14. NvP11. OPN15. PM05.

PON14. Str02. Tro92.

Bj¨orn Lellmann. Sequent Calculi with Context Restrictions and Applications to Conditional Logic. PhD thesis, Imperial College London, 2013. Bj¨orn Lellmann. Linear nested sequents, 2-sequents and hypersequents. In Hans De Nivelle, editor, Automated Reasoning with Analytic Tableaux and Related Methods 24th International Conference, TABLEAUX 2015, Wrocław, Poland, September 21-24, 2015. Proceedings, volume 9323 of Lecture Notes in Computer Science, pages 135–150. Springer, 2015. Bj¨orn Lellmann and Dirk Pattinson. Constructing cut free sequent systems with context restrictions based on classical or intuitionistic logic. In ICLA 2013, volume 7750 of LNCS, pages 148–160. Springer, 2013. Bj¨orn Lellmann and Elaine Pimentel. Proof search in nested sequent calculi. In Martin Davis, Ansgar Fehnker, Annabelle McIver, and Andrei Voronkov, editors, Logic for Programming, Artificial Intelligence, and Reasoning - 20th International Conference, LPAR-20 2015, Suva, Fiji, November 24-28, 2015, Proceedings, volume 9450 of Lecture Notes in Computer Science, pages 558–574. Springer, 2015. Dale Miller and Elaine Pimentel. Using linear logic to reason about sequent systems. In Uwe Egly and Christian G. Ferm¨uller, editors, International Conference on Automated Reasoning with Analytic Tableaux and Related Methods, volume 2381 of LNCS, pages 2–23. Springer, 2002. Dale Miller and Elaine Pimentel. Linear logic as a framework for specifying sequent calculus. In Jan van Eijck, Vincent van Oostrom, and Albert Visser, editors, Logic Colloquium ’99: Proceedings of the Annual European Summer Meeting of the Association for Symbolic Logic, Lecture Notes in Logic, pages 111–135. A K Peters Ltd, 2004. Dale Miller and Elaine Pimentel. A formal framework for specifying sequent calculus proof systems. Theoretical Computer Science, 474:98–116, 2013. Vivek Nigam and Dale Miller. Algorithmic specifications in linear logic with subexponentials. In ACM SIGPLAN Conference on Principles and Practice of Declarative Programming (PPDP), pages 129–140, 2009. Vivek Nigam, Carlos Olarte, and Elaine Pimentel. A general proof system for modalities in concurrent constraint programming. In CONCUR 2013 - Concurrency Theory - 24th International Conference, CONCUR 2013, Buenos Aires, Argentina, August 27-30, 2013. Proceedings, pages 410–424, 2013. Vivek Nigam, Elaine Pimentel, and Giselle Reis. An extended framework for specifying and reasoning about proof systems. Journal of Logic and Computation, 26, 2014. Sara Negri and Jan van Plato. Proof Analysis: A Contribution to Hilbert’s Last Problem. Cambridge University Press, 2011. Carlos Olarte, Elaine Pimentel, and Vivek Nigam. Subexponential concurrent constraint programming. Theoretical Computer Science, 606:98–120, 2015. Elaine Pimentel and Dale Miller. On the specification of sequent systems. In LPAR 2005: 12th International Conference on Logic for Programming, Artificial Intelligence and Reasoning, number 3835 in LNAI, pages 352–366, 2005. Elaine Pimentel, Carlos Olarte, and Vivek Nigam. A proof theoretic study of soft concurrent constraint programming. TPLP, 14(4-5):649–663, 2014. Lutz Straßburger. A local system for linear logic. In Proceedings of LPAR 2002, number 2514 in LNCS, pages 388–402, January 2002. Anne S. Troelstra. Lectures on Linear Logic. CSLI Lecture Notes 29, Center for the Study of Language and Information, Stanford, California, 1992.

A unified view of modal and substructural logics

modular way or proving meta-level properties about the systems, such as ... logic was used as a framework for specifying and reasoning about sequent systems. .... We call each sequent in a linear nested sequent a component and slightly ..... conference on ”Advances in Modal Logic,” held in Copenhagen, Denmark, 22-25.

142KB Sizes 5 Downloads 274 Views

Recommend Documents

A uniform framework for substructural logics with ...
way of constructing theorem provers for different logics, all of them based on the ..... We call each sequent in a linear nested sequent a component and we will ...... Advances in Modal Logic 9, papers from the ninth conference on ”Advances in ...

On the Complexity of Explicit Modal Logics
Specification (CS) for the logic L. Namely, for the logics LP(K), LP(D), LP(T ) .... We describe the algorithm in details for the case of LP(S4) = LP and then point out the .... Of course, if Γ ∩ ∆ = ∅ or ⊥ ∈ Γ then the counter-model in q

21. UniGene: A Unified View of the Transcriptome - Semantic Scholar
Oct 9, 2002 - introduced the term EST to refer to this new class of sequence, which is .... At present, UniGene focuses on protein-coding genes of the nuclear genome ... query bar and a sidebar providing links to related online resources.

Moreira, Illas, A Unified View of the Theoretical Description of ...
Retrying... Moreira, Illas, A Unified View of the Theoretical Descri ... pling in Molecular Chemistry and Solid State Physics.pdf. Moreira, Illas, A Unified View of the ...

Wolf_L. Modal Adverbs and Modal Adjectives.pdf
regards to a proposition, and is represented by the following Assertion Operator: (8) Ax . When Ax stands for an assertion performed by x, S is the degree of strength by which the. assertion is performed and C is the propositional content of the asse

Towards A Unified Modeling and Verification of Network and System ...
be created by users or services running on top of hosts in the network. The services in our model can also transform a request into another one or more requests ...

Modal Mereology & Modal Supervenience
My 'Modal Mereology' account of restrictivism does not require that such ...... Van Inwagen goes on to argue that he has no strong epistemic access to the unity ...

Inquisitive Semantics and Intermediate Logics.
Sep 3, 2009 - One striking aspect of FI is that any point in it can see an endpoint. For, consider a point ... the singleton states are precisely the endpoints of FI .

ontologies and description logics
community: data integration). It became clear soon that, in ... the basic tools of logic and computer science, an open- ..... An overview of tableau algorithms for ...

Toward a unified theory of caloric restriction and longevity ... - CiteSeerX
Although the free-radical theory of CR remains popular, ... free-radical theory of aging is that mice lacking superoxide ...... Dilman, V.M., Anisimov, V.N., 1980.

Lectures on Probabilistic Logics and the Synthesis of ...
7.1 Exemplification with the help of the memory unit......................... 21 ..... and the like) which represent a major class of dangers in modern logical systems. It.

Visual determinants of a cross-modal illusion
system generally translates into auditory dominance for temporal tasks such as the judgment of tone duration. Likewise, estimates of flash timings are more ...

modal testing of a helicopter blade
mN m k n st. 032,11. 8.2. 84.622. 2. = ⋅. = = ω. (7). Based on the above quantities data one can calculate the frequency response function (FRF)(Figure 2,a) [4]:.

modal testing of a helicopter blade
The 3rd International Conference on ″Computational Mechanics .... 1,800. 0,799. 2.011. 3.93. 2,011. 2,99. 1,909. 2,36. 1,906. 1,38. 1,906. 0,690. 2.115. 3.43.

Concepts, Experience and Modal Knowledge
grounded in this way is what accounts for the fact that conceivability – which I take to be a ... (Analogously, when I see that the apple in my fridge is red and.

Modal Truthmakers and Two Varieties of Actualism
truthmakers than non-modal truths and then proceeds to defend the view that ersatz ... actualism that I will call dispositionalism, and outline what I take to be the ...

A proof theoretic view of spatial and temporal ...
Apr 25, 2016 - the meta theory and tools developed for linear logic to specify and verify bio- chemical systems ...... [Fn14]PM (fibroblast growth factor inducible immediate early response protein 14) but also to the receptor [TNFRSF25]PM (tumor necr

A Relational View of Information Seeking and ... - Semantic Scholar
The model is tested using two separate research sites to provide repli- cation. ..... the kind of work I do. 1 = Strongly disagree, 5 = Strongly agree, 0 = I do not know this person. Access (A). One issue in getting information or advice from others

A New View of Emotion
love, we find that some times when we love (especially at first), we think the ... judgments, nor (in the first instance) the effect upon behavior, but rather the ...

Input-output logics - Semantic Scholar
25 May 2000 - performance of the stock-market today, and outputs an analyst's commentary; or facts about your date and place of birth, with output your horoscope readings. In these examples, the ...... Amsterdam: IOS Press, Series: Frontiers in Artif

A Relational View of Information Seeking and ... - Semantic Scholar
cation. The results indicate strong support for the model and the mediation hypothesis (with the exception of the cost variable). Implications are drawn for the study of both transactive memory and organizational learning, as well as for management p