Logics
AGATA CIABATTONI, TIM LYON, and REVANTHA RAMANAYAKE,Technische Universitรคt Wien, Austria
ALWEN TIU,The Australian National University, Australia
We introduce translations between display calculus proofs and labeled calculus proofs in the context of tense logics. First, we show that every derivation in the display calculus for the minimal tense logicKtextended with general path axioms can be effectively transformed into a derivation in the corresponding labeled calculus.
Concerning the converse translation, we show that forKtextended with path axioms, every derivation in the corresponding labeled calculus can be put into a special form that is translatable to a derivation in the associated display calculus. A key insight in this converse translation is a canonical representation of display sequents as labeled polytrees. The latter, which represent equivalence classes of display sequents modulo display postulates, also shed light on related correspondence results for tense logics.
Additional Key Words and Phrases: Nested calculus, Labeled calculus, Display calculus, Effective translations, Tense logic, Modal logic
ACM Reference Format:
Agata Ciabattoni, Tim Lyon, Revantha Ramanayake, and Alwen Tiu. 2020. Display to Labeled Proofs and Back Again for Tense Logics. 1, 1 (June 2020), 31 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn
1 INTRODUCTION
A crucial question for any logic is if it possesses an analytic calculus. An analytic calculus consists of rules that decompose a formula of the logic in a stepwise manner, and can be exploited to prove certain metalogical properties as well as develop automated reasoning methods. Since its introduction in the 1930โs, Gentzenโs sequent calculus (and equivalently, the tableaux calculus) has been a preferred formalism for constructing analytic calculi due to its simplicity. Unfortunately, this simplicity is also an obstacle: the formalism is not expressive enough to present many logics of interest. In response, many proof-theoretic formalisms extending the syntactic elements of the sequent calculus have been introduced over the last 30 years. Of particular interest in this paper are the formalisms of the labeled calculus [28, 29, 36], nested calculus [6, 21, 26], and display calculus [1, 22]. Each formalism extends the sequent calculus in a seemingly unique way, suggesting distinct strengths, weaknesses, and expressive powers. There are trade-offs in employing one formalism as opposed to another, motivating a study of the interrelationships between the current patchwork (see, e.g. [32]) of proof systems.
Authorsโ addresses: Agata Ciabattoni, agata@logic.at; Tim Lyon, lyon@logic.at; Revantha Ramanayake, revantha@logic.at, Technische Universitรคt Wien, Institut fรผr Logic and Computation, Favoritenstaรe 9-11, Wien, 1040, Austria; Alwen Tiu, alwen.tiu@anu.edu.au, The Australian National University, College of Engineering and Computer Science, 108 North Road, Canberra, ACT, 2601, Australia.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
ยฉ 2020 Association for Computing Machinery.
XXXX-XXXX/2020/6-ART $15.00 https://doi.org/10.1145/nnnnnnn.nnnnnnn
In this paper, we consider proof calculi for a special class of multi-modal logics: extensions of theminimal tense logicKtwithgeneral path axiomsฮ ๐ด โ ฮฃ๐ด(ฮ ,ฮฃ โ {^,_}โ). Tense logics incorporate modalities that reference what is true in successor (^) and predecessor states (_). Such logics are used to model temporal notions having to do with future and past states of affairs. This class of logics provides a good case study for our proof-theoretic investigations since it includes many interesting/well-known logics and possesses a diverse proof theory.
Numerous analytic proof calculi have been presented for extensions ofKtsuch as labeled calculi [3, 4], nested calculi [17], and display calculi [21, 22, 37]. Since the termnested sequenthas been used in the literature to refer to slightly different objects, this is a good time to clarify our terminology. In this paper:
Nested sequent:Any term generated via the BNF grammar ๐ ::= ๐ด | ๐ , ๐ | โฆ{๐} | โข{๐} where๐ดis a tense formula. Note that thisextendsthe typical definition of a nested sequent in the proof theory literature for modal (rather than tense) logics that uses a single nesting operator (e.g., the grammar for traditional nested sequents is usually given by the following BNF grammar:๐ ::=๐ด|๐ , ๐ | [๐]).
Shallow nested calculus (used hereinterchangeably1withdisplay calculus) A proof calculus built from nested sequents in the sense above, wheredisplay rulesare used to unpack (โdisplayโ) a formula nested underโฆandโขto bring it to the top-level, where the inference rules operate.
Deep nested calculus: A proof calculus built from nested sequents in the sense above where the display rules are dispensed with, and the inference rules can apply inside arbitrary nestings ofโฆandโข(i.e.deep inferenceis implemented).
Deep nested calculi are better suited than shallow nested calculi for proving e.g. decidability [5, 17]
and interpolation [24], due to the absence of the hard-to-control display rules that expand the proof- search space. Both shallow and deep nested calculi are typicallyinternalin the sense that each sequent in a proof can be interpreted as a formula of the logic, whereas labeled calculi often appear to beexternalin the sense that the sequents cannot generally be interpreted as a formula of the logic (and use a language that explicitly encodes the semantics).
An effective way to relate calculi is by definingtranslations, i.e. functions that stepwise transform any proof in a calculus into a proof of the same formula in another calculus. A crucial feature of such functions is that the structural properties of the derivation are preserved in the translation.
Such embeddings permit the transfer of certain proof theoretic results, thus alleviating the need for independent proofs in each system, e.g. [14, 18, 25]. Moreover, they shed light on the role of certain syntactic features in proof calculi, and on the general problem of characterizing the relationships between different syntactic and semantic presentations of a logic [31].
In [9] we obtained translations from shallow nested calculi to labeled calculi for Scott-Lemmon axiomatic extensions (_โ^๐๐ดโ^๐_๐๐ดwithโ, ๐, ๐ , ๐ โN) ofKt. This paper extends these results to a larger set of tense logics, and answers an open question posed in that paper regarding the existence of labeled to nested translations for extensions ofKt.
We first show how to translate derivations in shallow nested calculi into derivations in labeled calculi for all general path extensions of Kt. The reverse translationโfrom labeled to shallow nestedโemploys more sophisticated techniques and is only obtained forpath axiomโฮ ๐ดโ โจ?โฉ๐ด (ฮ โ {^,_}โandโจ?โฉ โ {^,_})โextensions ofKt. The labeled sequents used in deriving theorems for path extensions ofKtare interpretable as a nested sequent, permitting a translation from labeled to shallow nested sequent proofs. This translation witnesses a relation between the relational semantics and algebraic semantics (see e.g. [2, 16]) for tense logics: the labeled calculi are clearly underpinned
1The alternative termshallow nested sequentfordisplay calculusis due to [17] whose motivation was to contrast the shallow inference rules of the display calculus with a proof calculus that uses deep inference instead.
by the relational semantics; the shallow nested calculi, on the other hand, employ display rules that encode the algebraic residuation property between_(and^) in the antecedent andโก(andโ , resp.) in the succedent of an implication. Indeed, the display rules havenoanalog in the labeled calculi since the premise and conclusion translate to the same labeled sequent (see Lemma 3.9).
The ability to display any formula nested under structural connectives using the display rules is a crucial part in Belnapโs [1] proof of cut-elimination for arbitrary display calculi. However, the display rules greatly expand the proof search space, in particular when these rules interact with other structural rules (e.g. contraction) or structural rules that capture the modal/tense axioms of the formalized logic. In [17], the authors show how to translate display calculi to deep nested calculi, eliminating the display rules by employing deep inference. In our translation from display calculi to labeled calculi, display rules are not translated to inference rules; rather, they are dealt with by changing the representation of the nested sequent. The key idea is that a nested sequent can naturally be interpreted as a labeled sequent whose binary relation between labels forms apolytree(i.e. a directed graph whose underlying undirected graph is a tree). The polytree interpretation of a nested sequent has a crucial property that it is invariant under display rulesโapplications of display rules to a nested sequent do not change its labeled polytree translation. Thus, display-equivalent nested sequents have a canonical representation as a labeled polytree sequent. This representation also sheds light on the correspondence results between shallow and deep nested calculi for tense logics [17]. In particular, we show that the admissibility of display rules is independent from the admissibility of structural rules capturing the path axioms in tense logics, something that was not observed in their nested calculi. This polytree representation also significantly simplifies the proof of interpolation result for the class of path extensions ofKt[24].
Given that labeled polytree sequents correspond closely to nested sequents, one strategy to translate a labeled calculus to a shallow nested calculus is to translate a subset of the labeled calculus where all sequents are polytree sequents, and then show that the latter is complete, i.e. that it proves the same set of theorems as the unrestricted labeled calculi. One issue with this approach is that the property of being a polytree is not closed under some structural rules in labeled calculi, i.e. there could be instances of a rule where one of the premises is not a polytree but the conclusion is. To get around this issue, when translating from labeled to shallow nested, we first put our given derivation into a special form that makes use of so-calledpropagation rules[7, 17, 25, 34]. Such rules allow us to eliminate certain structural rules from our labeled calculi and their derivations; this results in an internalorrefinedvariant of the labeled calculus thatโinterestinglyโinherits the nice properties of the originalexternalcalculus. This methodology of eliminating structural rules to obtain refined calculi is of practical value in its own right [23]. In this paper, the methodology is used to provide a translation from labeled to shallow nested; however, this method is also useful in that it yields calculi suitable for proof-search and proving interpolation [24, 25]. Furthermore, this new form of the derivation permits a stepwise translation into a derivation of a deep nested calculus, from which, methods in [17] may be applied to further translate the proof into a proof of the corresponding shallow nested calculus. Our proof of admissibility of structural rules, in favor of propagation rules, for path axioms follows a similar methodology to that used in [17], with one notable difference:
in their work, the admissibility of display rules needs to be proved foreveryextension with path axioms, whereas in our case, admissibility of display rules is independent of the extensions, since the polytree representation makes the display rules superfluous. Our result thus suggests that perhaps display rules should be viewed as structural properties of sequents rather than as structural properties of proofs. This is analogous to, for example, internalizing the exchange rule as a property of sequents (i.e. commutativity and associativity ofcommain the sequent).
The paper is structured as follows: Section 2 introduces the class of tense logics considered along with their associated shallow nested, labeled, and deep nested calculi. Section 3 presents labeled
polytrees which are used to give the translation from nested notation to labeled notation as well as the reverse. In Section 4, we provide an effective translation from shallow nested proofs to labeled proofs for allgeneral pathextensions ofKt. Section 5 gives the reverse translation from labeled proofs to shallow nested proofs forpathextensions ofKt. Section 6 discusses consequences and potential applications.
We summarize below the calculi considered in this paper and illustrate the effective proof- transformations (which transform the shape of a derivation and preserve the language of the calculus;
indicated by a dotted arrow) and translations (which not only transform the shape of the derivation, but translate the language of the calculus; indicated by solid arrow) obtained in this paper.
Base Calculi and Extensions (๐บ ๐ general path axioms,๐ path axioms):
Base Calc. Type Gen. Path Str. Rules Path Str. Rules Propagation Rules
G3Kt[3, 9] labeled LabSt(GP) LabSt(P) LabPr(P)
SKT[17] Shal. Nes. NestSt(GP) NestSt(P)
DKT[17] Deep Nes. DeepPr(P)
Effective Transformations/Translations:
G3Kt+LabSt(GP) G3Kt+LabSt(P) ๐ฟ๐๐ .5.15 //
๐ โ๐ .5.20
G3Kt+LabPr(P)
๐ฟ๐๐ .5.18
SKT+NestSt(GP)
๐ โ๐ .4.3
OO
SKT+NestSt(P)
๐ โ๐ .4.3
YY
DKT+DeepPr(P)
๐ฟ๐๐ .2.21
oo
2 NESTED AND LABELED CALCULI FOR TENSE LOGICS
For convenience, we take the languageLKtas consisting of formulae in negation normal form. In particular, formulae are built from the literals๐and๐using theโง,โจ,^,โก,_, andโ operators. Note that all results hold also for the full language where theยฌ,โ, andโoperators as taken as primitive.
The languageLKtis explicitly defined via the following BNF grammar:
๐ด::=๐|๐ |๐ดโง๐ด|๐ดโจ๐ด|โก๐ด|^๐ด|โ ๐ด|_๐ด
Intuitively, we interpretโก๐ดas claiming that the formula๐ดholds at every point in the immediate future, whereasโ ๐ดis interpreted as claiming that๐ดholds at every point in the immediate past.
Similarly, we interpret the formula^๐ดas claiming that๐ดholds at some point in the immediate future, while_๐ดintuitively means that๐ดholds at some point in the immediate past.
Define๐ดinductively as follows.
(1) If๐ด=๐, then๐ด=๐; (2) If๐ด=๐, then๐ด=๐;
(3) If๐ด=๐ตโง๐ถ, then๐ด=๐ตโจ๐ถ; (4) If๐ด=๐ตโจ๐ถ, then๐ด=๐ตโง๐ถ;
(5) If๐ด=โก๐ต, then๐ด=^๐ต; (6) If๐ด=^๐ต, then๐ด=โก๐ต; (7) If๐ด=โ ๐ต, then๐ด=_๐ต; (8) If๐ด=_๐ต, then๐ด=โ ๐ต.
We define the negationยฌ๐ดof formula๐ดas๐ด, the conditional๐ดโ๐ตas๐ดโจ๐ต, and the biconditional ๐ดโ๐ตas๐ดโ๐ตโง๐ตโ๐ด.
The tense logicKtโa conservative extension of the normal modal logicKโis typically axioma- tized as shown below (see, e.g. [2, 8]).
๐ดโ (๐ตโ๐ด) (ยฌ๐ตโ ยฌ๐ด) โ (๐ดโ๐ต) (๐ดโ (๐ตโ๐ถ)) โ ( (๐ดโ๐ต) โ (๐ดโ๐ถ)) ๐ดโโก_๐ด ๐ดโโ ^๐ด โก๐ดโ ยฌ^ยฌ๐ด โ ๐ดโ ยฌ_ยฌ๐ด
๐ด
โก๐ด
๐ด
โ ๐ด
โก(๐ดโ๐ต) โ (โก๐ดโโก๐ต) โ (๐ดโ๐ต) โ (โ ๐ดโโ ๐ต) ๐ด ๐ดโ๐ต ๐ต
As mentioned previously, the logics we consider in this paper are extensions ofKtwithgeneral path axiomsof the formโจ?โฉ1...โจ?โฉ๐๐ดโ โจ?โฉ๐+1...โจ?โฉ๐+๐๐ดwhere eachโจ?โฉ๐ is either^or_. Occasionally, we may useโจ๐นโฉ,โจ๐บโฉ,. . .to represent either a^or a_. Also, note that when๐=0, the antecedent of the path axiom is free of diamonds (i.e. it is of the form๐ดโ โจ?โฉ1...โจ?โฉ๐๐ด), and when๐=0, the consequent is free of diamonds (i.e. it is of the formโจ?โฉ1...โจ?โฉ๐๐ด โ๐ด). We will use the notation ฮ ๐ดโฮฃ๐ดto represent such axioms. This class of axioms contains many well-known axioms such as reflexivity๐ดโ^๐ด, confluence_^๐ดโ^_๐ด, and partial-functionality_^๐ดโ๐ด. We will use ๐บ ๐ to denote an arbitrary set of general path axioms and writeKt+๐บ ๐to mean the minimal tense logicKtextended with the axioms from๐บ ๐; note that this notation extends straightforwardly to any set๐of formulae, i.e.Kt+๐will be used to represent extensions ofKtwith the formulae from๐, as well as the corresponding logic (i.e. the set of theorems). Last, we letKt+๐โข๐ดdenote that๐ดis a theorem of the logicKt+๐.
Path axiomsare general path axioms where the consequent of the axiom is restricted to a single- diamond formula,i.e.any formula of the formโจ?โฉ1...โจ?โฉ๐๐ดโ โจ?โฉ๐+1๐ดis a path axiom. We focus on this class of axioms because the translation methods presented in this paper only allow us to translate derivations from labeled to nested for the logicsKt+๐, where๐is an arbitrary set of path axioms.
Nevertheless, this class of axioms still contains well-known axioms such as transitivity^^๐ดโ^๐ด, symmetry_๐ดโ^๐ด, and Euclideanity_^๐ดโ^๐ด.
2.1 Shallow Nested (Display) Calculi for Tense Logics
We will present Gorรฉet al.โs [17] shallow nested calculusSKTforKt. This calculus can be seen as a one-sided version of Krachtโs [22] display calculus forKt, and also as a variant of Kashimaโs [21]
calculus.
The shallow nested calculus is modular in the sense that certain axiomatic extensions ofKtcan be captured by adding equivalent structural rules toSKT. Moreover,SKTallows for a uniform proof of cut-elimination where cut is eliminable from any derivation ofSKTextended with any number ofsubstitution-closed linear structural rules(see [17] for details). This makes the shallow nested calculus a good candidate for capturing large classes of tense logics in a unified, cut-free manner. The nested sequents ofSKTare generated by the following grammar where๐ดis a tense formula inLKt.
๐ ::=๐|๐ด|๐ , ๐ | โฆ{๐} | โข{๐}
We assume comma to commute and associate, meaning, for example, that we may freely re-write a nested sequent of the form๐ , ๐ , ๐as๐ , ๐ , ๐ when performing derivations inSKT. Also,๐represents theempty stringorempty sequent, which acts as an identity element for comma (e.g. we identify๐ , ๐ with๐), and so,๐will be implicit in nested sequents, but not explicitly appear.
A characteristic of nested sequents is that each can be translated into an equivalent formula in the languageLKt, that is, each connective introduced in the language of nested sequents acts as aproxy for a logical connective (cf. [1, 17, 22]). The interpretationIof a nested sequent as a tense formula is defined as follows:
(1) I (๐)=โค
(2) I (๐ด)=๐ดfor๐ดโ LKt
(3) I (๐ , ๐)=I (๐) โจ I (๐) (4) I (โฆ{๐})=โกI (๐)
(5) I (โข{๐})=โ I (๐)
It will occasionally be useful to refer to thesubstructuresof a nested sequent๐. We say that a sequent๐ is asubstructureof๐ if and only if๐ โ๐(๐), where the set ofsubstructuresof๐, written ๐(๐), is inductively defined as follows:
(1) ๐(๐)=โ
(2) ๐(๐ด)={๐ด}for๐ดโ LKt
(3) ๐(๐)={๐} โช๐(๐) โช๐(๐), if๐ =๐ , ๐ (4) ๐(๐)={๐} โช๐(๐), if๐ =โฆ{๐}orโข{๐} Definition 2.1 (The CalculusSKT[17]).
(id) ๐ , ๐, ๐
๐ , ๐ด, ๐ต (โจ) ๐ , ๐ดโจ๐ต
๐ , ๐ด ๐ , ๐ต (โง) ๐ , ๐ดโง๐ต ๐ , ๐ , ๐
(c) ๐ , ๐
๐ (w)
๐ , ๐
๐ ,โฆ{๐}
โข{๐}, ๐ (rf)
๐ ,โข{๐}
โฆ{๐}, ๐ (rp) ๐ ,โข{๐ด}
(โ ) ๐ ,โ ๐ด
๐ ,โฆ{๐ด} (โก) ๐ ,โก๐ด
๐ ,โข{๐ , ๐ด},_๐ด (_) ๐ ,โข{๐},_๐ด
๐ ,โฆ{๐ , ๐ด},^๐ด (^) ๐ ,โฆ{๐},^๐ด
SKTis referred to as a shallow nested sequent calculus because (i) theโฆ{ยท}andโข{ยท}provide (two types of) nestings and (ii) all the rules are shallow in the sense that they operate at therootor top-levelof the sequent (i.e. rules are only applied to formulae or structures that do not occur within nestings).
Definition 2.2 (Display Property). A calculus has thedisplay propertyif it contains a set of rules (calleddisplay rules) such that for any sequent๐ containing a substructure๐, there exists a sequent๐ such that๐ , ๐ is derivable from๐ using only the display rules.
The display property states that any substructure in๐ can be brought to thetop levelusing the display rules. The calculusSKThas the display property when{(rp),(rf)}is chosen to be the set of display rules, i.e., the residuation rules(rp)and(rf)serve as the display rules inSKT. A pair of nested sequents aredisplay equivalentwhen they are mutually derivable using only the display rules.
The display property is significant since it is a crucial component in the proof of cut-elimination (see [1]).
A modular method of obtaining a cut-free extension of the base calculus forKtby a large class of axioms inclusive of the general path axioms was introduced in [22] (see also [10]). Following [22], we present the rule(GP)corresponding to a general path axiomโจ?โฉ1...โจ?โฉ๐๐ดโ โจ?โฉ๐+1...โจ?โฉ๐+๐๐ด:
๐ ,โ ๐+1{...โ ๐+๐{๐}...} (GP) ๐ ,โ 1{...โ ๐{๐}...}
Here ifโจ?โฉ๐ =^thenโ ๐ =โฆ, and ifโจ?โฉ๐ =_thenโ ๐ =โข.
Since path axioms form a proper subclass of the general path axioms, the rule (GP) can be specialized to the rule(Path)for any given path axiomโจ?โฉ1...โจ?โฉ๐๐ดโ โจ?โฉ๐+1๐ด:
๐ ,โ ๐+1{๐}
(Path) ๐ ,โ 1{...โ ๐{๐}...}
THEOREM2.3 ([17]). The(cut)rule
๐ , ๐ด ๐ด, ๐ (cut) ๐ , ๐
is admissible inSKT+NestSt(GP).
THEOREM2.4 ([35]). Kt+๐บ ๐ โข๐ดiff๐ดis derivable inSKT+NestSt(GP).
2.2 Labeled Calculi for Tense Logics
Labeled sequents [13, 27] generalize Gentzen sequents by the prefixing ofstate variablesto formulae occurring in the sequent and by making the relational semantics explicit in the syntax. labeled sequents are defined via the BNF grammar below:
ฮ::=๐|๐ฅ :๐ด|ฮ,ฮ|๐ ๐ฅ๐ฆ,ฮ
where๐ด โ LKt, and๐ฅ and๐ฆare among a denumerable set๐ฅ , ๐ฆ, ๐ง, . . .of labels. We often write a labeled sequentฮasR,ฮwhereRconsists of therelational atomsof the form๐ ๐ฅ๐ฆoccurring inฮ andฮconsists of thelabeled formulaeof the form๐ฅ:๐ดoccurring inฮ. Additionally, characters such asR,Q, . . .will be used to denote (multisets of) relational atoms and Greek letters such asฮ,ฮ, . . . will be used to denote (multisets of) labeled formulae. As in the case of nested sequents, we assume that comma commutes and associates, meaning that each labeled sequentฮcan indeed be written in the form above, and also assume that๐represents theempty stringorempty sequent, which acts as an identity element for comma and occurs only implicitly in labeled sequents.
A labeled sequent can be viewed as a directed graph (defined usingR) with formulae decorating each node [9]. Note that in a labeled sequent ฮ = R,ฮ commas between relational atoms are interpreted conjunctively, the comma betweenR andฮ is interpreted as an implication, and the commas between the labeled formulae inฮare interpreted disjunctively.
Viganรฒ [36] constructed labeled sequent calculi for non-classical logics whose semantics are defined by Horn formulae. Negri [28] extended the method to generate cut-free and contraction-free labeled sequent calculi for the large family of modal logics whose Kripke semantics are defined by geometric (first-order) formulae. The proof of cut-elimination is general in the sense that it applies uniformly to every modal logic defined by geometric formulae; this result has been extended to intermediate and other non-classical logics [3, 11] and to arbitrary first-order formulae [12].
We begin by extending in the natural way the usual labeled sequent calculus forKto a labeled sequent calculus forKt.
Definition 2.5 (The labeled sequent calculusG3Kt[3, 9]).
R, ๐ฅ:๐, ๐ฅ :๐,ฮ (id) R, ๐ฅ:๐ด, ๐ฅ :๐ต,ฮ (โจ) R, ๐ฅ:๐ดโจ๐ต,ฮ
R, ๐ฅ:๐ด,ฮ R, ๐ฅ:๐ต,ฮ (โง) R, ๐ฅ:๐ดโง๐ต,ฮ
R, ๐ ๐ฅ๐ฆ, ๐ฆ:๐ด,ฮ (โก)โ R, ๐ฅ:โก๐ด,ฮ
R, ๐ ๐ฅ๐ฆ, ๐ฆ:๐ด, ๐ฅ:^๐ด,ฮ (^) R, ๐ ๐ฅ๐ฆ, ๐ฅ :^๐ด,ฮ
R, ๐ ๐ฆ๐ฅ , ๐ฆ:๐ด,ฮ (โ )โ R, ๐ฅ:โ ๐ด,ฮ
R, ๐ ๐ฆ๐ฅ , ๐ฆ:๐ด, ๐ฅ:_๐ด,ฮ (_) R, ๐ ๐ฆ๐ฅ , ๐ฅ :_๐ด,ฮ
The(โก)and(โ )rules have a side condition: (โ) the variable๐ฆdoes not occur in the conclusion.
When a variable is not allowed to occur in the conclusion of an inference, we refer to it as an eigenvariable.
A general path axiom is a Sahlqvist formula, and hence it has a first-order frame correspondent which can be computedโeven in the case of tense logics (see [2]). Following the method in [28], the labeled structural rule(GP)corresponding to a general path axiomฮ ๐ดโฮฃ๐ดis obtained below. Here Rฮ ๐ฅ๐ฆ=๐ โจ?โฉ
1๐ฅ๐ฆ1, ..., ๐ โจ?โฉ
๐๐ฆ๐๐ฆforฮ =โจ?โฉ1...โจ?โฉ๐,Rฮฃ๐ฅ๐ฆ=๐ โจ?โฉ
1๐ฅ ๐ง1, ..., ๐ โจ?โฉ
๐๐ฆ๐๐ฆforฮฃ=โจ?โฉ1...โจ?โฉ๐, ๐ ^๐ฅ๐ฆ=๐ ๐ฅ๐ฆ, and๐
_๐ฅ๐ฆ=๐ ๐ฆ๐ฅ.
R,Rฮ ๐ฅ๐ฆ,Rฮฃ๐ฅ๐ฆ,ฮ (GP)โ R,Rฮ ๐ฅ๐ฆ,ฮ
This rule also has a side condition: (โ) all variables occurring in the relational atomsRฮฃ๐ฅ๐ฆwith the exception of๐ฅand๐ฆare eigenvariables.
REMARK2.6. In the rule above, some care is needed in the boundary cases whenฮ orฮฃare empty strings of diamonds. The table below specifies the instances of the rule depending on whether the string is non-empty (marked with+), or empty (marked with๐):
ฮ ฮฃ Premise Conclusion + + R, ๐ ฮ ๐ฅ๐ฆ, ๐ ฮฃ๐ฅ๐ฆ,ฮ R, ๐ ฮ ๐ฅ๐ฆ,ฮ + ๐ R,Q,Q [๐ฅ/๐ฆ], ๐ ฮ ๐ฅ๐ฆ,ฮ[๐ฅ/๐ฆ],ฮ,ฮ R,Q, ๐ ฮ ๐ฅ๐ฆ,ฮ,ฮ
๐ + R, ๐ ฮฃ๐ฅ ๐ฅ ,ฮ R,ฮ
๐ ๐ R,ฮ R,ฮ
Note that whenฮ =๐orฮฃ=๐,๐ ฮ ๐ฅ๐ฆand๐ ฮฃ๐ฅ๐ฆare taken to be๐ฅ =๐ฆ. For the second, third, and fourth entries in the table, the equality symbols that arise have been eliminated through substitutions and suitable argumentation. This argumentation can be formalized using the equality and substitution rules specified by Negri [28].
As explained in [28], a calculus does not immediately permit admissibility of contraction when extended with structural rules. Nevertheless, this obstacle can be overcome through adherence to the closure condition. Whenever a substitution of variables in the(GP)structural rule brings about a duplication of relational atoms inRฮ ๐ฅ๐ฆ, we add another instance of the rule with this duplication contracted. We therefore enforce the following condition on structural extensions ofG3Kt:
Closure Condition: Let Rฮ ๐ฅ๐ฆ =Rฮ โฒ๐ฅ๐ข, ๐ โจ?โฉ๐ข๐ฃ , ๐ โจ?โฉ๐ข๐ฃ ,Rฮ โฒโฒ๐ข๐ฆ. If an extension of G3Kt with a structural rule(GP)contains a rule instance of the form:
R,Rฮ โฒ๐ฅ๐ข, ๐ โจ?โฉ๐ข๐ฃ , ๐ โจ?โฉ๐ข๐ฃ ,Rฮ โฒโฒ๐ฃ๐ฆ,Rฮฃ๐ฅ๐ฆ,ฮ R,Rฮ โฒ๐ฅ๐ข, ๐ โจ?โฉ๐ข๐ฃ , ๐ โจ?โฉ๐ข๐ฃ ,Rฮ โฒโฒ๐ฃ๐ฆ,ฮ (GP)
then the following instance of the rule (with๐ โจ?โฉ๐ข๐ฃcontracted in both premise and conclusion):
R,Rฮ โฒ๐ฅ๐ข, ๐ โจ?โฉ๐ข๐ฃ ,Rฮ โฒโฒ๐ฃ๐ฆ,Rฮฃ๐ฅ๐ฆ,ฮ (GPโก) R,Rฮ โฒ๐ฅ๐ข, ๐ โจ?โฉ๐ข๐ฃ ,Rฮ โฒโฒ๐ฃ๐ฆ,ฮ
is also added to the calculus (withโกindicating that the rule was obtained via the closure condition).
Note that variable substitutions can only bring about a finite number of rule instances possessing duplications. Hence, the closure condition adds finitely many structural rules and is therefore unproblematic. Whenever we consider extensions ofG3Ktwith structural rules, we always assume that this condition has been met.
Since particular attention will be paid to the class of path axioms (specifically in section 5.2), we also explicitly give the structural rule(Path)which is an instance of(GP)and corresponds to a path axiomฮ ๐ดโ โจ?โฉ๐ด:
R, ๐ ฮ ๐ฅ๐ฆ, ๐ โจ?โฉ๐ฅ๐ฆ,ฮ
(Path) R, ๐ ฮ ๐ฅ๐ฆ,ฮ
We use the nameLabSt(GP)to represent the set of labeled structural rules corresponding to a set๐บ ๐of general path axioms and the nameLabSt(P)to refer to the set of labeled structural rules corresponding to a set๐of path axioms.
It is straightforward to apply the arguments and methods concerning labeled calculi for modal and tense logics, presented in [3, 28], to conclude the following:
LEMMA2.7. The following rules are admissible inG3Kt+LabSt(GP):
R,Q,Q,ฮ,ฮ,ฮ R,Q,ฮ,ฮ (c)
R,ฮ
R,Q,ฮ,ฮ (w) R,ฮ, ๐ฅ:๐ด R,ฮ, ๐ฅ:๐ด (cut) R,ฮ
THEOREM2.8. Kt+๐บ ๐ โข๐ดiff๐ฅ:๐ดis derivable inG3Kt+LabSt(GP).
2.3 Deep Nested Calculi for Tense Logics
In this section we present Gorรฉet al.โs [17] deep nested calculusDKTforKt, as well as extensions ofDKTwith inference rulesโreferred to aspropagation rulesโthat correspond to the class ofpath
axioms. Although we will show how to translate shallow nested derivations into labeled derivations for the logicsKt+๐บ ๐, we consider path axioms here because the reverse translation from labeled proofs to shallow nested proofs is only known for the smaller class of logicsKt+๐. The deep nested calculi presented here will be used to facilitate and simplify the reverse translation.
Our calculi make use of nested sequents from the same language asSKT. Every nested sequent ๐ :=๐ ,โฆ{๐1}, ...,โฆ{๐๐},โข{๐1}, ...,โข{๐๐}(๐ contains no nesting) may be represented as a tree with two types of edges [17, 21]. The tree of๐, denoted๐ก ๐ ๐๐(๐), is shown below:
๐
โฆ โฆ โฆ โข โข โข
๐ก ๐ ๐๐(๐1) . . . ๐ก ๐ ๐๐(๐๐) ๐ก ๐ ๐๐(๐1) . . . ๐ก ๐ ๐๐(๐๐)
A nested sequent that contains holes in place of formulae is called acontext. Like nested sequents, contexts may be represented as trees, but where nodes are additionally labeled with holes. A context with a single hole is written as๐[] and a context with multiple holes is written as๐[] ยท ยท ยท []. We may compose a context with sequents to obtain a sequent (e.g.๐[๐1] ยท ยท ยท [๐๐] is a sequent where ๐[] ยท ยท ยท []is a multi-hole context and๐1, ...,๐๐are sequents); graphically, this corresponds to fusing the root of the tree of each sequent with the node in the context where the associated hole occurs.
Note that this notation is the opposite of what is often used for nested sequent calculi formodal logics in the literature, though is consistent with the notation used in the literature for nested sequent calculi for tense logics (cf. [17]).
When representing a context graphically, each hole will label a unique node in the corresponding tree. For a single-hole context we write๐[]๐ to indicate the node๐where the hole occurs, and for a multi-hole context we write๐[]๐1ยท ยท ยท []๐๐ to indicate the unique nodes in the tree that correspond to each hole.
Definition 2.9 (The CalculusDKT[17]2).
(id) ๐[๐, ๐]
๐[๐ด, ๐] ๐[๐ต, ๐] (โง) ๐[๐ดโง๐ต, ๐]
๐[๐ด, ๐ต, ๐] (โจ) ๐[๐ดโจ๐ต, ๐] ๐[โ ๐ด,โข{๐ด}]
(โ ) ๐[โ ๐ด]
๐[โข{๐ , ๐ด},_๐ด] (_1) ๐[โข{๐},_๐ด]
๐[โฆ{๐ ,_๐ด}, ๐ด] (_2) ๐[โฆ{๐ ,_๐ด}]
๐[โก๐ด,โฆ{๐ด}]
(โก) ๐[โก๐ด]
๐[โฆ{๐ , ๐ด},^๐ด] (^1) ๐[โฆ{๐},^๐ด]
๐[โข{๐ ,^๐ด}, ๐ด] (^2) ๐[โข{๐ ,^๐ด}]
We now aim to define propagation rules for deep nested calculi. To do this, we follow the work in [17] and first introduce path axiom inverses, compositions of path axioms, and the completion of a set of path axioms in order to define the corresponding set of equivalent propagation rules. Additions of these propagation rules toDKTwill yield cut-free, sound, and complete deep nested calculi for logicsKt+๐. Note that we defineโจ?โฉโ1=^ifโจ?โฉ=_, andโจ?โฉโ1=_, ifโจ?โฉ=^.
Definition 2.10 (Path Axiom Inverse [17]). If๐นis a path axiom of the formโจ?โฉ๐น1...โจ?โฉ๐น๐๐ดโ โจ?โฉ๐น๐ด, then we define theinverse of๐นto be
๐ผ(๐น)=โจ?โฉ๐นโ1
๐
...โจ?โฉโ1๐น
1๐ดโ โจ?โฉ๐นโ1๐ด
Given a set of path axioms๐, we define theset of inversesto be the set๐ผ(๐)={๐ผ(๐น) |๐น โ๐}.
2As shown in [17], copying the principal formula in the(โก)and(โ )rules is useful when performing proof-search, despite being unnecessary for completeness of the calculus. Still, we make use of the same rules here since we will leverage methods presented in [17] that make use of the calculusDKTin the form above.
Definition 2.11 (Composition of Path Axioms [17]). Given two path axioms ๐น =โจ?โฉ๐น1...โจ?โฉ๐น๐๐ดโ โจ?โฉ๐น๐ดand๐บ =โจ?โฉ๐บ1...โจ?โฉ๐บ๐๐ดโ โจ?โฉ๐บ๐ด we say๐นis composable with๐บat๐iffโจ?โฉ๐น =โจ?โฉ๐บ๐. We define thecomposition
๐นโฒ๐๐บ=โจ?โฉ๐บ1...โจ?โฉ๐บ๐โ1โจ?โฉ๐น1...โจ?โฉ๐น๐โจ?โฉ๐บ๐+1...โจ?โฉ๐บ๐๐ดโ โจ?โฉ๐บ๐ด when๐น is composable with๐บat๐.
Using these individual compositions, we define the followingset of compositions:
๐นโฒ๐บ={๐นโฒ๐๐บ |F is composable with G at i}
Example 2.12. As an example, we can compose the axiom^^๐ดโ _๐ดwith_^๐ดโ ^๐ดto obtain^^^๐ดโ^๐ด.
Definition 2.13 (Completion [17]). Thecompletionof a set๐ of path axioms, written๐โ, is the smallest set of path axioms containing๐ such that
(1)^๐ดโ^๐ด,_๐ดโ_๐ดโ๐โ
(2) If๐น , ๐บ โ๐โand๐นis composable with๐บ, then๐น โฒ๐บ โ๐โ.
After introducing further notions necessary to define the propagation rules, we will give examples showing the significance of defining the rules relative to thecompletionof a set of path axioms, rather than defining the rules relative to just the given set of path axioms. As will be shown, without defining the rules relative to the completion, the corresponding set of rules would not be enough to achieve completeness of the resulting calculus.
Let us now recall the notion of a propagation graph and the notion of a path in a propagation graph from [17]. We introduce these concepts using the diamond rules ofDKTas an example. The diamond rules (^1), (^2), (_1), (_2) can be read bottom-up as propagating formulae to nodes in the tree of a sequent.
For example, the (^1) rule propagates an๐ด to a node along aโฆ-edge, whereas the (^2) rule propagates an๐ดbackward along aโข-edge. Similarly, the (_1) rule propagates an๐ดforward to a node along aโข-edge, and the (_2) rule propagates an๐ดbackward along aโฆ-edge. These movements are represented in the diagram below:
๐
โฆ
^
โข
_
๐
_
EE
๐
^
ZZ
This understanding of how formulae are propagated is crucial to define the propagation rules for deep nested calculi. In fact, as will be explained below, each path axiom can be read as an instruction that expresses how to propagate a formula along some path. We therefore give a precise definition of thepropagation graphof a sequent, which explicitly specifies how formulae may move when being propagated throughout the tree of a sequent.
Definition 2.14 (Propagation Graph [17]). Let๐ be a nested sequent where๐is the set of nodes in๐ก ๐ ๐๐(๐). We define thepropagation graph๐ ๐บ(๐)=(๐ , ๐ธ)of๐ to be the directed graph with the set of nodes๐, and where the set of edges๐ธare labeled with either a^or_as follows:
(1) For every node๐โ๐ andโฆ-child๐of๐, we have a labeled edge(๐, ๐,^) โ๐ธand a labeled edge(๐, ๐,_) โ๐ธ.
(2) For every node๐โ๐ andโข-child๐of๐, we have a labeled edge(๐, ๐,_) โ๐ธand a labeled edge(๐, ๐,^) โ๐ธ.
LEMMA 2.15. Suppose that๐ and๐ are display equivalent nested sequents. Then,๐๐บ(๐) = ๐๐บ(๐).
PROOF. We prove the result by induction on the minimum number of display inferences needed to derive๐ from๐.
Base case.Assume w.l.o.g. that๐ =๐ ,โฆ{๐}and๐ =โข{๐}, ๐ so that๐ is derivable from๐ with a single application of a display rule. Let๐๐บ(๐)=(๐1, ๐ธ1)and๐๐บ(๐)=(๐2, ๐ธ2)with๐1the root of๐ก ๐ ๐๐(๐)and๐2the root of๐ก ๐ ๐๐(๐). Observe that๐๐บ(๐)=(๐ , ๐ธ), where๐ =๐1โช๐2and ๐ธ=๐ธ1โช๐ธ2โช {(๐1, ๐2,^),(๐2, ๐1,_)}, which is identical to๐ ๐บ(๐)by definition.
Inductive step.Suppose that๐+1is the minimum number of display inferences needed to derive ๐ from๐. It follows that there exists a nested sequent๐such that๐is derivable from๐ with one display inference, and๐ is derivable from๐with๐applications of the display rules. By the base case we know that๐๐บ(๐)=๐ ๐บ(๐), and by the inductive hypothesis,๐๐บ(๐)=๐๐บ(๐). โก Definition 2.16 (Path [17]). Apathis a sequence of nodes and diamonds (labeling edges) of the form:
๐1,โจ?โฉ1, ๐2,โจ?โฉ2, ...,โจ?โฉ๐โ1, ๐๐
in the propagation graph๐๐บ(๐) such that๐๐ is connected to๐๐+1 by an edge labeled with โจ?โฉ๐. Note that we allow repetitions of nodes along a path (e.g.๐,^, ๐,_, ๐ is a path). For a given path๐ =๐1,โจ?โฉ1, ๐2,โจ?โฉ2, ...โจ?โฉ๐โ1, ๐๐, we define thestring of๐to be the string of diamondsฮ =
โจ?โฉ1โจ?โฉ2...โจ?โฉ๐โ1.
Definition 2.17 (Deep Nested Propagation Rules [17]). Let๐ be a set of path axioms. The set of propagation rulesDeepPr(P)contains all rules of the form:
๐[โจ?โฉ๐ด]๐[๐ด]๐
๐[โจ?โฉ๐ด]๐[โ ]๐
where there is a path๐ from๐ to ๐ in the propagation graph of the premise andฮ ๐ด โ โจ?โฉ๐ด โ (๐โช๐ผ(๐))โwithฮ the string of๐.
It should be noted that two different sets๐ and๐โฒof path axioms can generate the same set of propagation rules, i.e.(๐โช๐ผ(๐))โ=(๐โฒโช๐ผ(๐โฒ))โ. For example, both{๐ดโ^๐ด,_^๐ดโ^๐ด}and {๐ดโ^๐ด,_๐ดโ^๐ด,^^๐ดโ^๐ด}yield the same set of propagation rules, which would provide a deep nested calculus for tenseS5.
Example 2.18 (Necessity of Inverses). Let us now demonstrate why inverses must be taken into account when defining propagation rules. Suppose that we did not define the set of propagation rules relative to the set({^^๐ดโ^๐ด} โช {__๐ดโ_๐ด})โ, but rather, we defined the set of propagation rules relative to the set{^^๐ดโ^๐ด}โ. All propagation rules in this restricted set are of the form below (where there is a path of the form๐,^, . . . ,^,๐of length๐โฅ1from๐to๐):
๐[^๐ด]๐[๐ด]๐
๐[^๐ด]๐[โ ]๐
We now explain why this restricted set of propagation rulesโthat does not take inverses into accountโleads to an incomplete calculus. Below, we attempt to give a root-first derivation of ๐ผ(^^๐ โ ^๐) = __๐ โ _๐, which is a theorem of the logicKt+^^๐ด โ ^๐ดand should therefore be derivable:
โข{โข{๐}},_๐
โข{โ ๐},_๐
โ โ ๐,_๐
โ โ ๐โจ_๐ . . . =
__๐โ_๐
Observe that no propagation rule from the restricted set is applicable to the top sequent of the derivation because no propagation rule acts along a path of the form๐,_, . . . ,_,๐. However, if we allow ourselves to define the propagation rules relative to the set({^^๐ดโ^๐ด} โช {__๐ดโ_๐ด})โ, then we also have the following rules in our calculus (where there is a path of the form๐,_, . . . ,_,๐ of length๐โฅ1from๐to๐):
๐[_๐ด]๐[๐ด]๐
๐[_๐ด]๐[โ ]๐
Using this rule we can complete the derivation by deriving the top sequent of the above derivation from the initial sequentโข{โข{๐, ๐}},_๐:
โข{โข{๐, ๐}},_๐ (id)
โข{โข{๐}},_๐
Example 2.19 (Necessity of Compositions). Suppose we are given the set ๐ = {^_^๐ด โ
^๐ด,^^๐ดโ_๐ด}. One of the composition formulae derivable in the logicKt+๐is^^^^๐ดโ^๐ด. Our example below demonstrates the necessity of definingDeepPr(P)relative to the completion (๐โช๐ผ(๐))โ(which takes into account compositions) instead of just๐.
If we define our propagation rules relative to just๐, then we will have the following two propagation rules in our calculus:
๐[^๐ด]๐[๐ด]๐
๐[^๐ด]๐[โ ]๐
๐[_๐ด]๐[๐ด]๐
๐[_๐ด]๐[โ ]๐
The left rule is applicable when there is a path of the form๐,^,๐1,_,๐2,^,๐from node๐to๐, and the right rule is applicable when there is a path of the form๐,^,๐1,^,๐from๐to๐in the respective propagation graphs.
We now attempt to derive^^^^๐โ^๐, and show that no sequence of rules applied backward can give a proof of the formula:
โฆ{โฆ{โฆ{โฆ{๐}}}},^๐
โกโกโกโก๐,^๐
โกโกโกโก๐โจ^๐ . . . =
^^^^๐ โ^๐
None of the rules inDKTor in the restricted set of propagation rules are bottom-up applicable to the top sequent. However, since^^^^๐ด โ ^๐ด โ (๐ โช๐ผ(๐))โ, if we allow the addition of propagation rules to correspond to axioms in(๐โช๐ผ(๐))โrather than just๐, then we have the following rule in our calculus (where there is a path of the form๐,^,๐1,^,๐2,^,๐3,^,๐from๐to๐):
๐[^๐ด]๐[๐ด]๐
๐[^๐ด]๐[โ ]๐
This can be used to prove the formula^^^^๐โ^๐by deriving the top sequent in the above derivation from the initial sequentโฆ{โฆ{โฆ{โฆ{๐, ๐}}}},^๐:
โฆ{โฆ{โฆ{โฆ{๐, ๐}}}},^๐ (id)
โฆ{โฆ{โฆ{โฆ{๐}}}},^๐
LEMMA2.20 ([17]). The following rules are admissible inDKT+DeepPr(P):
๐[๐] (w) ๐[๐ , ๐]
๐[๐ , ๐] (c) ๐[๐]
๐ ,โฆ{๐}
โข{๐}, ๐ (rf)
๐ ,โข{๐}
โฆ{๐}, ๐ (rp)
LEMMA2.21 ([17]). Let๐ be a set of path axioms. Every derivation inSKT+NestSt(P) of a sequentฮis [effectively] transformable to a derivation inDKT+DeepPr(P), and vice-versa.
We have added the word โeffectivelyโ to indicate that the proof in [17] is algorithmic. The forward direction of the above lemma is shown by induction on the height of the given derivation ([17, Lem. 6.13]), and the reverse direction follows from the fact thatSKT+NestSt(P)can mimic propa- gation rules ([17, Lem. 6.12]). Also, observe that the above lemma implies cut-free completeness for each deep nested calculusDKT+DeepPr(P).
THEOREM2.22 ([17]). Let๐ be a set of path axioms.Kt+๐ โข๐ดiff๐ดis cut-free derivable in DKT+DeepPr(P).
3 NESTED SEQUENTS AND LABELED POLYTREES
In this section we show how to translate (back and forth) a nested sequent into a labeled polytree (called alabeled UTin [9]). These graphical structures facilitate the translations between nested and labeled proofs.
We write๐ =๐1โ๐2to mean that๐ =๐1โช๐2and๐1โฉ๐2=โ . The multiset union of multisets๐1 and๐2is denoted๐1โ๐2. Alabeling function๐ฟ is a map from a set๐ to a multiset of tense formulae. For labeling functions๐ฟ1 and๐ฟ2on the sets๐1 and๐2 respectively, let๐ฟ1โช๐ฟ2be the labeling function on๐1โช๐2defined as follows:
(๐ฟ1โช๐ฟ2) (๐ฅ)=
๏ฃฑ๏ฃด
๏ฃด๏ฃด
๏ฃฒ
๏ฃด๏ฃด
๏ฃด
๏ฃณ
๐ฟ1(๐ฅ) ๐ฅ โ๐1, ๐ฅโ๐2 ๐ฟ2(๐ฅ) ๐ฅ โ๐1, ๐ฅโ๐2 ๐ฟ1(๐ฅ) โ๐ฟ2(๐ฅ) ๐ฅ โ๐1, ๐ฅโ๐2
Alabeled graph(๐ , ๐ธ, ๐ฟ)is a directed graph(๐ , ๐ธ)equipped with a labeling function๐ฟon๐. Definition 3.1 (Labeled Graph Isomorphism). We say that two labeled graphs๐บ1=(๐1, ๐ธ1, ๐ฟ1) and๐บ2=(๐2, ๐ธ2, ๐ฟ2)are isomorphic (written๐บ1 ๐บ2) if and only if there is a function๐ :๐1โ๐2 such that:
(i)๐ is bijective;
(ii) for every๐ฅ , ๐ฆโ๐1,(๐ฅ , ๐ฆ) โ๐ธ1iff(๐ ๐ฅ , ๐ ๐ฆ) โ๐ธ2; (iii) for every๐ฅ โ๐1,๐ฟ1(๐ฅ)=๐ฟ2(๐ ๐ฅ).
Definition 3.2 (Labeled Polytree). Alabeled polytreeis a labeled graph whose underlying (i.e.
undirected) graph is a tree,i.e.there exists exactly one path of undirected edges between every pair of distinct nodes.
Example 3.3. The following two graphs represent labeled polytrees, where each node is decorated with a multiset๐๐ of formulae:
๐ฆ
๐1
๐ง
๐2 // ๐๐ค3 // ๐๐ฅ4
๐ฆ
๐2
๐ข
๐4
๐ฃ
๐1
๐ฅ
๐3
Polytrees have been discussed in the graph theory literature and have also found applications in computer science [20, 33].
3.1 Interpreting a Nested Sequent as a Labeled Polytree
Every nested sequent has a natural interpretation as a labeled tree with two types of directed edges:
โโฆ andโโข [17, 21]. If we interpret every directed edge๐ผ
โโข ๐ฝas the directed edge๐ผ
โโฆ ๐ฝ, we can then interpret every nested sequent as a connected labeled graph with asingletype of directed edge (so we can drop theโฆsymbol altogether). Moreover, it is easy to see that its underlying graph (i.e.the undirected graph obtained by treating all edges as undirected) is a tree, and that every nested sequent can be interpreted naturally as a labeled polytree.
Example 3.4 (Transforming a Nested Sequent into a Labeled Sequent). First interpret the nested sequent๐ด,โฆ{๐ต,โข{}},โข{๐ท , ๐ธ,โข{๐น},โฆ{๐บ}}as the labeled tree with two types of directed edges, below left. Next, convert the labeled tree to a labeled polytree (with a single type of directed edge) by reading each๐ผ
โโข ๐ฝas๐ผโ๐ฝ(below right) and remove theโฆ-typing from the remaining edges.
๐ฅ
๐ด
โฆ
โข
๐ฆ
๐ต
โข
๐ค
๐ท , ๐ธ
โข โฆ
๐ง
โ
๐ข
๐น
๐ฃ
๐บ
๐ฅ
๐ด
๐ฆ
๐ต
๐ค
๐ท , ๐ธ
^^
๐ง
โ
OO
๐ข
๐น
@@
๐ฃ
๐บ
For concreteness let us formally define the map๐from a nested sequent to a labeled polytree.
Definition 3.5 (The Translation๐). LetN<Ndenote the set of finite sequences onN; we will use such sequences as subscripts on labels in our definition below. We use strings๐ of natural numbers to denote elements ofN<N, i.e.,๐ =๐0ยท ยท ยท๐๐ โ N<Nwhere๐0, . . . , ๐๐ โN. Define thedepth of a nested sequentto be the maximum nesting depth in the sequent. For๐ โN<Nand a nested sequent๐, define the map๐๐ฅ๐(๐)recursively on the depth of๐.
(1) Depth is0:๐ =๐ด0, . . . , ๐ด๐. A pictorial representation is given below right.
๐๐ฅ๐(๐ด0, . . . , ๐ด๐)=({๐ฅ๐},โ ,{(๐ฅ๐,{๐ด0, . . . , ๐ด๐})})
๐ฅ๐
๐ด0, . . . , ๐ด๐
(2) Depth is positive:๐ = ๐ด0, . . . , ๐ด๐,โฅ0{๐0}, . . . ,โฅ๐{๐๐} where โฅ๐ โ {โฆ,โข} and 0 โค ๐ โค ๐. Since each๐๐ has strictly smaller depth than๐, each๐๐ฅ๐ ๐(๐๐) = (๐๐, ๐ธ๐, ๐ฟ๐)(for0 โค ๐ โค๐) is well-defined. Also, by construction, the sets{๐ฅ๐}, ๐0, . . ., and๐๐ are pairwise disjoint. We define๐๐ฅ๐(๐)=(๐ , ๐ธ, ๐ฟ)as follows:
๐ ={๐ฅ๐} โช๐0โช. . .โช๐๐
๐ธ={(๐ฅ๐, ๐ฅ๐ ๐) | โฅ๐ =โฆ} โช {(๐ฅ๐ ๐, ๐ฅ๐) | โฅ๐ =โข} โช๐ธ0โช. . .โช๐ธ๐ ๐ฟ={(๐ฅ๐,{๐ด0, . . . , ๐ด๐})} โช๐ฟ0โช. . .โช๐ฟ๐
A pictorial representation is given below. The orientation of the arrows is determined byโฅ๐. Ifโฅ๐ =โฆthen the arrow directs away from๐ฅ๐; ifโฅ๐ =โขthen the arrow directs toward๐ฅ๐:
๐๐ฅ๐0(๐0) . . . ๐๐ฅ๐ ๐(๐๐)
๐ฅ๐
๐ด0, . . . , ๐ด๐
โฅ0
โฅ๐โ1
โฅ1
โฅ๐
Example 3.6. The labeled polytree๐๐ฅ0(๐)=(๐ , ๐ธ, ๐ฟ)of the nested sequent๐ =๐ด,โฆ{๐ต,โข{๐ถ}},โข{๐ท} is shown below:
๐ฅ000
๐ถ // ๐ฅ๐ต00
๐ฅ0
oo ๐ด oo ๐ฅ๐ท01
In practice we use lower case letters without subscripts to denote labels, such as๐ฅ,๐ฆ,๐ง, etc.
Definition 3.7 (Labeled Polytree Merge and Subgraph). Let๐บโ๐ฅ๐ปdenote the labeled polytree obtained as the graph union of labeled polytrees๐บand๐ปthat have a single vertex๐ฅin common, such that the label of๐ฅin๐บโ๐ฅ๐ป (i.e. the multiset of tense formulae that๐ฅmaps to under the labeling function of๐บโ๐ฅ๐ป) is the union of the labels of the vertex๐ฅin๐บand in๐ป. We refer to๐บโ๐ฅ๐ป as themergeof two polytrees.
We say that a๐ปis alabeled polytree subgraphof a labeled polytree๐บif and only if there exists a labeled polytree๐ปโฒsuch that๐บ=๐ปโฒโ๐ฅ๐ป. We use๐บ[๐ป]๐ฅboth as a name for the labeled polytree๐บ and to denote that๐ปis a labeled polytree subgraph of๐บ.
Example 3.8. The labeled polytree๐บ[๐ป]๐ฅ =๐ปโฒโ๐ฅ๐ป, where๐ฅis the common vertex between๐ปโฒ and๐ป, is shown below left. The top labeled polytree below right is๐ปโฒand the other is๐ป.
๐ง
๐3
๐ฆ
๐2
๐ฅ
๐โ๐
``
๐ค
๐1
OO
๐ข
๐1
>>
๐ฃ
๐2
๐ง
๐3
๐ฆ
๐2
๐ฅ
๐
^^
๐ค
๐1
OO
๐ฅ
๐
๐ข
๐1
@@
๐ฃ
๐2
For any labeled polytree(๐ , ๐ธ, ๐ฟ), there exist partitions๐ =๐1โ {๐ฅ} โ๐2,๐ธ=๐ธ1โ๐ธ2, and๐ฟ= ๐ฟ1โช๐ฟ2, such that๐บ[๐ป]๐ฅ=๐ปโฒโ๐ฅ๐ป =(๐ , ๐ธ, ๐ฟ)with๐ปโฒ=(๐1โ {๐ฅ}, ๐ธ1, ๐ฟ1)and๐ป =(๐2โ {๐ฅ}, ๐ธ2, ๐ฟ2).
Clearly,๐ฟ(๐ฅ)=๐ฟ1(๐ฅ) โ๐ฟ2(๐ฅ), and๐ปโฒand๐ป are labeled polytrees. In other words, we view๐ปin ๐บ[๐ป]๐ฅ=๐ปโฒโ๐ฅ๐ปas the redex and๐ปโฒas the context.
Since nested sequents may be interpreted as trees with two types of edges (โฆ-edges andโข-edges), they possess a root node, whereas labeled polytrees do not possess a root in general. Nevertheless, the underlying tree structure of a labeled polytree permits us to view any node as the root, and the lemma below ensures that we obtain isomorphic labeled polytrees via the display rules regardless of the node where we begin the translation.
Note that the label๐ฅ in๐๐ฅ simply denotes the name of the starting vertex of the translation so๐๐ฅ(๐) ๐๐ฆ(๐)for all labels๐ฅand๐ฆ, and all nested sequents๐.
LEMMA3.9. For every label๐ฅ, and any nested sequents๐ and๐:๐๐ฅ(๐ ,โฆ{๐})๐๐ฅ(โข{๐}, ๐).
PROOF. Observe that๐๐ฅ(๐ ,โฆ{๐})is isomorphic to the labeled polytree obtained from the disjoint union of๐๐ฅ(๐)and๐๐ฆ(๐)by the addition of an edge(๐ฅ , ๐ฆ). Meanwhile๐๐ฅ(โข{๐}, ๐)is isomorphic to the labeled polytree obtained from the disjoint union of๐๐ฆ(๐)and๐๐ฅ(๐)by the addition of an edge(๐ฆ, ๐ฅ). The result follows because๐๐ฅ(๐)๐๐ฆ(๐)and๐๐ฆ(๐)๐๐ฅ(๐). โก Henceforth we write๐instead of๐๐ฅto reduce clutter when the name of the starting vertex is not important.
COROLLARY3.10. For all labels๐ฅand๐ฆ, and nested sequents๐ and๐, if๐ and๐ are display equivalent, then๐๐ฅ(๐)๐๐ฆ(๐).
PROOF. By repeated application of Lemma 3.9. โก
3.2 Interpreting a Labeled Polytree as a Nested Sequent
Given a labeled polytree๐บ =(๐ , ๐ธ, ๐ฟ)we first pick a vertex๐ฅ โ๐ to compute the nested sequent ๐๐ฅ(๐บ). If๐ธ = โ , then๐๐ฅ(๐บ) =๐ฟ(๐ฅ)is the desired nested sequent. Otherwise, for all๐forward looking edges(๐ฅ , ๐ฆ๐) โ๐ธ(with1โค๐ โค๐) where๐ฆ๐ is the root of๐ป๐, and for all๐backward looking edges(๐ง๐, ๐ฅ) โ๐ธ(with1โค ๐ โค๐) where๐ง๐is the root of๐ปโฒ
๐, we define the image of๐๐ฅ(๐บ)as the nested sequent
๐ฟ(๐ฅ),โฆ{๐๐ฆ1(๐ป1)}, . . . ,โฆ{๐๐ฆ๐(๐ป๐)},โข{๐๐ง1(๐ป1โฒ)}, . . . ,โข{๐๐ง๐(๐ปโฒ
๐)}
Since the labeled polytrees๐ป1, . . . , ๐ป๐, ๐ปโฒ
1, . . . , ๐ปโฒ
๐are smaller than๐บ, the recursive definition of๐is well-founded.
LEMMA3.11. For any labeled polytree๐บ =(๐ , ๐ธ, ๐ฟ), and for any vertices๐ฅ , ๐ฆโ๐, the nested sequent๐๐ฅ(๐บ)is derivable from๐๐ฆ(๐บ)via the display rules(rf)and(rp).
PROOF. We prove the result by induction on the length of the (unique) path๐๐๐ ๐ก(๐ฅ , ๐ฆ)between๐ฅ and๐ฆ. When๐๐๐ ๐ก(๐ฅ , ๐ฆ)=0we have๐ฅ=๐ฆand the claim holds.
Base case.Suppose that๐๐๐ ๐ก(๐ฅ , ๐ฆ)=1. There are two cases to consider: either there is a forward edge from๐ฅto๐ฆ, or there is a backward edge from๐ฅto๐ฆ. Without loss of generality, we consider only the first case. It follows that if there is a forward edge connecting๐ฅto๐ฆ, then since๐๐ฅ(๐บ)is of the form๐ ,โฆ{๐}, then๐๐ฆ(๐บ)=โข{๐}, ๐. It is easy to see that both sequents are display equivalent.
Inductive step.Suppose that๐๐๐ ๐ก(๐ฅ , ๐ฆ)=๐+1. Let๐งrepresent the node one edge away from๐ฅ along the๐+1path to๐ฆ. By the base case,๐๐ฅ(๐บ)and๐๐ง(๐บ)are display equivalent, and since the distance from๐งto๐ฆis๐, we have that๐๐ง(๐บ)is also display equivalent to๐๐ฆ(๐บ)by the induction hypothesis. Hence,๐๐ฅ(๐บ)is display equivalent to๐๐ฆ(๐บ). โก When translating a labeled polytree we must choose a vertex as the starting point of our translation.
This lemma states that all nested sequents obtained from choosing a different vertex to translate from are mutually derivable from one another, i.e. they are derivable from each other by use of the display rules(rp)and(rf)only (hence, they are display equivalent). Due to this fact, we will omit the subscript when contextually permissible and simply write๐as the translation function.
To clarify the translation procedure, we provide an example below of the various nested sequents obtained from translating at a different initial vertex.
Example 3.12. Suppose we are given the labeled polytree๐บ = (๐ , ๐ธ, ๐ฟ) where๐ = {๐ฅ , ๐ฆ, ๐ง}, ๐ธ= {(๐ฅ , ๐ฆ),(๐ง, ๐ฅ)},๐ฟ(๐ฅ) ={๐ด},๐ฟ(๐ฆ) ={๐ต, ๐ถ}, and๐ฟ(๐ง)= {๐ท}. A pictorial representation of the labeled polytree๐บis given on the left with the corresponding nested sequent translations on the right:
๐ฆ
๐ต, ๐ถ
๐ฅ
oo ๐ด oo ๐ท๐ง
๐๐ฅ(๐บ)=๐ด,โฆ{๐ต, ๐ถ},โข{๐ท} ๐๐ฆ(๐บ)=๐ต, ๐ถ,โข{๐ด,โข{๐ท}}
๐๐ง(๐บ)=๐ท ,โฆ{๐ด,โฆ{๐ต, ๐ถ}}
The following lemma ensures that the pieces๐ and๐ of the nested sequent ๐๐ฅ(๐บ[๐ป]๐ฅ) = ๐๐ฅ(๐ปโฒโ๐ฅ๐ป)=๐ , ๐ and the pieces๐ปand๐ปโฒof the labeled polytree๐๐ฅ(๐ , ๐)=๐บ[๐ป]๐ฅ=๐ปโฒโ๐ฅ๐ป correctly map to each other under our translation functions.
LEMMA3.13. (i) For every๐ and๐,๐๐ฅ(๐ , ๐)is the labeled polytree๐บ[๐ป]๐ฅ=๐ปโฒโ๐ฅ๐ป where ๐ปโฒis the labeled polytree๐๐ฅ(๐)and๐ปis the labeled polytree๐๐ฅ(๐).
(ii) For every labeled polytree๐บ[๐ป]๐ฅ =๐ปโฒโ๐ฅ๐ป,๐๐ฅ(๐บ[๐ป]๐ฅ)is a nested sequent of the form๐ , ๐ where๐ = ๐๐ฅ(๐ปโฒ)and๐ = ๐๐ฅ(๐ป).
PROOF. By construction of๐and๐. โก
4 FROM SHALLOW NESTED TO LABELED CALCULI
We answer the following question: given a derivation D of๐ดinSKT+NestSt(GP), is there a derivationDโฒof๐ฅ :๐ดinG3Kt+LabSt(GP)that iseffectively related toD? The constraint that the new derivation iseffectively relatedis crucial, for otherwise one could trivially relateDโฒwith the derivationDas obtained from the following equivalences:
โD (โขD
SKT+NestSt(GP)๐ด) iff Kt+๐บ ๐ โข๐ด iff โDโฒ(โขDโฒ
G3Kt+LabSt(GP)๐ฅ:๐ด)
By โeffectively relatedโ we mean a local (i.e. rule by rule) transformation onDthat is sensitive to its structure and ultimately yields aG3Kt+LabSt(GP)derivation of๐ฅ :๐ด. In contrast, a relation between derivations inSKT+NestSt(GP)andG3Kt+LabSt(GP)obtained solely from the above equivalences wouldnotbe sensitive to the structure of the derivation due to the existential operators.
4.1 Transforming a Labeled Graph๐บ=(๐ , ๐ธ, ๐ฟ)into a Labeled SequentR,ฮ DefineR ={๐ ๐ฅ๐ฆ| (๐ฅ , ๐ฆ) โ๐ธ}and
ฮ= ร
๐ฅโ๐
๐ฅ:๐ฟ(๐ฅ)
where๐ฅ :๐ฟ(๐ฅ)represents the multiset๐ฟ(๐ฅ)with each formula prepended with a label๐ฅ.
Example 4.1. The labeled graph๐บ = (๐ , ๐ธ, ๐ฟ)where๐ = {๐ฅ , ๐ฆ, ๐ง},๐ธ = {(๐ฅ , ๐ฆ),(๐ง, ๐ฅ)},๐ฟ(๐ฅ) = {๐ด},๐ฟ(๐ฆ)={๐ต}, and๐ฟ(๐ง)={๐ถ}corresponds to the labeled sequent๐ ๐ฅ๐ฆ, ๐ ๐ง๐ฅ , ๐ฅ :๐ด, ๐ฆ :๐ต, ๐ง:๐ถ. 4.2 Transforming a Labeled SequentR,ฮinto a Labeled Graph(๐ , ๐ธ, ๐ฟ)
Let๐ be the set of all labels occurring inR,ฮ. Define
๐ธ={(๐ฅ , ๐ฆ) |๐ ๐ฅ๐ฆโ R} ๐ฟ(๐ฅ)={๐ด|๐ฅ :๐ดโฮ}
Example 4.2. The labeled sequent๐ ๐ฅ๐ฆ, ๐ ๐ฆ๐ง, ๐ ๐ข๐ฅ , ๐ฅ :๐ด, ๐ง :๐ต, ๐ง :๐ถ, ๐ข :๐ทbecomes the labeled graph๐บ = (๐ , ๐ธ, ๐ฟ) where๐ = {๐ฅ , ๐ฆ, ๐ง, ๐ข},๐ธ = {(๐ฅ , ๐ฆ),(๐ฆ, ๐ง),(๐ข, ๐ฅ)},๐ฟ(๐ฅ) = {๐ด},๐ฟ(๐ฆ) = โ , ๐ฟ(๐ง)={๐ต, ๐ถ}and๐ฟ(๐ข)={๐ท}.
The reader will observe that the translations are obtained rather directly. This is because the main difference between a labeled graph and a labeled sequent is notation. Therefore, for a given nested sequent๐, we let๐(๐)also represent the labeled sequent obtained from the labeled polytree of๐. We follow this convention for the remainder of the paper and let๐(๐)represent a labeled sequent.
Combining the previous results we obtain: