Introduction
Grammar Logics
Grammar logics are multi-modal logics introduced by Fariñas del Cerro and Penttonen [15 ] , who linked the validity problem for certain classes of grammar logics to the word problem for formal grammars. This connection between modal logic and formal language theory has allowed (un)decidability results to be transferred between the two settings [3 , 11 , 15 ] , and grammar logics have since been studied extensively [3 , 10 , 11 , 18 , 44 , 53 ] . We consider grammar logics with converses in the style of Demri and de Nivelle [11 ] , whose frame conditions are determined by context-free production rules (cf. [36 , 53 ] ). Each logic has a diamond ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ and a box [ x ] [x] [ x ] for each character x x x of an alphabet Σ \Sigma Σ , where each x x x has a converse x ˉ \bar{x} x ˉ , so that ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ and [ x ] [x] [ x ] refer to successors, whereas ⟨ x ˉ ⟩ \langle\bar{x}\rangle ⟨ x ˉ ⟩ and [ x ˉ ] [\bar{x}] [ x ˉ ] refer to predecessors along the same accessibility relation.
The base grammar logic K m K_{\mathrm{m}} K m is a multi-modal generalization of the minimal tense logic K t K_{\mathrm{t}} K t [48 ] (see [19 , 25 ] for cut-free calculi), and we consider its extensions with axioms of two kinds. The first are path axioms ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ A → ⟨ x ⟩ A \langle x_1\rangle\cdots\langle x_n\rangle A \to\langle x\rangle A ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ A → ⟨ x ⟩ A , each of which corresponds to a production rule x ⟶ x 1 ⋯ x n x \longrightarrow x_1\cdots x_n x ⟶ x 1 ⋯ x n of a context-free grammar and expresses that every sequence of x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n -transitions in a model yields an x x x -transition. Path axioms subsume multi-modal variants of the familiar axioms for reflexivity, transitivity, symmetry, and Euclideanity. The second are seriality axioms [ x ] A → ⟨ x ⟩ A [x]A \to\langle x\rangle A [ x ] A → ⟨ x ⟩ A , which are not path axioms but are needed to capture, e.g., the tense variants of all logics of the modal cube, as well as (tense variants of) deontic [1 ] and doxastic [13 ] logics such as KD and KD45n _n n .
The class of grammar logics is significant because it covers many well-known logics, such as standard modal logics (i.e., extensions of K K K with any combinations of T T T , D D D , B B B , 4 4 4 , and 5 5 5 ), epistemic logics [13 ] , information logics [54 ] , and temporal logics [14 ] . Moreover, grammar logics with converses are closely related to description logics (DLs) with inverse roles and complex role inclusion axioms [21 ] , a prominent family of knowledge representation formalisms used to specify ontologies and reason about them.
Grammar logics have also been placed on an intuitionistic footing. In [35 ] , intuitionistic grammar logics (IGLs) were introduced. These generalize the intuitionistic modal logics of Fischer Servi [16 ] and Plotkin and Stirling [45 ] (see also Simpson [51 ] ), as well as Ewald’s intuitionistic tense logics [12 ] , to the multi-modal setting with converses. A faithful embedding of classical grammar logics into IGLs was then used to prove that the validity problem for IGLs is undecidable [37 ] .
Interpolation and Definability
The Craig interpolation property (CIP) [9 ] states that whenever an implication A → B A \to B A → B is valid, there exists a formula I I I , called an interpolant , such that A → I A \to I A → I and I → B I \to B I → B are valid and I I I only contains propositional atoms common to both A A A and B B B . The Lyndon interpolation property (LIP) [34 ] strengthens the CIP by additionally requiring that every atom occurring positively (negatively) in I I I occurs positively (negatively) in both A A A and B B B . Interpolation properties have found a variety of applications in logic and computer science; e.g., in computer-aided verification [42 ] , to establish Beth definability [26 ] , and in knowledge representation to forget or conceal information in ontologies [33 ] .
Interpolation is intimately connected to Beth definability [4 ] , which states that whenever a symbol is implicitly defined by a theory, it is explicitly definable in terms of the remaining symbols. Indeed, Beth definability is typically derived from interpolation (cf. [26 ] ), and constructive proofs of interpolation give rise to algorithms that compute explicit definitions [38 ] . In DLs, Beth definability ensures that a concept that is implicitly defined by an ontology in terms of a given signature can be explicitly defined by a concept over that signature. The existence and computation of such explicit definitions have been studied for expressive DLs with inverse roles and role hierarchies [38 , 52 ] , and explicit definitions and interpolants have been used to optimize reasoning, generate query plans, and compute referring expressions in query answering [6 , 22 , 52 ] .
Crucially, in DLs, the common language of an interpolant or explicit definition is specified in terms of a signature , which consists of both concept names and role names (cf. [2 , 33 , 52 ] ). That is to say, in the absence of an ontology, an interpolant of a subsumption between two concepts may only use those concept names and role names that occur in both concepts; relative to ontologies, each side of the subsumption additionally includes the names of its ontology (see § 7 ). In the multi-modal setting, this amounts to requiring that an interpolant only contains modalities whose indices occur in both the antecedent and consequent of the implication. Combining this requirement with the polarity requirement of the LIP yields what we refer to as the strong Lyndon interpolation property (strong LIP) (see Definition 2.15), which is the central concern of this paper.
Related interpolation properties that treat the indices of modalities as part of the common language have been studied in the modal logic literature, where indices typically represent agents or programs. Van Benthem [55 ] introduced the strong interpolation property , which requires that every modality occurring in an interpolant occurs in both the antecedent and the consequent, and Marx [41 ] showed by means of bisimulation products that it holds for every canonical multi-modal logic whose frames are defined by a universal Horn theory without interaction axioms, i.e., without conditions relating distinct modalities; he also observed that interaction axioms such as ⟨ a ⟩ p → ⟨ b ⟩ p \langle a\rangle p \to\langle b\rangle p ⟨ a ⟩ p → ⟨ b ⟩ p may destroy it. Such properties have since been studied for multi-agent epistemic logics [5 , 43 ] and indexed tense logics [50 ] .
Recently, Sano and Yamasaki [50 ] established the CIP, counting both propositional atoms and indices as common vocabulary, for the indexed tense versions of K, KT, KD, K4, K4D, and S4 (as well as their extensions with converse seriality) by applying Maehara’s method [40 ] to Gentzen-style sequent calculi. Since Gentzen-style sequents are not expressive enough to yield natural cut-free calculi for logics with converse modalities, their calculi make use of analytic cuts. However, it is not clear whether cuts respect the polarities of propositional atoms, and so, such calculi do not readily yield the LIP; indeed, Sano and Yamasaki leave the generalization of their result to Lyndon interpolation as future work. Tracking polarities therefore calls for cut-free calculi, which, for logics with converse modalities, are available in the form of nested and tree sequent calculi, as discussed below; similarly, Bílková et al. [5 ] obtain Lyndon interpolation for S5n _n n , with agents included in the common language, from a cut-free calculus that combines hypersequents with nested sequents.
Proof-Theoretic Interpolation
A syntactic, proof-theoretic approach to interpolation was initiated by Maehara [40 ] for Gentzen-style sequent calculi. Maehara’s method takes a cut-free proof of (a sequent encoding) an implication A → B A \to B A → B as input. First, it partitions each sequent of the proof into two components according to whether its formulae stem from A A A or B B B . Second, it assigns interpolants to the initial sequents. Finally, it computes an interpolant for the conclusion of each rule from the interpolants of its premises, ultimately yielding an interpolant of A → B A \to B A → B .
A distinguishing feature of this approach is its constructivity : rather than merely establishing the existence of interpolants, as is typical of algebraic and model-theoretic approaches (e.g., those based on amalgamation [26 ] or bisimulation products [41 ] ), Maehara’s method provides an explicit procedure for computing interpolants from proofs. The method has since been generalized to nested sequents [17 , 36 , 39 ] , labeled sequents [29 ] , hypersequents [28 , 31 ] , and multicomponent calculi more generally [30 ] , and has been used to compute interpolants and explicit definitions in DLs [38 ] .
For logics with converse modalities, nested sequents [7 , 25 , 46 ] (see [32 ] for a survey) and their notational variants, tree sequents [20 , 23 ] , have proven to be particularly fruitful, as they yield cut-free calculi for tense logics [19 , 25 ] and for grammar logics with converses [36 , 53 ] . Two approaches to interpolation with such calculi can be found in the literature. The first is the method of Fitting and Kuznets [17 ] , later generalized by Kuznets [29 , 30 ] , in which interpolants are generalized to multiformulae spread over the components of a sequent, and whose correctness is justified semantically.
The second is the purely syntactic method of [39 ] , in which interpolants are generalized to sets of sequents, an orthogonality operation is used to negate such sets, and correctness is established proof-theoretically, without resorting to semantic arguments or interpreted connectives external to the language of the logic. A notable benefit of this latter method is that it not only computes an interpolant I I I of an implication A → B A \to B A → B , but also outputs proofs of A → I A \to I A → I and I → B I \to B I → B . Using this method, the author showed that every context-free grammar logic with converse possesses the effective LIP [36 Section 6.2] ,2 thus generalizing the effective CIP for regular grammar logics due to Goré and Nguyen [18 ] . The present paper builds on the syntactic method of [39 ] as well as the tree sequent systems of [36 ] , which we extend with seriality rules (cf. [37 ] ). We note that the LIP result of [36 ] does not cover seriality axioms; however, it can be easily extended to cover them by adapting the techniques for seriality presented in this paper.
Although the methods discussed above are well-suited for establishing the CIP and LIP, they are not sensitive to the indices of modalities. In these methods, the labeled formulae of each sequent in a proof are partitioned into a left and a right component, while the relational atoms (i.e., the tree structure of the sequent) are shared by both components. Consequently, whenever a box rule (bottom-up) introduces a relational atom w R y u w R_y u w R y u , the interpolant computed for its conclusion may acquire a modality indexed with y y y , regardless of whether both components actually make use of the relational atom. For example, the standard method computes the interpolant [ y ] ⊤ [y]\top [ y ] ⊤ for the theorem [ x ] p → [ x ] p ∨ [ y ] ( q ∨ ¬ q ) [x]p \to[x]p \lor[y](q \lor\neg q) [ x ] p → [ x ] p ∨ [ y ] ( q ∨ ¬ q ) , which contains the character y y y even though y y y does not occur in the antecedent (see § 4 ). Bílková et al. [5 Theorem A.2] encountered the same phenomenon when applying the multicomponent method [30 ] to their calculus for S 5 n S_{5^n} S 5 n . In general, the interpolants computed by such methods satisfy the requirements of the LIP, but are not guaranteed to lie in the common modal signature, and so, do not establish the strong LIP.
In this paper, we rectify this issue by introducing a novel tripartite partition method . Rather than letting both components use all labels, our method sorts the labels of each sequent into three sets: the labels private to the left component, the labels private to the right component, and the common labels , which both components may use. Only relational atoms pointing to common labels are permitted to contribute modalities to interpolants. This suffices to guarantee that interpolants lie in the common modal signature for bridge-free grammar logics, i.e., grammar logics in which no path axiom relates modalities with distinct indices (up to converse). Bridge-free grammar logics can be viewed as fusions of tense logics, one for each pair of converse characters (cf. [27 ] ), and the restriction to such logics is a natural one: as we show, the strong LIP fails for grammar logics with bridge axioms such as ⟨ b ⟩ ⟨ c ⟩ A → ⟨ a ⟩ A \langle b\rangle\langle c\rangle A \to\langle a\rangle A ⟨ b ⟩ ⟨ c ⟩ A → ⟨ a ⟩ A (see § 2.3 ), even though every context-free grammar logic with converses possesses the LIP [36 ] .
Contributions
Our contributions in this paper are discussed below:
(1) We establish that every bridge-free grammar logic possesses the strong LIP. In particular, this holds for the multi-modal tense logics obtained by extending K m K_m K m with any combination of D x D_x D x , T x T_x T x , 4 x 4_x 4 x , B x B_x B x , and 5 x 5_x 5 x for each pair of converse modalities ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ and ⟨ x ˉ ⟩ \langle\bar{x}\rangle ⟨ x ˉ ⟩ . This class of logics includes the indexed tense logics of Sano and Yamasaki [50 ] , and so, our result strengthens theirs from Craig to Lyndon interpolation, a generalization they left as future work, and extends it to logics with symmetry, Euclideanity, and further path axioms. We also show that the strong LIP fails for some grammar logics with bridge axioms, in line with an earlier observation of Marx [41 ] for the strong variant of the CIP, which demonstrates that the strong LIP is a proper strengthening of the LIP over the class of grammar logics.
(2) We introduce the tripartite partition method for computing interpolants with tree sequents, which is the key technical innovation of this paper. The method is realized by means of a partition algorithm and an interpolation calculus : the partition algorithm determines, for each relational atom of a given proof, whether it is used by one or both components, and accordingly sorts the labeled formulae of the proof into the left and right component and its labels into common labels and labels private to either component. The rules of the interpolation calculus then assign interpolants to the resulting partitioned proof. The rules of our interpolation calculus that introduce relational atoms come in common and private variants, ensuring that modalities only enter interpolants when it is safe to do so, i.e., when both components make use of the relational atom in question.
(3) Our approach is fully constructive and purely syntactic. Given a proof of A → B A \to B A → B in our tree sequent calculus, our method computes a strong Lyndon interpolant I I I , together with proofs of A → I A \to I A → I and I → B I \to B I → B . Moreover, the computed interpolants are guaranteed to lie in the common signature by construction , meaning that no post-processing of interpolants is required, and their correctness is verified within the tree sequent calculus itself, in the spirit of [39 ] .
(4) We extend the tree sequent systems for grammar logics with converses [36 ] with seriality rules, and show how seriality can be accommodated within our interpolation method. As relational atoms introduced by seriality do not stem from formulae of either component, they may be used by both components. Nevertheless, we show that they can be treated exactly like relational atoms introduced by box rules: such a relational atom only contributes a modality to an interpolant if both components use it. As mentioned above, the LIP result of [36 ] does not cover seriality axioms, though our techniques for seriality can be easily adapted to extend that result.
Our work is most closely related to the recent work of Bílková et al. [5 ] , who establish the LIP for the multi-agent logic S 5 n \mathsf{S5}_n S5 n while treating agents (i.e., indices) as part of the common language, which they refer to as the agent Lyndon interpolation property . Our approach differs from theirs in several respects. First, Bílková et al. introduce a new proof formalism, called crossword sequents , which is tailored to S 5 n \mathsf{S5}_n S5 n , whereas we work with tree sequent systems that uniformly capture an infinite class of grammar logics with converses.
Second, and more significantly, their interpolation method first computes a preliminary Lyndon interpolant (i.e., it may not be strong) by means of the multicomponent method [30 ] , and then corrects those modalities that may fall outside the common language: such modalities are either eliminated by means of equivalences such as [ a ] ⊥ ↔ ⊥ [a]\bot\leftrightarrow\bot [ a ] ⊥ ↔ ⊥ and ⟨ a ⟩ ⊤ ↔ ⊤ \langle a\rangle\top\leftrightarrow\top ⟨ a ⟩ ⊤ ↔ ⊤ , which hold in S 5 n \mathsf{S5}_n S5 n (and more generally, in serial logics), or shown to be indexed with a common agent by means of a subformula argument specific to their calculus. As Bílková et al. remark themselves, the proof-theoretic method they employ does not natively support agent interpolation. By contrast, our tripartite partition method builds the sensitivity to indices directly into the computation of interpolants, preventing non-common modalities from entering interpolants in the first place.
Third, since converse modalities can be eliminated from formulae in the presence of symmetry, the agent Lyndon interpolation property for S 5 n \mathsf{S5}_n S5 n follows as a special case of our main result. In particular, S 5 n \mathsf{S5}_n S5 n is the converse-free fragment of the bridge-free grammar logic obtained by imposing reflexivity, transitivity, and symmetry on each pair of converse modalities.
Paper Organization
Section 2 introduces classical grammar logics, the grammar-theoretic notions used to encode their path conditions, and the strong LIP; there, we also show that the strong LIP fails for certain grammar logics with bridge axioms and define the class of bridge-free grammar logics. Section 3 presents our tree sequent systems for grammar logics, which extend those of [36 ] with seriality rules, and recalls their fundamental properties. Section 4 explains why the standard method of computing interpolants with tree sequents fails to respect the indices of modalities, and introduces interpolation sequents as well as our interpolation calculus, which implements the tripartite partition method. Section 5 presents the partition algorithm, which transforms a tree sequent proof into a partitioned proof that has the shape of an interpolation proof. Section 6 establishes the correctness of our interpolation method and proves that every bridge-free grammar logic has the strong LIP. Finally, in Section 7, we conclude and discuss future work.
Preliminaries
In this section, we introduce classical grammar logics (§ 2.1 ), the grammar-theoretic notions used to encode their path conditions (§ 2.2 ), and the strong Lyndon interpolation property, which takes into account both the polarities of propositional atoms and the indices of modalities occurring in formulae (§ 2.3 ).
Classical Grammar Logics
The language of each grammar logic is defined relative to an alphabet Σ \Sigma Σ , which is a non-empty countable set of characters, used to index modalities. As in [11 ] , we stipulate that each alphabet Σ \Sigma Σ is partitioned into a forward part Σ + : = { a , b , c , … } \Sigma^{+} := \{a,b,c,\ldots\} Σ + := { a , b , c , … } and a backward part Σ − : = { a ˉ , b ˉ , c ˉ , … } \Sigma^{-} := \{\bar{a},\bar{b},\bar{c},\ldots\} Σ − := { a ˉ , b ˉ , c ˉ , … } . That is to say, we assume the following holds for an alphabet Σ \Sigma Σ : (1) Σ = Σ + ∪ Σ − \Sigma= \Sigma^{+} \cup\Sigma^{-} Σ = Σ + ∪ Σ − , (2) Σ + ∩ Σ − = ∅ \Sigma^{+} \cap\Sigma^{-} = \varnothing Σ + ∩ Σ − = ∅ , and (3) a ∈ Σ + a \in\Sigma^{+} a ∈ Σ + iff a ˉ ∈ Σ − \bar{a} \in\Sigma^{-} a ˉ ∈ Σ − .
We refer to the elements a a a , b b b , c c c , … of Σ + \Sigma^{+} Σ + as forward characters and the elements a ˉ \bar{a} a ˉ , b ˉ \bar{b} b ˉ , c ˉ \bar{c} c ˉ , … of Σ − \Sigma^{-} Σ − as backward characters . A character is defined to be either a forward or backward character, and we use x x x , y y y , z z z , … to denote them. In what follows, modalities indexed with forward characters will be interpreted as making reference to successor (or future) worlds along an accessibility relation within a relational model, and modalities indexed with backward characters will make reference to predecessor (or past) worlds.
We define the converse operation to be a function ⋅ ‾ \overline{\cdot} ⋅ mapping each forward character a ∈ Σ + a \in\Sigma^{+} a ∈ Σ + to its converse a ˉ ∈ Σ − \bar{a} \in\Sigma^{-} a ˉ ∈ Σ − and vice versa. Hence, the converse operation is its own inverse, i.e., x ˉ ˉ = x \bar{\bar{x}} = x x ˉ ˉ = x for every x ∈ Σ x \in\Sigma x ∈ Σ .
Unless stated otherwise, we fix an alphabet Σ \Sigma Σ for the remainder of the text. We let A t m : = { p , q , r , … } \mathsf{Atm} := \{p,q,r,\ldots\} Atm := { p , q , r , … } be a denumerable set of (propositional ) atoms and let L i t : = A t m ∪ { ¬ p ∣ p ∈ A t m } \mathrm{Lit} := \mathsf{Atm} \cup\{\neg p \mid p \in\mathsf{Atm}\} Lit := Atm ∪ { ¬ p ∣ p ∈ Atm } be the set of literals . We define the language L \mathcal{L} L relative to the alphabet Σ \Sigma Σ to be the set of formulae generated by the following grammar in BNF:
A : : = p ∣ ¬ p ∣ ⊤ ∣ ⊥ ∣ A ∨ A ∣ A ∧ A ∣ ⟨ x ⟩ A ∣ [ x ] A A ::= p \mid\neg p \mid\top\mid\bot\mid A \lor A \mid A \land A \mid\langle x\rangle A \mid[x]A A ::= p ∣ ¬ p ∣ ⊤ ∣ ⊥ ∣ A ∨ A ∣ A ∧ A ∣ ⟨ x ⟩ A ∣ [ x ] A
where p p p ranges over the set A t m \mathsf{Atm} Atm of atoms and x x x ranges over the characters in the alphabet Σ \Sigma Σ . We use A A A , B B B , C C C , … to denote formulae in L \mathcal{L} L and define the length of a formula A A A , denoted ℓ ( A ) \ell(A) ℓ ( A ) , to be the number of symbols contained in A A A .
As in [36 ] , formulae are given in negation normal form , meaning that only atomic negations are permitted in the language.3 We define the negation of arbitrary formulae as follows.
Definition 2.1 (Negation). We define the negation ¬ ˙ A \dot{\neg}A ¬ ˙ A of a formula A ∈ L A \in\mathcal{L} A ∈ L recursively:
¬ ˙ p : = ¬ p ¬ ˙ ¬ p : = p ¬ ˙ ⊤ : = ⊥ ¬ ˙ ⊥ : = ⊤ ¬ ˙ ( B ∨ C ) : = ¬ ˙ B ∧ ¬ ˙ C ¬ ˙ ( B ∧ C ) : = ¬ ˙ B ∨ ¬ ˙ C ¬ ˙ ⟨ x ⟩ B : = [ x ] ¬ ˙ B ¬ ˙ [ x ] B : = ⟨ x ⟩ ¬ ˙ B \begin{aligned}
\dot{\neg}p &:= \neg p & \dot{\neg}\neg p &:= p \\
\dot{\neg}\top&:= \bot& \dot{\neg}\bot&:= \top\\
\dot{\neg}(B \lor C) &:= \dot{\neg}B \land\dot{\neg}C & \dot{\neg}(B \land C) &:= \dot{\neg}B \lor\dot{\neg}C \\
\dot{\neg}\langle x\rangle B &:= [x]\dot{\neg}B & \dot{\neg}[x]B &:= \langle x\rangle\dot{\neg}B
\end{aligned} ¬ ˙ p ¬ ˙ ⊤ ¬ ˙ ( B ∨ C ) ¬ ˙ ⟨ x ⟩ B := ¬ p := ⊥ := ¬ ˙ B ∧ ¬ ˙ C := [ x ] ¬ ˙ B ¬ ˙ ¬ p ¬ ˙ ⊥ ¬ ˙ ( B ∧ C ) ¬ ˙ [ x ] B := p := ⊤ := ¬ ˙ B ∨ ¬ ˙ C := ⟨ x ⟩ ¬ ˙ B
It is straightforward to verify by induction on ℓ ( A ) \ell(A) ℓ ( A ) that ¬ ˙ ¬ ˙ A = A \dot{\neg}\dot{\neg}A = A ¬ ˙ ¬ ˙ A = A for every formula A ∈ L A \in\mathcal{L} A ∈ L . We define A → B : = ¬ ˙ A ∨ B A \to B := \dot{\neg}A \lor B A → B := ¬ ˙ A ∨ B and A ↔ B : = ( A → B ) ∧ ( B → A ) A \leftrightarrow B := (A \to B) \land(B \to A) A ↔ B := ( A → B ) ∧ ( B → A ) as usual.
Formulae are interpreted over Σ \Sigma Σ -frames and Σ \Sigma Σ -models [11 ] , which we refer to simply as frames and models . These are an extension and slight reformulation of the semantics for grammar logics given by Fariñas del Cerro and Penttonen [15 ] .
Definition 2.2 (Frame). A frame is a tuple F = ( W , { R x ∣ x ∈ Σ } ) \mathcal{F} = (\mathcal{W}, \{R_x \mid x \in\Sigma\}) F = ( W , { R x ∣ x ∈ Σ }) such that:
W \mathcal{W} W is a non-empty set of worlds { w , u , v , … } \{w,u,v,\ldots\} { w , u , v , … } ;
For each x ∈ Σ x \in\Sigma x ∈ Σ , the accessibility relation R x ⊆ W × W R_x \subseteq\mathcal{W} \times\mathcal{W} R x ⊆ W × W satisfies: (C) For all w , u ∈ W w,u \in\mathcal{W} w , u ∈ W , w R x u wR_xu w R x u iff u R x ˉ w uR_{\bar{x}}w u R x ˉ w .
Definition 2.3 (Model). We define a model based on a frame F \mathcal{F} F to be a pair M = ( F , V ) \mathcal{M} = (\mathcal{F},\mathcal{V}) M = ( F , V ) such that V : A t m → 2 W \mathcal{V} : \mathsf{Atm} \to2^{\mathcal{W}} V : Atm → 2 W is a valuation function mapping each atom to the set of worlds where it holds. We will often write a model M \mathcal{M} M as ( W , { R x ∣ x ∈ Σ } , V ) (\mathcal{W}, \{R_x \mid x \in\Sigma\}, \mathcal{V}) ( W , { R x ∣ x ∈ Σ } , V ) .
We refer to (C) as the converse condition , which ensures that the backward modalities are truly converse to the forward modalities. That is to say, if we think of a forward relation R a \mathcal{R}_a R a (indexed with a forward character a ∈ Σ + a \in\Sigma^{+} a ∈ Σ + ) as relating worlds to their successors , then (C) ensures that the corresponding backward relation R a ˉ \mathcal{R}_{\bar{a}} R a ˉ (indexed with the backward character a ˉ ∈ Σ − \bar{a} \in\Sigma^{-} a ˉ ∈ Σ − ) relates worlds to their predecessors . Hence, the modalities ⟨ a ⟩ \langle a \rangle ⟨ a ⟩ and [ a ] [a] [ a ] make reference to successor worlds, whereas the modalities ⟨ a ˉ ⟩ \langle\bar{a} \rangle ⟨ a ˉ ⟩ and [ a ˉ ] [\bar{a}] [ a ˉ ] make reference to predecessor worlds, giving our formulae and models a tense character. Indeed, the class of grammar logics we consider includes the minimal tense logic K t \mathrm{K}_{t} K t [49 ] .
Definition 2.4 (Semantic Clauses). Let M = ( W , { R x ∣ x ∈ Σ } , V ) \mathcal{M} = (\mathcal{W}, \{\mathcal{R}_{x} \mid x \in\Sigma\}, \mathcal{V}) M = ( W , { R x ∣ x ∈ Σ } , V ) be a model with w ∈ W w \in\mathcal{W} w ∈ W . The satisfaction relation M , w ⊨ A \mathcal{M}, w \vDash A M , w ⊨ A between the world w w w of M \mathcal{M} M and a formula A ∈ L A \in\mathcal{L} A ∈ L is recursively defined as follows:
M , w ⊨ p \mathcal{M}, w \vDash p M , w ⊨ p iff w ∈ V ( p ) w \in\mathcal{V}(p) w ∈ V ( p ) , for p ∈ A t m p \in\mathrm{Atm} p ∈ Atm ;
M , w ⊨ ¬ p \mathcal{M}, w \vDash\neg p M , w ⊨ ¬ p iff w ∉ V ( p ) w \notin\mathcal{V}(p) w ∈ / V ( p ) , for p ∈ A t m p \in\mathrm{Atm} p ∈ Atm ;
M , w ⊨ ⊤ \mathcal{M}, w \vDash\top M , w ⊨ ⊤ and M , w ⊭ ⊥ \mathcal{M}, w \not\vDash\bot M , w ⊨ ⊥ ;
M , w ⊨ A ∨ B \mathcal{M}, w \vDash A \lor B M , w ⊨ A ∨ B iff M , w ⊨ A \mathcal{M}, w \vDash A M , w ⊨ A or M , w ⊨ B \mathcal{M}, w \vDash B M , w ⊨ B ;
M , w ⊨ A ∧ B \mathcal{M}, w \vDash A \land B M , w ⊨ A ∧ B iff M , w ⊨ A \mathcal{M}, w \vDash A M , w ⊨ A and M , w ⊨ B \mathcal{M}, w \vDash B M , w ⊨ B ;
M , w ⊨ ⟨ x ⟩ A \mathcal{M}, w \vDash\langle x \rangle A M , w ⊨ ⟨ x ⟩ A iff there exists a u ∈ W u \in\mathcal{W} u ∈ W such that w R x u w\mathcal{R}_{x}u w R x u and M , u ⊨ A \mathcal{M}, u \vDash A M , u ⊨ A ;
M , w ⊨ [ x ] A \mathcal{M}, w \vDash[x]A M , w ⊨ [ x ] A iff for all u ∈ W u \in\mathcal{W} u ∈ W , if w R x u w\mathcal{R}_{x}u w R x u , then M , u ⊨ A \mathcal{M}, u \vDash A M , u ⊨ A .
We say that A A A is true in M \mathcal{M} M , written M ⊨ A \mathcal{M} \vDash A M ⊨ A , iff M , w ⊨ A \mathcal{M}, w \vDash A M , w ⊨ A for all w ∈ W w \in\mathcal{W} w ∈ W . A formula A ∈ L A \in\mathcal{L} A ∈ L is valid w.r.t. a class of frames F \mathfrak{F} F iff M ⊨ A \mathcal{M} \vDash A M ⊨ A for all models M \mathcal{M} M based on a frame F ∈ F \mathcal{F} \in\mathfrak{F} F ∈ F .
The base grammar logic K m \mathrm{K}_{m} K m is defined to be the set of formulae valid w.r.t. the class of all frames. We also consider logics obtained by imposing path conditions and seriality conditions on frames, which are of the following forms, respectively:
∀ w ⃗ ( w 0 R x 1 w 1 & ⋯ & w n − 1 R x n w n ⇒ w 0 R x w n ) \forall\vec{w}\left(w_{0}\mathcal{R}_{x_{1}}w_{1} \mathbin{\&} \cdots\mathbin{\&} w_{n-1}\mathcal{R}_{x_{n}}w_{n} \Rightarrow w_{0}\mathcal{R}_{x}w_{n}\right) ∀ w ( w 0 R x 1 w 1 & ⋯ & w n − 1 R x n w n ⇒ w 0 R x w n )
∀ w ∃ u ( w R x u ) \forall w \exists u\left(w\mathcal{R}_{x}u\right) ∀ w ∃ u ( w R x u )
Here, n ≥ 0 n \geq0 n ≥ 0 and w ⃗ = w 0 , … , w n \vec{w} = w_{0}, \ldots, w_{n} w = w 0 , … , w n in the path condition, which is taken to be ∀ w 0 ( w 0 R x w 0 ) \forall w_{0}(w_{0}\mathcal{R}_{x}w_{0}) ∀ w 0 ( w 0 R x w 0 ) when n = 0 n = 0 n = 0 .
Definition 2.5 (C \mathcal{C} C -Valid). Let C \mathcal{C} C be a set of path and seriality conditions. We define a C \mathcal{C} C -frame to be a frame satisfying each path and seriality condition in C \mathcal{C} C and let F C \mathfrak{F}_{\mathcal{C}} F C denote the class of all C \mathcal{C} C -frames. A C \mathcal{C} C -model is a model based on a C \mathcal{C} C -frame. A formula A A A is defined to be C \mathcal{C} C -valid, written ⊨ C A \vDash_{\mathcal{C}} A ⊨ C A , iff A A A is valid w.r.t. F C \mathfrak{F}_{\mathcal{C}} F C . The grammar logic K m ( C ) \mathrm{K}_{m}(\mathcal{C}) K m ( C ) is defined to be the set of all C \mathcal{C} C -valid formulae, that is, A ∈ K m ( C ) A \in\mathrm{K}_{m}(\mathcal{C}) A ∈ K m ( C ) iff ⊨ C A \vDash_{\mathcal{C}} A ⊨ C A .
Note that K m = K m ( ∅ ) \mathrm{K}_{m} = \mathrm{K}_{m}(\varnothing) K m = K m ( ∅ ) . Although we have characterized grammar logics semantically, we note that sound and complete axiomatizations and proof systems of these logics have been provided in the literature [15 , 36 , 53 ] . As our results do not rely on such axiomatizations, we omit them.
Grammar-Theoretic Preliminaries
As implied by their name, grammar logics connect concepts from formal language theory to logical concepts. In particular, the information contained in the path conditions of a set C \mathcal{C} C can be encoded as a formal grammar, and the strings generated by this grammar correspond to sequences of accessibility relations that imply the presence of a single accessibility relation in a C \mathcal{C} C -frame. Such grammars have been used to parameterize the propagation rules of tree (and nested) sequent calculi for (classical and intuitionistic) grammar logics [36 , 37 , 53 ] . The current section introduces the grammar-theoretic notions needed in the sequel.
We let ε \varepsilon ε be the empty string and define the set Σ ∗ \Sigma^{*} Σ ∗ of strings over Σ \Sigma Σ to be the smallest set such that (1) Σ ∪ { ε } ⊆ Σ ∗ \Sigma\cup\{\varepsilon\} \subseteq\Sigma^{*} Σ ∪ { ε } ⊆ Σ ∗ , and (2) if s ∈ Σ ∗ s \in\Sigma^{*} s ∈ Σ ∗ and x ∈ Σ x \in\Sigma x ∈ Σ , then s x ∈ Σ ∗ sx \in\Sigma^{*} s x ∈ Σ ∗ . We use s s s , t t t , r r r , … \ldots … (potentially annotated) to represent strings in Σ ∗ \Sigma^{*} Σ ∗ . Note, for the empty string we have s ε = ε s = s s\varepsilon= \varepsilon s = s s ε = ε s = s . The converse operation on strings is defined accordingly: (1) ε ˉ = ε \bar{\varepsilon} = \varepsilon ε ˉ = ε , and (2) if s = x 1 ⋯ x n s = x_{1} \cdots x_{n} s = x 1 ⋯ x n with n ≥ 1 n \geq1 n ≥ 1 then s ˉ = x ˉ n ⋯ x ˉ 1 \bar{s} = \bar{x}_{n} \cdots\bar{x}_{1} s ˉ = x ˉ n ⋯ x ˉ 1 .
Since accessibility relations in a frame are indexed with characters from Σ \Sigma Σ , sequences of accessibility relations correspond to strings from Σ ∗ \Sigma^{*} Σ ∗ . We therefore define generalized relations R s \mathcal{R}_{s} R s relative to strings (cf. [11 ] ).
Definition 2.6 (Generalized Relations). Let F = ( W , { R x ∣ x ∈ Σ } ) \mathcal{F} = (\mathcal{W}, \{\mathcal{R}_{x} \mid x \in\Sigma\}) F = ( W , { R x ∣ x ∈ Σ }) be a frame and s ∈ Σ ∗ s \in\Sigma^{*} s ∈ Σ ∗ . We inductively define the generalized accessibility relation R s \mathcal{R}_{s} R s relative to the string s s s as follows:
R s x : = { ( w , u ) ∣ there exists a v ∈ W such that ( w , v ) ∈ R s and ( v , u ) ∈ R x } \mathcal{R}_{sx} := \{(w,u) \mid\text{there exists a } v \in\mathcal{W} \text{ such that } (w,v) \in\mathcal{R}_{s} \text{ and } (v,u) \in\mathcal{R}_{x}\} R s x := {( w , u ) ∣ there exists a v ∈ W such that ( w , v ) ∈ R s and ( v , u ) ∈ R x } .
A straightforward induction on the length of t t t shows that, for all s , t ∈ Σ ∗ s,t \in\Sigma^{*} s , t ∈ Σ ∗ , we have ( w , u ) ∈ R s t (w,u) \in\mathcal{R}_{st} ( w , u ) ∈ R s t iff there exists a v ∈ W v \in\mathcal{W} v ∈ W such that ( w , v ) ∈ R s (w,v) \in\mathcal{R}_{s} ( w , v ) ∈ R s and ( v , u ) ∈ R t (v,u) \in\mathcal{R}_{t} ( v , u ) ∈ R t . Combined with the converse condition (C), it follows that ( w , u ) ∈ R s (w,u) \in\mathcal{R}_{s} ( w , u ) ∈ R s iff ( u , w ) ∈ R s ‾ (u,w) \in\mathcal{R}_{\overline{s}} ( u , w ) ∈ R s for every frame and s ∈ Σ ∗ s \in\Sigma^{*} s ∈ Σ ∗ .
To simplify the presentation of formulae, we define strings in modalities as follows: if s = x 1 ⋯ x n s = x_{1} \cdots x_{n} s = x 1 ⋯ x n , then [ s ] A : = [ x 1 ] ⋯ [ x n ] A [s]A := [x_{1}] \cdots[x_{n}]A [ s ] A := [ x 1 ] ⋯ [ x n ] A and ⟨ s ⟩ A : = ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ A \langle s\rangle A := \langle x_{1}\rangle\cdots\langle x_{n}\rangle A ⟨ s ⟩ A := ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ A , with [ s ] A = ⟨ s ⟩ A = A [s]A = \langle s\rangle A = A [ s ] A = ⟨ s ⟩ A = A when s = ε s = \varepsilon s = ε . It is easy to verify by induction on the length of s s s that, for every model M \mathcal{M} M and world w w w of M \mathcal{M} M , we have M , w ⊨ ⟨ s ⟩ A \mathcal{M},w \models\langle s\rangle A M , w ⊨ ⟨ s ⟩ A iff there exists a u ∈ W u \in\mathcal{W} u ∈ W such that ( w , u ) ∈ R s (w,u) \in\mathcal{R}_{s} ( w , u ) ∈ R s and M , u ⊨ A \mathcal{M},u \models A M , u ⊨ A , and that M , w ⊨ [ s ] A \mathcal{M},w \models[s]A M , w ⊨ [ s ] A iff M , u ⊨ A \mathcal{M},u \models A M , u ⊨ A for all u ∈ W u \in\mathcal{W} u ∈ W such that ( w , u ) ∈ R s (w,u) \in\mathcal{R}_{s} ( w , u ) ∈ R s .
Using generalized relations, we can compactly write each path condition (displayed in § 2.1 ) as R s ⊆ R x \mathcal{R}_{s} \subseteq\mathcal{R}_{x} R s ⊆ R x with s = x 1 ⋯ x n s = x_{1} \cdots x_{n} s = x 1 ⋯ x n , where s = ε s = \varepsilon s = ε if n = 0 n = 0 n = 0 . Henceforth, we identify path conditions with such inclusions, and as this subset notation is more succinct, we use it to denote path conditions in the sequel.
For each x ∈ Σ x \in\Sigma x ∈ Σ , we write D x D_{x} D x for the seriality condition ∀ w ∃ u ( w R x u ) \forall w\exists u\,(w\mathcal{R}_{x}u) ∀ w ∃ u ( w R x u ) . Note that path conditions include the standard frame conditions of reflexivity, transitivity, symmetry, and Euclideanity for R x \mathcal{R}_{x} R x , which are defined as follows:
T x : = ( R ε ⊆ R x ) 4 x : = ( R x x ⊆ R x ) B x : = ( R x ⊆ R x ‾ ) 5 x : = ( R x ‾ x ⊆ R x ) T_{x} := (\mathcal{R}_{\varepsilon} \subseteq\mathcal{R}_{x}) \qquad4_{x} := (\mathcal{R}_{xx} \subseteq\mathcal{R}_{x}) \qquad B_{x} := (\mathcal{R}_{x} \subseteq\mathcal{R}_{\overline{x}}) \qquad5_{x} := (\mathcal{R}_{\overline{x}x} \subseteq\mathcal{R}_{x}) T x := ( R ε ⊆ R x ) 4 x := ( R xx ⊆ R x ) B x := ( R x ⊆ R x ) 5 x := ( R x x ⊆ R x )
Path and seriality conditions correspond to the path and seriality axioms mentioned in the introduction. Indeed, it is straightforward to verify that a frame satisfies R s ⊆ R x \mathcal{R}_{s} \subseteq\mathcal{R}_{x} R s ⊆ R x iff the path axiom ⟨ s ⟩ p → ⟨ x ⟩ p \langle s\rangle p \to\langle x\rangle p ⟨ s ⟩ p → ⟨ x ⟩ p is true in every model based on the frame, and that it satisfies D x D_{x} D x iff the seriality axiom [ x ] p → ⟨ x ⟩ p [x]p \to\langle x\rangle p [ x ] p → ⟨ x ⟩ p is true in every model based on the frame (cf. [11, 36]). For instance, T x T_{x} T x , 4 x 4_{x} 4 x , B x B_{x} B x , and 5 x 5_{x} 5 x correspond to the path axioms p → ⟨ x ⟩ p p \to\langle x\rangle p p → ⟨ x ⟩ p , ⟨ x ⟩ ⟨ x ⟩ p → ⟨ x ⟩ p \langle x\rangle\langle x\rangle p \to\langle x\rangle p ⟨ x ⟩ ⟨ x ⟩ p → ⟨ x ⟩ p , ⟨ x ⟩ p → ⟨ x ‾ ⟩ p \langle x\rangle p \to\langle\overline{x}\rangle p ⟨ x ⟩ p → ⟨ x ⟩ p , and ⟨ x ⟩ ⟨ x ‾ ⟩ p → ⟨ x ⟩ p \langle x\rangle\langle\overline{x}\rangle p \to\langle x\rangle p ⟨ x ⟩ ⟨ x ⟩ p → ⟨ x ⟩ p , respectively. The logics we consider therefore include the tense variants of all logics of the ‘modal cube’ (cf. [7, 25, 50]).
We now define C \mathcal{C} C -grammars, which are types of semi-Thue systems [47 ] encoding the information contained in the path conditions of a set C \mathcal{C} C .
Definition 2.7 (C \mathcal{C} C -Grammar). Let C \mathcal{C} C be a set of path and seriality conditions. We call expressions of the form x ⟶ s x \longrightarrow s x ⟶ s with x ∈ Σ x \in\Sigma x ∈ Σ and s ∈ Σ ∗ s \in\Sigma^{*} s ∈ Σ ∗ production rules, and define the C \mathcal{C} C -grammar g ( C ) g(\mathcal{C}) g ( C ) to be the following set of production rules:
g ( C ) : = { x ⟶ s , x ‾ ⟶ s ‾ ∣ ( R s ⊆ R x ) ∈ C } . g(\mathcal{C}) := \{x \longrightarrow s,\ \overline{x} \longrightarrow\overline{s} \mid(\mathcal{R}_{s} \subseteq\mathcal{R}_{x}) \in\mathcal{C}\}. g ( C ) := { x ⟶ s , x ⟶ s ∣ ( R s ⊆ R x ) ∈ C } . Observe that g ( C ) g(\mathcal{C}) g ( C ) is determined solely by the path conditions in C \mathcal{C} C , as seriality conditions do not give rise to production rules. Moreover, g ( C ) g(\mathcal{C}) g ( C ) is closed under converses, i.e., if x ⟶ s ∈ g ( C ) x \longrightarrow s \in g(\mathcal{C}) x ⟶ s ∈ g ( C ) , then x ‾ ⟶ s ‾ ∈ g ( C ) \overline{x} \longrightarrow\overline{s} \in g(\mathcal{C}) x ⟶ s ∈ g ( C ) .
A C \mathcal{C} C -grammar g ( C ) g(\mathcal{C}) g ( C ) is a type of string rewriting system. For example, if x ⟶ s ∈ g ( C ) x \longrightarrow s \in g(\mathcal{C}) x ⟶ s ∈ g ( C ) , we may derive the string t s r tsr t sr from t x r txr t x r in one step by applying the mentioned production rule. Through repeated applications of production rules to a given string s ∈ Σ ∗ s \in\Sigma^{*} s ∈ Σ ∗ , one derives new strings, the collection of which determines a language. Let us make such notions precise by means of the following definitions.
Definition 2.8 (Derivation). Let C \mathcal{C} C be a set of path and seriality conditions. The one-step derivation relation ⟶ g ( C ) \longrightarrow_{g(\mathcal{C})} ⟶ g ( C ) holds between two strings s s s and t t t in Σ ∗ \Sigma^{*} Σ ∗ , written s ⟶ g ( C ) t s \longrightarrow_{g(\mathcal{C})} t s ⟶ g ( C ) t , iff there exist s ′ , t ′ ∈ Σ ∗ s',t' \in\Sigma^{*} s ′ , t ′ ∈ Σ ∗ and x ⟶ r ∈ g ( C ) x \longrightarrow r \in g(\mathcal{C}) x ⟶ r ∈ g ( C ) such that s = s ′ x t ′ s = s'xt' s = s ′ x t ′ and t = s ′ r t ′ t = s'rt' t = s ′ r t ′ . The derivation relation ⟶ g ( C ) ∗ \longrightarrow^{*}_{g(\mathcal{C})} ⟶ g ( C ) ∗ is defined to be the reflexive and transitive closure of ⟶ g ( C ) \longrightarrow_{g(\mathcal{C})} ⟶ g ( C ) . For two strings s , t ∈ Σ ∗ s,t \in\Sigma^{*} s , t ∈ Σ ∗ , we refer to s ⟶ g ( C ) ∗ t s \longrightarrow^{*}_{g(\mathcal{C})} t s ⟶ g ( C ) ∗ t as a derivation of t t t from s s s , and define its length to be equal to the minimal number of one-step derivations needed to derive t t t from s s s in g ( C ) g(\mathcal{C}) g ( C ) .
Definition 2.9 (Language). Let C \mathcal{C} C be a set of path and seriality conditions. For a character x ∈ Σ x \in\Sigma x ∈ Σ , the language of x x x relative to g ( C ) g(\mathcal{C}) g ( C ) is defined to be the set L g ( C ) ( x ) : = { s ∣ x ⟶ g ( C ) ∗ s } L_{g(\mathcal{C})}(x) := \{s \mid x \longrightarrow^{*}_{g(\mathcal{C})} s\} L g ( C ) ( x ) := { s ∣ x ⟶ g ( C ) ∗ s } . When C \mathcal{C} C is clear from the context, we write L x L_{x} L x to denote L g ( C ) ( x ) L_{g(\mathcal{C})}(x) L g ( C ) ( x ) .
Example 2.10. Let Σ : = { a , a ‾ } \Sigma:= \{a,\overline{a}\} Σ := { a , a } and C : = { T a , 4 a , B a } \mathcal{C} := \{T_{a},4_{a},B_{a}\} C := { T a , 4 a , B a } , so that K m ( C ) K_{m}(\mathcal{C}) K m ( C ) is the tense variant of S5. Then,
g ( C ) = { a ⟶ ε , a ‾ ⟶ ε , a ⟶ a a , a ‾ ⟶ a ‾ a ‾ , a ⟶ a ‾ , a ‾ ⟶ a } . g(\mathcal{C}) = \{a \longrightarrow\varepsilon,\ \overline{a} \longrightarrow\varepsilon,\ a \longrightarrow aa,\ \overline{a} \longrightarrow\overline{a}\,\overline{a},\ a \longrightarrow\overline{a},\ \overline{a} \longrightarrow a\}. g ( C ) = { a ⟶ ε , a ⟶ ε , a ⟶ aa , a ⟶ a a , a ⟶ a , a ⟶ a } . Since a a a can be duplicated, erased, and rewritten to a ‾ \overline{a} a , we have that L g ( C ) ( a ) = { a , a ‾ } ∗ L_{g(\mathcal{C})}(a) = \{a,\overline{a}\}^{*} L g ( C ) ( a ) = { a , a } ∗ , i.e., every string over Σ \Sigma Σ can be derived from a a a . This reflects the fact that in a C \mathcal{C} C -frame, R a \mathcal{R}_{a} R a is an equivalence relation, and so, any two worlds connected by a sequence of R a \mathcal{R}_{a} R a and R a ‾ \mathcal{R}_{\overline{a}} R a relations are related by R a \mathcal{R}_{a} R a .
As noted above, seriality conditions do not affect g ( C ) g(\mathcal{C}) g ( C ) . For instance, if Σ : = { a , a ˉ } \Sigma:= \{a,\bar{a}\} Σ := { a , a ˉ } and C : = { D a , 4 a , 5 a } \mathcal{C} := \{D_a,4_a,5_a\} C := { D a , 4 a , 5 a } , so that K m ( C ) K_{\mathrm{m}}(\mathcal{C}) K m ( C ) is the tense variant of KD45, then
g ( C ) = g ( { 4 a , 5 a } ) = { a ⟶ a a , a ˉ ⟶ a a ‾ , a ⟶ a ˉ a , a ˉ ⟶ a ˉ a ‾ } . g(\mathcal{C}) = g(\{4_a,5_a\}) = \{a \longrightarrow aa,\bar{a} \longrightarrow\overline{aa},a \longrightarrow\bar{a}a,\bar{a} \longrightarrow\overline{\bar{a}a}\}. g ( C ) = g ({ 4 a , 5 a }) = { a ⟶ aa , a ˉ ⟶ aa , a ⟶ a ˉ a , a ˉ ⟶ a ˉ a } .
Accordingly, C \mathcal{C} C -grammars only encode the path conditions imposed on C \mathcal{C} C -frames, and seriality conditions must be accounted for separately (see Lemma 2.12 below).
The following lemma will be helpful in the sequel. It follows by induction on the number of one-step derivations, since g ( C ) g(\mathcal{C}) g ( C ) is closed under converses.
Lemma 2.11. For all x ∈ Σ x \in\Sigma x ∈ Σ and s = x 1 ⋯ x n ∈ Σ ∗ s=x_1\cdots x_n\in\Sigma^* s = x 1 ⋯ x n ∈ Σ ∗ , we have s ∈ L g ( C ) ( x ) s\in L_{g(\mathcal{C})}(x) s ∈ L g ( C ) ( x ) iff s = x ˉ n ⋯ x ˉ 1 ∈ L g ( C ) ( x ˉ ) s=\bar{x}_n\cdots\bar{x}_1\in L_{g(\mathcal{C})}(\bar{x}) s = x ˉ n ⋯ x ˉ 1 ∈ L g ( C ) ( x ˉ ) .
The lemma below shows that the languages generated by a C \mathcal{C} C -grammar exactly capture the path conditions imposed on C \mathcal{C} C -frames.
Lemma 2.12. Let C \mathcal{C} C be a set of path and seriality conditions. A frame F \mathcal{F} F satisfies each path condition in C \mathcal{C} C iff R s ⊆ R x \mathcal{R}_s\subseteq\mathcal{R}_x R s ⊆ R x for all x ∈ Σ x\in\Sigma x ∈ Σ and s ∈ L x s\in L_x s ∈ L x . Therefore, F \mathcal{F} F is a C \mathcal{C} C -frame iff (i) R s ⊆ R x \mathcal{R}_s\subseteq\mathcal{R}_x R s ⊆ R x for all x ∈ Σ x\in\Sigma x ∈ Σ and s ∈ L x s\in L_x s ∈ L x , and (ii) R x \mathcal{R}_x R x is serial for each D x ∈ C D_x\in\mathcal{C} D x ∈ C .
Proof. We prove the first claim, from which the second claim follows by Definition 2.5. The backward direction is immediate: if ( R s ⊆ R x ) ∈ C (\mathcal{R}_s\subseteq\mathcal{R}_x)\in\mathcal{C} ( R s ⊆ R x ) ∈ C , then x ⟶ s ∈ g ( C ) x\longrightarrow s\in g(\mathcal{C}) x ⟶ s ∈ g ( C ) , so s ∈ L x s\in L_x s ∈ L x , and thus, F \mathcal{F} F satisfies R s ⊆ R x \mathcal{R}_s\subseteq\mathcal{R}_x R s ⊆ R x by assumption. For the forward direction, suppose that F \mathcal{F} F satisfies each path condition in C \mathcal{C} C . We show by induction on n n n that if s s s can be derived from x x x by means of n n n one-step derivations, then R s ⊆ R x \mathcal{R}_s\subseteq\mathcal{R}_x R s ⊆ R x .
Base case. If n = 0 n=0 n = 0 , then s = x s=x s = x , and so, the claim trivially holds.
Inductive step. Suppose that s s s can be derived from x x x by means of n + 1 n+1 n + 1 one-step derivations. By Definition 2.8, there exists a string t y r tyr t y r that can be derived from x x x by means of n n n one-step derivations, and there exists a production rule y ⟶ z 1 ⋯ z k ∈ g ( C ) y\longrightarrow z_1\cdots z_k\in g(\mathcal{C}) y ⟶ z 1 ⋯ z k ∈ g ( C ) such that s = t z 1 ⋯ z k r s=tz_1\cdots z_kr s = t z 1 ⋯ z k r . Suppose that ( w , u ) ∈ R s (w,u)\in\mathcal{R}_s ( w , u ) ∈ R s . Then, there exist v , v ′ ∈ W v,v'\in\mathcal{W} v , v ′ ∈ W such that ( w , v ) ∈ R t (w,v)\in\mathcal{R}_t ( w , v ) ∈ R t , ( v , v ′ ) ∈ R z 1 ⋯ z k (v,v')\in\mathcal{R}_{z_1\cdots z_k} ( v , v ′ ) ∈ R z 1 ⋯ z k , and ( v ′ , u ) ∈ R r (v',u)\in\mathcal{R}_r ( v ′ , u ) ∈ R r . By Definition 2.7, either ( R z 1 ⋯ z k ⊆ R y ) ∈ C (\mathcal{R}_{z_1\cdots z_k}\subseteq\mathcal{R}_y)\in\mathcal{C} ( R z 1 ⋯ z k ⊆ R y ) ∈ C or ( R z k ‾ ⋯ z 1 ‾ ⊆ R y ˉ ) ∈ C (\mathcal{R}_{\overline{z_k}\cdots\overline{z_1}}\subseteq\mathcal{R}_{\bar{y}})\in\mathcal{C} ( R z k ⋯ z 1 ⊆ R y ˉ ) ∈ C . In the former case, ( v , v ′ ) ∈ R y (v,v')\in\mathcal{R}_y ( v , v ′ ) ∈ R y as F \mathcal{F} F satisfies R z 1 ⋯ z k ⊆ R y \mathcal{R}_{z_1\cdots z_k}\subseteq\mathcal{R}_y R z 1 ⋯ z k ⊆ R y . In the latter case, ( v ′ , v ) ∈ R z k ‾ ⋯ z 1 ‾ (v',v)\in\mathcal{R}_{\overline{z_k}\cdots\overline{z_1}} ( v ′ , v ) ∈ R z k ⋯ z 1 by the converse condition (C) (see the remark after Definition 2.6), which implies ( v ′ , v ) ∈ R y ˉ (v',v)\in\mathcal{R}_{\bar{y}} ( v ′ , v ) ∈ R y ˉ as F \mathcal{F} F satisfies R z k ‾ ⋯ z 1 ‾ ⊆ R y ˉ \mathcal{R}_{\overline{z_k}\cdots\overline{z_1}}\subseteq\mathcal{R}_{\bar{y}} R z k ⋯ z 1 ⊆ R y ˉ , and so, ( v , v ′ ) ∈ R y (v,v')\in\mathcal{R}_y ( v , v ′ ) ∈ R y by (C). In both cases, ( w , u ) ∈ R t y r (w,u)\in\mathcal{R}_{tyr} ( w , u ) ∈ R t y r , from which ( w , u ) ∈ R x (w,u)\in\mathcal{R}_x ( w , u ) ∈ R x follows by IH. □
Strong Lyndon Interpolation
The Craig interpolation property (CIP) [9 ] for a logic states that whenever an implication A → B A\to B A → B belongs to the logic, there exists a formula I I I , called a Craig interpolant , such that A → I A\to I A → I and I → B I\to B I → B belong to the logic, and I I I only contains atoms common to both A A A and B B B . The Lyndon interpolation property (LIP) [34 ] strengthens the CIP by additionally requiring that each propositional atom occurring in I I I occurs with the same polarity in A A A and B B B .
In the multi-modal setting, it is natural to further strengthen the LIP by requiring that an interpolant only contains modalities whose indices occur in both the antecedent and consequent of the implication. This is in line with signature-based notions of interpolation in description logics, where signatures consist of both concept and role names (cf. [2 , 52 ] ). We make this precise by means of the following notion of signature, which tracks the polarities of propositional atoms as well as the indices of modalities in a formula.
Definition 2.13 (Signature). For a formula A ∈ L A\in\mathcal{L} A ∈ L , the set sig + ( A ) \operatorname{sig}^{+}(A) sig + ( A ) of propositional atoms occurring positively in A A A , the set sig − ( A ) \operatorname{sig}^{-}(A) sig − ( A ) of propositional atoms occurring negatively in A A A , and the set sig ∘ ( A ) \operatorname{sig}^{\circ}(A) sig ∘ ( A ) of characters indexing modalities in A A A are defined recursively as follows:
sig + ( p ) = { p } \operatorname{sig}^{+}(p)=\{p\} sig + ( p ) = { p } , sig − ( p ) = ∅ \operatorname{sig}^{-}(p)=\varnothing sig − ( p ) = ∅ , sig + ( ¬ p ) = ∅ \operatorname{sig}^{+}(\neg p)=\varnothing sig + ( ¬ p ) = ∅ , and sig − ( ¬ p ) = { p } \operatorname{sig}^{-}(\neg p)=\{p\} sig − ( ¬ p ) = { p } for p ∈ Atm p\in\operatorname{Atm} p ∈ Atm ;
sig ∘ ( ⊤ ) = sig ∘ ( ⊥ ) = ∅ \operatorname{sig}^{\circ}(\top)=\operatorname{sig}^{\circ}(\bot)=\varnothing sig ∘ ( ⊤ ) = sig ∘ ( ⊥ ) = ∅ for ∘ ∈ { + , − , Σ } \circ\in\{+,-,\Sigma\} ∘ ∈ { + , − , Σ } ;
sig ∘ ( A ⊕ B ) = sig ∘ ( A ) ∪ sig ∘ ( B ) \operatorname{sig}^{\circ}(A\mathbin{\oplus}B)=\operatorname{sig}^{\circ}(A)\cup\operatorname{sig}^{\circ}(B) sig ∘ ( A ⊕ B ) = sig ∘ ( A ) ∪ sig ∘ ( B ) for ∘ ∈ { + , − , Σ } \circ\in\{+,-,\Sigma\} ∘ ∈ { + , − , Σ } and ⊕ ∈ { ∨ , ∧ } \oplus\in\{\vee,\wedge\} ⊕ ∈ { ∨ , ∧ } ;
sig ∘ ( ∇ x A ) = sig ∘ ( A ) \operatorname{sig}^{\circ}(\nabla_x A)=\operatorname{sig}^{\circ}(A) sig ∘ ( ∇ x A ) = sig ∘ ( A ) for ∘ ∈ { + , − } \circ\in\{+,-\} ∘ ∈ { + , − } and ∇ x ∈ { ⟨ x ⟩ , [ x ] } \nabla_x\in\{\langle x\rangle,[x]\} ∇ x ∈ {⟨ x ⟩ , [ x ]} ;
sig Σ ( ∇ x A ) = { x , x ˉ } ∪ sig Σ ( A ) \operatorname{sig}^{\Sigma}(\nabla_x A)=\{x,\bar{x}\}\cup\operatorname{sig}^{\Sigma}(A) sig Σ ( ∇ x A ) = { x , x ˉ } ∪ sig Σ ( A ) for ∇ x ∈ { ⟨ x ⟩ , [ x ] } \nabla_x\in\{\langle x\rangle,[x]\} ∇ x ∈ {⟨ x ⟩ , [ x ]} . @references♀♀♀♀♀♀
We refer to sig + ( A ) \operatorname{sig}^{+}(A) sig + ( A ) , sig − ( A ) \operatorname{sig}^{-}(A) sig − ( A ) , and sig Σ ( A ) \operatorname{sig}^{\Sigma}(A) sig Σ ( A ) as the positive , negative , and modal signature of A A A , respectively.
Observe that p ∈ sig + ( A ) p \in\operatorname{sig}^{+}(A) p ∈ sig + ( A ) (resp. p ∈ sig − ( A ) p \in\operatorname{sig}^{-}(A) p ∈ sig − ( A ) ) iff the literal p p p (resp. ¬ p \neg p ¬ p ) occurs in A A A . As the lemma below shows, negation swaps the positive and negative signature of a formula, and so, our notion of polarity agrees with the usual one for languages in which implication is primitive: a propositional atom occurs positively in A → B A \to B A → B iff it occurs negatively in A A A or positively in B B B .
Lemma 2.14. For every A ∈ L A \in\mathcal{L} A ∈ L , sig + ( ¬ ˙ A ) = sig − ( A ) \operatorname{sig}^{+}(\dot{\neg} A) = \operatorname{sig}^{-}(A) sig + ( ¬ ˙ A ) = sig − ( A ) , sig − ( ¬ ˙ A ) = sig + ( A ) \operatorname{sig}^{-}(\dot{\neg} A) = \operatorname{sig}^{+}(A) sig − ( ¬ ˙ A ) = sig + ( A ) , and sig Σ ( ¬ ˙ A ) = sig Σ ( A ) \operatorname{sig}^{\Sigma}(\dot{\neg} A) = \operatorname{sig}^{\Sigma}(A) sig Σ ( ¬ ˙ A ) = sig Σ ( A ) . Consequently, for all A , B ∈ L A, B \in\mathcal{L} A , B ∈ L ,
sig + ( A → B ) = sig − ( A ) ∪ sig + ( B ) \operatorname{sig}^{+}(A \to B) = \operatorname{sig}^{-}(A) \cup\operatorname{sig}^{+}(B) sig + ( A → B ) = sig − ( A ) ∪ sig + ( B ) ;
sig − ( A → B ) = sig + ( A ) ∪ sig − ( B ) \operatorname{sig}^{-}(A \to B) = \operatorname{sig}^{+}(A) \cup\operatorname{sig}^{-}(B) sig − ( A → B ) = sig + ( A ) ∪ sig − ( B ) ;
sig Σ ( A → B ) = sig Σ ( A ) ∪ sig Σ ( B ) \operatorname{sig}^{\Sigma}(A \to B) = \operatorname{sig}^{\Sigma}(A) \cup\operatorname{sig}^{\Sigma}(B) sig Σ ( A → B ) = sig Σ ( A ) ∪ sig Σ ( B ) .
Definition 2.15 (Strong Lyndon Interpolation Property). Let C \mathcal{C} C be a set of path and seriality conditions. We say that K m ( C ) \mathrm{K}_{\mathrm{m}}(\mathcal{C}) K m ( C ) has the strong Lyndon interpolation property (strong LIP) iff whenever A → B ∈ K m ( C ) A \to B \in\mathrm{K}_{\mathrm{m}}(\mathcal{C}) A → B ∈ K m ( C ) , there exists a formula I ∈ L I \in\mathcal{L} I ∈ L , called a strong Lyndon interpolant , such that:
sig ∘ ( I ) ⊆ sig ∘ ( A ) ∩ sig ∘ ( B ) \operatorname{sig}^{\circ}(I) \subseteq\operatorname{sig}^{\circ}(A) \cap\operatorname{sig}^{\circ}(B) sig ∘ ( I ) ⊆ sig ∘ ( A ) ∩ sig ∘ ( B ) for each ∘ ∈ { + , − } \circ\in\{+,-\} ∘ ∈ { + , − } ;
sig Σ ( I ) ⊆ sig Σ ( A ) ∩ sig Σ ( B ) \operatorname{sig}^{\Sigma}(I) \subseteq\operatorname{sig}^{\Sigma}(A) \cap\operatorname{sig}^{\Sigma}(B) sig Σ ( I ) ⊆ sig Σ ( A ) ∩ sig Σ ( B ) ;
A → I ∈ K m ( C ) A \to I \in\mathrm{K}_{\mathrm{m}}(\mathcal{C}) A → I ∈ K m ( C ) and I → B ∈ K m ( C ) I \to B \in\mathrm{K}_{\mathrm{m}}(\mathcal{C}) I → B ∈ K m ( C ) .
Remark 2.16. The LIP is obtained from Definition 2.15 by dropping condition (2), and coincides with the LIP for grammar logics given in [36 Definition 96] , which is formulated in terms of the literals occurring in formulae. The CIP is obtained by additionally weakening condition (1) to sig + ( I ) ∪ sig − ( I ) ⊆ ( sig + ( A ) ∪ sig − ( A ) ) ∩ ( sig + ( B ) ∪ sig − ( B ) ) \operatorname{sig}^{+}(I) \cup\operatorname{sig}^{-}(I) \subseteq(\operatorname{sig}^{+}(A) \cup\operatorname{sig}^{-}(A)) \cap(\operatorname{sig}^{+}(B) \cup\operatorname{sig}^{-}(B)) sig + ( I ) ∪ sig − ( I ) ⊆ ( sig + ( A ) ∪ sig − ( A )) ∩ ( sig + ( B ) ∪ sig − ( B )) , i.e., every propositional atom in I I I occurs in both A A A and B B B , without regard to polarity. Hence, the strong LIP implies the LIP, which in turn implies the CIP.
Analogously, imposing condition (2) in addition to the requirements of the CIP yields a strong variant of the CIP, introduced by van Benthem [55 ] as the strong interpolation property . Marx [41 ] established this property for canonical multi-modal logics whose frames are defined by universal Horn theories without interaction axioms. This result concerns Craig rather than Lyndon interpolation and covers neither converse modalities, whose defining condition (C) relates two distinct modalities, nor seriality, which is not a universal Horn condition. Sano and Yamasaki [50 ] established the strong variant of the CIP for several indexed tense logics.
Two features of Definition 2.13 are worth highlighting. First, since ⊤ \top ⊤ and ⊥ \bot ⊥ are primitive and have empty signatures, they may serve as interpolants in degenerate cases; e.g., ⊤ \top ⊤ is a strong Lyndon interpolant of [ a ] p → [ b ] ( q ∨ ¬ q ) [a]p \to[b](q \lor\neg q) [ a ] p → [ b ] ( q ∨ ¬ q ) . Second, the modal signature of a formula contains each character together with its converse. This reflects the fact that ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ and ⟨ x ˉ ⟩ \langle\bar{x}\rangle ⟨ x ˉ ⟩ are interpreted relative to mutually converse relations by condition (C), mirroring the treatment of inverse roles in description logics, where an inverse role r − r^{-} r − is built from the role name r r r . Distinguishing x x x from x ˉ \bar{x} x ˉ in the modal signature would yield a property that fails already for symmetric logics: if R a ∈ C R_{a} \in\mathcal{C} R a ∈ C , then ⟨ a ˉ ⟩ p → ⟨ a ⟩ p ∈ K m ( C ) \langle\bar{a}\rangle p \to\langle a\rangle p \in\mathrm{K}_{\mathrm{m}}(\mathcal{C}) ⟨ a ˉ ⟩ p → ⟨ a ⟩ p ∈ K m ( C ) , yet ⟨ a ˉ ⟩ p \langle\bar{a}\rangle p ⟨ a ˉ ⟩ p and ⟨ a ⟩ p \langle a\rangle p ⟨ a ⟩ p would share no index, and one can verify, as in Remark 2.17 below, that no formula without modalities interpolates this implication.
Remark 2.17. In contrast to the LIP, which is possessed by every grammar logic K m ( C ) \mathrm{K}_{\mathrm{m}}(\mathcal{C}) K m ( C ) such that C \mathcal{C} C only contains path conditions [36 ] , the strong LIP is not possessed by every grammar logic. Let a , b , c ∈ Σ + ⊆ Σ a,b,c \in\Sigma^{+} \subseteq\Sigma a , b , c ∈ Σ + ⊆ Σ be pairwise distinct and let C : = { R b c ⊆ R a } \mathcal{C} := \{R_{bc} \subseteq R_{a}\} C := { R b c ⊆ R a } . Then, ⟨ b ⟩ ⟨ c ⟩ p → ⟨ a ⟩ p ∈ K m ( C ) \langle b\rangle\langle c\rangle p \to\langle a\rangle p \in\mathrm{K}_{\mathrm{m}}(\mathcal{C}) ⟨ b ⟩ ⟨ c ⟩ p → ⟨ a ⟩ p ∈ K m ( C ) , since w R b u wR_{b}u w R b u and u R c v uR_{c}v u R c v imply w R a v wR_{a}v w R a v in every C \mathcal{C} C -frame, though
sig Σ ( ⟨ b ⟩ ⟨ c ⟩ p ) ∩ sig Σ ( ⟨ a ⟩ p ) = { b , b ˉ , c , c ˉ } ∩ { a , a ˉ } = ∅ . \operatorname{sig}^{\Sigma}(\langle b\rangle\langle c\rangle p) \cap\operatorname{sig}^{\Sigma}(\langle a\rangle p) = \{b,\bar{b},c,\bar{c}\} \cap\{a,\bar{a}\} = \varnothing. sig Σ (⟨ b ⟩ ⟨ c ⟩ p ) ∩ sig Σ (⟨ a ⟩ p ) = { b , b ˉ , c , c ˉ } ∩ { a , a ˉ } = ∅ .
Hence, a strong Lyndon interpolant I I I of this implication would contain no modalities and would satisfy sig − ( I ) = ∅ \operatorname{sig}^{-}(I) = \varnothing sig − ( I ) = ∅ and sig + ( I ) ⊆ { p } \operatorname{sig}^{+}(I) \subseteq\{p\} sig + ( I ) ⊆ { p } , that is, I I I would be built from p p p , ⊤ \top ⊤ , and ⊥ \bot ⊥ using ∨ \lor ∨ and ∧ \land ∧ , and would therefore be equivalent to ⊤ \top ⊤ , ⊥ \bot ⊥ , or p p p . However, one can verify that none of these serves as a suitable interpolant. Thus, K m ( C ) \mathrm{K}_{\mathrm{m}}(\mathcal{C}) K m ( C ) does not have the strong LIP, and so, the strong LIP is a proper strengthening of the LIP over the class of grammar logics. A similar observation was made by Marx [41 ] for the strong variant of the CIP in a converse-free setting: the logic with the single bridge condition R a ⊆ R b R_{a} \subseteq R_{b} R a ⊆ R b has the CIP, but ⟨ a ⟩ ⊤ → ⟨ b ⟩ ⊤ \langle a\rangle\top\to\langle b\rangle\top ⟨ a ⟩ ⊤ → ⟨ b ⟩ ⊤ has no interpolant whose modalities occur on both sides.
Given this counter-example, we identify a class of grammar logics that do possess the strong LIP, which we refer to as bridge-free grammar logics .
Definition 2.18 (Bridge-Free Grammar Logics). We define a grammar logic K m ( C ) \mathsf{K}_{m}(\mathcal{C}) K m ( C ) to be bridge-free iff L g ( C ) ( x ) ⊆ { x , x ˉ } ∗ L_{g(\mathcal{C})}(x) \subseteq\{x,\bar{x}\}^{*} L g ( C ) ( x ) ⊆ { x , x ˉ } ∗ for each x ∈ Σ x \in\Sigma x ∈ Σ .
Note that this condition only restricts the path conditions in C \mathcal{C} C , since seriality conditions do not contribute production rules to g ( C ) g(\mathcal{C}) g ( C ) . The following lemma confirms that bridge-freeness can be read off directly from the path conditions in C \mathcal{C} C .
Lemma 2.19. A grammar logic K m ( C ) \mathsf{K}_{m}(\mathcal{C}) K m ( C ) is bridge-free iff s ∈ { x , x ˉ } ∗ s \in\{x,\bar{x}\}^{*} s ∈ { x , x ˉ } ∗ for each path condition ( R s ⊆ R x ) ∈ C (R_{s} \subseteq R_{x}) \in\mathcal{C} ( R s ⊆ R x ) ∈ C .
Proof. The forward direction is immediate: if ( R s ⊆ R x ) ∈ C (R_{s} \subseteq R_{x}) \in\mathcal{C} ( R s ⊆ R x ) ∈ C , then x ⟶ s ∈ g ( C ) x \longrightarrow s \in g(\mathcal{C}) x ⟶ s ∈ g ( C ) , and so, s ∈ L g ( C ) ( x ) ⊆ { x , x ˉ } ∗ s \in L_{g(\mathcal{C})}(x) \subseteq\{x,\bar{x}\}^{*} s ∈ L g ( C ) ( x ) ⊆ { x , x ˉ } ∗ . For the backward direction, the assumption implies that t ∈ { y , y ˉ } ∗ t \in\{y,\bar{y}\}^{*} t ∈ { y , y ˉ } ∗ for every production rule y ⟶ t ∈ g ( C ) y \longrightarrow t \in g(\mathcal{C}) y ⟶ t ∈ g ( C ) ; for the converse production rules z ˉ ⟶ t ˉ \bar{z} \longrightarrow\bar{t} z ˉ ⟶ t ˉ of Definition 2.7, this holds since t ∈ { z , z ˉ } ∗ t \in\{z,\bar{z}\}^{*} t ∈ { z , z ˉ } ∗ implies t ˉ ∈ { z ˉ , z } ∗ \bar{t} \in\{\bar{z},z\}^{*} t ˉ ∈ { z ˉ , z } ∗ . Hence, as { y , y ˉ } ∗ = { x , x ˉ } ∗ \{y,\bar{y}\}^{*} = \{x,\bar{x}\}^{*} { y , y ˉ } ∗ = { x , x ˉ } ∗ for every y ∈ { x , x ˉ } y \in\{x,\bar{x}\} y ∈ { x , x ˉ } , applying a production rule to a string in { x , x ˉ } ∗ \{x,\bar{x}\}^{*} { x , x ˉ } ∗ yields a string in { x , x ˉ } ∗ \{x,\bar{x}\}^{*} { x , x ˉ } ∗ , and so, L g ( C ) ( x ) ⊆ { x , x ˉ } ∗ L_{g(\mathcal{C})}(x) \subseteq\{x,\bar{x}\}^{*} L g ( C ) ( x ) ⊆ { x , x ˉ } ∗ follows by induction on the length of derivations.
We use the term bridge-free since, by Lemma 2.19, a grammar logic K m ( C ) \mathsf{K}_{m}(\mathcal{C}) K m ( C ) is bridge-free iff C \mathcal{C} C contains no bridge conditions , i.e., path conditions R s ⊆ R x R_{s} \subseteq R_{x} R s ⊆ R x such that s s s contains a character outside of { x , x ˉ } \{x,\bar{x}\} { x , x ˉ } . Such conditions relate modalities with distinct indices (up to converse); examples include R a ⊆ R b R_{a} \subseteq R_{b} R a ⊆ R b , which corresponds to the bridge axiom ⟨ a ⟩ p → ⟨ b ⟩ p \langle a\rangle p \to\langle b\rangle p ⟨ a ⟩ p → ⟨ b ⟩ p , and the path condition R b c ⊆ R a R_{bc} \subseteq R_{a} R b c ⊆ R a of Remark 2.17.
By contrast, each of the conditions D x D_{x} D x , T x T_{x} T x , 4 x 4_{x} 4 x , B x B_{x} B x , and 5 x 5_{x} 5 x only involves the characters x x x and x ˉ \bar{x} x ˉ , and so, K m ( C ) \mathsf{K}_{m}(\mathcal{C}) K m ( C ) is bridge-free whenever each condition in C \mathcal{C} C is of one of these forms (see Lemma 2.19). In general, if K m ( C ) \mathsf{K}_{m}(\mathcal{C}) K m ( C ) is bridge-free, then each condition in C \mathcal{C} C only constrains the accessibility relations R a R_{a} R a and R a ˉ R_{\bar{a}} R a ˉ for a single a ∈ Σ + a \in\Sigma^{+} a ∈ Σ + . A bridge-free grammar logic can therefore be viewed as a fusion of tense logics, one for each pair of converse characters a a a and a ˉ \bar{a} a ˉ (cf. [27 ] ). As we show in the sequel (see Theorem 6.8), every bridge-free grammar logic has the strong LIP.
The class of bridge-free grammar logics subsumes the indexed tense logics studied by Sano and Yamasaki [50 ] , namely, the indexed tense versions of K \mathsf{K} K , K T \mathsf{KT} KT , K D \mathsf{KD} KD , K 4 \mathsf{K4} K4 , K 4 D \mathsf{K4D} K4D , and S 4 \mathsf{S4} S4 , as well as their extensions with converse seriality [50 Section 7.1] . Consequently, our results extend those of Sano and Yamasaki in three respects. First, we strengthen their result from Craig to Lyndon interpolation, a generalization they leave open [50 Section 7.2] ; as in their work, indices are counted as part of the common vocabulary (cf. Remark 2.16). Second, we permit distinct conditions to be imposed on distinct accessibility relations, whereas Sano and Yamasaki impose the same conditions on all of them. Third, we cover further path conditions, such as B x ˉ B_{\bar{x}} B x ˉ and 5 x 5_{x} 5 x , and, more generally, arbitrary bridge-free sets of path and seriality conditions; extensions with symmetry, for instance, are mentioned by Sano and Yamasaki as a direction for future work [50 Section 7.2] .
Tree Sequent Systems
In this section, we recall the tree sequent systems for the grammar logics introduced in [36 ] , which are notational variants of the nested sequent systems for grammar logics given by Tiu et al. [53 ] , and extend them with seriality rules. We opt for the labeled sequent syntax (cf. [51 , 56 ] ) rather than the nested sequent syntax as it simplifies the formulation of our interpolation algorithm later on (cf. [39 ] ). It was already observed by Goré and Ramanayake [20 ] that restricting labeled sequents to be trees, rather than more general binary graphs (which may be disconnected or include cycles), yields tree sequents (cf. [23 ] ), which are a notational variant of nested sequents.
We let L a b : = { w , u , v , … } \mathrm{Lab} := \{w,u,v,\ldots\} Lab := { w , u , v , … } be a countably infinite set of labels , define a relational atom to be an expression of the form w R x u wR_{x}u w R x u with w , u ∈ L a b w,u \in\mathrm{Lab} w , u ∈ Lab and x ∈ Σ x \in\Sigma x ∈ Σ , and define a labeled formula to be an expression of the form w : A w : A w : A such that w ∈ L a b w \in\mathrm{Lab} w ∈ Lab and A ∈ L A \in\mathcal{L} A ∈ L . (NB. We use u , v , … u,v,\ldots u , v , … to denote labels since x , y , z , … x,y,z,\ldots x , y , z , … are reserved for characters.) For a relational atom w R x u wR_{x}u w R x u , we call w w w the source and u u u the target of the relational atom.
We use T \mathcal{T} T to denote finite sets of relational atoms and upper-case Greek letters Γ \Gamma Γ , Δ \Delta Δ , Σ \Sigma Σ , … \ldots … to denote finite multisets of labeled formulae. For a set T \mathcal{T} T of relational atoms and a multiset Γ \Gamma Γ of labeled formulae, we let L a b ( T ) \mathrm{Lab}(\mathcal{T}) Lab ( T ) , L a b ( Γ ) \mathrm{Lab}(\Gamma) Lab ( Γ ) , and L a b ( T , Γ ) \mathrm{Lab}(\mathcal{T},\Gamma) Lab ( T , Γ ) be the sets of all labels occurring therein. For a multiset Γ \Gamma Γ of labeled formulae and w ∈ L a b w \in\mathrm{Lab} w ∈ Lab , we define Γ ( w ) : = { A ∣ w : A ∈ Γ } \Gamma(w) := \{A \mid w : A \in\Gamma\} Γ ( w ) := { A ∣ w : A ∈ Γ } , and for multisets Γ \Gamma Γ and Δ \Delta Δ of labeled formulae, we let Γ , Δ \Gamma,\Delta Γ , Δ denote the union of the two.
A set T \mathcal{T} T of relational atoms is called a tree iff either T = ∅ \mathcal{T} = \varnothing T = ∅ or the edge-labeled graph G ( T ) : = ( L a b ( T ) , { ( w , x , u ) ∣ w R x u ∈ T } ) \mathcal{G}(\mathcal{T}) := (\mathrm{Lab}(\mathcal{T}), \{(w,x,u) \mid wR_{x}u \in\mathcal{T}\}) G ( T ) := ( Lab ( T ) , {( w , x , u ) ∣ w R x u ∈ T }) forms a directed tree, that is, there exists a label w ∈ L a b ( T ) w \in\mathrm{Lab}(\mathcal{T}) w ∈ Lab ( T ) , called the root , with no incoming edges
T ⊢ w : p , w : ¬ p , Γ T ⊢ w : ⊥ , Γ i d T ⊢ w : ⊤ , Γ ⊤ \frac{\mathcal{T}\vdash w:p,w:\neg p,\Gamma}{\mathcal{T}\vdash w:\bot,\Gamma}\ \mathrm{id}
\qquad
\frac{}{ \mathcal{T}\vdash w:\top,\Gamma}\ \top T ⊢ w : ⊥ , Γ T ⊢ w : p , w : ¬ p , Γ id T ⊢ w : ⊤ , Γ ⊤
T ⊢ w : A , Γ T ⊢ w : B , Γ T ⊢ w : A ∧ B , Γ ∧ T ⊢ w : A , w : B , Γ T ⊢ w : A ∨ B , Γ ∨ \frac{\mathcal{T}\vdash w:A,\Gamma\qquad\mathcal{T}\vdash w:B,\Gamma}{\mathcal{T}\vdash w:A\land B,\Gamma}\ \land
\qquad
\frac{\mathcal{T}\vdash w:A,w:B,\Gamma}{\mathcal{T}\vdash w:A\lor B,\Gamma}\ \lor T ⊢ w : A ∧ B , Γ T ⊢ w : A , Γ T ⊢ w : B , Γ ∧ T ⊢ w : A ∨ B , Γ T ⊢ w : A , w : B , Γ ∨
T , w R x u ⊢ u : A , Γ T ⊢ w : [ x ] A , Γ [ x ] † 1 T ⊢ w : ⟨ x ⟩ A , u : A , Γ T ⊢ w : ⟨ x ⟩ A , Γ ⟨ x ⟩ † 2 ( C ) T , w R x u ⊢ Γ T ⊢ Γ d x † 3 \frac{\mathcal{T},wR_xu\vdash u:A,\Gamma}{\mathcal{T}\vdash w:[x]A,\Gamma}\ [x]^{\dagger_1}
\qquad
\frac{\mathcal{T}\vdash w:\langle x\rangle A,u:A,\Gamma}{\mathcal{T}\vdash w:\langle x\rangle A,\Gamma}\ \langle x\rangle^{\dagger_2(\mathcal{C})}
\qquad
\frac{\mathcal{T},wR_xu\vdash\Gamma}{\mathcal{T}\vdash\Gamma}\ d_x^{\dagger_3} T ⊢ w : [ x ] A , Γ T , w R x u ⊢ u : A , Γ [ x ] † 1 T ⊢ w : ⟨ x ⟩ A , Γ T ⊢ w : ⟨ x ⟩ A , u : A , Γ ⟨ x ⟩ † 2 ( C ) T ⊢ Γ T , w R x u ⊢ Γ d x † 3
Side Conditions:
† 1 : = u ^{\dagger_1}:=u † 1 := u is fresh.
† 2 ( C ) : = pg ( T ⊢ w : ⟨ x ⟩ A , Γ ) ⊨ w L x ⇝ u ^{\dagger_2(\mathcal{C})}:=\operatorname{pg}(\mathcal{T}\vdash w:\langle x\rangle A,\Gamma)\models w\mathrel{L_x\rightsquigarrow}u † 2 ( C ) := pg ( T ⊢ w : ⟨ x ⟩ A , Γ ) ⊨ w L x ⇝ u with L x = L g ( C ) ( x ) L_x=L_{g(\mathcal{C})}(x) L x = L g ( C ) ( x ) .
† 3 : = u ^{\dagger_3}:=u † 3 := u is fresh and w ∈ Lab ( T , Γ ) w\in\operatorname{Lab}(\mathcal{T},\Gamma) w ∈ Lab ( T , Γ ) .
such that every other label in Lab ( T ) \operatorname{Lab}(\mathcal{T}) Lab ( T ) has exactly one incoming edge and is reachable from w w w by a directed path of edges.
Definition 3.1 (Tree Sequent). A tree sequent is an expression of the form T ⊢ Γ \mathcal{T}\vdash\Gamma T ⊢ Γ such that (1) T \mathcal{T} T is a tree, (2) if T ≠ ∅ \mathcal{T}\ne\varnothing T = ∅ , then Lab ( Γ ) ⊆ Lab ( T ) \operatorname{Lab}(\Gamma)\subseteq\operatorname{Lab}(\mathcal{T}) Lab ( Γ ) ⊆ Lab ( T ) , and (3) if T = ∅ \mathcal{T}=\varnothing T = ∅ , then ∣ Lab ( Γ ) ∣ ≤ 1 |\operatorname{Lab}(\Gamma)|\le1 ∣ Lab ( Γ ) ∣ ≤ 1 , i.e., all labeled formulae in Γ \Gamma Γ share the same label.
We note that conditions (1)–(3) ensure that each tree sequent forms a connected graph that is indeed of a tree shape. We use G , H , K , … \mathcal{G},\mathcal{H},\mathcal{K},\ldots G , H , K , … to denote tree sequents, and let Lab ( G ) \operatorname{Lab}(\mathcal{G}) Lab ( G ) be the set of labels occurring in G \mathcal{G} G . The root of a tree sequent T ⊢ Γ \mathcal{T}\vdash\Gamma T ⊢ Γ is the root of T \mathcal{T} T if T ≠ ∅ \mathcal{T}\ne\varnothing T = ∅ , and is the single label occurring in Γ \Gamma Γ otherwise. We adopt standard tree terminology when discussing tree sequents (e.g., parent, child, leaf, and subtree). Intuitively, a tree sequent T ⊢ Γ \mathcal{T}\vdash\Gamma T ⊢ Γ states that if all relational atoms in T \mathcal{T} T hold, then some labeled formula in Γ \Gamma Γ holds (see Definition 3.2 below). We define a flat sequent to be a tree sequent of the form ⊢ Γ \vdash\Gamma ⊢ Γ , that is, a flat sequent is a tree sequent without relational atoms, and where every labeled formula in Γ \Gamma Γ shares the same label. In particular, the empty sequent ⊢ ∅ \vdash\varnothing ⊢ ∅ is a flat sequent.
Every tree sequent encodes a tree whose nodes are labeled with sets of formulae and whose edges are labeled with characters. Let G = T , w R x 1 u 1 , … , w R x n u n ⊢ Γ \mathcal{G}=\mathcal{T},wR_{x_1}u_1,\ldots,wR_{x_n}u_n\vdash\Gamma G = T , w R x 1 u 1 , … , w R x n u n ⊢ Γ be a tree sequent such that w w w is the root and u 1 , … , u n u_1,\ldots,u_n u 1 , … , u n are all children of w w w . The tree tr w ( G ) \operatorname{tr}_w(\mathcal{G}) tr w ( G ) is graphically depicted below, where tr u i ( G ) \operatorname{tr}_{u_i}(\mathcal{G}) tr u i ( G ) is the tree encoded by the subtree rooted at u i u_i u i for i ∈ [ n ] i\in[n] i ∈ [ n ] :
Figure 2.
This tree structure gives rise to a natural formula interpretation of tree sequents.
Definition 3.2 (Formula Interpretation). Let G = T ⊢ Γ \mathcal{G}=\mathcal{T}\vdash\Gamma G = T ⊢ Γ be a tree sequent and u ∈ Lab ( G ) u\in\operatorname{Lab}(\mathcal{G}) u ∈ Lab ( G ) . We define the formula interpretation f m u ( G ) \mathrm{fm}_u(\mathcal{G}) fm u ( G ) of G \mathcal{G} G at u u u recursively on the subtree of T \mathcal{T} T rooted at u u u :
f m u ( G ) ≔ ⋁ ( Γ ( u ) ∪ { [ x ] f m v ( G ) ∣ u R x v ∈ T } ) \mathrm{fm}_u(\mathcal{G})\coloneqq\bigvee\left(\Gamma(u)\cup\{[x]\mathrm{fm}_v(\mathcal{G})\mid uR_xv\in\mathcal{T}\}\right) fm u ( G ) : = ⋁ ( Γ ( u ) ∪ {[ x ] fm v ( G ) ∣ u R x v ∈ T } )
where the empty disjunction is taken to be ⊥ \bot ⊥ . If w w w is the root of G \mathcal{G} G , then we define f m ( G ) ≔ f m w ( G ) \mathrm{fm}(\mathcal{G})\coloneqq\mathrm{fm}_w(\mathcal{G}) fm ( G ) : = fm w ( G ) , and we define f m ( ∅ ) ≔ ⊥ \mathrm{fm}(\varnothing)\coloneqq\bot fm ( ∅ ) : = ⊥ . We say that a tree sequent is C \mathcal{C} C -valid iff f m ( G ) \mathrm{fm}(\mathcal{G}) fm ( G ) is C \mathcal{C} C -valid.
A uniform presentation of our tree sequent systems is provided in Figure 1 . Each tree sequent system T K m ( C ) \mathsf{TK}_{m}(\mathcal{C}) TK m ( C ) takes a set C \mathcal{C} C of path and seriality conditions as a parameter and is sound and complete for the logic K m ( C ) \mathsf{K}_{m}(\mathcal{C}) K m ( C ) (see Theorem 3.8 below). We note that T K m = T K m ( ∅ ) \mathsf{TK}_{m}=\mathsf{TK}_{m}(\varnothing) TK m = TK m ( ∅ ) is the calculus for the base logic K m \mathsf{K}_{m} K m . Each system contains the initial rules i d \mathsf{id} id and ⊤ \top ⊤ , and we call the conclusion of an initial rule an initial sequent . With the exception of the seriality rules d x \mathsf{d}_{x} d x , which are structural rules that (bottom-up) introduce a relational atom without introducing any formula, the remaining rules are logical rules , which introduce complex formulae into the conclusion.
Figure 1. The tree sequent calculus T K m ( C ) \mathsf{TK}_{m}(\mathcal{C}) TK m ( C ) defined relative to a set C \mathcal{C} C of path and seriality conditions. We have an [ x ] [x] [ x ] rule and an ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ rule for each x ∈ Σ x\in\Sigma x ∈ Σ , and a d x d_x d x rule for each x ∈ Σ x\in\Sigma x ∈ Σ such that D x ∈ C D_x\in\mathcal{C} D x ∈ C .
The [ x ] [x] [ x ] rule is subject to the side condition † 1 \dagger_{1} † 1 , which requires that the label u u u be fresh in any application of the rule, i.e., the label u u u does not occur in the conclusion. We remark that the freshness condition on u u u preserves the tree structure of sequents when applied bottom-up: since u u u does not occur in the conclusion, adjoining the relational atom w R x u wR_{x}u w R x u extends the tree by a fresh leaf rather than introducing a cycle or disconnected region. Likewise, the d x \mathsf{d}_{x} d x rule is subject to the side condition † 3 \dagger_{3} † 3 , which requires that u u u be fresh and that w w w occur in the conclusion, so that (bottom-up) applications of d x \mathsf{d}_{x} d x also extend the tree by a fresh leaf u u u , which is a child of w w w .
As in the setting of tree (or nested) sequents [36 , 37 , 53 ] , the parameter C \mathcal{C} C determines what logic is captured by the system T K m ( C ) \mathsf{TK}_{m}(\mathcal{C}) TK m ( C ) . This is achieved by (1) including the seriality rule d x \mathsf{d}_{x} d x in T K m ( C ) \mathsf{TK}_{m}(\mathcal{C}) TK m ( C ) iff D x ∈ C D_{x}\in\mathcal{C} D x ∈ C , and (2) changing the functionality of the propagation rules ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ according to the path conditions in C \mathcal{C} C . Propagation rules view tree sequents as labeled transition systems, and enable formulae to be (bottom-up) propagated along certain paths (corresponding to strings generated by a C \mathcal{C} C -grammar) within the tree of a tree sequent. To make the functionality of such rules precise, we define propagation graphs and propagation paths (cf. [8 , 19 , 36 ] ).
Definition 3.3 (Propagation Graph). Let G = T ⊢ Γ \mathcal{G}=\mathcal{T}\vdash\Gamma G = T ⊢ Γ be a tree sequent. We define the propagation graph pg ( G ) = ( V , E ) \operatorname{pg}(\mathcal{G})=(V,E) pg ( G ) = ( V , E ) such that
V : = Lab ( G ) V:=\operatorname{Lab}(\mathcal{G}) V := Lab ( G ) ;
( w , x , u ) , ( u , x ‾ , w ) ∈ E (w,x,u),(u,\overline{x},w)\in E ( w , x , u ) , ( u , x , w ) ∈ E iff w R x u ∈ T wR_{x}u\in\mathcal{T} w R x u ∈ T .
We may write w ∈ pg ( G ) w\in\operatorname{pg}(\mathcal{G}) w ∈ pg ( G ) and ( w , x , u ) ∈ pg ( G ) (w,x,u)\in\operatorname{pg}(\mathcal{G}) ( w , x , u ) ∈ pg ( G ) as shorthand for w ∈ V w\in V w ∈ V and ( w , x , u ) ∈ E (w,x,u)\in E ( w , x , u ) ∈ E , respectively.
Definition 3.4 (Propagation Path). Let pg ( G ) = ( V , E ) \operatorname{pg}(\mathcal{G})=(V,E) pg ( G ) = ( V , E ) be a propagation graph with u , w ∈ V u,w\in V u , w ∈ V and x ∈ Σ x\in\Sigma x ∈ Σ . We write pg ( G ) ⊩ u → x w \operatorname{pg}(\mathcal{G})\Vdash u\xrightarrow{x}w pg ( G ) ⊩ u x w iff ( u , x , w ) ∈ E (u,x,w)\in E ( u , x , w ) ∈ E . Given a string x s ∈ Σ ∗ xs\in\Sigma^{*} x s ∈ Σ ∗ , we define pg ( G ) ⊩ u → x s w \operatorname{pg}(\mathcal{G})\Vdash u\xrightarrow{xs}w pg ( G ) ⊩ u x s w as ‘there exists a v ∈ V v\in V v ∈ V such that pg ( G ) ⊩ u → x v \operatorname{pg}(\mathcal{G})\Vdash u\xrightarrow{x}v pg ( G ) ⊩ u x v and pg ( G ) ⊩ v → s w \operatorname{pg}(\mathcal{G})\Vdash v\xrightarrow{s}w pg ( G ) ⊩ v s w , and we take pg ( G ) ⊩ u → ε w \operatorname{pg}(\mathcal{G})\Vdash u\xrightarrow{\varepsilon}w pg ( G ) ⊩ u ε w to mean that u = w u=w u = w . Additionally, when pg ( G ) \operatorname{pg}(\mathcal{G}) pg ( G ) is clear from the context we may simply write u → s w u\xrightarrow{s}w u s w to express pg ( G ) ⊩ u → s w \operatorname{pg}(\mathcal{G})\Vdash u\xrightarrow{s}w pg ( G ) ⊩ u s w . Finally, given a language L x : = L G ( C ) ( x ) L_{x}:=L_{\mathcal{G}(\mathcal{C})}(x) L x := L G ( C ) ( x ) of some C \mathcal{C} C -grammar G ( C ) \mathcal{G}(\mathcal{C}) G ( C ) and x ∈ Σ x\in\Sigma x ∈ Σ , we write u → L x w u\xrightarrow{L_{x}}w u L x w iff there is a string t ∈ L G ( C ) ( x ) t\in L_{\mathcal{G}(\mathcal{C})}(x) t ∈ L G ( C ) ( x ) with u → t w u\xrightarrow{t}w u t w .
Observe that the premise and conclusion of a ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ rule have the same propagation graph, as they contain the same relational atoms and labels. Hence, propagation rules can be just as easily applied bottom-up as top-down. The following is a consequence of Lemma 2.11.
Lemma 3.5. Let G \mathcal{G} G be a tree sequent, L x = L G ( C ) ( x ) L_{x}=L_{\mathcal{G}(\mathcal{C})}(x) L x = L G ( C ) ( x ) , and L x ‾ = L G ( C ) ( x ‾ ) L_{\overline{x}}=L_{\mathcal{G}(\mathcal{C})}(\overline{x}) L x = L G ( C ) ( x ) . Then, pg ( G ) ⊩ u → L x w \operatorname{pg}(\mathcal{G})\Vdash u\xrightarrow{L_{x}}w pg ( G ) ⊩ u L x w iff pg ( G ) ⊩ w → L x ‾ u \operatorname{pg}(\mathcal{G})\Vdash w\xrightarrow{L_{\overline{x}}}u pg ( G ) ⊩ w L x u .
With the above notions, one can formally specify each propagation rule ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ . Applications of such rules are controlled by the side condition † 2 ( C ) \dagger_{2}(\mathcal{C}) † 2 ( C ) shown in Figure 1 . Since x ∈ L x x\in L_{x} x ∈ L x , the side condition is satisfied whenever w R x u wR_{x}u w R x u occurs in the conclusion, meaning that each ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ rule subsumes the usual diamond rule of labeled and nested calculi for K m \mathsf{K}_{m} K m (cf. [36 Lemma 25] ). Moreover, if ε ∈ L x \varepsilon\in L_{x} ε ∈ L x (e.g., if T x ∈ C T_{x}\in\mathcal{C} T x ∈ C ), then the side condition holds for u = w u=w u = w , allowing A A A to be propagated to the same label where ⟨ x ⟩ A \langle x\rangle A ⟨ x ⟩ A occurs. We provide an example to clarify applications of these rules.
Example 3.6. Let G = w R x u , u R y ‾ v ⊢ w : ¬ p , v : ⟨ z ⟩ p \mathcal{G}=wR_{x}u,uR_{\overline{y}}v\vdash w:\neg p,v:\langle z\rangle p G = w R x u , u R y v ⊢ w : ¬ p , v : ⟨ z ⟩ p . A graphical depiction of G \mathcal{G} G ’s propagation graph pg ( G ) \operatorname{pg}(\mathcal{G}) pg ( G ) is given below:
Figure 8 (PDF p. 12).
Let C : = { R y x ˉ ⊆ R z } \mathcal{C}:=\{R_{y\bar{x}}\subseteq R_{z}\} C := { R y x ˉ ⊆ R z } , so that the corresponding C \mathcal{C} C -grammar is g ( C ) = { z ⟶ y x ˉ , z ˉ ⟶ x ˉ y ˉ } g(\mathcal{C})=\{z\longrightarrow y\bar{x},\bar{z}\longrightarrow\bar{x}\bar{y}\} g ( C ) = { z ⟶ y x ˉ , z ˉ ⟶ x ˉ y ˉ } . Then, pg ( G ) ⊩ v → y x w \operatorname{pg}(\mathcal{G})\Vdash v\xrightarrow{yx}w pg ( G ) ⊩ v y x w with y x ∈ L g ( C ) ( z ) yx\in L_{g(\mathcal{C})}(z) y x ∈ L g ( C ) ( z ) due to the first production rule of g ( C ) g(\mathcal{C}) g ( C ) . Therefore, the side condition of the propagation rule ⟨ z ⟩ \langle z\rangle ⟨ z ⟩ is satisfied and, so, we are permitted to (bottom-up) apply the rule to G \mathcal{G} G to propagate the formula p p p from v v v to w w w . This yields the initial sequent w R x u , u R y ‾ v ⊢ w : ¬ p , w : p , v : ⟨ z ⟩ p wR_{x}u,uR_{\overline{y}}v\vdash w:\neg p,w:p,v:\langle z\rangle p w R x u , u R y v ⊢ w : ¬ p , w : p , v : ⟨ z ⟩ p , showing that G \mathcal{G} G is provable.
Figure 2 (PDF p. 13). Admissible rules in T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) . The conclusion of w is required to be a tree sequent.
As usual, we refer to the labeled formulae and relational atoms explicitly presented in the premises of a rule as auxiliary , and to the labeled formulae explicitly presented in its conclusion as principal . For example, in the [ x ] [x] [ x ] rule, w R x u wR_xu w R x u and u : A u:A u : A are auxiliary and w : [ x ] A w:[x]A w : [ x ] A is principal, whereas in the d x d_x d x rule, w R x u wR_xu w R x u is auxiliary and there is no principal formula. A derivation in T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) of a tree sequent G \mathcal{G} G is a (potentially infinite) tree whose nodes are labeled with tree sequents such that: (1) The root is labeled with G \mathcal{G} G , and (2) Every parent node is the conclusion of a rule of T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) with its children the premises.
We define a branch B = G 0 , G 1 , … , G n , … \mathcal{B}=\mathcal{G}_0,\mathcal{G}_1,\ldots,\mathcal{G}_n,\ldots B = G 0 , G 1 , … , G n , … to be a maximal path of tree sequents in a derivation such that G 0 \mathcal{G}_0 G 0 is the conclusion of the derivation and each tree sequent G i + 1 \mathcal{G}_{i+1} G i + 1 (if it exists) is a child of G i \mathcal{G}_i G i . A proof is a finite derivation where all leaves are initial sequents. We use π \pi π and annotated versions thereof to denote both derivations and proofs with the context differentiating the usage. If a proof of a tree sequent G \mathcal{G} G exists in T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) , then we write T K m ( C ) ⊢ G \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash\mathcal{G} TK m ( C ) ⊢ G to indicate this. Often, when discussing a proof transformation, we will use the following notation to denote that π \pi π is a proof of G \mathcal{G} G :
π G \frac{\pi}{\mathcal{G}} G π
We define Lab ( π ) \operatorname{Lab}(\pi) Lab ( π ) to be the set of all labels occurring in a derivation π \pi π . Last, the height of a derivation is defined in the usual way as the maximal length of a branch in the derivation, which may be infinite if the derivation is infinite.
Example 3.7. We provide an example proof of a path axiom. Let ( R x 1 … x n ⊆ R x ) ∈ C (R_{x_1\ldots x_n}\subseteq R_x)\in\mathcal{C} ( R x 1 … x n ⊆ R x ) ∈ C with n ≥ 1 n\geq1 n ≥ 1 , meaning x ⟶ x 1 ⋯ x n ∈ g ( C ) x\longrightarrow x_1\cdots x_n\in g(\mathcal{C}) x ⟶ x 1 ⋯ x n ∈ g ( C ) by definition. Recall that ¬ ( ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ p ) = [ x 1 ] ⋯ [ x n ] ¬ p \neg(\langle x_1\rangle\cdots\langle x_n\rangle p)=[x_1]\cdots[x_n]\neg p ¬ (⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ p ) = [ x 1 ] ⋯ [ x n ] ¬ p , so the end sequent below is the path axiom ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ p → ⟨ x ⟩ p \langle x_1\rangle\cdots\langle x_n\rangle p\to\langle x\rangle p ⟨ x 1 ⟩ ⋯ ⟨ x n ⟩ p → ⟨ x ⟩ p . Observe that a propagation path tracing the string x 1 ⋯ x n x_1\cdots x_n x 1 ⋯ x n exists from w w w to u n u_n u n , showing that the side condition holds for ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ as x 1 ⋯ x n ∈ L g ( C ) ( x ) x_1\cdots x_n\in L_{g(\mathcal{C})}(x) x 1 ⋯ x n ∈ L g ( C ) ( x ) .
w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p , u n : p \frac{}{wR_{x_1}u_1,\ldots,u_{n-1}R_{x_n}u_n\vdash w:\langle x\rangle p,u_n:\neg p,u_n:p} w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p , u n : p
w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p , u n : p w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p \frac{wR_{x_1}u_1,\ldots,u_{n-1}R_{x_n}u_n\vdash w:\langle x\rangle p,u_n:\neg p,u_n:p}{wR_{x_1}u_1,\ldots,u_{n-1}R_{x_n}u_n\vdash w:\langle x\rangle p,u_n:\neg p} w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p , u n : p
w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p ⊢ w : [ x 1 ] ⋯ [ x n ] ¬ p , w : ⟨ x ⟩ p \frac{wR_{x_1}u_1,\ldots,u_{n-1}R_{x_n}u_n\vdash w:\langle x\rangle p,u_n:\neg p}{\vdash w:[x_1]\cdots[x_n]\neg p,w:\langle x\rangle p} ⊢ w : [ x 1 ] ⋯ [ x n ] ¬ p , w : ⟨ x ⟩ p w R x 1 u 1 , … , u n − 1 R x n u n ⊢ w : ⟨ x ⟩ p , u n : ¬ p
⊢ w : [ x 1 ] ⋯ [ x n ] ¬ p ∨ ⟨ x ⟩ p \vdash w:[x_1]\cdots[x_n]\neg p\vee\langle x\rangle p ⊢ w : [ x 1 ] ⋯ [ x n ] ¬ p ∨ ⟨ x ⟩ p
When n = 0 n=0 n = 0 , i.e., T x ∈ C T_x\in\mathcal{C} T x ∈ C , the corresponding path axiom p → ⟨ x ⟩ p p\to\langle x\rangle p p → ⟨ x ⟩ p is proven by applying ∨ \vee ∨ and then ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ with u = w u=w u = w , which yields the initial sequent ⊢ w : ¬ p , w : ⟨ x ⟩ p , w : p \vdash w:\neg p,w:\langle x\rangle p,w:p ⊢ w : ¬ p , w : ⟨ x ⟩ p , w : p .
The soundness and completeness of T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) were established in [36 ] for sets C \mathcal{C} C of path conditions (cf. Lemma 2.12), and extends to seriality conditions by standard techniques.
Theorem 3.8 (Soundness and Completeness, cf. [36 , 37 ] ). For any tree sequent G \mathcal{G} G , T K m ( C ) ⊢ G \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash\mathcal{G} TK m ( C ) ⊢ G iff G \mathcal{G} G is C \mathcal{C} C -valid, i.e., fm ( G ) ∈ K m ( C ) \operatorname{fm}(\mathcal{G})\in K_{\mathrm{m}}(\mathcal{C}) fm ( G ) ∈ K m ( C ) .
The interpolation algorithm presented later on relies on several fundamental properties of our tree sequent systems, which we collect in this section. We define a rule to be admissible (height-preserving admissible) iff the following holds: if the premises of the rule have proofs (of height h 1 , … , h n h_1,\ldots,h_n h 1 , … , h n ), then the conclusion of the rule has a proof (of height h ≤ max { h 1 , … , h n } h\leq\max\{h_1,\ldots,h_n\} h ≤ max { h 1 , … , h n } ). Given an n n n -ary rule r \mathsf{r} r , we define its inverse , denoted r i − 1 \mathsf{r}^{-1}_i r i − 1 , to be the rule whose sole premise is the conclusion of r \mathsf{r} r and whose conclusion is the i t h i^{\mathrm{th}} i th premise of r \mathsf{r} r . We say that r \mathsf{r} r is (height-preserving) invertible iff r i − 1 \mathsf{r}^{-1}_i r i − 1 is (height-preserving) admissible for each i ∈ [ n ] i\in[n] i ∈ [ n ] .
The weakening rule w \mathsf{w} w , the contraction rule c \mathsf{c} c , and the cut rule cut are displayed in Figure 2. We note that in the setting of tree sequents, the w rule is assumed to preserve the tree shape of sequents when applied, i.e., its conclusion must be a tree sequent. Since tree sequents contain multisets of labeled formulae, we also consider the c rule, which merges two copies of a labeled formula into one; no such rule is needed for relational atoms, as these form a set. The following theorem is a consequence of the work in [36 ] , whose arguments extend to the d x d_x d x rule by standard techniques (cf. [37 ] ).
Theorem 3.9 (Admissibility and Invertibility, cf. [36 , 37 ] ). The tree sequent calculus T K m ( C ) \mathrm{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) satisfies the following:
Each tree sequent of the form T ⊢ w : A , w : ¬ ˙ A , Γ \mathcal{T} \vdash w : A, w : \dot{\neg} A, \Gamma T ⊢ w : A , w : ¬ ˙ A , Γ is provable in T K m ( C ) \mathrm{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) ;
The w w w and c c c rules are height-preserving admissible in T K m ( C ) \mathrm{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) ;
All non-initial rules are height-preserving invertible in T K m ( C ) \mathrm{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) ;
The cut rule is admissible in T K m ( C ) \mathrm{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) .
Interpolation Calculus
Over the next three sections, we leverage our tree sequent calculi to establish the strong LIP for bridge-free grammar logics. Our methodology generalizes that of [17 , 36 , 38 , 39 ] for computing interpolants with nested and tree sequents, which is itself a generalization of Maehara’s method [40 ] and can be summarized as a four-step process:
Take a proof of a tree sequent ⊢ w : ¬ ˙ A , w : B \vdash w : \dot{\neg} A, w : B ⊢ w : ¬ ˙ A , w : B as input. (NB. As A → B = ¬ ˙ A ∨ B A \to B = \dot{\neg} A \lor B A → B = ¬ ˙ A ∨ B , such a proof exists iff ⊢ w : A → B \vdash w : A \to B ⊢ w : A → B is provable, by the ∨ \lor ∨ rule and its invertibility; see Theorem 3.9 (3).)
Partition the conclusion as ⊢ w : ¬ ˙ A ∣ w : B \vdash w : \dot{\neg} A \mid w : B ⊢ w : ¬ ˙ A ∣ w : B so that w : ¬ ˙ A w : \dot{\neg} A w : ¬ ˙ A occurs in the left and w : B w : B w : B occurs in the right of the partition with ‘∣ \mid ∣ ’ separating the partitions.
Partition the premises of each rule based on the partition of the conclusion to obtain a ‘partitioned proof’ whereby the left partition derives w : ¬ ˙ A w : \dot{\neg} A w : ¬ ˙ A and the right partition derives w : B w : B w : B .
Assign interpolants to the initial sequents of the proof and specify how the interpolants of the premises of a rule determine an interpolant of the conclusion.
This culminates in the construction of an interpolant w : I w : I w : I of the conclusion, yielding a proof of ⊢ w : ¬ ˙ A , w : I \vdash w : \dot{\neg} A, w : I ⊢ w : ¬ ˙ A , w : I (i.e., of w : A → I w : A \to I w : A → I ) and a proof of ⊢ w : ¬ ˙ I , w : B \vdash w : \dot{\neg} I, w : B ⊢ w : ¬ ˙ I , w : B (i.e., of w : I → B w : I \to B w : I → B ).
One of the features required for this method to work with tree (or nested) sequents is the generalization of interpolants from formulae to sets of sequents [39 ] . In our setting, the interpolants assigned to sequents in step (4) are sets of sets of labeled formulae (see Definition 4.1), which can be interpreted as a single formula at the conclusion.
To make the above process concrete, let us illustrate the Lyndon interpolation method of [36 ] by means of an example, which also exposes its shortcoming in obtaining strong interpolants that account for the indices of modalities. Suppose we are given a proof of ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) \vdash w : \langle x\rangle\neg p, w : [x]p \lor[y](q \lor\neg q) ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) (i.e., of w : [ x ] p → [ x ] p ∨ [ y ] ( q ∨ ¬ q ) w : [x]p \to[x]p \lor[y](q \lor\neg q) w : [ x ] p → [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ) as shown below left. We partition the conclusion as shown in the proof below right. The entire proof is then bottom-up partitioned by placing the auxiliary labeled formulae of an inference in the same partition as the principal formula. Note that in this method relational atoms are independent of the partition and are shared by both partitions.
w R y u ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , u : q , u : ¬ q w R y u ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , u : q ∨ ¬ q ∨ [ y ] w R y u ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , u : q ∨ ¬ q ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , w : [ y ] ( q ∨ ¬ q ) [ y ] \frac{wR_yu \vdash w : \langle x\rangle\neg p, w : [x]p, u : q, u : \neg q}{wR_yu \vdash w : \langle x\rangle\neg p, w : [x]p, u : q \lor\neg q}\ \lor\ [y]\quad
\frac{wR_yu \vdash w : \langle x\rangle\neg p, w : [x]p, u : q \lor\neg q}{\vdash w : \langle x\rangle\neg p, w : [x]p, w : [y](q \lor\neg q)}\ [y] w R y u ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , u : q ∨ ¬ q w R y u ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , u : q , u : ¬ q ∨ [ y ] ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , w : [ y ] ( q ∨ ¬ q ) w R y u ⊢ w : ⟨ x ⟩ ¬ p , w : [ x ] p , u : q ∨ ¬ q [ y ]
w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q , u : ¬ q w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q ∨ ¬ q ∨ [ y ] w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q ∨ ¬ q ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , w : [ y ] ( q ∨ ¬ q ) [ y ] \frac{wR_yu \vdash w : \langle x\rangle\neg p \mid w : [x]p, u : q, u : \neg q}{wR_yu \vdash w : \langle x\rangle\neg p \mid w : [x]p, u : q \lor\neg q}\ \lor\ [y]\quad
\frac{wR_yu \vdash w : \langle x\rangle\neg p \mid w : [x]p, u : q \lor\neg q}{\vdash w : \langle x\rangle\neg p \mid w : [x]p, w : [y](q \lor\neg q)}\ [y] w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q ∨ ¬ q w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q , u : ¬ q ∨ [ y ] ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , w : [ y ] ( q ∨ ¬ q ) w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q ∨ ¬ q [ y ]
As shown below, we can assign a suitable interpolant to the id rule, viz., { ( u : ⊤ ) } \{(u : \top)\} {( u : ⊤ )} , and an interpolant of the conclusion of a rule can be defined relative to the interpolants of its premises. We note that one can consult [36 Section 6.2] for the explicit description of how Lyndon interpolants for grammar logics are computed; this example is simply intended to give a high-level idea of how proofs are interpolated. What is important to recognize is that [ x ] p → [ y ] ⊤ [x]p \to[y]\top [ x ] p → [ y ] ⊤ and [ y ] ⊤ → [ x ] p ∨ [ y ] ( q ∨ ¬ q ) [y]\top\to[x]p \lor[y](q \lor\neg q) [ y ] ⊤ → [ x ] p ∨ [ y ] ( q ∨ ¬ q ) are valid, showing that [ y ] ⊤ [y]\top [ y ] ⊤ ‘interpolates’ the input implication.
w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q , u : ¬ q ∥ { ( u : ⊤ ) } w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q ∨ ¬ q ∥ { ( u : ⊤ ) } ∨ \frac{wR_yu \vdash w : \langle x\rangle\neg p \mid w : [x]p, u : q, u : \neg q \mathbin{\|} \{(u : \top)\}}{wR_yu \vdash w : \langle x\rangle\neg p \mid w : [x]p, u : q \lor\neg q \mathbin{\|} \{(u : \top)\}}\ \lor w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q ∨ ¬ q ∥ {( u : ⊤ )} w R y u ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , u : q , u : ¬ q ∥ {( u : ⊤ )} ∨
⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , w : [ y ] ( q ∨ ¬ q ) ∥ { ( w : [ y ] ⊤ ) } ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ { ( w : [ y ] ⊤ ) } ∨ \frac{\vdash w : \langle x\rangle\neg p \mid w : [x]p, w : [y](q \lor\neg q) \mathbin{\|} \{(w : [y]\top)\}}{\vdash w : \langle x\rangle\neg p \mid w : [x]p \lor[y](q \lor\neg q) \mathbin{\|} \{(w : [y]\top)\}}\ \lor ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ {( w : [ y ] ⊤ )} ⊢ w : ⟨ x ⟩ ¬ p ∣ w : [ x ] p , w : [ y ] ( q ∨ ¬ q ) ∥ {( w : [ y ] ⊤ )} ∨
However, the interpolant produced above does not satisfy condition (2) of Definition 2.15, i.e., the above methodology cannot guarantee that the interpolant lies in the common modal signature. Indeed, as also recognized by Bílková et al. [5, Example 22], the usual interpolation method on nested and tree sequents (cf. [17 , 36 , 38 , 39 ] ) only guarantees that the interpolant is built from common (polarized) propositional atoms. In the above example, the interpolant contains the character y y y , introduced by the [ y ] [y] [ y ] rule, even though sig Σ ( [ y ] ⊤ ) = { y , y ˉ } ⊈ sig Σ ( [ x ] p ) = { x , x ˉ } \operatorname{sig}^{\Sigma}([y]\top)=\{y,\bar{y}\}\not\subseteq\operatorname{sig}^{\Sigma}([x]p)=\{x,\bar{x}\} sig Σ ([ y ] ⊤ ) = { y , y ˉ } ⊆ sig Σ ([ x ] p ) = { x , x ˉ } .
This issue arises in step (3) of the above method, that is, the usual ‘bipartite’ partition method is not sensitive enough to which relational atoms should and should not contribute modalities to the interpolant. We overcome this issue by means of a novel partitioning technique, which, besides partitioning the labeled formulae, also sorts the labels of each sequent into three sets: the labels private to the left partition, the labels private to the right partition, and the common labels , which both partitions may use. (NB. We refer to the left and right partitions as the left component and right component below.)
A relational atom pointing to a common label may be used to propagate formulae in both partitions; as we will see, in bridge-free grammar logics, the index of such a relational atom is guaranteed to occur in the modal signature of both the antecedent and consequent of the input implication whenever both partitions actually use it. Hence, only relational atoms pointing to common labels are permitted to contribute modalities to interpolants, and only when used by both partitions. We therefore refer to our new partitioning method as a tripartite partition method (detailed in § 5 ), which is the key technique for establishing the strong LIP for bridge-free grammar logics.
Interpolation Sequents
Our interpolation method uses interpolation sequents , which are generalizations of tree sequents that distribute their labeled formulae over a left and a right component, and their labels over three sets: the common labels, and the labels private to the left or to the right component. We let { L , R } \{\mathsf{L},\mathsf{R}\} { L , R } be the set of tags , which name the left and right components, and use X , Y , Z \mathsf{X},\mathsf{Y},\mathsf{Z} X , Y , Z to range over tags.
We define sig ∘ ( w : A ) : = sig ∘ ( A ) \operatorname{sig}^{\circ}(w:A):=\operatorname{sig}^{\circ}(A) sig ∘ ( w : A ) := sig ∘ ( A ) for each ∘ ∈ { + , − , Σ } \circ\in\{+,-,\Sigma\} ∘ ∈ { + , − , Σ } , and for a multiset Γ \Gamma Γ of labeled formulae, we let sig ∘ ( Γ ) \operatorname{sig}^{\circ}(\Gamma) sig ∘ ( Γ ) be the union of the signatures of its elements.
Definition 4.1 (Interpolant). An interpolant I I I is a finite set { Σ 1 , … , Σ n } \{\Sigma_1,\ldots,\Sigma_n\} { Σ 1 , … , Σ n } , where Σ i \Sigma_i Σ i is a finite set of labeled formulae for each i ∈ [ n ] i\in[n] i ∈ [ n ] . We let Lab ( I ) \operatorname{Lab}(I) Lab ( I ) be the set of all labels occurring in I I I , and for ∘ ∈ { + , − , Σ } \circ\in\{+,-,\Sigma\} ∘ ∈ { + , − , Σ } , we define sig ∘ ( I ) : = ⋃ i ∈ [ n ] sig ∘ ( Σ i ) \operatorname{sig}^{\circ}(I):=\bigcup_{i\in[n]}\operatorname{sig}^{\circ}(\Sigma_i) sig ∘ ( I ) := ⋃ i ∈ [ n ] sig ∘ ( Σ i ) .
We stress that Σ ∈ I \Sigma\in I Σ ∈ I (for an interpolant I I I ) is in general not a tree sequent: Σ \Sigma Σ contains no relational atoms and its labeled formulae may have distinct labels. Our interpolation algorithm is designed to ensure that all labeled formulae in an interpolant share the same label in the conclusion of an interpolation proof, so that the interpolant of the conclusion can be read as a formula, namely, a strong Lyndon interpolant (see Definition 6.5).
As discussed in [39 ] , since interpolants are no longer formulae, we need a generalized notion of negation for them. The following definition suffices and defines the orthogonal (i.e., negation) of an interpolant (cf. [36 , 38 , 39 ] ).
Definition 4.2 (Orthogonal [39 ] ). The orthogonal of an interpolant I = { Σ 1 , … , Σ n } I=\{\Sigma_1,\ldots,\Sigma_n\} I = { Σ 1 , … , Σ n } is defined as follows:
I ‾ : = { w 1 : ¬ A 1 , … , w n : ¬ A n ∣ w i : A i ∈ Σ i for each i ∈ [ n ] } . \overline{I}:=\{w_1:\neg A_1,\ldots,w_n:\neg A_n\mid w_i:A_i\in\Sigma_i\text{ for each }i\in[n]\}. I := { w 1 : ¬ A 1 , … , w n : ¬ A n ∣ w i : A i ∈ Σ i for each i ∈ [ n ]} . Intuitively, the orthogonal selects one labeled formula from each Σ i \Sigma_i Σ i , negates it, and collects the negations into a set, ranging over all possible such selections.
Example 4.3. If I = { ( w : A ) , ( w : B , u : C ) } I=\{(w:A),(w:B,u:C)\} I = {( w : A ) , ( w : B , u : C )} is an interpolant, then its orthogonal is:
I ‾ = { ( w : ¬ A , w : ¬ B ) , ( w : ¬ A , u : ¬ C ) } . \overline{I}=\{(w:\neg A,w:\neg B),(w:\neg A,u:\neg C)\}. I = {( w : ¬ A , w : ¬ B ) , ( w : ¬ A , u : ¬ C )} .
Note that the empty set ∅ \varnothing ∅ is an interpolant as well, whose orthogonal is ∅ ‾ = { ∅ } \overline{\varnothing}=\{\varnothing\} ∅ = { ∅ } , and that { ∅ } ‾ = ∅ \overline{\{\varnothing\}}=\varnothing { ∅ } = ∅ . When interpolants are read as formulae in conjunctive normal form (Definition 6.5), the interpolant ∅ \varnothing ∅ corresponds to ⊤ \top ⊤ (the empty conjunction) and { ∅ } \{\varnothing\} { ∅ } to ⊥ \bot ⊥ (a conjunction whose only conjunct is the empty disjunction).
By Lemma 2.14, the orthogonal swaps the positive and negative signature of an interpolant, i.e. sig + ( I ‾ ) ⊆ sig − ( I ) \operatorname{sig}^{+}(\overline{I})\subseteq\operatorname{sig}^{-}(I) sig + ( I ) ⊆ sig − ( I ) , sig − ( I ‾ ) ⊆ sig + ( I ) \operatorname{sig}^{-}(\overline{I})\subseteq\operatorname{sig}^{+}(I) sig − ( I ) ⊆ sig + ( I ) , and sig Σ ( I ‾ ) ⊆ sig Σ ( I ) \operatorname{sig}^{\Sigma}(\overline{I})\subseteq\operatorname{sig}^{\Sigma}(I) sig Σ ( I ) ⊆ sig Σ ( I ) ; moreover, Lab ( I ‾ ) ⊆ Lab ( I ) \operatorname{Lab}(\overline{I})\subseteq\operatorname{Lab}(I) Lab ( I ) ⊆ Lab ( I ) . We also define special interpolants that are used when modalities are introduced into interpolants. In the definition below, we use the fact that every set Σ \Sigma Σ of labeled formulae can be uniquely written as Σ = Σ ′ , u : B 1 , … , u : B k \Sigma=\Sigma',u:B_1,\ldots,u:B_k Σ = Σ ′ , u : B 1 , … , u : B k with k ≥ 0 k\geq0 k ≥ 0 and u ∉ Lab ( Σ ′ ) u\notin\operatorname{Lab}(\Sigma') u ∈ / Lab ( Σ ′ ) .
Definition 4.4 (Box Interpolant). Let I \mathcal{I} I be an interpolant, x ∈ Σ x \in\Sigma x ∈ Σ , and w , u ∈ L a b w,u \in\mathrm{Lab} w , u ∈ Lab with w ≠ u w \ne u w = u . We define the interpolant [ x ] I u w [x]\mathcal{I}_{u}^{w} [ x ] I u w as follows, where the empty disjunction is ⊥ \bot ⊥ :
[ x ] I u w : = { Σ ′ , w : [ x ] ⋁ 1 ≤ i ≤ k B i ∣ ( Σ ′ , u : B 1 , … , u : B k ) ∈ I with u ∉ L a b ( Σ ′ ) } . [x]\mathcal{I}_{u}^{w} := \left\{ \Sigma',w:[x]\bigvee_{1\le i\le k} B_i \mathrel{\Big|} (\Sigma',u:B_1,\ldots,u:B_k)\in\mathcal{I}\text{ with }u\notin\mathrm{Lab}(\Sigma') \right\}. [ x ] I u w := { Σ ′ , w : [ x ] 1 ≤ i ≤ k ⋁ B i ( Σ ′ , u : B 1 , … , u : B k ) ∈ I with u ∈ / Lab ( Σ ′ ) } .
Observe that [ x ] I u w [x]\mathcal{I}_{u}^{w} [ x ] I u w adds the labeled formula w : [ x ] ⊥ w:[x]\bot w : [ x ] ⊥ to every element of I \mathcal{I} I that contains no labeled formula with the label u u u . As illustrated in Example 4.10, this is necessary for the correctness of our method.
For a set T \mathcal{T} T of relational atoms and a set V V V of labels, T ↾ V : = { w R x u ∈ T ∣ u ∈ V } \mathcal{T}\mathord{\upharpoonright}V := \{wR_xu \in\mathcal{T}\mid u\in V\} T ↾ V := { w R x u ∈ T ∣ u ∈ V } is the set of relational atoms of T \mathcal{T} T whose target belongs to V V V .
Definition 4.5 (Interpolation Sequent). We define an interpolation sequent to be an expression of the form
S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 ∥ I \mathcal{S}=\mathcal{C};\mathcal{P}_{X};\mathcal{P}_{Y}\mathrel{\Vert}\mathcal{T}\vdash\Gamma_1\mathrel{{}^{X|Y}}\Gamma_2\mathrel{\Vert}\mathcal{I} S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 ∥ I such that X , Y ∈ { L , R } X,Y\in\{\mathsf{L},\mathsf{R}\} X , Y ∈ { L , R } with X ≠ Y X\ne Y X = Y , and:
T ⊢ Γ 1 , Γ 2 \mathcal{T}\vdash\Gamma_1,\Gamma_2 T ⊢ Γ 1 , Γ 2 is a tree sequent, called the underlying tree sequent of S \mathcal{S} S ;
C \mathcal{C} C , P X \mathcal{P}_{X} P X , and P Y \mathcal{P}_{Y} P Y are pairwise disjoint sets of labels whose union is the set of labels of the underlying tree sequent, the root of the underlying tree sequent belongs to C \mathcal{C} C , and for Z ∈ { X , Y } Z\in\{X,Y\} Z ∈ { X , Y } , every child of a label in P Z \mathcal{P}_{Z} P Z belongs to P Z \mathcal{P}_{Z} P Z ;
every label of Γ 1 \Gamma_1 Γ 1 belongs to C ∪ P X \mathcal{C}\cup\mathcal{P}_{X} C ∪ P X , and every label of Γ 2 \Gamma_2 Γ 2 belongs to C ∪ P Y \mathcal{C}\cup\mathcal{P}_{Y} C ∪ P Y ;
I \mathcal{I} I is an interpolant with L a b ( I ) ⊆ C \mathrm{Lab}(\mathcal{I})\subseteq\mathcal{C} Lab ( I ) ⊆ C .
We use S \mathcal{S} S (potentially annotated) to denote interpolation sequents. The tagged bar ‘X ∣ Y X|Y X ∣ Y ’ separates the two components of S \mathcal{S} S : we refer to Γ 1 \Gamma_1 Γ 1 as the X X X -component and to Γ 2 \Gamma_2 Γ 2 as the Y Y Y -component of S \mathcal{S} S . If X = L X=\mathsf{L} X = L (resp. X = R X=\mathsf{R} X = R ), then we also refer to the X X X -component as the left component (resp. right component ), and similarly for the Y Y Y -component.
The labels in C \mathcal{C} C are common , and the labels in P Z \mathcal{P}_{Z} P Z are private to the Z Z Z -component. Intuitively, both components may use common labels, whereas only the Z Z Z -component may use the labels private to it.
We list the two sets of private labels in the same order as the components, i.e., first the labels private to the X X X -component and then those private to the Y Y Y -component; in particular, an interpolation sequent with the tagged bar ‘L ∣ R \mathsf{L}|\mathsf{R} L ∣ R ’ lists its labels as C ; P L ; P R \mathcal{C};\mathcal{P}_{\mathsf{L}};\mathcal{P}_{\mathsf{R}} C ; P L ; P R . In rules, a set written as C ∪ { w } \mathcal{C}\cup\{w\} C ∪ { w } indicates that w w w belongs to it.
The root of an interpolation sequent, denoted by the meta-variable ρ \rho ρ , is the root of its underlying tree sequent. For example, the root of
{ w , u } ; { v } ; { v ′ } ∥ w R x u , u R y v , u R z v ′ ⊢ Γ 1 L ∣ R Γ 2 ∥ I \{w,u\};\{v\};\{v'\}\mathrel{\Vert}wR_xu,uR_yv,uR_zv'\vdash\Gamma_1\mathrel{{}^{\mathsf{L}|\mathsf{R}}}\Gamma_2\mathrel{\Vert}\mathcal{I} { w , u } ; { v } ; { v ′ } ∥ w R x u , u R y v , u R z v ′ ⊢ Γ 1 L ∣ R Γ 2 ∥ I
is w w w , where v v v is private to the left component and v ′ v' v ′ is private to the right component. Condition (4) states that interpolants only refer to common labels; it is preserved by all rules of our interpolation calculus (Lemma 4.8 below).
Each component of an interpolation sequent can only ‘see’ the common labels and its own private labels, which gives rise to the following notion.
Definition 4.6 (Projections). For an interpolation sequent S \mathcal{S} S , the X X X -projection and the Y Y Y -projection of S \mathcal{S} S are defined as follows:
S ∣ X : = T ↾ ( C ∪ P X ) ⊢ Γ 1 and S ∣ Y : = T ↾ ( C ∪ P Y ) ⊢ Γ 2 . \mathcal{S}|_X := \mathcal{T}\mathord{\upharpoonright}(\mathcal{C}\cup\mathcal{P}_X)\vdash\Gamma_1\quad\text{and}\quad\mathcal{S}|_Y := \mathcal{T}\mathord{\upharpoonright}(\mathcal{C}\cup\mathcal{P}_Y)\vdash\Gamma_2. S ∣ X := T ↾ ( C ∪ P X ) ⊢ Γ 1 and S ∣ Y := T ↾ ( C ∪ P Y ) ⊢ Γ 2 .
That is, the Z Z Z -projection consists of the labeled formulae of the Z Z Z -component together with all relational atoms that do not point to a label private to the other component.
Lemma 4.7. Let S \mathcal{S} S be an interpolation sequent with root ρ \rho ρ . Then, S ∣ X \mathcal{S}|_X S ∣ X and S ∣ Y \mathcal{S}|_Y S ∣ Y are tree sequents with root ρ \rho ρ , and C \mathcal{C} C is the set of labels occurring in both of them.
Proof. Let Z ∈ { X , Y } Z\in\{X,Y\} Z ∈ { X , Y } . By condition (2) of Definition 4.5, the parent of a label in C ∪ P Z \mathcal{C}\cup\mathcal{P}_Z C ∪ P Z belongs to C ∪ P Z \mathcal{C}\cup\mathcal{P}_Z C ∪ P Z as well, and ρ ∈ C \rho\in\mathcal{C} ρ ∈ C . Hence, T ↾ ( C ∪ P Z ) \mathcal{T}\mathord{\upharpoonright}(\mathcal{C}\cup\mathcal{P}_Z) T ↾ ( C ∪ P Z ) is the subtree of the tree formed by T \mathcal{T} T whose labels are precisely those in C ∪ P Z \mathcal{C}\cup\mathcal{P}_Z C ∪ P Z , which contains ρ \rho ρ . By condition (3), every labeled formula of the Z Z Z -component has a label in this subtree, so S ∣ Z \mathcal{S}|_Z S ∣ Z is a tree sequent with root ρ \rho ρ . Last, ( C ∪ P X ) ∩ ( C ∪ P Y ) = C (\mathcal{C}\cup\mathcal{P}_X)\cap(\mathcal{C}\cup\mathcal{P}_Y)=\mathcal{C} ( C ∪ P X ) ∩ ( C ∪ P Y ) = C .
The intended meaning of an interpolation sequent is that the interpolant I \mathcal{I} I is implied by the X X X -projection and implies the Y Y Y -projection; more precisely, for the interpolation proofs constructed by our method, we will show the following in Section 6:
for each Σ ∈ I \Sigma\in\mathcal{I} Σ ∈ I , the tree sequent T ↾ ( C ∪ P X ) ⊢ Γ 1 , Σ \mathcal{T}\mathord{\upharpoonright}(\mathcal{C}\cup\mathcal{P}_X)\vdash\Gamma_1,\Sigma T ↾ ( C ∪ P X ) ⊢ Γ 1 , Σ is provable in T K m ( C ) \mathrm{TK}^{\mathrm{m}}(\mathcal{C}) TK m ( C ) , and
for each Σ ∈ I ‾ \Sigma\in\overline{\mathcal{I}} Σ ∈ I , the tree sequent T ↾ ( C ∪ P Y ) ⊢ Γ 2 , Σ \mathcal{T}\mathord{\upharpoonright}(\mathcal{C}\cup\mathcal{P}_Y)\vdash\Gamma_2,\Sigma T ↾ ( C ∪ P Y ) ⊢ Γ 2 , Σ is provable in T K m ( C ) \mathrm{TK}^{\mathrm{m}}(\mathcal{C}) TK m ( C ) .
These are indeed tree sequents by Lemma 4.7, as Lab ( Σ ) ⊆ C \operatorname{Lab}(\Sigma)\subseteq\mathcal{C} Lab ( Σ ) ⊆ C by condition (4) of Definition 4.5 and since Lab ( I ‾ ) ⊆ Lab ( I ) \operatorname{Lab}(\overline{\mathcal{I}})\subseteq\operatorname{Lab}(\mathcal{I}) Lab ( I ) ⊆ Lab ( I ) .
The Interpolation Calculus
Our interpolation calculus T K m I ( C ) \mathrm{TK}^{\mathrm{I}}_{m}(\mathcal{C}) TK m I ( C ) consists of the rules shown in Figure 3 and Figure 4 , which include a rule ⟨ x ⟩ I \langle x\rangle^{\mathrm{I}} ⟨ x ⟩ I , [ x ] c I [x]^{\mathrm{I}}_{c} [ x ] c I and [ x ] p I [x]^{\mathrm{I}}_{p} [ x ] p I for each x ∈ Σ x \in\Sigma x ∈ Σ , and the rules d x , c I d^{\mathrm{I}}_{x,c} d x , c I and d x , p I d^{\mathrm{I}}_{x,p} d x , p I for each x ∈ Σ x \in\Sigma x ∈ Σ with D x ∈ C D_x \in\mathcal{C} D x ∈ C . We refer to a proof in T K m I ( C ) \mathrm{TK}^{\mathrm{I}}_{m}(\mathcal{C}) TK m I ( C ) as an interpolation proof , and use π I \pi^{\mathrm{I}} π I and annotated versions thereof to denote such proofs.
Figure 3. Initial and propositional rules, and the orthogonal rule of T K I m 1 ( C ) \mathsf{TKI}_{m}^{1}(\mathcal{C}) TKI m 1 ( C ) .
Figure 4. Modal and seriality rules of T K m I ( C ) \mathrm{TK}^{\mathrm{I}}_{\mathrm{m}}(\mathcal{C}) TK m I ( C ) . The rules d x , c I \mathrm{d}^{\mathrm{I}}_{x,c} d x , c I and d x , p I \mathrm{d}^{\mathrm{I}}_{x,p} d x , p I are included iff D x ∈ C D_x \in\mathcal{C} D x ∈ C .
Observe that every rule of T K m I ( C ) \mathrm{TK}^{\mathrm{I}}_{m}(\mathcal{C}) TK m I ( C ) other than o t h \mathit{oth} oth acts on the Y-component of an interpolation sequent, leaving the X-component untouched; the o t h \mathit{oth} oth rule lets us exchange the two components (together with their private labels), so that every rule is applicable to either side. This roughly halves the number of rules needed in the calculus. Moreover, disregarding the label sets, the partition, and all interpolants, every rule other than o t h \mathit{oth} oth is an instance of a rule of T K m ( C ) \mathrm{TK}_{m}(\mathcal{C}) TK m ( C ) .
The rules i d 1 I \mathit{id}^{\mathrm{I}}_{1} id 1 I , i d 2 I \mathit{id}^{\mathrm{I}}_{2} id 2 I , and ⊤ I \top^{\mathrm{I}} ⊤ I serve as the initial rules of the calculus. The i d 1 I \mathit{id}^{\mathrm{I}}_{1} id 1 I rule applies when the two complementary literals occur in distinct components, in which case their label w w w is common and the literal of the Y-component serves as the interpolant. The i d 2 I \mathit{id}^{\mathrm{I}}_{2} id 2 I and ⊤ I \top^{\mathrm{I}} ⊤ I rules apply when the initial sequent is ‘internal’ to the Y-component; in this case, the interpolant is the empty interpolant ∅ \varnothing ∅ , which corresponds to ⊤ \top ⊤ .
The ∨ I \lor^{\mathrm{I}} ∨ I and ∧ I \land^{\mathrm{I}} ∧ I rules are similar to their corresponding rules in T K m ( C ) \mathrm{TK}_{m}(\mathcal{C}) TK m ( C ) , but recast with interpolation sequents, and return either the interpolant of the premise, or the union of the interpolants of the premises, as the interpolant of the conclusion. The orthogonal rule o t h \mathit{oth} oth is a special rule introduced in [39 ] and utilized in various interpolation systems for multi-modal and description logics [36 , 38 ] .
The label sets record which labels each component may use, and every rule respects them. In particular, interpolants only ever refer to common labels:
Lemma 4.8 (Preservation). If the premises of an instance of a rule of T K m I ( C ) \mathrm{TK}^{\mathrm{I}}_{m}(\mathcal{C}) TK m I ( C ) are interpolation sequents, then so is its conclusion. In particular, every rule of T K m I ( C ) \mathrm{TK}^{\mathrm{I}}_{m}(\mathcal{C}) TK m I ( C ) preserves the condition Lab ( I ) ⊆ C \operatorname{Lab}(\mathcal{I}) \subseteq\mathcal{C} Lab ( I ) ⊆ C .
Proof. Conditions (1)–(3) of Definition 4.5 are readily verified for each rule. For condition (4), the interpolant { ( w : ¬ p ) } \{(w : \neg p)\} {( w : ¬ p )} of i d 1 I \mathit{id}^{\mathrm{I}}_{1} id 1 I only contains the label w w w , which is common, and the interpolant ∅ \varnothing ∅ of i d 2 I \mathit{id}^{\mathrm{I}}_{2} id 2 I and ⊤ I \top^{\mathrm{I}} ⊤ I contains no labels. The rules ∨ I \lor^{\mathrm{I}} ∨ I , ∧ I \land^{\mathrm{I}} ∧ I , ⟨ x ⟩ I \langle x\rangle^{\mathrm{I}} ⟨ x ⟩ I , [ x ] p I [x]^{\mathrm{I}}_{p} [ x ] p I , and d x , p I d^{\mathrm{I}}_{x,p} d x , p I neither change the set of common labels nor the labels of interpolants, and Lab ( I ‾ ) ⊆ Lab ( I ) \operatorname{Lab}(\overline{\mathcal{I}}) \subseteq\operatorname{Lab}(\mathcal{I}) Lab ( I ) ⊆ Lab ( I ) for o t h \mathit{oth} oth . Last, [ x ] u I [x]^{\mathrm{I}}_{u} [ x ] u I replaces the label u u u by w w w , so the labels of the interpolant of the conclusion of [ x ] c I [x]^{\mathrm{I}}_{c} [ x ] c I and d x , c I d^{\mathrm{I}}_{x,c} d x , c I belong to C ∪ { w } \mathcal{C} \cup\{w\} C ∪ { w } .
Whereas the propositional rules have a one-to-one correspondence with rules in T K m ( C ) \mathrm{TK}_{m}(\mathcal{C}) TK m ( C ) , the modal and seriality rules do not; these rules are new and essential to our strengthened interpolation method. Their correctness relies on the following property of bridge-free grammar logics. We say that a propagation path traverses a relational atom u R x v uR_xv u R x v iff it contains the edge ( u , x , v ) (u,x,v) ( u , x , v ) or the edge ( v , x ‾ , u ) (v,\overline{x},u) ( v , x , u ) (see Definition 3.3). Since the relational atoms of a tree sequent form a tree, each edge of a propagation path stems from a unique relational atom.
Lemma 4.9. Let K m ( C ) \mathrm{K}_{m}(\mathcal{C}) K m ( C ) be bridge-free . If a propagation path whose string belongs to L G ( C ) ( x ) L_{\mathcal{G}(\mathcal{C})}(x) L G ( C ) ( x ) traverses a relational atom u R y v uR_yv u R y v , then y ∈ { x , x ‾ } y \in\{x,\overline{x}\} y ∈ { x , x } .
Proof. As K m ( C ) \mathrm{K}_{m}(\mathcal{C}) K m ( C ) is bridge-free, the string of the propagation path is in { x , x ‾ } ∗ \{x,\overline{x}\}^{*} { x , x } ∗ by Definition 2.18. As the path traverses u R y v uR_yv u R y v , its string contains y y y or y ‾ \overline{y} y , and so, y ∈ { x , x ‾ } y \in\{x,\overline{x}\} y ∈ { x , x } .
The diamond rule ⟨ x ⟩ I \langle x\rangle^{\mathrm{I}} ⟨ x ⟩ I operates like the ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ rule of T K m ( C ) \mathrm{TK}_{m}(\mathcal{C}) TK m ( C ) : it (bottom-up) propagates the formula A A A from w w w to u u u along a propagation path whose string belongs to L x L_x L x . The path must exist in the propagation graph of the Y-projection of the conclusion, that is, it may pass through common labels and labels private to the Y-component, but not through labels private to the X-component. Hence, a formula of the Y-component is only propagated to labels that the Y-component may use.
The box rules determine whether the label u u u introduced (bottom-up) by a boxed formula w : [ x ] A w : [x]A w : [ x ] A of the Y-component becomes common or private to the Y-component. The common box rule [ x ] c I [x]^{\mathrm{I}}_{c} [ x ] c I requires w w w to be common and makes u u u common, and is applied when the relational atom w R x u wR_xu w R x u is also used by the X-component, i.e., when the propagation path of some ⟨ y ⟩ \langle y\rangle ⟨ y ⟩ inference whose principal formula lies in the X-component traverses w R x u wR_xu w R x u . By Lemma 4.9, we then have x ∈ { y , y ‾ } x \in\{y,\overline{y}\} x ∈ { y , y } , that is, the index of w R x u wR_xu w R x u occurs in the modal signature of both components. It is therefore ‘safe’ for [ x ] c I [x]^{\mathrm{I}}_{c} [ x ] c I to introduce the modality [ x ] [x] [ x ] into the interpolant by means of the box interpolant [ x ] u I [x]^{\mathcal{I}}_{u} [ x ] u I . This is precisely where bridge-freeness is needed: if, for instance, ( R b ⊆ R a ) ∈ C (R_b \subseteq R_a) \in\mathcal{C} ( R b ⊆ R a ) ∈ C , then an ⟨ a ⟩ \langle a\rangle ⟨ a ⟩ -formula of one component could propagate along relational atoms indexed with b b b that were introduced by the other component, so that modalities indexed with b b b would enter the interpolant even though b b b need not occur in both components (cf. § 2.3 ).
{ w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r , w : r ∥ L u : q , w : ¬ r ∥ { ( w : ¬ r ) } { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r , w : r ∥ { ( w : r ) } \frac{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash w:\langle x\rangle r,\ w:r\ \Vert^{L} u:q,\ w:\neg r\ \Vert\ \{(w:\neg r)\}}{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash u:q,\ w:\neg r\ \Vert^{R} w:\langle x\rangle r,\ w:r\ \Vert\ \{(w:r)\}} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r , w : r ∥ {( w : r )} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r , w : r ∥ L u : q , w : ¬ r ∥ {( w : ¬ r )}
{ w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r ∥ { ( w : r ) } { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ L w : ⟨ x ⟩ r ∥ { ( w : r ) } \frac{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash u:q,\ w:\neg r\ \Vert^{R} w:\langle x\rangle r\ \Vert\ \{(w:r)\}}{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash u:q,\ w:\neg r\ \Vert^{L} w:\langle x\rangle r\ \Vert\ \{(w:r)\}} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ L w : ⟨ x ⟩ r ∥ {( w : r )} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r ∥ {( w : r )}
{ w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r ∥ R u : q , w : ¬ r ∥ { ( w : ¬ r ) } { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ { ( w : ¬ r , w : [ x ] ⊥ ) } \frac{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash w:\langle x\rangle r\ \Vert^{R} u:q,\ w:\neg r\ \Vert\ \{(w:\neg r)\}}{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle r\ \Vert^{R} w:[x]q,\ w:\neg r\ \Vert\ \{(w:\neg r,\ w:[x]\bot)\}} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ {( w : ¬ r , w : [ x ] ⊥ )} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r ∥ R u : q , w : ¬ r ∥ {( w : ¬ r )}
{ w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ { ( w : ¬ r , w : [ x ] ⊥ ) } { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q ∨ ¬ r ∥ { ( w : ¬ r , w : [ x ] ⊥ ) } \frac{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle r\ \Vert^{R} w:[x]q,\ w:\neg r\ \Vert\ \{(w:\neg r,\ w:[x]\bot)\}}{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle r\ \Vert^{R} w:[x]q\vee\neg r\ \Vert\ \{(w:\neg r,\ w:[x]\bot)\}} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q ∨ ¬ r ∥ {( w : ¬ r , w : [ x ] ⊥ )} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ {( w : ¬ r , w : [ x ] ⊥ )}
Figure 5. Example interpolation proof in T K I m ( C ) \mathsf{TKI}_{m}(C) TKI m ( C ) with C = { R x ‾ x ⊆ R x } C=\{R_{\overline{x}x}\subseteq R_x\} C = { R x x ⊆ R x } (see Example 4.10).
The private box rule [ x ] p I [x]^{I}_{p} [ x ] p I makes u u u private to the Y-component, and is applied when w R x u wR_xu w R x u is only used by the Y-component. Observe that the interpolant I I I of the [ x ] p I [x]^{I}_{p} [ x ] p I rule is the same in the premise and the conclusion; this ensures that problematic modalities are not introduced into interpolants as we saw in the example at the beginning of the section. Since u u u is not common, the interpolant of the premise of [ x ] p I [x]^{I}_{p} [ x ] p I contains no formula labeled with u u u by condition (4) of Definition 4.5.
The seriality rules d x , c I d^{I}_{x,c} d x , c I and d x , p I d^{I}_{x,p} d x , p I are interpolation variants of the d x d_x d x rule, and are included in T K I m ( C ) \mathsf{TKI}_{m}(C) TKI m ( C ) iff D x ∈ C D_x\in C D x ∈ C . Unlike relational atoms introduced by box rules, a relational atom w R x u wR_xu w R x u introduced by d x d_x d x does not stem from a formula of either component, so either component may use it. We nevertheless treat it exactly like a relational atom introduced by a box rule.
The common seriality rule d x , c I d^{I}_{x,c} d x , c I requires w w w to be common and makes u u u common, and is applied when both components use w R x u wR_xu w R x u , i.e., when the propagation paths of ⟨ y ⟩ I \langle y\rangle^{I} ⟨ y ⟩ I inferences of both components traverse it. As for the common box rule, the index of w R x u wR_xu w R x u then occurs in the modal signature of both components by Lemma 4.9, so it is safe to introduce the modality [ x ] [x] [ x ] into the interpolant and use the box interpolant [ x ] I u w [x]I^{w}_{u} [ x ] I u w .
The private seriality rule d x , p I d^{I}_{x,p} d x , p I makes u u u private to the Y-component and leaves the interpolant unchanged, and is applied when at most one component uses w R x u wR_xu w R x u . Note that w w w may be common or private to the Y-component in an instance of d x , p I d^{I}_{x,p} d x , p I , but never private to the X-component, as its premise satisfies condition (2) of Definition 4.5.
The decision of which box or seriality rule to apply depends on how the introduced relational atom is used further up in the proof, and is determined by the partition algorithm described in the next section.
As an example, the problematic interpolation proof shown at the beginning of the section can be recast in T K I m ( C ) \mathsf{TKI}_{m}(C) TKI m ( C ) as shown below, where u u u is private to the right component. The constructed interpolant ∅ \emptyset ∅ is no longer problematic and yields the strong Lyndon interpolant ⊤ \top ⊤ of the conclusion.
{ w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ L I w : [ x ] p , u : q , u : ¬ q ∥ ∅ { w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p , u : q ∨ ¬ q ∥ ∅ \frac{\{w\};\ \emptyset;\ \{u\}\ \Vert\ wR_xu\vdash w:\langle x\rangle\neg p\ \Vert^{L^{I}} w:[x]p,\ u:q,\ u:\neg q\ \Vert\ \emptyset}{\{w\};\ \emptyset;\ \{u\}\ \Vert\ wR_xu\vdash w:\langle x\rangle\neg p\ \Vert^{R} w:[x]p,\ u:q\vee\neg q\ \Vert\ \emptyset} { w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p , u : q ∨ ¬ q ∥ ∅ { w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ L I w : [ x ] p , u : q , u : ¬ q ∥ ∅
{ w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅ { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ V I w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅ \frac{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle\neg p\ \Vert^{R} w:[x]p\vee[y](q\vee\neg q)\ \Vert\ \emptyset}{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle\neg p\ \Vert^{V^{I}} w:[x]p\vee[y](q\vee\neg q)\ \Vert\ \emptyset} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ V I w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅ { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅
Example 4.10. Let C : = { R x ‾ x ⊆ R x } C:=\{R_{\overline{x}x}\subseteq R_x\} C := { R x x ⊆ R x } , so that g ( C ) = { x ⟶ x x ‾ , x ‾ ⟶ x x ‾ } g(C)=\{x\longrightarrow\overline{xx},\overline{x}\longrightarrow\overline{xx}\} g ( C ) = { x ⟶ xx , x ⟶ xx } and x x ‾ ∈ L g ( C ) ( x ) \overline{xx}\in L_g(C)(x) xx ∈ L g ( C ) ( x ) . Note that K m ( C ) K_m(C) K m ( C ) is bridge-free and [ x ] ¬ r → [ x ] q ∨ ¬ r ∈ K m ( C ) [x]\neg r\to[x]q\vee\neg r\in K_m(C) [ x ] ¬ r → [ x ] q ∨ ¬ r ∈ K m ( C ) . Figure 5 shows an interpolation proof of ⊢ w : ⟨ x ⟩ r , w : [ x ] q ∨ ¬ r \vdash w:\langle x\rangle r,\ w:[x]q\vee\neg r ⊢ w : ⟨ x ⟩ r , w : [ x ] q ∨ ¬ r , where w : ⟨ x ⟩ r = w : ¬ [ x ] ¬ r w:\langle x\rangle r=w:\neg[x]\neg r w : ⟨ x ⟩ r = w : ¬ [ x ] ¬ r is placed in the left component.
The relational atom w R x u wR_xu w R x u is introduced by the boxed formula w : [ x ] q w:[x]q w : [ x ] q of the right component, but is also used by the left component. In particular, the ⟨ x ⟩ I \langle x\rangle^{I} ⟨ x ⟩ I inference propagates r r r from w w w to w w w along the path w → x u → x ‾ w ‾ w\xrightarrow{x}u\xrightarrow{\overline{x}}\overline{w} w x u x w with string x x ‾ ∈ L g ( C ) ( x ) \overline{xx}\in L_g(C)(x) xx ∈ L g ( C ) ( x ) . Hence, the label u u u is common, and w R x u wR_xu w R x u is introduced by [ x ] c I [x]^{I}_{c} [ x ] c I . No formula is ever placed at u u u by the left component, and so, the interpolant of the premise of [ x ] c I [x]^{I}_{c} [ x ] c I contains no labeled formula with the label u u u . The box interpolant nevertheless adds w : [ x ] ⊥ w:[x]\bot w : [ x ] ⊥ , which yields the strong Lyndon interpolant ¬ r ∨ [ x ] ⊥ \neg r\vee[x]\bot ¬ r ∨ [ x ] ⊥ of the conclusion. Without w : [ x ] ⊥ w:[x]\bot w : [ x ] ⊥ , we would obtain ¬ r \neg r ¬ r , which is not an interpolant, as [ x ] ¬ r → ¬ r ∉ K m ( C ) [x]\neg r\to\neg r\notin K_m(C) [ x ] ¬ r → ¬ r ∈ / K m ( C ) .
Let us now describe our interpolation algorithm for bridge-free grammar logics, which consists of a two-step process. (1) We take a proof π \pi π in K m ( C ) K_m(C) K m ( C ) of a tree sequent ⊢ w : ¬ A , w : B \vdash w:\neg A,w:B ⊢ w : ¬ A , w : B as input. We first analyze π \pi π to determine, for each relational atom, whether it is used to propagate formulae stemming from ¬ A \neg A ¬ A , from B B B , or from both. Based on this analysis, a tripartite partition algorithm Part bottom-up partitions π \pi π , starting from the partitioned conclusion { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ¬ A ∥ L R w : B \{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\neg A\ \Vert^{L^{R}} w:B { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ¬ A ∥ L R w : B , and declares each label common or private to the component that uses @page 19/32 starts_mid=0 ends_mid=1
{ w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r , w : r ∥ L u : q , w : ¬ r ∥ { ( w : ¬ r ) } { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r , w : r ∥ { ( w : r ) } \frac{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash w:\langle x\rangle r,\ w:r\ \Vert^{L} u:q,\ w:\neg r\ \Vert\ \{(w:\neg r)\}}{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash u:q,\ w:\neg r\ \Vert^{R} w:\langle x\rangle r,\ w:r\ \Vert\ \{(w:r)\}} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r , w : r ∥ {( w : r )} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r , w : r ∥ L u : q , w : ¬ r ∥ {( w : ¬ r )}
{ w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r ∥ { ( w : r ) } { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ L w : ⟨ x ⟩ r ∥ { ( w : r ) } \frac{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash u:q,\ w:\neg r\ \Vert^{R} w:\langle x\rangle r\ \Vert\ \{(w:r)\}}{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash u:q,\ w:\neg r\ \Vert^{L} w:\langle x\rangle r\ \Vert\ \{(w:r)\}} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ L w : ⟨ x ⟩ r ∥ {( w : r )} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ u : q , w : ¬ r ∥ R w : ⟨ x ⟩ r ∥ {( w : r )}
{ w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r ∥ R u : q , w : ¬ r ∥ { ( w : ¬ r ) } { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ { ( w : ¬ r , w : [ x ] ⊥ ) } \frac{\{w,u\};\ \emptyset;\ \emptyset\ \Vert\ wR_xu \vdash w:\langle x\rangle r\ \Vert^{R} u:q,\ w:\neg r\ \Vert\ \{(w:\neg r)\}}{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle r\ \Vert^{R} w:[x]q,\ w:\neg r\ \Vert\ \{(w:\neg r,\ w:[x]\bot)\}} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ {( w : ¬ r , w : [ x ] ⊥ )} { w , u } ; ∅ ; ∅ ∥ w R x u ⊢ w : ⟨ x ⟩ r ∥ R u : q , w : ¬ r ∥ {( w : ¬ r )}
{ w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ { ( w : ¬ r , w : [ x ] ⊥ ) } { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q ∨ ¬ r ∥ { ( w : ¬ r , w : [ x ] ⊥ ) } \frac{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle r\ \Vert^{R} w:[x]q,\ w:\neg r\ \Vert\ \{(w:\neg r,\ w:[x]\bot)\}}{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle r\ \Vert^{R} w:[x]q\vee\neg r\ \Vert\ \{(w:\neg r,\ w:[x]\bot)\}} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q ∨ ¬ r ∥ {( w : ¬ r , w : [ x ] ⊥ )} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ r ∥ R w : [ x ] q , w : ¬ r ∥ {( w : ¬ r , w : [ x ] ⊥ )}
Figure 5 (PDF p. 19). Example interpolation proof in T K I m ( C ) \mathsf{TKI}_{m}(C) TKI m ( C ) with C = { R x ‾ x ⊆ R x } C=\{R_{\overline{x}x}\subseteq R_x\} C = { R x x ⊆ R x } (see Example 4.10).
The private box rule [ x ] p I [x]^{I}_{p} [ x ] p I makes u u u private to the Y-component, and is applied when w R x u wR_xu w R x u is only used by the Y-component. Observe that the interpolant I I I of the [ x ] p I [x]^{I}_{p} [ x ] p I rule is the same in the premise and the conclusion; this ensures that problematic modalities are not introduced into interpolants as we saw in the example at the beginning of the section. Since u u u is not common, the interpolant of the premise of [ x ] p I [x]^{I}_{p} [ x ] p I contains no formula labeled with u u u by condition (4) of Definition 4.5.
The seriality rules d x , c I d^{I}_{x,c} d x , c I and d x , p I d^{I}_{x,p} d x , p I are interpolation variants of the d x d_x d x rule, and are included in T K I m ( C ) \mathsf{TKI}_{m}(C) TKI m ( C ) iff D x ∈ C D_x\in C D x ∈ C . Unlike relational atoms introduced by box rules, a relational atom w R x u wR_xu w R x u introduced by d x d_x d x does not stem from a formula of either component, so either component may use it. We nevertheless treat it exactly like a relational atom introduced by a box rule.
The common seriality rule d x , c I d^{I}_{x,c} d x , c I requires w w w to be common and makes u u u common, and is applied when both components use w R x u wR_xu w R x u , i.e., when the propagation paths of ⟨ y ⟩ I \langle y\rangle^{I} ⟨ y ⟩ I inferences of both components traverse it. As for the common box rule, the index of w R x u wR_xu w R x u then occurs in the modal signature of both components by Lemma 4.9, so it is safe to introduce the modality [ x ] [x] [ x ] into the interpolant and use the box interpolant [ x ] I u w [x]I^{w}_{u} [ x ] I u w .
The private seriality rule d x , p I d^{I}_{x,p} d x , p I makes u u u private to the Y-component and leaves the interpolant unchanged, and is applied when at most one component uses w R x u wR_xu w R x u . Note that w w w may be common or private to the Y-component in an instance of d x , p I d^{I}_{x,p} d x , p I , but never private to the X-component, as its premise satisfies condition (2) of Definition 4.5.
The decision of which box or seriality rule to apply depends on how the introduced relational atom is used further up in the proof, and is determined by the partition algorithm described in the next section.
As an example, the problematic interpolation proof shown at the beginning of the section can be recast in T K I m ( C ) \mathsf{TKI}_{m}(C) TKI m ( C ) as shown below, where u u u is private to the right component. The constructed interpolant ∅ \emptyset ∅ is no longer problematic and yields the strong Lyndon interpolant ⊤ \top ⊤ of the conclusion.
{ w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ L I w : [ x ] p , u : q , u : ¬ q ∥ ∅ { w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p , u : q ∨ ¬ q ∥ ∅ \frac{\{w\};\ \emptyset;\ \{u\}\ \Vert\ wR_xu\vdash w:\langle x\rangle\neg p\ \Vert^{L^{I}} w:[x]p,\ u:q,\ u:\neg q\ \Vert\ \emptyset}{\{w\};\ \emptyset;\ \{u\}\ \Vert\ wR_xu\vdash w:\langle x\rangle\neg p\ \Vert^{R} w:[x]p,\ u:q\vee\neg q\ \Vert\ \emptyset} { w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p , u : q ∨ ¬ q ∥ ∅ { w } ; ∅ ; { u } ∥ w R x u ⊢ w : ⟨ x ⟩ ¬ p ∥ L I w : [ x ] p , u : q , u : ¬ q ∥ ∅
{ w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅ { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ V I w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅ \frac{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle\neg p\ \Vert^{R} w:[x]p\vee[y](q\vee\neg q)\ \Vert\ \emptyset}{\{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\langle x\rangle\neg p\ \Vert^{V^{I}} w:[x]p\vee[y](q\vee\neg q)\ \Vert\ \emptyset} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ V I w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅ { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ⟨ x ⟩ ¬ p ∥ R w : [ x ] p ∨ [ y ] ( q ∨ ¬ q ) ∥ ∅
Example 4.10. Let C : = { R x ‾ x ⊆ R x } C:=\{R_{\overline{x}x}\subseteq R_x\} C := { R x x ⊆ R x } , so that g ( C ) = { x ⟶ x x ‾ , x ‾ ⟶ x x ‾ } g(C)=\{x\longrightarrow\overline{xx},\overline{x}\longrightarrow\overline{xx}\} g ( C ) = { x ⟶ xx , x ⟶ xx } and x x ‾ ∈ L g ( C ) ( x ) \overline{xx}\in L_g(C)(x) xx ∈ L g ( C ) ( x ) . Note that K m ( C ) K_m(C) K m ( C ) is bridge-free and [ x ] ¬ r → [ x ] q ∨ ¬ r ∈ K m ( C ) [x]\neg r\to[x]q\vee\neg r\in K_m(C) [ x ] ¬ r → [ x ] q ∨ ¬ r ∈ K m ( C ) . Figure 5 shows an interpolation proof of ⊢ w : ⟨ x ⟩ r , w : [ x ] q ∨ ¬ r \vdash w:\langle x\rangle r,\ w:[x]q\vee\neg r ⊢ w : ⟨ x ⟩ r , w : [ x ] q ∨ ¬ r , where w : ⟨ x ⟩ r = w : ¬ [ x ] ¬ r w:\langle x\rangle r=w:\neg[x]\neg r w : ⟨ x ⟩ r = w : ¬ [ x ] ¬ r is placed in the left component.
The relational atom w R x u wR_xu w R x u is introduced by the boxed formula w : [ x ] q w:[x]q w : [ x ] q of the right component, but is also used by the left component. In particular, the ⟨ x ⟩ I \langle x\rangle^{I} ⟨ x ⟩ I inference propagates r r r from w w w to w w w along the path w → x u → x ‾ w ‾ w\xrightarrow{x}u\xrightarrow{\overline{x}}\overline{w} w x u x w with string x x ‾ ∈ L g ( C ) ( x ) \overline{xx}\in L_g(C)(x) xx ∈ L g ( C ) ( x ) . Hence, the label u u u is common, and w R x u wR_xu w R x u is introduced by [ x ] c I [x]^{I}_{c} [ x ] c I . No formula is ever placed at u u u by the left component, and so, the interpolant of the premise of [ x ] c I [x]^{I}_{c} [ x ] c I contains no labeled formula with the label u u u . The box interpolant nevertheless adds w : [ x ] ⊥ w:[x]\bot w : [ x ] ⊥ , which yields the strong Lyndon interpolant ¬ r ∨ [ x ] ⊥ \neg r\vee[x]\bot ¬ r ∨ [ x ] ⊥ of the conclusion. Without w : [ x ] ⊥ w:[x]\bot w : [ x ] ⊥ , we would obtain ¬ r \neg r ¬ r , which is not an interpolant, as [ x ] ¬ r → ¬ r ∉ K m ( C ) [x]\neg r\to\neg r\notin K_m(C) [ x ] ¬ r → ¬ r ∈ / K m ( C ) .
Let us now describe our interpolation algorithm for bridge-free grammar logics, which consists of a two-step process. (1) We take a proof π \pi π in K m ( C ) K_m(C) K m ( C ) of a tree sequent ⊢ w : ¬ A , w : B \vdash w:\neg A,w:B ⊢ w : ¬ A , w : B as input. We first analyze π \pi π to determine, for each relational atom, whether it is used to propagate formulae stemming from ¬ A \neg A ¬ A , from B B B , or from both. Based on this analysis, a tripartite partition algorithm Part bottom-up partitions π \pi π , starting from the partitioned conclusion { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ¬ A ∥ L R w : B \{w\};\ \emptyset;\ \emptyset\ \Vert\ \emptyset\vdash w:\neg A\ \Vert^{L^{R}} w:B { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ¬ A ∥ L R w : B , and declares each label common or private to the component that uses it. This yields a partitioned proof π p \pi^{p} π p , which consists of partitioned sequents , that is, interpolation sequents without interpolants (§ 5 ). (2) We then utilize the rules of T K m I ( C ) \mathbf{TK}^{I}_{m}(\mathcal{C}) TK m I ( C ) to assign interpolants to the partitioned sequents in π p \pi^{p} π p , which yields an interpolation proof π i \pi^{i} π i whose conclusion { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ¬ ˙ A ∣ L R w : B ∥ I \{w\};\varnothing;\varnothing\mathbin{\|}\varnothing\vdash w:\mathord{\dot{\neg}}A\mathbin{\mathord{\vert}^{L}}_{\!R}w:B\mathbin{\|}\mathcal{I} { w } ; ∅ ; ∅ ∥ ∅ ⊢ w : ¬ ˙ A ∣ L R w : B ∥ I provides a strong Lyndon interpolant of ¬ ˙ A ∨ B = A → B \mathord{\dot{\neg}}A\lor B=A\to B ¬ ˙ A ∨ B = A → B (§ 6 ).
Tripartite Partitioning
In this section, we describe the first step of our interpolation method, which transforms a proof π \pi π into a partitioned proof π p \pi^{p} π p . A partitioned proof is a proof whose sequents split their labeled formulae into a left and a right component and their labels into common labels and labels private to either component. It has the shape of an interpolation proof, but interpolants have not yet been assigned to it.
Throughout the section, we fix a bridge-free grammar logic K m ( C ) \mathbf{K}_{m}(\mathcal{C}) K m ( C ) and a proof π \pi π in T K m ( C ) \mathbf{TK}_{m}(\mathcal{C}) TK m ( C ) of ⊢ ρ : ¬ ˙ A , ρ : B \vdash\rho:\mathord{\dot{\neg}}A,\rho:B ⊢ ρ : ¬ ˙ A , ρ : B . Note that ρ \rho ρ is the root of every tree sequent in π \pi π , since every rule of T K m ( C ) \mathbf{TK}_{m}(\mathcal{C}) TK m ( C ) either bottom-up preserves the relational atoms of its conclusion or, in the case of the [ x ] [x] [ x ] and d x d_{x} d x rules, adjoins a single edge to a fresh label, thus extending the tree by a new leaf. We first analyze π \pi π to determine, for each relational atom, whether it is used to propagate formulae stemming from ¬ ˙ A \mathord{\dot{\neg}}A ¬ ˙ A , from B B B , or from both (§ 5.1 ). Based on this analysis, the partition algorithm P a r t \mathsf{Part} Part translates π \pi π bottom-up, rule by rule, into π p \pi^{p} π p (§ 5.2 ). In § 5.3 , we show that assigning interpolants to π p \pi^{p} π p according to the rules of T K m I ( C ) \mathbf{TK}^{I}_{m}(\mathcal{C}) TK m I ( C ) yields an interpolation proof, permitting us to compute a strong Lyndon interpolant of the conclusion.
We assume w.l.o.g. that distinct [ x ] [x] [ x ] and d x d_{x} d x inferences in π \pi π introduce distinct fresh labels; this assumption is innocuous, as such a proof can always be obtained by a suitable renaming of fresh labels. Consequently, each non-root label u u u of π \pi π is introduced together with a unique relational atom w R x u wR_{x}u w R x u , and we call u u u a child of w w w . For a label u ∈ Lab ( π ) u\in\operatorname{Lab}(\pi) u ∈ Lab ( π ) , we let desc ( u ) \operatorname{desc}(u) desc ( u ) be the set containing u u u and its descendants , i.e., all labels obtained from u u u by repeatedly taking children. For each ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inference of π \pi π with a principal formula w : ⟨ x ⟩ A w:\langle x\rangle A w : ⟨ x ⟩ A and auxiliary formula u : A u:A u : A , we fix a single propagation path w ⇝ s u w\mathrel{\overset{s}{\leadsto}}u w ⇝ s u witnessing its side condition † 2 ( C ) \dagger_{2}(\mathcal{C}) † 2 ( C ) , and we say that the inference traverses each relational atom of this path; thus, only ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inferences traverse relational atoms.
A partitioned sequent is an expression C ; P x ; P y ∥ Γ 1 X ∣ Y Γ 2 C;P_{x};P_{y}\mathbin{\|}\Gamma_{1}^{X}\mathbin{\vert}^{Y}\Gamma_{2} C ; P x ; P y ∥ Γ 1 X ∣ Y Γ 2 satisfying conditions (1)–(3) of Definition 4.5 , i.e., an interpolation sequent without an interpolant. For a tag Z ∈ { L , R } Z\in\{\mathrm{L},\mathrm{R}\} Z ∈ { L , R } , we define the opposite tag Z o p Z^{\mathrm{op}} Z op as follows:
Z o p ≔ { L if Z = R , R if Z = L . Z^{\mathrm{op}} \coloneqq
\begin{cases}
\mathrm{L} & \text{if } Z=\mathrm{R},\\
\mathrm{R} & \text{if } Z=\mathrm{L}.
\end{cases} Z op : = { L R if Z = R , if Z = L .
Sides, Usage, and Private Labels
Since the labeled formulae of a sequent form a multiset, we fix for each inference of π \pi π which labeled formula occurrence of its conclusion are principal; the remaining labeled formula occurrences are context occurrences , and these correspond one-to-one to the context occurrences of each premise.
We assign a side Z ∈ { L , R } Z\in\{\mathrm{L},\mathrm{R}\} Z ∈ { L , R } to every labeled formula occurrence of π \pi π , proceeding bottom-up. In the conclusion of π \pi π , the occurrence ρ : ¬ ˙ A \rho:\mathord{\dot{\neg}}A ρ : ¬ ˙ A has side L and the occurrence ρ : B \rho:B ρ : B has side R. In each premise, every context occurrence inherits the side of the corresponding occurrence of the conclusion, and every auxiliary labeled formula, including the retained principal formula of a ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inference, receives the side of the principal formula.
We say that an inference has side Z Z Z if its principal formula has side Z Z Z . Note that d x d_{x} d x inferences have no principal formula, and that the two principal formulae of an id inference may have distinct sides. As auxiliary labeled formulae are subformulae of their principal formula, we obtain the following.
Lemma 5.1. Let Z ∈ { L , R } Z\in\{\mathrm{L},\mathrm{R}\} Z ∈ { L , R } . If a sequent of π \pi π contains a formula occurrence u : C u:C u : C of side Z Z Z , then C C C is a subformula of a formula occurrence of side Z Z Z in every sequent below it on its branch. In particular, C C C is a subformula of ¬ ˙ A \mathord{\dot{\neg}}A ¬ ˙ A if Z = L Z=\mathrm{L} Z = L , and of B B B if Z = R Z=\mathrm{R} Z = R .
We now classify the relational atoms and labels of π \pi π according to the sides that use them. We say that a relational atom w R x u wR_{x}u w R x u of π \pi π is used by a side Z ∈ { L , R } Z\in\{\mathrm{L},\mathrm{R}\} Z ∈ { L , R } iff it is introduced by a [ x ] [x] [ x ] inference with side Z Z Z , or some inference of π \pi π with side Z Z Z traverses it. As each relational atom of π \pi π is bottom-up introduced by a [ x ] [x] [ x ] or d x d_{x} d x rule and occurs only above that inference in π \pi π , every inference traversing it lies above that inference as well.
Definition 5.2 (Common and Private Labels). We assign to each label of π \pi π a status , which is either common or Z Z Z -private for some Z ∈ { L , R } Z\in\{\mathrm{L},\mathrm{R}\} Z ∈ { L , R } , by recursion along the tree, starting from the root: the root ρ \rho ρ is common, and if u u u is a child of w w w , introduced together with the relational atom w R x u wR_{x}u w R x u , then:
if w w w is Z-private, then u u u is Z-private;
if w w w is common and w R x u wR_xu w R x u is used by both sides, then u u u is common;
if w w w is common and w R x u wR_xu w R x u is used by exactly one side Z, then u u u is Z-private;
if w w w is common and w R x u wR_xu w R x u is used by neither side, then u u u is R-private.
A relational atom is common if its target is common, and Z-private if its target is Z-private.
Intuitively, walking down the tree from the root, a label remains common as long as both sides use the relational atom leading to it, and the first relational atom that is not used by both sides starts a subtree of private labels (see Figure 6 for an example). Case (4) only applies to relational atoms introduced by d x d_x d x inferences, as a relational atom introduced by a [ x ] [x] [ x ] inference is used by the side of that inference; the choice of R in this case is arbitrary, as neither side uses the relational atom leading to the resulting subtree.
Figure 6. An example of how the labels of a tree sequent of π \pi π are sorted by the partition algorithm. Each edge of the tree represents a relational atom and is labeled with its character. Suppose that ρ R z t \rho R_z t ρ R z t is only used by the left side, ρ R y v \rho R_y v ρ R y v is only used by the right side, and ρ R x u \rho R_x u ρ R x u and u R y u ′ u R_y u' u R y u ′ are used by both sides. Then the labels in desc ( t ) \operatorname{desc}(t) desc ( t ) and desc ( v ) \operatorname{desc}(v) desc ( v ) (gray regions) are L-private and R-private, respectively, and all other labels are common. Accordingly, the partition algorithm places the labels of the two gray regions in P L P_L P L and P R P_R P R , respectively, and all other labels in C C C . Removing the right (left) gray region thus yields the tree of the L-projection (R-projection) of the corresponding partitioned sequent.
Note that, by definition, every common relational atom has a common source and is used by both sides. This terminology matches that of § 4 : the partition algorithm places the common labels of each sequent in the set C C C and its Z-private labels in the set P Z P_Z P Z (Lemma 5.6 below). Each subtree of Z-private labels is one-sided: the other side never places formulae into it and never propagates formulae through it (Lemma 5.3 below). For the reader’s convenience, these notions are summarized in Table 1 of Appendix § 8 .§ 1 , together with their effect on the partition algorithm described in § 5.2 .
Table 1. The notions of Section 5.1 for objects of π \pi π , and their effect on the partitioned proof π p \pi^{\mathrm{p}} π p (Section 5.2), where Z ∈ { L , R } Z \in\{\mathrm{L}, \mathrm{R}\} Z ∈ { L , R } .
Lemma 5.3 (One-Sidedness). Let Z ∈ { L , R } Z \in\{L, R\} Z ∈ { L , R } . Then:
no formula occurrence of side Z o p Z^{\mathrm{op}} Z op has a Z-private label;
no inference with side Z o p Z^{\mathrm{op}} Z op traverses a Z-private relational atom.
Proof. By Definition 5.2, every Z-private label lies in a set U : = desc ( u ) U := \operatorname{desc}(u) U := desc ( u ) , where u u u is the topmost Z-private label on its branch. The parent w w w of u u u is common, all labels in U U U are Z-private, and the relational atom w R x u wR_xu w R x u is not used by Z o p Z^{\mathrm{op}} Z op , by cases (3) and (4) of Definition 5.2. We fix such a label u u u and let l l l be the [ x ] [x] [ x ] or d x d_x d x inference introducing w R x u wR_xu w R x u . It suffices to prove both claims for the labels in U U U , which only occur in the premise of l l l and above it, as u u u is fresh for l l l ; in particular, the claims hold trivially for all other sequents, such as the conclusion of l l l . Our argument rests on the following observation:
(*) A path of an inference with side Z o p Z^{\mathrm{op}} Z op starting outside U U U never reaches a label in U U U .
Indeed, w R x u wR_xu w R x u is the only relational atom connecting U U U to the remaining labels of a tree sequent, so such a path could only reach U U U by traversing w R x u wR_xu w R x u , which no inference with side Z o p Z^{\mathrm{op}} Z op does, as Z o p Z^{\mathrm{op}} Z op does not use w R x u wR_xu w R x u . ♀♀♀♀♀♀ For claim (1), we proceed upward from the premise of ι \iota ι . If ι \iota ι is a [ χ ] [\chi] [ χ ] inference, then the only formula occurrence with a label in U U U in its premise is the auxiliary formula u : A u : A u : A , which has the side of ι \iota ι , i.e., Z o p Z^{\mathrm{op}} Z op , as Z o p Z^{\mathrm{op}} Z op does not use w R χ u wR_{\chi}u w R χ u ; if ι \iota ι is a d χ d_{\chi} d χ inference, then its premise contains no formula occurrence with a label in U U U . Moving upward, context occurrences keep their side and label, so a new formula occurrence of side Z o p Z^{\mathrm{op}} Z op only arises as an auxiliary formula of an inference with side Z o p Z^{\mathrm{op}} Z op , whose principal formula has a label outside of U U U by induction. Such an auxiliary formula is labeled with the label of the principal formula (for ∨ \lor ∨ , ∧ \land ∧ , and the retained principal formula of ⟨ γ ⟩ \langle\gamma\rangle ⟨ γ ⟩ ), with a fresh child of it, which differs from u u u (for [ γ ] [\gamma] [ γ ] ), or with the endpoint of its path (for ⟨ γ ⟩ \langle\gamma\rangle ⟨ γ ⟩ ). None of these labels lies in U U U , where we use ( ∗ ) (*) ( ∗ ) in the last case.
For claim (2), observe that a relational atom with its target in U U U is either w R χ u wR_{\chi}u w R χ u or has both of its labels in U U U , so an inference traversing it reaches a label in U U U along its path. By claim (1), the path of an inference with side Z o p Z^{\mathrm{op}} Z op starts outside of U U U , and so, it never does so by ( ∗ ) (*) ( ∗ ) .
The following lemma establishes that common relational atoms indeed have their index in the common modal signature, which is the key ingredient for showing that interpolants lie in the common modal signature in § 6 . It is the only place in this section where bridge-freeness is used.
Lemma 5.4 (Common Relational Atoms). If w R χ u wR_{\chi}u w R χ u is a common relational atom , then { χ , χ ‾ } ⊆ sig Σ ( A ) ∩ sig Σ ( B ) \{\chi,\overline{\chi}\} \subseteq\operatorname{sig}^{\Sigma}(A) \cap\operatorname{sig}^{\Sigma}(B) { χ , χ } ⊆ sig Σ ( A ) ∩ sig Σ ( B ) .
Proof. Let A L : = ¬ ˙ A A_{\mathrm{L}} := \dot{\neg} A A L := ¬ ˙ A and A R : = B A_{\mathrm{R}} := B A R := B . By Definition 5.2, w R χ u wR_{\chi}u w R χ u is used by both sides. Let Z ∈ { L , R } Z \in\{\mathrm{L},\mathrm{R}\} Z ∈ { L , R } . If w R χ u wR_{\chi}u w R χ u is introduced by a [ χ ] [\chi] [ χ ] inference with side Z Z Z , then its principal formula w : [ χ ] C w : [\chi]C w : [ χ ] C has side Z Z Z , so [ χ ] C [\chi]C [ χ ] C is a subformula of A Z A_Z A Z by Lemma 5.1, and { χ , χ ‾ } ⊆ sig Σ ( [ χ ] C ) \{\chi,\overline{\chi}\} \subseteq\operatorname{sig}^{\Sigma}([\chi]C) { χ , χ } ⊆ sig Σ ([ χ ] C ) . Otherwise, w R χ u wR_{\chi}u w R χ u is traversed by a ⟨ γ ⟩ \langle\gamma\rangle ⟨ γ ⟩ inference with side Z Z Z and principal formula w ′ : ⟨ γ ⟩ D w' : \langle\gamma\rangle D w ′ : ⟨ γ ⟩ D . By Lemma 4.9, χ ∈ { γ , γ ‾ } \chi\in\{\gamma,\overline{\gamma}\} χ ∈ { γ , γ } , so { χ , χ ‾ } = { γ , γ ‾ } ⊆ sig Σ ( ⟨ γ ⟩ D ) \{\chi,\overline{\chi}\} = \{\gamma,\overline{\gamma}\} \subseteq\operatorname{sig}^{\Sigma}(\langle\gamma\rangle D) { χ , χ } = { γ , γ } ⊆ sig Σ (⟨ γ ⟩ D ) , and ⟨ γ ⟩ D \langle\gamma\rangle D ⟨ γ ⟩ D is a subformula of A Z A_Z A Z by Lemma 5.1. Hence, { χ , χ ‾ } ⊆ sig Σ ( A L ) ∩ sig Σ ( A R ) \{\chi,\overline{\chi}\} \subseteq\operatorname{sig}^{\Sigma}(A_{\mathrm{L}}) \cap\operatorname{sig}^{\Sigma}(A_{\mathrm{R}}) { χ , χ } ⊆ sig Σ ( A L ) ∩ sig Σ ( A R ) , and the claim follows from sig Σ ( ¬ ˙ A ) = sig Σ ( A ) \operatorname{sig}^{\Sigma}(\dot{\neg} A) = \operatorname{sig}^{\Sigma}(A) sig Σ ( ¬ ˙ A ) = sig Σ ( A ) (Lemma 2.14).
Tripartite Partition Algorithm
The partition algorithm P a r t \mathsf{Part} Part processes π \pi π bottom-up, rule by rule, replacing each inference of π \pi π by an inference of the corresponding rule of T K I m ( C ) \mathsf{TKI}_{m}^{(C)} TKI m ( C ) (disregarding interpolants), possibly preceded by o t h \mathsf{oth} oth . Each formula occurrence is placed in the component of its side, and each label is placed, once and for all, in C C C if it is common, and in P Z P_Z P Z if it is Z Z Z -private; the relational atoms of each partitioned sequent are simply those of the corresponding sequent of π \pi π . Consequently, a [ χ ] [\chi] [ χ ] or d χ d_{\chi} d χ inference introducing a common label is translated into an instance of the common rule [ χ ] C [\chi]_{C} [ χ ] C or d χ , C d_{\chi,C} d χ , C , respectively, and every other [ χ ] [\chi] [ χ ] or d χ d_{\chi} d χ inference into an instance of the private rule [ χ ] P [\chi]_{P} [ χ ] P or d χ , P d_{\chi,P} d χ , P .
Formally, P a r t \mathsf{Part} Part takes as input a subtree proof π ′ \pi' π ′ of π \pi π together with a partitioned sequent S S S . The underlying tree sequent of S S S is the conclusion of π ′ \pi' π ′ , its L- and R-components contain the formula occurrences of the respective sides, and its labels are placed as described above. The algorithm returns a partitioned proof P a r t ( π ′ , S ) \mathsf{Part}(\pi',S) Part ( π ′ , S ) of S S S . It is defined by the clauses (P1)–(P8) below, in which π 1 \pi_1 π 1 and π 2 \pi_2 π 2 denote the immediate subproofs of π ′ \pi' π ′ , and S 1 S_1 S 1 and S 2 S_2 S 2 the partitioned sequents supplied to the corresponding recursive calls.
(P1) Initialization. The partitioned proof of π \pi π is
π p : = P a r t ( π , { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ ˙ A L ∣ R ∣ ρ : B ) . \pi^{\mathrm{p}} := \mathsf{Part}(\pi,\{\rho\};\varnothing;\varnothing\mathbin{\|} \varnothing\vdash\rho: \dot{\neg} A^{\mathrm{L}|\mathrm{R}} \mid\rho: B). π p := Part ( π , { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ ˙ A L ∣ R ∣ ρ : B ) .
In other words, ρ : ¬ ˙ A \rho: \dot{\neg} A ρ : ¬ ˙ A is placed in the left component, ρ : B \rho: B ρ : B in the right component, and the root ρ \rho ρ is common.
(P2) Initial sequents. If π ′ \pi' π ′ consists of an id or T \mathrm{T} T inference, then P a r t ( π ′ , S ) \mathsf{Part}(\pi',S) Part ( π ′ , S ) consists of S S S alone, viewed as an instance of
i d 2 d \mathrm{id}_{2}^{\mathrm{d}} id 2 d if S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : p , w : ¬ ˙ p S=C; P_X; P_Y \mathbin{\|} \mathcal{T} \vdash\Gamma_1^{X|Y} \Gamma_2, w:p, w:\dot{\neg}p S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : p , w : ¬ ˙ p ;
i d 1 d \mathrm{id}_{1}^{\mathrm{d}} id 1 d if S = C ; P X ; P Y ∥ T ⊢ Γ 1 , w : p X ∣ Y ∣ w : ¬ ˙ p , Γ 2 S=C; P_X; P_Y \mathbin{\|} \mathcal{T} \vdash\Gamma_1,w:p^{X|Y} \mid w:\dot{\neg}p,\Gamma_2 S = C ; P X ; P Y ∥ T ⊢ Γ 1 , w : p X ∣ Y ∣ w : ¬ ˙ p , Γ 2 ;
T I \mathrm{T}^{\mathrm{I}} T I if S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : T S=C; P_X; P_Y \mathbin{\|} \mathcal{T} \vdash\Gamma_1^{X|Y}\Gamma_2,w:\mathsf{T} S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : T .
(P3) Disjunction. Suppose the ∨ \lor ∨ inference has principal formula w : A ∨ B w:A \lor B w : A ∨ B , so that π ′ \pi' π ′ is as shown below left, S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A ∨ B S=C; P_X; P_Y \mathbin{\|} \mathcal{T} \vdash\Gamma_1^{X|Y}\Gamma_2,w:A \lor B S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A ∨ B , and S 1 : = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A , w : B S_1 := C; P_X; P_Y \mathbin{\|} \mathcal{T} \vdash\Gamma_1^{X|Y}\Gamma_2,w:A,w:B S 1 := C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A , w : B . Then P a r t ( π ′ , S ) \mathsf{Part}(\pi',S) Part ( π ′ , S ) is as shown below right.
T ⊢ Γ 1 , Γ 2 , w : A T ⊢ Γ 1 , Γ 2 , w : B T ⊢ Γ 1 , Γ 2 , w : A ∨ B ∨ S 1 S ∨ I \frac{\mathcal{T} \vdash\Gamma_1,\Gamma_2,w:A \qquad\mathcal{T} \vdash\Gamma_1,\Gamma_2,w:B}{\mathcal{T} \vdash\Gamma_1,\Gamma_2,w:A\lor B}\ \lor
\qquad
\frac{S_1}{S}\ \lor^{\mathrm{I}} T ⊢ Γ 1 , Γ 2 , w : A ∨ B T ⊢ Γ 1 , Γ 2 , w : A T ⊢ Γ 1 , Γ 2 , w : B ∨ S S 1 ∨ I
(P4) Conjunction. Suppose the ∧ \land ∧ inference has principal formula w : A ∧ B w:A\land B w : A ∧ B , so that π ′ \pi' π ′ is as shown below left, and let S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A ∧ B S=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2,w:A\land B S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A ∧ B , S 1 : = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A S_1:=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2,w:A S 1 := C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : A , and S 2 : = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : B S_2:=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2,w:B S 2 := C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : B . Then Part ( π ′ , S ) \operatorname{Part}(\pi',S) Part ( π ′ , S ) is as shown below right.
T ⊢ Γ 1 , Γ 2 , w : A T ⊢ Γ 1 , Γ 2 , w : B T ⊢ Γ 1 , Γ 2 , w : A ∧ B ∧ S 1 S 2 S ∧ I \frac{\mathcal{T}\vdash\Gamma_1,\Gamma_2,w:A\qquad\mathcal{T}\vdash\Gamma_1,\Gamma_2,w:B}{\mathcal{T}\vdash\Gamma_1,\Gamma_2,w:A\land B}\ \land
\qquad
\frac{S_1\qquad S_2}{S}\ \land^{\mathrm{I}} T ⊢ Γ 1 , Γ 2 , w : A ∧ B T ⊢ Γ 1 , Γ 2 , w : A T ⊢ Γ 1 , Γ 2 , w : B ∧ S S 1 S 2 ∧ I
(P5) Box rule. Suppose the [ x ] [x] [ x ] inference has principal formula w : [ x ] A w:[x]A w : [ x ] A and introduces the relational atom w R x u wR_xu w R x u , so that π ′ \pi' π ′ is as shown below left and S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : [ x ] A S=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2,w:[x]A S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : [ x ] A . As the principal formula w : [ x ] A w:[x]A w : [ x ] A has side Y Y Y , the relational atom w R x u wR_xu w R x u is used by Y Y Y , and w w w is not X X X -private by Lemma 5.3-(1); hence, u u u is either common or Y Y Y -private by Definition 5.2. If u u u is common, then so is w w w , and u u u is placed in C C C , i.e., S 1 : = C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 , u : A S_1:=C\cup\{u\};P_X;P_Y\parallel\mathcal{T},wR_xu\vdash\Gamma_1^{X|Y}\Gamma_2,u:A S 1 := C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 , u : A , and Part ( π ′ , S ) \operatorname{Part}(\pi',S) Part ( π ′ , S ) is as shown below middle. If u u u is Y Y Y -private, then u u u is placed in P Y P_Y P Y , i.e., S 1 : = C ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 , u : A S_1:=C;P_X;P_Y\cup\{u\}\parallel\mathcal{T},wR_xu\vdash\Gamma_1^{X|Y}\Gamma_2,u:A S 1 := C ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 , u : A , and Part ( π ′ , S ) \operatorname{Part}(\pi',S) Part ( π ′ , S ) is as shown below right.
T , w R x u ⊢ Γ 1 , Γ 2 , u : A T ⊢ Γ 1 , Γ 2 , w : [ x ] A [ x ] S 1 S [ x ] c I S 1 S [ x ] p I \frac{\mathcal{T},wR_xu\vdash\Gamma_1,\Gamma_2,u:A}{\mathcal{T}\vdash\Gamma_1,\Gamma_2,w:[x]A}\ [x]
\qquad
\frac{S_1}{S}\ [x]^{\mathrm{I}}_c
\qquad
\frac{S_1}{S}\ [x]^{\mathrm{I}}_p T ⊢ Γ 1 , Γ 2 , w : [ x ] A T , w R x u ⊢ Γ 1 , Γ 2 , u : A [ x ] S S 1 [ x ] c I S S 1 [ x ] p I
(P6) Diamond rule. Suppose the ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inference has principal formula w : ⟨ x ⟩ A w:\langle x\rangle A w : ⟨ x ⟩ A with w ⇝ u w\leadsto u w ⇝ u its fixed propagation path, so that π ′ \pi' π ′ is as shown below left, S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : ⟨ x ⟩ A S=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2,w:\langle x\rangle A S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : ⟨ x ⟩ A , and S 1 : = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : ⟨ x ⟩ A , u : A S_1:=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2,w:\langle x\rangle A,u:A S 1 := C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 , w : ⟨ x ⟩ A , u : A . Then Part ( π ′ , S ) \operatorname{Part}(\pi',S) Part ( π ′ , S ) is as shown below right.
T ⊢ Γ 1 , Γ 2 , w : ⟨ x ⟩ A , u : A T ⊢ Γ 1 , Γ 2 , w : ⟨ x ⟩ A ⟨ x ⟩ S 1 S ⟨ x ⟩ I \frac{\mathcal{T}\vdash\Gamma_1,\Gamma_2,w:\langle x\rangle A,u:A}{\mathcal{T}\vdash\Gamma_1,\Gamma_2,w:\langle x\rangle A}\ \langle x\rangle
\qquad
\frac{S_1}{S}\ \langle x\rangle^{\mathrm{I}} T ⊢ Γ 1 , Γ 2 , w : ⟨ x ⟩ A T ⊢ Γ 1 , Γ 2 , w : ⟨ x ⟩ A , u : A ⟨ x ⟩ S S 1 ⟨ x ⟩ I
(P7) Seriality rule. Suppose the d x d_x d x inference introduces the relational atom w R x u wR_xu w R x u , so that π ′ \pi' π ′ is as shown below left and S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 S=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2 S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 . By Definition 5.2, u u u is common iff w w w is common and both sides use w R x u wR_xu w R x u . If u u u is common, then S 1 : = C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 S_1:=C\cup\{u\};P_X;P_Y\parallel\mathcal{T},wR_xu\vdash\Gamma_1^{X|Y}\Gamma_2 S 1 := C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 , and Part ( π ′ , S ) \operatorname{Part}(\pi',S) Part ( π ′ , S ) is as shown below middle. If u u u is Y Y Y -private, then S 1 : = C ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 S_1:=C;P_X;P_Y\cup\{u\}\parallel\mathcal{T},wR_xu\vdash\Gamma_1^{X|Y}\Gamma_2 S 1 := C ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∣ Y Γ 2 , and Part ( π ′ , S ) \operatorname{Part}(\pi',S) Part ( π ′ , S ) is as shown below right.
T , w R x u ⊢ Γ 1 , Γ 2 T ⊢ Γ 1 , Γ 2 d x S 1 S d x , c I S 1 S d x , p I \frac{\mathcal{T},wR_xu\vdash\Gamma_1,\Gamma_2}{\mathcal{T}\vdash\Gamma_1,\Gamma_2}\ d_x
\qquad
\frac{S_1}{S}\ d^{{\mathrm I}}_{x,c}
\qquad
\frac{S_1}{S}\ d^{{\mathrm I}}_{x,p} T ⊢ Γ 1 , Γ 2 T , w R x u ⊢ Γ 1 , Γ 2 d x S S 1 d x , c I S S 1 d x , p I
(P8) Swapping components. If none of (P2)–(P7) applies, then the principal formulae of the last inference of π ′ \pi' π ′ are positioned as required by one of (P2)–(P6) after swapping the two components, or the last inference of π ′ \pi' π ′ is a d x d_x d x inference introducing an X X X -private label. Hence, Part \operatorname{Part} Part first applies oth \operatorname{oth} oth , and then proceeds with the respective clause. Letting S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 S=C;P_X;P_Y\parallel\mathcal{T}\vdash\Gamma_1^{X|Y}\Gamma_2 S = C ; P X ; P Y ∥ T ⊢ Γ 1 X ∣ Y Γ 2 and S 1 : = C ; P Y ; P X ∥ T ⊢ Γ 2 Y ∣ X Γ 1 S_1:=C;P_Y;P_X\parallel\mathcal{T}\vdash\Gamma_2^{Y|X}\Gamma_1 S 1 := C ; P Y ; P X ∥ T ⊢ Γ 2 Y ∣ X Γ 1 , we define:
Part ( π ′ , S ) : = Part ( π ′ , S 1 ) S oth \operatorname{Part}(\pi',S):=\frac{\operatorname{Part}(\pi',S_1)}{S}\ \operatorname{oth} Part ( π ′ , S ) := S Part ( π ′ , S 1 ) oth
As Part only partitions the sequents of π \pi π and inserts instances of oth, π P \pi^P π P is a proof of partitioned sequents whose underlying tree sequents are those of π \pi π . Labeled formulae stay in the component of their side, and labels never change their set once introduced. Note that (P5) and (P7) are precisely the rules of Figure 4 read bottom-up. The common rules [ x ] c I [x]^I_c [ x ] c I and d x , c I d^I_{x,c} d x , c I are used precisely for common relational atoms, whose indices occur in the modal signatures of both A A A and B B B (Lemma 5.4), whereas private relational atoms are introduced by the private rules [ x ] p I [x]^I_p [ x ] p I and d x , p I d^I_{x,p} d x , p I , and never contribute modalities to interpolants.
Example 5.5. Let C : = { R x x ˉ ⊆ R x } \mathcal{C} := \{R_{x\bar{x}} \subseteq R_x\} C := { R x x ˉ ⊆ R x } and consider the following proof π \pi π , which proves the implication [ x ] ¬ r → ( [ x ] q ∨ ¬ r ) ∨ [ y ] s [x]\neg r \to([x]q \lor\neg r) \lor[y]s [ x ] ¬ r → ([ x ] q ∨ ¬ r ) ∨ [ y ] s .
The ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inference has side L and propagates r r r from ρ \rho ρ back to ρ \rho ρ along the path ρ ⇝ x ρ \rho\mathrel{\stackrel{x}{\leadsto}} \rho ρ ⇝ x ρ whose string x ˉ x \bar{x}x x ˉ x belongs to L C ( x ) L_{\mathcal{C}}(x) L C ( x ) , whereas the [ x ] [x] [ x ] and [ y ] [y] [ y ] inferences have side R. Hence, ρ R x u \rho R_xu ρ R x u is used by both sides, as it is introduced by a boxed formula of side R and traversed by the ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inference, which has side L, whereas ρ R y v \rho R_yv ρ R y v is only used by R. Consequently, u u u is common and v v v is R-private.
The partitioned proof π p \pi^{p} π p is shown in Figure 7 , where these two facts can be read off the label sets directly. Reading bottom-up, the ∨ \lor ∨ inferences are translated by (P3), and the [ y ] [y] [ y ] and [ x ] [x] [ x ] inferences by (P5), which places v v v in P_R and u u u in C. The ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ inference has side L, so (P8) applies oth, after which (P6) translates it into a ⟨ x ⟩ I \langle x\rangle^{I} ⟨ x ⟩ I inference, whose path only passes through the common labels ρ \rho ρ and u u u . Last, (P8) and (P2) translate the id inference into oth followed by i d I \mathrm{id}^{I} id I . Assigning interpolants according to the rules of T K m I ( C ) \mathsf{TK}^{I}_{m}(\mathcal{C}) TK m I ( C ) yields the interpolant { ( ρ : ¬ r , ρ : [ x ] ⊥ ) } \{(\rho: \neg r,\rho: [x]\bot)\} {( ρ : ¬ r , ρ : [ x ] ⊥ )} of the conclusion, i.e., the strong Lyndon interpolant ¬ r ∨ [ x ] ⊥ \neg r \lor[x]\bot ¬ r ∨ [ x ] ⊥ (cf. Example 4.10). Had we translated the [ y ] [y] [ y ] inference into a [ y ] c I [y]^{I}_{c} [ y ] c I inference, making v v v common, we would have obtained the Lyndon interpolant ¬ r ∨ [ x ] ⊥ ∨ [ y ] ⊥ \neg r \lor[x]\bot\lor[y]\bot ¬ r ∨ [ x ] ⊥ ∨ [ y ] ⊥ , which contains the character y y y , even though y y y does not occur in [ x ] ¬ r [x]\neg r [ x ] ¬ r .
Figure 7. The partitioned proof π p \pi^{p} π p for the proof π \pi π of Example 5.5. In the sequents with the tagged bar ‘R ∣ L \mathsf{R|L} R ∣ L ’, the labels are listed as C; P_R; P_L.
Properties of Partitioned Proofs
We now show that the partitioned proof π p \pi^{p} π p has the shape of an interpolation proof, so that the rules of T K m I ( C ) \mathsf{TK}^{I}_{m}(\mathcal{C}) TK m I ( C ) can be used to assign interpolants to it.
Lemma 5.6. The partitioned proof π p \pi^{p} π p is a finite derivation with conclusion { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ ˙ A ∣ L ρ : B \{\rho\} ; \varnothing; \varnothing\mathrel{\|} \varnothing\vdash\rho: \dot{\neg}A \mathrel{|}^{L} \rho: B { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ ˙ A ∣ L ρ : B such that:
each sequent of π p \pi^{p} π p is a partitioned sequent C; P_X; P_Y ∥ T ⊢ Γ 1 ∣ X Γ 2 \mathrel{\|} \mathcal{T} \vdash\Gamma_1 \mathrel{|}^{X} \Gamma_2 ∥ T ⊢ Γ 1 ∣ X Γ 2 , where T ⊢ Γ 1 , Γ 2 \mathcal{T} \vdash\Gamma_1,\Gamma_2 T ⊢ Γ 1 , Γ 2 is the corresponding sequent of π \pi π , and Γ 1 \Gamma_1 Γ 1 and Γ 2 \Gamma_2 Γ 2 consist of its formula occurrences of side X and Y, respectively;
in each sequent C; P_X; P_Y ∥ T ⊢ Γ 1 ∣ X ∣ Y Γ 2 \mathrel{\|} \mathcal{T} \vdash\Gamma_1 \mathrel{|}^{X \mid Y} \Gamma_2 ∥ T ⊢ Γ 1 ∣ X ∣ Y Γ 2 of π p \pi^{p} π p , the set C consists of the common labels of the sequent, and P_Z consists of its Z-private labels, for Z ∈ { X , Y } \in\{X,Y\} ∈ { X , Y } ;
each inference of π p \pi^{p} π p is an instance of a rule of T K m I ( C ) \mathsf{TK}^{I}_{m}(\mathcal{C}) TK m I ( C ) (disregarding interpolants), and each initial sequent of π p \pi^{p} π p is an instance of i d l I \mathrm{id}^{I}_{l} id l I , i d 2 I \mathrm{id}^{I}_{2} id 2 I , or T I \mathsf{T}^{I} T I .
Proof. Claims (1) and (2) hold by construction: Part places every formula occurrence in the component of its side, and every label in C or P_Z according to whether it is common or Z-private, where (P5) and (P7) place the new label u u u according to Definition 5.2. It remains to show that each sequent satisfies conditions (1)–(3) of Definition 4.5. Condition (1) holds as the underlying tree sequent is a sequent of π \pi π . For condition (2), the sets C \mathsf{C} C , P X \mathsf{P}_{X} P X , and P Y \mathsf{P}_{Y} P Y are pairwise disjoint, as each label has exactly one status, the root ρ \rho ρ is common, and every child of a Z \mathsf{Z} Z -private label is Z \mathsf{Z} Z -private by Definition 5.2. Condition (3) holds by Lemma 5.3 (1), as formula occurrences of side Z \mathsf{Z} Z have no Z o p \mathsf{Z}^{\mathrm{op}} Z op -private labels.
For claim (3), we inspect the clauses of P a r t \mathsf{Part} Part . In (P2), the principal formulae of an i d 1 I \mathsf{id}_{1}^{I} id 1 I inference share a label that labels formula occurrences of both sides, which is common by Lemma 5.3 (1). In (P5) and (P7), the label w w w is common if u u u is common by Definition 5.2, as required by [ x ] c I [x]_{\mathsf{c}}^{I} [ x ] c I and d x , c I d_{\mathsf{x},\mathsf{c}}^{I} d x , c I . For (P5) and (P7), the label u u u is fresh, as it is fresh in π \pi π . For (P6), the path of the inference traverses no relational atom with an X X X -private target by Lemma 5.3 (2), so it only passes through labels in C ∪ P Y \mathsf{C}\cup\mathsf{P}_{Y} C ∪ P Y , i.e., it is a propagation path in pg ( S ∣ Y ) \operatorname{pg}(\mathcal{S}|_{Y}) pg ( S ∣ Y ) . □
Combining the above lemmas, we obtain the main result of this section.
Theorem 5.7. Let π \pi π be a proof in T K m ( C ) \mathrm{TK}_{m}(\mathcal{C}) TK m ( C ) of ⊢ ρ : ¬ A , ρ : B \vdash\rho:\neg A,\rho:B ⊢ ρ : ¬ A , ρ : B , where K m ( C ) \mathrm{K}_{m}(\mathcal{C}) K m ( C ) is bridge-free. Then, assigning interpolants to the partitioned proof π p \pi^{p} π p according to the rules of T K m I ( C ) \mathrm{TK}_{m}^{I}(\mathcal{C}) TK m I ( C ) yields an interpolation proof π i \pi^{i} π i of { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ A ∥ L R ρ : B ∥ I \{\rho\};\varnothing;\varnothing\mathrel{\|}\varnothing\vdash\rho:\neg A\mathrel{\mathop{\|}\limits_{L}^{R}}\rho:B\mathrel{\|}\mathcal{I} { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ A L ∥ R ρ : B ∥ I for some interpolant I \mathcal{I} I .
Proof. By Lemma 5.6 (3), each inference of π p \pi^{p} π p is an instance of a rule of T K m I ( C ) \mathrm{TK}_{m}^{I}(\mathcal{C}) TK m I ( C ) (disregarding interpolants), and each initial sequent is an instance of an initial rule of T K m I ( C ) \mathrm{TK}_{m}^{I}(\mathcal{C}) TK m I ( C ) . We assign interpolants to the initial sequents and propagate them downward according to the rules of T K m I ( C ) \mathrm{TK}_{m}^{I}(\mathcal{C}) TK m I ( C ) , which yields interpolation sequents by Lemma 4.8 . The freshness conditions of the rules only concern the underlying tree sequents, which are those of π \pi π , and are thus satisfied. □
We note that by condition (4) of Definition 4.5 , the interpolants of π i \pi^{i} π i only contain common labels, and so, private relational atoms never contribute modalities to interpolants. Our method is effective: the sides of formula occurrences and the classification of relational atoms and labels are computed from π \pi π directly, and P a r t \mathsf{Part} Part adds at most one instance of o t h \mathsf{oth} oth per inference of π \pi π , so the number of inferences in the resulting interpolation proof is linear in the size of π \pi π . However, the size of the interpolants themselves may grow exponentially in the height of π \pi π , since o t h \mathsf{oth} oth can be repeatedly applied along a proof branch. Thus, while the inference count is linear, the total size of an interpolation proof (i.e., the number of symbols it consists of) may be exponential in the worst case.
Strong Lyndon Interpolation
We have now laid enough groundwork to prove our main result, namely, that every bridge-free grammar logic has the strong LIP. Throughout this section, we fix a bridge-free grammar logic K m ( C ) \mathrm{K}_{m}(\mathcal{C}) K m ( C ) and a proof π \pi π in T K m ( C ) \mathrm{TK}_{m}(\mathcal{C}) TK m ( C ) of ⊢ ρ : ¬ A , ρ : B \vdash\rho:\neg A,\rho:B ⊢ ρ : ¬ A , ρ : B , where we assume the conventions of Section 5. We let π i \pi^{i} π i be the interpolation proof obtained by assigning interpolants to the partitioned proof π p \pi^{p} π p according to the rules of T K m I ( C ) \mathrm{TK}_{m}^{I}(\mathcal{C}) TK m I ( C ) (Theorem 5.7 ), and we let { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ A ∥ L R ρ : B ∥ I \{\rho\};\varnothing;\varnothing\mathrel{\|}\varnothing\vdash\rho:\neg A\mathrel{\mathop{\|}\limits_{L}^{R}}\rho:B\mathrel{\|}\mathcal{I} { ρ } ; ∅ ; ∅ ∥ ∅ ⊢ ρ : ¬ A L ∥ R ρ : B ∥ I be its conclusion. For a tree sequent G = T ⊢ Γ \mathcal{G}=\mathcal{T}\vdash\Gamma G = T ⊢ Γ and a set Σ \Sigma Σ of labeled formulae, we write G , Σ \mathcal{G},\Sigma G , Σ to denote T ⊢ Γ , Σ \mathcal{T}\vdash\Gamma,\Sigma T ⊢ Γ , Σ .
Our proof proceeds in three steps. First, we show that interpolants lie in the common signature (§ 6.1 ). Second, we show that the interpolant of each interpolation sequent is implied by its X-projection and implies its Y-projection (§ 6.2 ). Third, we interpret the interpolant of the conclusion as a formula, which yields a strong Lyndon interpolant (§ 6.3 ).
Signatures of Interpolants
By condition (4) of Definition 4.5 , the labels occurring in interpolants are common. In particular, private relational atoms never contribute modalities to interpolants, which lets us circumvent the issues discussed at the beginning of Section 4. We now show that interpolants respect the common signature. The interpolant of an interpolation sequent is implied by its X-component, which plays the role of a negated antecedent, and implies its Y-component. Hence, atoms occurring positively (negatively) in an interpolant must occur negatively (positively) in the X-component, whereas polarities agree with those in the Y-component.
Lemma 6.1 (Signatures of Interpolants). Let C ; P X ; P Y ∥ T ⊢ Γ 1 ∣ X Γ 2 ∥ I \mathsf{C};\mathsf{P}_{X};\mathsf{P}_{Y}\mathrel{\|}\mathcal{T}\vdash\Gamma_{1}\mathrel{\mathop{|}\limits^{X}}\Gamma_{2}\mathrel{\|}\mathcal{I} C ; P X ; P Y ∥ T ⊢ Γ 1 ∣ X Γ 2 ∥ I be an interpolation sequent of π i \pi^{i} π i . Then:
(1) sig + ( I ) ⊆ sig − ( Γ 1 ) ∩ sig + ( Γ 2 ) \operatorname{sig}^{+}(\mathcal{I})\subseteq\operatorname{sig}^{-}(\Gamma_{1})\cap\operatorname{sig}^{+}(\Gamma_{2}) sig + ( I ) ⊆ sig − ( Γ 1 ) ∩ sig + ( Γ 2 ) and sig − ( I ) ⊆ sig + ( Γ 1 ) ∩ sig − ( Γ 2 ) \operatorname{sig}^{-}(\mathcal{I})\subseteq\operatorname{sig}^{+}(\Gamma_{1})\cap\operatorname{sig}^{-}(\Gamma_{2}) sig − ( I ) ⊆ sig + ( Γ 1 ) ∩ sig − ( Γ 2 ) ;
(2) sig Σ ( I ) ⊆ sig Σ ( A ) ∩ sig Σ ( B ) \operatorname{sig}^{\Sigma}(\mathcal{I})\subseteq\operatorname{sig}^{\Sigma}(A)\cap\operatorname{sig}^{\Sigma}(B) sig Σ ( I ) ⊆ sig Σ ( A ) ∩ sig Σ ( B ) .
Proof. By induction on the height of the subproof ending with the interpolation sequent.
Base case. For an instance of i d 1 1 \mathsf{id}^{1}_{1} id 1 1 with principal formulae w : p w:p w : p in Γ 1 \Gamma_{1} Γ 1 and w : ¬ p w:\neg p w : ¬ p in Γ 2 \Gamma_{2} Γ 2 , we have I = { ( w : ¬ p ) } \mathcal{I}=\{(w:\neg p)\} I = {( w : ¬ p )} , so sig + ( I ) = ∅ \operatorname{sig}^{+}(\mathcal{I})=\varnothing sig + ( I ) = ∅ , sig − ( I ) = { p } ⊆ sig + ( Γ 1 ) ∩ sig − ( Γ 2 ) \operatorname{sig}^{-}(\mathcal{I})=\{p\}\subseteq\operatorname{sig}^{+}(\Gamma_{1})\cap\operatorname{sig}^{-}(\Gamma_{2}) sig − ( I ) = { p } ⊆ sig + ( Γ 1 ) ∩ sig − ( Γ 2 ) , and sig Σ ( I ) = ∅ \operatorname{sig}^{\Sigma}(\mathcal{I})=\varnothing sig Σ ( I ) = ∅ . For instances of i d 2 1 \mathsf{id}^{1}_{2} id 2 1 and ⊤ 1 \top^{1} ⊤ 1 , we have I = ∅ \mathcal{I}=\varnothing I = ∅ , whose signatures are empty.
Inductive step. We first observe two facts about the rules of T K m I ( C ) \mathsf{TK}_{\mathrm{m}}^{\mathrm{I}}(\mathcal{C}) TK m I ( C ) other than o t h \mathsf{oth} oth . First, for each ∘ ∈ { + , − } \circ\in\{+,-\} ∘ ∈ { + , − } , the ∘ \circ ∘ -signature of each component of a premise is contained in the ∘ \circ ∘ -signature of the corresponding component of the conclusion. This holds because auxiliary formulae are subformulae of the principal formula in the same component, which preserves polarity in negation normal form, while the rest of each component remains unchanged. Second, the box interpolant [ x ] I u w [x]\mathcal{I}^{w}_{u} [ x ] I u w has the same positive and negative signature as I \mathcal{I} I , since it only prefixes disjunctions with modalities and adds the formula [ x ] ⊥ [x]\bot [ x ] ⊥ , whose positive and negative signatures are empty.
(1) For all rules other than o t h \mathsf{oth} oth , claim (1) follows from IH and the two facts above, as the interpolant of the conclusion is either a premise interpolant, the union of the premise interpolants, or a box interpolant of the premise interpolant. For o t h \mathsf{oth} oth , let the premise be C ; P Y ; P X ∥ T ⊢ Γ 2 ∥ Y ∣ X Γ 1 ∥ I ′ \mathcal{C};\mathcal{P}_{Y};\mathcal{P}_{X}\mathbin{\|}\mathcal{T}\vdash\Gamma_{2}\mathbin{\|}_{Y\mid X}\Gamma_{1}\mathbin{\|}\mathcal{I}' C ; P Y ; P X ∥ T ⊢ Γ 2 ∥ Y ∣ X Γ 1 ∥ I ′ with I = I ′ ‾ \mathcal{I}=\overline{\mathcal{I}'} I = I ′ . By IH, sig + ( I ′ ) ⊆ sig − ( Γ 2 ) ∩ sig + ( Γ 1 ) \operatorname{sig}^{+}(\mathcal{I}')\subseteq\operatorname{sig}^{-}(\Gamma_{2})\cap\operatorname{sig}^{+}(\Gamma_{1}) sig + ( I ′ ) ⊆ sig − ( Γ 2 ) ∩ sig + ( Γ 1 ) and sig − ( I ′ ) ⊆ sig + ( Γ 2 ) ∩ sig − ( Γ 1 ) \operatorname{sig}^{-}(\mathcal{I}')\subseteq\operatorname{sig}^{+}(\Gamma_{2})\cap\operatorname{sig}^{-}(\Gamma_{1}) sig − ( I ′ ) ⊆ sig + ( Γ 2 ) ∩ sig − ( Γ 1 ) . Since the orthogonal swaps the positive and negative signature (Section 4.1), we obtain sig + ( I ) ⊆ sig − ( I ′ ) ⊆ sig − ( Γ 1 ) ∩ sig + ( Γ 2 ) \operatorname{sig}^{+}(\mathcal{I})\subseteq\operatorname{sig}^{-}(\mathcal{I}')\subseteq\operatorname{sig}^{-}(\Gamma_{1})\cap\operatorname{sig}^{+}(\Gamma_{2}) sig + ( I ) ⊆ sig − ( I ′ ) ⊆ sig − ( Γ 1 ) ∩ sig + ( Γ 2 ) and sig − ( I ) ⊆ sig + ( I ′ ) ⊆ sig + ( Γ 1 ) ∩ sig − ( Γ 2 ) \operatorname{sig}^{-}(\mathcal{I})\subseteq\operatorname{sig}^{+}(\mathcal{I}')\subseteq\operatorname{sig}^{+}(\Gamma_{1})\cap\operatorname{sig}^{-}(\Gamma_{2}) sig − ( I ) ⊆ sig + ( I ′ ) ⊆ sig + ( Γ 1 ) ∩ sig − ( Γ 2 ) .
(2) The modal signature of the interpolant of the conclusion is contained in that of the premise interpolants, except possibly in the cases of [ x ] C I [x]^{\mathrm{I}}_{\mathcal{C}} [ x ] C I and d C , x I \mathsf{d}^{\mathrm{I}}_{\mathcal{C},x} d C , x I . In both cases, sig Σ ( [ x ] I u w ) ⊆ sig Σ ( I ) ∪ { x , x ‾ } \operatorname{sig}^{\Sigma}([x]\mathcal{I}^{w}_{u})\subseteq\operatorname{sig}^{\Sigma}(\mathcal{I})\cup\{x,\overline{x}\} sig Σ ([ x ] I u w ) ⊆ sig Σ ( I ) ∪ { x , x } , and { x , x ‾ } ⊆ sig Σ ( A ) ∩ sig Σ ( B ) \{x,\overline{x}\}\subseteq\operatorname{sig}^{\Sigma}(A)\cap\operatorname{sig}^{\Sigma}(B) { x , x } ⊆ sig Σ ( A ) ∩ sig Σ ( B ) by Lemma 5.4, as the relational atom w R x u wR_{x}u w R x u introduced by these rules has a common target, and is thus common by Lemma 5.6(2).
The Interpolation Lemma
We now show that every interpolation sequent of π i \pi^{i} π i satisfies the intended meaning of interpolation sequents stated in § 4.1 . The following lemma was proven in [39 Lemma 8] and is used to handle the o t h \mathsf{oth} oth rule.
Lemma 6.2 (Persistence [39 ] ). If Δ ∈ I ‾ \Delta\in\overline{\mathcal{I}} Δ ∈ I , then there exists a Γ ∈ I \Gamma\in\mathcal{I} Γ ∈ I such that Γ ⊆ Δ \Gamma\subseteq\Delta Γ ⊆ Δ .
The modal cases of the Interpolation Lemma below rely on the following lemma, which shows how box interpolants transfer provability from a premise to a conclusion. Recall that ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ can propagate a formula from w w w to u u u along a relational atom w R x u wR_{x}u w R x u , as the string x x x belongs to L x L_{x} L x .
Lemma 6.3 (Box Interpolants). Let I \mathcal{I} I be an interpolant, let w w w and u u u be distinct labels, and let T \mathcal{T} T be a set of relational atoms in which u u u does not occur.
(1) Let T ⊢ Γ \mathcal{T}\vdash\Gamma T ⊢ Γ be a tree sequent in which w w w occurs and u u u does not occur, such that Lab ( I ) ⊆ Lab ( T ⊢ Γ ) ∪ { u } \operatorname{Lab}(\mathcal{I})\subseteq\operatorname{Lab}(\mathcal{T}\vdash\Gamma)\cup\{u\} Lab ( I ) ⊆ Lab ( T ⊢ Γ ) ∪ { u } . If T K m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash(\mathcal{T},wR_{x}u\vdash\Gamma,\Sigma) TK m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ) for each Σ ∈ I \Sigma\in\mathcal{I} Σ ∈ I , then T K m ( C ) ⊢ ( T ⊢ Γ , Σ ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash(\mathcal{T}\vdash\Gamma,\Sigma) TK m ( C ) ⊢ ( T ⊢ Γ , Σ ) for each Σ ∈ [ x ] I u w \Sigma\in[x]\mathcal{I}^{w}_{u} Σ ∈ [ x ] I u w .
(2) Let T , w R x u ⊢ Γ \mathcal{T},wR_{x}u\vdash\Gamma T , w R x u ⊢ Γ be a tree sequent with Lab ( I ) ⊆ Lab ( T , w R x u ⊢ Γ ) \operatorname{Lab}(\mathcal{I})\subseteq\operatorname{Lab}(\mathcal{T},wR_{x}u\vdash\Gamma) Lab ( I ) ⊆ Lab ( T , w R x u ⊢ Γ ) . If T K m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash(\mathcal{T},wR_{x}u\vdash\Gamma,\Sigma) TK m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ) for each Σ ∈ I ‾ \Sigma\in\overline{\mathcal{I}} Σ ∈ I , then T K m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash(\mathcal{T},wR_{x}u\vdash\Gamma,\Sigma) TK m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ) for each Σ ∈ [ x ] I u w \Sigma\in[x]\mathcal{I}^{w}_{u} Σ ∈ [ x ] I u w .
Proof. We prove both claims in turn.
(1) Let ( Σ ′ , w : [ x ] ⋁ i ∈ [ k ] B i ) ∈ [ x ] I u w (\Sigma',w:[x]\bigvee_{i\in[k]}B_{i})\in[x]\mathcal{I}^{w}_{u} ( Σ ′ , w : [ x ] ⋁ i ∈ [ k ] B i ) ∈ [ x ] I u w stem from ( Σ ′ , u : B 1 , … , u : B k ) ∈ I (\Sigma',u:B_{1},\ldots,u:B_{k})\in\mathcal{I} ( Σ ′ , u : B 1 , … , u : B k ) ∈ I with u ∉ Lab ( Σ ′ ) u\notin\operatorname{Lab}(\Sigma') u ∈ / Lab ( Σ ′ ) . By assumption, T K m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ′ , u : B 1 , … , u : B k ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C})\vdash(\mathcal{T},wR_{x}u\vdash\Gamma,\Sigma',u:B_{1},\ldots,u:B_{k}) TK m ( C ) ⊢ ( T , w R x u ⊢ Γ , Σ ′ , u : B 1 , … , u : B k ) . If k ≥ 1 k\geq1 k ≥ 1 , then k − 1 k-1 k − 1 applications of ∨ \vee ∨ yield T , w R x u ⊢ Γ , Σ ′ , u : ⋁ i ∈ [ k ] B i \mathcal{T},wR_{x}u\vdash\Gamma,\Sigma',u:\bigvee_{i\in[k]}B_{i} T , w R x u ⊢ Γ , Σ ′ , u : ⋁ i ∈ [ k ] B i , and if k = 0 k=0 k = 0 , then w w w yields T , w R x u ⊢ Γ , Σ ′ , u : ⊥ \mathcal{T},wR_{x}u\vdash\Gamma,\Sigma',u:\bot T , w R x u ⊢ Γ , Σ ′ , u : ⊥ . In both cases, an application of [ x ] [x] [ x ] , whose side condition holds as u u u does not occur in T ⊢ Γ , Σ ′ \mathcal{T}\vdash\Gamma,\Sigma' T ⊢ Γ , Σ ′ , yields T ⊢ Γ , Σ ′ , w : [ x ] ⋁ i ∈ [ k ] B i \mathcal{T}\vdash\Gamma,\Sigma',w:[x]\bigvee_{i\in[k]}B_{i} T ⊢ Γ , Σ ′ , w : [ x ] ⋁ i ∈ [ k ] B i .
(2) Let T ′ : = T , w R x u \mathcal{T}' := \mathcal{T},wR_{x}u T ′ := T , w R x u and let I = { ( Σ j , u : B j , 1 , … , u : B j , k j ) ∣ j ∈ [ n ] } \mathcal{I}=\{(\Sigma_{j},u:B_{j,1},\ldots,u:B_{j,k_{j}})\mid j\in[n]\} I = {( Σ j , u : B j , 1 , … , u : B j , k j ) ∣ j ∈ [ n ]} with u ∉ Lab ( Σ j ) u\notin\operatorname{Lab}(\Sigma_{j}) u ∈ / Lab ( Σ j ) for each j ∈ [ n ] j\in[n] j ∈ [ n ] , so that [ x ] I u w = { ( Σ j , w : [ x ] ⋁ i ∈ [ k j ] B j , i ) ∣ j ∈ [ n ] } [x]\mathcal{I}^{w}_{u}=\{(\Sigma_{j},w:[x]\bigvee_{i\in[k_{j}]}B_{j,i})\mid j\in[n]\} [ x ] I u w = {( Σ j , w : [ x ] ⋁ i ∈ [ k j ] B j , i ) ∣ j ∈ [ n ]} . Let C j : = ⋁ i ∈ [ k j ] B j , i C_{j}:=\bigvee_{i\in[k_{j}]}B_{j,i} C j := ⋁ i ∈ [ k j ] B j , i , so that [ x ] ⋁ i ∈ [ k j ] B j , i = ⟨ x ⟩ C j [x]\bigvee_{i\in[k_{j}]}B_{j,i}=\langle x\rangle C_{j} [ x ] ⋁ i ∈ [ k j ] B j , i = ⟨ x ⟩ C j . Each element of [ x ] I u w ‾ \overline{[x]\mathcal{I}^{w}_{u}} [ x ] I u w is of the form ( Θ , Δ ) (\Theta,\Delta) ( Θ , Δ ) for some J ⊆ [ n ] J\subseteq[n] J ⊆ [ n ] , where Δ : = { w : C j ∣ j ∈ J } \Delta:=\{w:C_{j}\mid j\in J\} Δ := { w : C j ∣ j ∈ J } and Θ \Theta Θ contains, for each j ∈ [ n ] ∖ J j\in[n]\setminus J j ∈ [ n ] ∖ J , the negation of a labelled formula from Σ j \Sigma_{j} Σ j . If k j = 0 k_{j}=0 k j = 0 for some j ∈ J j\in J j ∈ J , then C j = ⊤ C_{j}=\top C j = ⊤ , and T ′ ⊢ Γ , Θ , Δ , u : ⊤ \mathcal{T}'\vdash\Gamma,\Theta,\Delta,u:\top T ′ ⊢ Γ , Θ , Δ , u : ⊤ is an instance of ⊤ \top ⊤ . Otherwise, for every function f f f mapping each j ∈ J j\in J j ∈ J to an element of [ k j ] [k_{j}] [ k j ] , we have ( Θ , { u : ¬ B j , f ( j ) ∣ j ∈ J } ) ∈ I ‾ (\Theta,\{u:\neg B_{j,f(j)}\mid j\in J\})\in\overline{\mathcal{I}} ( Θ , { u : ¬ B j , f ( j ) ∣ j ∈ J }) ∈ I , so T ′ ⊢ Γ , Θ , Δ , { u : ¬ B j , f ( j ) ∣ j ∈ J } \mathcal{T}'\vdash\Gamma,\Theta,\Delta,\{u:\neg B_{j,f(j)}\mid j\in J\} T ′ ⊢ Γ , Θ , Δ , { u : ¬ B j , f ( j ) ∣ j ∈ J } is provable by assumption and w w w , and applying ∧ \wedge ∧ to these sequents yields T ′ ⊢ Γ , Θ , Δ \mathcal{T}'\vdash\Gamma,\Theta,\Delta T ′ ⊢ Γ , Θ , Δ . In either case, applications of ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ , which propagate along the path w ⇝ u w\leadsto u w ⇝ u , yield T ′ ⊢ Γ , Θ , Δ \mathcal{T}'\vdash\Gamma,\Theta,\Delta T ′ ⊢ Γ , Θ , Δ .
In the lemma below, note that S ∣ X , Σ S\mid_{X,\Sigma} S ∣ X , Σ and S ∣ Y , Σ S\mid_{Y,\Sigma} S ∣ Y , Σ are tree sequents by Lemma 4.7, as the labels of Σ \Sigma Σ are common by condition (4) of Definition 4.5 and Lab ( I ‾ ) ⊆ Lab ( I ) \operatorname{Lab}(\overline{\mathcal{I}})\subseteq\operatorname{Lab}(\mathcal{I}) Lab ( I ) ⊆ Lab ( I ) .
Lemma 6.4 (Interpolation Lemma). For every interpolation sequent S = C ; P X ; P Y ∥ T ⊢ Γ 1 ∥ Γ 2 ∥ I S = C; P_X; P_Y \parallel\mathcal{T} \vdash\Gamma_1 \mathbin{\|} \Gamma_2 \mathbin{\|} I S = C ; P X ; P Y ∥ T ⊢ Γ 1 ∥ Γ 2 ∥ I of I \mathcal{I} I , the following hold:
(1) for each Σ ∈ I \Sigma\in I Σ ∈ I , we have TK m ( C ) ⊢ S ∣ X , Σ \operatorname{TK}_m(C) \vdash S|_X,\Sigma TK m ( C ) ⊢ S ∣ X , Σ , i.e., TK m ( C ) ⊢ ( T ∥ ( C ∪ P X ) ⊢ Γ 1 , Σ ) \operatorname{TK}_m(C) \vdash(\mathcal{T} \mathbin{\|} (C \cup P_X) \vdash\Gamma_1,\Sigma) TK m ( C ) ⊢ ( T ∥ ( C ∪ P X ) ⊢ Γ 1 , Σ ) ;
(2) for each Σ ∈ I ‾ \Sigma\in\overline{I} Σ ∈ I , we have TK m ( C ) ⊢ S ∣ Y , Σ \operatorname{TK}_m(C) \vdash S|_Y,\Sigma TK m ( C ) ⊢ S ∣ Y , Σ , i.e., TK m ( C ) ⊢ ( T ∥ ( C ∪ P Y ) ⊢ Γ 2 , Σ ) \operatorname{TK}_m(C) \vdash(\mathcal{T} \mathbin{\|} (C \cup P_Y) \vdash\Gamma_2,\Sigma) TK m ( C ) ⊢ ( T ∥ ( C ∪ P Y ) ⊢ Γ 2 , Σ ) .
Proof By induction on the height of the subproof ending with S S S . In each case, we let S ′ S' S ′ (or S 1 S_1 S 1 and S 2 S_2 S 2 ) denote the premise(s) of the last inference. We freely use the height-preserving admissibility of w w w (see Theorem 3.9 (2)).
Base case. For id 1 I \operatorname{id}_1^I id 1 I , we have I = { ( w : ¬ p ) } I = \{(w : \neg p)\} I = {( w : ¬ p )} and I ‾ = { ( w : p ) } \overline{I} = \{(w : p)\} I = {( w : p )} , where w : p ∈ Γ 1 w : p \in\Gamma_1 w : p ∈ Γ 1 and w : ¬ p ∈ Γ 2 w : \neg p \in\Gamma_2 w : ¬ p ∈ Γ 2 . Hence, S ∣ X , w : ¬ p S|_X,w : \neg p S ∣ X , w : ¬ p and S ∣ Y , w : p S|_Y,w : p S ∣ Y , w : p are instances of id. For id 2 I \operatorname{id}_2^I id 2 I and T I \mathcal{T}^I T I , we have I = ∅ I = \varnothing I = ∅ and I ‾ = { ∅ } \overline{I} = \{\varnothing\} I = { ∅ } , so claim (1) holds vacuously, and claim (2) states that S ∣ Y S|_Y S ∣ Y is provable, which is an instance of id or T \mathcal{T} T , as w : p , w : ¬ p ∈ Γ 2 w : p,w : \neg p \in\Gamma_2 w : p , w : ¬ p ∈ Γ 2 or w : T ∈ Γ 2 w : \mathcal{T} \in\Gamma_2 w : T ∈ Γ 2 , respectively.
Inductive step. We consider each rule of TK m I ( C ) \operatorname{TK}_m^I(C) TK m I ( C ) in turn.
oh \operatorname{oh} oh . The premise is S ′ = C ; P Y ; P X ∥ T ⊢ Γ 2 Y ∥ Γ 1 X ∥ I ′ S' = C; P_Y; P_X \parallel\mathcal{T} \vdash\Gamma_2^Y \mathbin{\|} \Gamma_1^X \mathbin{\|} I' S ′ = C ; P Y ; P X ∥ T ⊢ Γ 2 Y ∥ Γ 1 X ∥ I ′ with I = I ′ ‾ I = \overline{I'} I = I ′ . Observe that S ′ ∣ Y = S ∣ Y S'|_Y = S|_Y S ′ ∣ Y = S ∣ Y and S ′ ∣ X = S ∣ X S'|_X = S|_X S ′ ∣ X = S ∣ X , where the Y-component is the first component of S ′ S' S ′ . (1) Let Σ ∈ I ′ ‾ \Sigma\in\overline{I'} Σ ∈ I ′ . Then TK m ( C ) ⊢ S ∣ X , Σ \operatorname{TK}_m(C) \vdash S|_X,\Sigma TK m ( C ) ⊢ S ∣ X , Σ by claim (2) of IH. (2) Let Σ ∈ I ‾ \Sigma\in\overline{I} Σ ∈ I . By Lemma 6.2, there exists a Σ ′ ∈ I ′ \Sigma' \in I' Σ ′ ∈ I ′ with Σ ′ ⊆ Σ \Sigma' \subseteq\Sigma Σ ′ ⊆ Σ . By claim (1) of IH, TK m ( C ) ⊢ S ∣ Y , Σ ′ \operatorname{TK}_m(C) \vdash S|_Y,\Sigma' TK m ( C ) ⊢ S ∣ Y , Σ ′ , and so, TK m ( C ) ⊢ S ∣ Y , Σ \operatorname{TK}_m(C) \vdash S|_Y,\Sigma TK m ( C ) ⊢ S ∣ Y , Σ by w w w .
∨ l I \mathord{\vee}_l^I ∨ l I . The premise S ′ S' S ′ has the same X-projection and interpolant as S S S , which proves claim (1). For claim (2), let Σ ∈ I ‾ \Sigma\in\overline{I} Σ ∈ I . By IH, TK m ( C ) ⊢ S ′ ∣ Y , Σ \operatorname{TK}_m(C) \vdash S'|_Y,\Sigma TK m ( C ) ⊢ S ′ ∣ Y , Σ , where S ′ ∣ Y S'|_Y S ′ ∣ Y is obtained from S ∣ Y S|_Y S ∣ Y by replacing w : A ∨ B w : A \vee B w : A ∨ B with w : A w : A w : A and w : B w : B w : B . Applying ∨ \vee ∨ yields S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ .
∧ l I \mathord{\wedge}_l^I ∧ l I . The premises S 1 S_1 S 1 and S 2 S_2 S 2 have the same X-projection as S S S , and I = I 1 ∪ I 2 I = I_1 \cup I_2 I = I 1 ∪ I 2 , which implies claim (1). For claim (2), observe that every element of I 1 ∪ I 2 ‾ \overline{I_1 \cup I_2} I 1 ∪ I 2 is of the form ( Σ 1 , Σ 2 ) (\Sigma_1,\Sigma_2) ( Σ 1 , Σ 2 ) with Σ i ∈ I i ‾ \Sigma_i \in\overline{I_i} Σ i ∈ I i for i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } . By IH and w w w , we have TK m ( C ) ⊢ S 1 ∣ Y , Σ 1 , Σ 2 \operatorname{TK}_m(C) \vdash S_1|_Y,\Sigma_1,\Sigma_2 TK m ( C ) ⊢ S 1 ∣ Y , Σ 1 , Σ 2 and TK m ( C ) ⊢ S 2 ∣ Y , Σ 1 , Σ 2 \operatorname{TK}_m(C) \vdash S_2|_Y,\Sigma_1,\Sigma_2 TK m ( C ) ⊢ S 2 ∣ Y , Σ 1 , Σ 2 , which contain w : A w : A w : A and w : B w : B w : B , respectively. Applying ∧ \wedge ∧ yields S ∣ Y , Σ 1 , Σ 2 S|_Y,\Sigma_1,\Sigma_2 S ∣ Y , Σ 1 , Σ 2 .
⟨ x ⟩ I \langle x\rangle^I ⟨ x ⟩ I . The premise S ′ S' S ′ has the same label sets and relational atoms as S S S , so it has the same projections as S S S , except that u : A u : A u : A is added to its X-projection, and it has the same interpolant I I I . Hence, claim (1) follows from IH. For claim (2), let Σ ∈ I ‾ \Sigma\in\overline{I} Σ ∈ I . By IH, TK m ( C ) ⊢ S ∣ Y , Σ , u : A \operatorname{TK}_m(C) \vdash S|_Y,\Sigma,u : A TK m ( C ) ⊢ S ∣ Y , Σ , u : A . The side condition of ⟨ x ⟩ I \langle x\rangle^I ⟨ x ⟩ I provides a propagation path from w w w to u u u in pg ( S ∣ Y ) \operatorname{pg}(S|_Y) pg ( S ∣ Y ) whose string belongs to L x L_x L x , which is also a propagation path in the propagation graph of S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ . Hence, applying ⟨ x ⟩ \langle x\rangle ⟨ x ⟩ to remove u : A u : A u : A yields S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ , as w : ⟨ x ⟩ A ∈ Γ 2 w : \langle x\rangle A \in\Gamma_2 w : ⟨ x ⟩ A ∈ Γ 2 .
[ x ] c I [x]^I_c [ x ] c I . In this case, Γ 2 = Γ 2 ′ \Gamma_2 = \Gamma'_2 Γ 2 = Γ 2 ′ , w : [ x ] A w : [x]A w : [ x ] A with w ∈ C w \in C w ∈ C , and we let I I I denote the interpolant of the premise S ′ = C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 ′ Y , u : A ∥ I S' = C \cup\{u\}; P_X; P_Y \parallel\mathcal{T},wR_xu \vdash\Gamma_1^X \mathbin{\|} \Gamma'_2{}^Y,u : A \parallel I S ′ = C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 ′ Y , u : A ∥ I , so that the interpolant of the conclusion is [ x ] I u w [x]I^{w}_u [ x ] I u w . As u u u is uncommon in S ′ S' S ′ , the X-projection of S ′ S' S ′ is obtained from S ∣ X S|_X S ∣ X by adding w R x u wR_xu w R x u , and its Y-projection is obtained from S ∣ Y S|_Y S ∣ Y by adding w R x u wR_xu w R x u and replacing w : [ x ] A w : [x]A w : [ x ] A with u : A u : A u : A . Moreover, w w w occurs in both projections of S S S , as it is common (Lemma 4.7), whereas u u u does not occur in S S S , and Lab ( I ) ⊆ C ∪ { u } \operatorname{Lab}(I) \subseteq C \cup\{u\} Lab ( I ) ⊆ C ∪ { u } by condition (4) of Definition 4.5. Hence, claim (1) follows from IH by Lemma 6.3(1). For claim (2), IH and Lemma 6.3(2) yield TK m ( C ) ⊢ S ′ ∣ Y , Σ \operatorname{TK}_m(C) \vdash S'|_Y,\Sigma TK m ( C ) ⊢ S ′ ∣ Y , Σ for each Σ ∈ [ x ] I u w \Sigma\in[x]I^w_u Σ ∈ [ x ] I u w . As u u u occurs neither in S ∣ Y S|_Y S ∣ Y nor in Σ \Sigma Σ (since [ x ] I u w [x]I^w_u [ x ] I u w , and hence its orthogonal, contains no labeled formula with label u u u ), applying [ x ] [x] [ x ] with principal formula w : [ x ] A w : [x]A w : [ x ] A to S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ yields S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ .
[ x ] p I [x]^I_p [ x ] p I . In this case, Γ 2 = Γ 2 ′ , w : [ x ] A \Gamma_2 = \Gamma'_2,w : [x]A Γ 2 = Γ 2 ′ , w : [ x ] A , and the premise is S ′ = C ′ ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 ′ Y , u : A ∥ I S' = C'; P_X; P_Y \cup\{u\} \parallel\mathcal{T},wR_xu \vdash\Gamma_1^X \mathbin{\|} \Gamma'_2{}^Y,u : A \parallel I S ′ = C ′ ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 ′ Y , u : A ∥ I . As u u u is private to the Y-component, we have S ′ ∣ X = S ∣ X S'|_X = S|_X S ′ ∣ X = S ∣ X , so claim (1) follows from IH. For claim (2), let Σ ∈ I ‾ \Sigma\in\overline{I} Σ ∈ I . By IH, TK m ( C ) ⊢ S ′ ∣ Y , Σ \operatorname{TK}_m(C) \vdash S'|_Y,\Sigma TK m ( C ) ⊢ S ′ ∣ Y , Σ , where S ′ ∣ Y S'|_Y S ′ ∣ Y is obtained from S ∣ Y S|_Y S ∣ Y by adding w R x u wR_xu w R x u and replacing w : [ x ] A w : [x]A w : [ x ] A with u : A u : A u : A . As u u u is not common, we have u ∉ Lab ( I ) u \notin\operatorname{Lab}(I) u ∈ / Lab ( I ) by condition (4) of Definition 4.5, and so, u u u occurs neither in Σ \Sigma Σ , as Lab ( I ‾ ) ⊆ Lab ( I ) \operatorname{Lab}(\overline{I}) \subseteq\operatorname{Lab}(I) Lab ( I ) ⊆ Lab ( I ) , nor in S ∣ Y S|_Y S ∣ Y , as u u u is fresh. Hence, applying [ x ] [x] [ x ] with principal formula w : [ x ] A w : [x]A w : [ x ] A to S ′ ∣ Y , Σ S'|_Y,\Sigma S ′ ∣ Y , Σ yields S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ .
d x , c I \mathrm{d}_{x,c}^I d x , c I . In this case, we let I I I denote the interpolant of the premise S ′ = C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 Y ∥ I S' = C \cup\{u\}; P_X; P_Y \parallel\mathcal{T},wR_xu \vdash\Gamma_1^X \mathbin{\|} \Gamma_2^Y \mathbin{\|} I S ′ = C ∪ { u } ; P X ; P Y ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 Y ∥ I , where w ∈ C w \in C w ∈ C , so that the interpolant of the conclusion is [ x ] I u w [x]I^w_u [ x ] I u w . As u u u is common in S ′ S' S ′ , both projections of S ′ S' S ′ are obtained from those of S S S by adding w R x u wR_xu w R x u . As in the [ x ] c I [x]^I_c [ x ] c I case, claim (1) follows from IH by Lemma 6.3(1), and IH together with Lemma 6.3(2) yields TK m ( C ) ⊢ S ′ ∣ Y , Σ \operatorname{TK}_m(C) \vdash S'|_Y,\Sigma TK m ( C ) ⊢ S ′ ∣ Y , Σ for each Σ ∈ [ x ] I u w \Sigma\in[x]I^w_u Σ ∈ [ x ] I u w . As u u u does not occur in S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ and w w w occurs in S ∣ Y S|_Y S ∣ Y , an application of d x \mathrm{d}_x d x , which is a rule of TK m ( C ) \operatorname{TK}_m(C) TK m ( C ) as D x ∈ C D_x \in C D x ∈ C , yields S ∣ Y , Σ S|_Y,\Sigma S ∣ Y , Σ , which proves claim (2).
d x , p I \mathrm{d}_{x,p}^I d x , p I . The premise is S ′ = C ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 Y ∥ I S' = C; P_X; P_Y \cup\{u\} \parallel\mathcal{T},wR_xu \vdash\Gamma_1^X \mathbin{\|} \Gamma_2^Y \parallel I S ′ = C ; P X ; P Y ∪ { u } ∥ T , w R x u ⊢ Γ 1 X ∥ Γ 2 Y ∥ I , where w ∈ C ∪ P Y w \in C \cup P_Y w ∈ C ∪ P Y by condition (2) of Definition 4.5. As in the [ x ] p I [x]^I_p [ x ] p I case, S ′ ∣ X = S ∣ X S'|_X = S|_X S ′ ∣ X = S ∣ X , which proves claim (1). For claim (2), let Σ ∈ I ‾ \Sigma\in\overline{I} Σ ∈ I . By IH, T K m ( C ) ⊩ S ′ ∣ Y , Σ TK_{\mathrm{m}}(\mathcal{C}) \Vdash\mathcal{S}'|_Y,\Sigma T K m ( C ) ⊩ S ′ ∣ Y , Σ , where S ′ ∣ Y \mathcal{S}'|_Y S ′ ∣ Y is obtained from S ∣ Y \mathcal{S}|_Y S ∣ Y by adding w R x u wR_xu w R x u . As u ∉ Lab ( I ) u \notin\operatorname{Lab}(\mathcal{I}) u ∈ / Lab ( I ) by condition (4) of Definition 4.5 and w w w occurs in S ∣ Y \mathcal{S}|_Y S ∣ Y , applying d x d_x d x yields S ∣ Y , Σ \mathcal{S}|_Y,\Sigma S ∣ Y , Σ .
The Strong Lyndon Interpolation Theorem
By condition (4) of Definition 4.5, the interpolant I \mathcal{I} I of the conclusion of π i \pi^i π i contains no label other than ρ \rho ρ , which is the only common label of the conclusion. Such an interpolant can be interpreted as a formula in conjunctive normal form (cf. [36 , 39 ] ).
Definition 6.5 (Formula Interpretation of Interpolants). Let I = { ( w : C i , 1 , … , w : C i , k i ) ∣ i ∈ [ n ] } \mathcal{I} = \{(w : C_{i,1}, \ldots, w : C_{i,k_i}) \mid i \in[n]\} I = {( w : C i , 1 , … , w : C i , k i ) ∣ i ∈ [ n ]} be an interpolant with Lab ( I ) ⊆ { w } \operatorname{Lab}(\mathcal{I}) \subseteq\{w\} Lab ( I ) ⊆ { w } . We define the formula interpretation of I \mathcal{I} I to be the formula
⋀ ⋁ I : = ⋀ i ∈ [ n ] ⋁ j ∈ [ k i ] C i , j , \bigwedge\bigvee\mathcal{I} := \bigwedge_{i\in[n]}\bigvee_{j\in[k_i]} C_{i,j}, ⋀⋁ I := i ∈ [ n ] ⋀ j ∈ [ k i ] ⋁ C i , j ,
where we fix an arbitrary order and bracketing of the conjuncts and disjuncts, and where the empty disjunction and empty conjunction are taken to be ⊥ \bot ⊥ and ⊤ \top ⊤ , respectively.
Observe that sig ∘ ( ⋀ ⋁ I ) = sig ∘ ( I ) \operatorname{sig}^{\circ}(\bigwedge\bigvee\mathcal{I}) = \operatorname{sig}^{\circ}(\mathcal{I}) sig ∘ ( ⋀⋁ I ) = sig ∘ ( I ) for each ∘ ∈ { + , − , Σ } \circ\in\{+,-,\Sigma\} ∘ ∈ { + , − , Σ } , as ⊤ \top ⊤ and ⊥ \bot ⊥ have empty signatures. Moreover, by Definition 2.1, \neġ\bigwedge\bigvee\mathcal{I} = \bigvee_{i\in[n]}\bigwedge_{j\in[k_i]}\neġ C_{i,j} , where the empty conjunction and disjunction are ⊤ \top ⊤ and ⊥ \bot ⊥ , respectively.
Lemma 6.6. Let T ⊢ Γ \mathcal{T} \vdash\Gamma T ⊢ Γ be a tree sequent with w ∈ Lab ( T ⊢ Γ ) w \in\operatorname{Lab}(\mathcal{T}\vdash\Gamma) w ∈ Lab ( T ⊢ Γ ) and let I \mathcal{I} I be an interpolant with Lab ( I ) ⊆ { w } \operatorname{Lab}(\mathcal{I}) \subseteq\{w\} Lab ( I ) ⊆ { w } . If T K m ( C ) ⊩ ( T ⊢ Γ , Σ ) TK_{\mathrm{m}}(\mathcal{C}) \Vdash(\mathcal{T}\vdash\Gamma,\Sigma) T K m ( C ) ⊩ ( T ⊢ Γ , Σ ) for each Σ ∈ I \Sigma\in\mathcal{I} Σ ∈ I , then T K m ( C ) ⊩ ( T ⊢ Γ , w : ⋀ ⋁ I ) TK_{\mathrm{m}}(\mathcal{C}) \Vdash(\mathcal{T}\vdash\Gamma,w:\bigwedge\bigvee\mathcal{I}) T K m ( C ) ⊩ ( T ⊢ Γ , w : ⋀⋁ I ) .
Proof. Let I = { ( w : C i , 1 , … , w : C i , k i ) ∣ i ∈ [ n ] } \mathcal{I} = \{(w : C_{i,1}, \ldots, w : C_{i,k_i}) \mid i \in[n]\} I = {( w : C i , 1 , … , w : C i , k i ) ∣ i ∈ [ n ]} . For each i ∈ [ n ] i \in[n] i ∈ [ n ] , we obtain a proof of T ⊢ Γ , w : ⋁ j ∈ [ k i ] C i , j \mathcal{T}\vdash\Gamma,w:\bigvee_{j\in[k_i]}C_{i,j} T ⊢ Γ , w : ⋁ j ∈ [ k i ] C i , j from the proof of T ⊢ Γ , w : C i , 1 , … , w : C i , k i \mathcal{T}\vdash\Gamma,w:C_{i,1},\ldots,w:C_{i,k_i} T ⊢ Γ , w : C i , 1 , … , w : C i , k i by k i − 1 k_i-1 k i − 1 applications of ∨ \vee ∨ if k i ≥ 1 k_i \ge1 k i ≥ 1 , and by an application of w w w introducing w : ⊥ w:\bot w : ⊥ if k i = 0 k_i=0 k i = 0 . If n ≥ 1 n\ge1 n ≥ 1 , then n − 1 n-1 n − 1 applications of ∧ \wedge ∧ yield the desired conclusion. If n = 0 n=0 n = 0 , then ⋀ ⋁ I = ⊤ \bigwedge\bigvee\mathcal{I}=\top ⋀⋁ I = ⊤ , and the desired conclusion is an instance of ⊤ \top ⊤ .
Lemma 6.7. Let T ⊢ Γ \mathcal{T} \vdash\Gamma T ⊢ Γ be a tree sequent with w ∈ Lab ( T ⊢ Γ ) w \in\operatorname{Lab}(\mathcal{T}\vdash\Gamma) w ∈ Lab ( T ⊢ Γ ) and let I \mathcal{I} I be an interpolant with Lab ( I ) ⊆ { w } \operatorname{Lab}(\mathcal{I}) \subseteq\{w\} Lab ( I ) ⊆ { w } . If T K m ( C ) ⊩ ( T ⊢ Γ , Σ ) TK_{\mathrm{m}}(\mathcal{C}) \Vdash(\mathcal{T}\vdash\Gamma,\Sigma) T K m ( C ) ⊩ ( T ⊢ Γ , Σ ) for each Σ ∈ I \Sigma\in\mathcal{I} Σ ∈ I , then TK_{\mathrm{m}}(\mathcal{C}) \Vdash(\mathcal{T}\vdash\Gamma,w:\neġ\bigwedge\bigvee\mathcal{I}) .
Proof. Let I = { ( w : C i , 1 , … , w : C i , k i ) ∣ i ∈ [ n ] } \mathcal{I} = \{(w : C_{i,1}, \ldots, w : C_{i,k_i}) \mid i \in[n]\} I = {( w : C i , 1 , … , w : C i , k i ) ∣ i ∈ [ n ]} , so that \neġ\bigwedge\bigvee\mathcal{I}=\bigvee_{i\in[n]}D_i with D_i:=\bigwedge_{j\in[k_i]}\neġ C_{i,j} . If n = 0 n=0 n = 0 , then I ‾ = { ∅ } \overline{\mathcal{I}}=\{\varnothing\} I = { ∅ } , so T ⊢ Γ \mathcal{T}\vdash\Gamma T ⊢ Γ is provable by assumption, and T ⊢ Γ , w : ⊥ \mathcal{T}\vdash\Gamma,w:\bot T ⊢ Γ , w : ⊥ is provable by w w w . Suppose that n ≥ 1 n\ge1 n ≥ 1 . By n − 1 n-1 n − 1 applications of ∨ \vee ∨ , it suffices to prove T ⊢ Γ , w : D 1 , … , w : D n \mathcal{T}\vdash\Gamma,w:D_1,\ldots,w:D_n T ⊢ Γ , w : D 1 , … , w : D n . If k i = 0 k_i=0 k i = 0 for some i ∈ [ n ] i\in[n] i ∈ [ n ] , then D i = ⊤ D_i=\top D i = ⊤ , and this sequent is an instance of ⊤ \top ⊤ . Otherwise, for every function f f f mapping each i ∈ [ n ] i\in[n] i ∈ [ n ] to an element of [ k i ] [k_i] [ k i ] , we have (w:\neġ C_{1,f(1)},\ldots,w:\neġ C_{n,f(n)})\in\overline{\mathcal{I}} by Definition 4.2, and so, \mathcal{T}\vdash\Gamma,w:\neġ C_{1,f(1)},\ldots,w:\neġ C_{n,f(n)} is provable by assumption. Applying ∧ \wedge ∧ to these sequents for each conjunction D i D_i D i yields the desired sequent.
We are now in a position to prove our main theorem.
Theorem 6.8 (Strong Lyndon Interpolation). Every bridge-free grammar logic K m ( C ) K_{\mathrm{m}}(\mathcal{C}) K m ( C ) has the strong LIP.
Proof. Suppose that A → B ∈ K m ( C ) A\to B\in K_{\mathrm{m}}(\mathcal{C}) A → B ∈ K m ( C ) , where A\to B=\neġ A\vee B . By Theorem 3.8, TK_{\mathrm{m}}(\mathcal{C})\Vdash\vdash\rho:\neġ A\vee B , and so, by the invertibility of ∨ \vee ∨ (Theorem 3.9(3)), there exists a proof of π \pi π of \vdash\rho:\neġ A,\rho:B in T K m ( C ) TK_{\mathrm{m}}(\mathcal{C}) T K m ( C ) . Let I \mathcal{I} I be the interpolation proof of \{\rho\}\vdash\varnothing\vdash\rho:\neġ A\mid\rho:B\mid\mathcal{I} obtained from Theorem 5.7, and let I = ⋀ ⋁ I \mathcal{I}=\bigwedge\bigvee\mathcal{I} I = ⋀⋁ I , which is well-defined as Lab ( I ) ⊆ { ρ } \operatorname{Lab}(\mathcal{I})\subseteq\{\rho\} Lab ( I ) ⊆ { ρ } by condition (4) of Definition 4.5. We show that I \mathcal{I} I is a strong Lyndon interpolant of A → B A\to B A → B .
Condition (3). The L-projection of the conclusion of π i \pi^i π i is \vdash\rho:\neġ A and its R-projection is ⊢ ρ : B \vdash\rho:B ⊢ ρ : B . By Lemma 6.4, TK_{\mathrm{m}}(\mathcal{C})\Vdash(\vdash\rho:\neġ A,\Sigma) for each Σ ∈ I \Sigma\in\mathcal{I} Σ ∈ I , and T K m ( C ) ⊩ ( ⊢ ρ : B , Σ ) TK_{\mathrm{m}}(\mathcal{C})\Vdash(\vdash\rho:B,\Sigma) T K m ( C ) ⊩ ( ⊢ ρ : B , Σ ) for each Σ ∈ I ‾ \Sigma\in\overline{\mathcal{I}} Σ ∈ I . By Lemmas 6.6 and 6.7, we obtain TK_{\mathrm{m}}(\mathcal{C})\Vdash(\vdash\rho:\neġ A,\rho:\mathcal{I}) and TK_{\mathrm{m}}(\mathcal{C})\Vdash(\vdash\rho:\neġ\mathcal{I},\rho:B) , and so, TK_{\mathrm{m}}(\mathcal{C})\Vdash(\vdash\rho:\neġ A\vee\mathcal{I}) and TK_{\mathrm{m}}(\mathcal{C})\Vdash(\vdash\rho:\neġ\mathcal{I}\vee B) by ∨ \vee ∨ . By Theorem 3.8, A → I ∈ K m ( C ) A\to\mathcal{I}\in K_{\mathrm{m}}(\mathcal{C}) A → I ∈ K m ( C ) and I → B ∈ K m ( C ) \mathcal{I}\to B\in K_{\mathrm{m}}(\mathcal{C}) I → B ∈ K m ( C ) .
Conditions (1) and (2). By Lemma 6.1(1) applied to the conclusion of π i \pi^i π i , together with Lemma 2.14, we have
\operatorname{sig}^{+}(\mathcal{I})=\operatorname{sig}^{+}(\overline{\mathcal{I}})\subseteq\operatorname{sig}^{-}(\neġ A)\cap\operatorname{sig}^{+}(B)=\operatorname{sig}^{+}(A)\cap\operatorname{sig}^{+}(B),
\operatorname{sig}^{-}(\mathcal{I})=\operatorname{sig}^{-}(\overline{\mathcal{I}})\subseteq\operatorname{sig}^{+}(\neġ A)\cap\operatorname{sig}^{-}(B)=\operatorname{sig}^{-}(A)\cap\operatorname{sig}^{-}(B).
Last, sig Σ ( I ) = sig Σ ( I ‾ ) ⊆ sig Σ ( A ) ∩ sig Σ ( B ) \operatorname{sig}^{\Sigma}(\mathcal{I})=\operatorname{sig}^{\Sigma}(\overline{\mathcal{I}})\subseteq\operatorname{sig}^{\Sigma}(A)\cap\operatorname{sig}^{\Sigma}(B) sig Σ ( I ) = sig Σ ( I ) ⊆ sig Σ ( A ) ∩ sig Σ ( B ) by Lemma 6.1(2).
We note that our proof of Theorem 6.8 is constructive: given a proof of ⊢ ρ : ¬ ˙ A , ρ : B \vdash\rho: \dot{\neg} A, \rho: B ⊢ ρ : ¬ ˙ A , ρ : B in T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) , the algorithm P a r t \mathsf{Part} Part , together with the rules of T K m I ( C ) \mathsf{TK}^{\mathrm{I}}_{\mathrm{m}}(\mathcal{C}) TK m I ( C ) , computes a strong Lyndon interpolant, and the proofs of A → I A \to I A → I and I → B I \to B I → B in T K m ( C ) \mathsf{TK}_{\mathrm{m}}(\mathcal{C}) TK m ( C ) can be extracted from the proofs of Lemmas 6.4, 6.6, and 6.7. As each of the path conditions T x T_x T x , 4 x 4_x 4 x , B x B_x B x , and 5 x 5_x 5 x is of the form R s ⊆ R x \mathcal{R}_s \subseteq\mathcal{R}_x R s ⊆ R x with s ∈ { x , x ∗ } s \in\{x,x^*\} s ∈ { x , x ∗ } , and seriality conditions do not affect bridge-freeness, we obtain the following corollary by Lemma 2.19.
Corollary 6.9. Let C \mathcal{C} C be a set of path and seriality conditions such that each condition in C \mathcal{C} C is of the form D x D_x D x , T x T_x T x , 4 x 4_x 4 x , B x B_x B x , or 5 x 5_x 5 x for some x ∈ Σ x \in\Sigma x ∈ Σ . Then, K m ( C ) \mathsf{K}_{\mathrm{m}}(\mathcal{C}) K m ( C ) has the strong LIP. In particular, this holds for the multi-modal tense logics obtained by imposing any combination of seriality, reflexivity, transitivity, symmetry, and Euclideanity on the accessibility relations R x \mathcal{R}_x R x with x ∈ Σ x \in\Sigma x ∈ Σ .
Concluding Remarks
In this paper, we established the strong Lyndon interpolation property for bridge-free grammar logics with converses and seriality, which requires interpolants to respect both the polarities of propositional atoms and the indices of modalities, in line with signature-based interpolation in description logics. This class of logics includes the multi-modal tense logics obtained by extending K m \mathsf{K}_{\mathrm{m}} K m with any combination of seriality, reflexivity, transitivity, symmetry, and Euclideanity for each pair of converse modalities, and thus subsumes the indexed tense logics of Sano and Yamasaki [50 ] as well as (since converse modalities can be eliminated in the presence of symmetry) the multi-agent logic S 5 n \mathsf{S5}_n S5 n considered by Bílková et al. [5 ] .
We also showed that the strong LIP fails for certain grammar logics with bridge axioms, which makes the strong LIP a proper strengthening of the LIP over the class of grammar logics. To obtain our main result, we introduced a tripartite partition method for tree sequent proofs, which sorts the labels of each sequent into common labels and labels private to the left or right component, and which only permits relational atoms pointing to common labels to contribute modalities to interpolants. This method was realized by means of a partition algorithm and an interpolation calculus, which together compute a strong Lyndon interpolant, along with proofs of the corresponding implications, from any tree sequent proof of an implication. Our approach is therefore constructive and purely syntactic, and requires no post-processing of the computed interpolants.
Our results also clarify the status of Craig interpolation in description logics (DLs). Under the standard correspondence between modal and description logics, propositional atoms correspond to concept names, modal indices to role names, converse modalities to inverse roles, path conditions to complex role inclusion axioms (RIAs) r 1 ∘ ⋯ ∘ r n ⊑ s r_1 \circ\cdots\circ r_n \sqsubseteq s r 1 ∘ ⋯ ∘ r n ⊑ s , and seriality conditions to seriality axioms ⊤ ⊑ ∃ s . ⊤ \top\sqsubseteq\exists s.\top ⊤ ⊑ ∃ s .⊤ . In DLs, interpolation is formulated relative to ontologies: a DL has the CIP if, whenever O 1 ∪ O 2 ⊨ C 1 ⊑ C 2 \mathcal{O}_1 \cup\mathcal{O}_2 \models C_1 \sqsubseteq C_2 O 1 ∪ O 2 ⊨ C 1 ⊑ C 2 , there exists a concept I I I with O 1 ∪ O 2 ⊨ C 1 ⊑ I \mathcal{O}_1 \cup\mathcal{O}_2 \models C_1 \sqsubseteq I O 1 ∪ O 2 ⊨ C 1 ⊑ I and O 1 ∪ O 2 ⊭ I ⊑ C 2 \mathcal{O}_1 \cup\mathcal{O}_2 \not\models I \sqsubseteq C_2 O 1 ∪ O 2 ⊨ I ⊑ C 2 that only uses concept and role names occurring in both O 1 \mathcal{O}_1 O 1 or C 1 C_1 C 1 and in O 2 \mathcal{O}_2 O 2 or C 2 C_2 C 2 [2 , 52 ] .
It is known that the CIP fails in the presence of role inclusions: already A L C H \mathcal{ALCH} A LC H , the extension of A L C \mathcal{ALC} A LC with role inclusions, lacks the CIP, and so do standard DLs containing it, such as R I Q \mathcal{RIQ} R I Q [2 ] . Consequently, deciding the existence of interpolants in such DLs becomes a non-trivial problem, even if the ontologies only contain role inclusions [2 , 24 ] . Positive results therefore either weaken the notion of interpolant, as in the case of the concept interpolation property for R I Q \mathcal{RIQ} R I Q , which only requires common concept names in an interpolant [38 ] , or restrict the admissible ontologies, as we explain below.
The present work shows that complex RIAs are not necessarily an obstacle, at least for ontologies without general concept inclusions. By Lemma 2.19, a set of RIAs is bridge-free iff each of its RIAs only involves a single role name and its inverse, i.e., is of the form r 1 ∘ ⋯ ∘ r n ⊑ s r_1 \circ\cdots\circ r_n \sqsubseteq s r 1 ∘ ⋯ ∘ r n ⊑ s with r 1 , … , r n ∈ { s , s − } r_1,\ldots,r_n \in\{s,s^{-}\} r 1 , … , r n ∈ { s , s − } , as in the case of transitivity s ∘ s ⊑ s s \circ s \sqsubseteq s s ∘ s ⊑ s or symmetry s − ⊑ s s^{-} \sqsubseteq s s − ⊑ s . Let O \mathcal{O} O be an ontology consisting of an arbitrary set of bridge-free RIAs and possibly seriality axioms, and let C \mathcal{C} C be the corresponding set of path and seriality conditions. As the models of O \mathcal{O} O correspond to C \mathcal{C} C -models, O ⊨ C ⊑ D \mathcal{O} \models C \sqsubseteq D O ⊨ C ⊑ D holds for A L C \mathcal{ALC} A LC concepts C C C and D D D iff the corresponding implication belongs to the bridge-free grammar logic K m ( C ) \mathsf{K}_{\mathrm{m}}(\mathcal{C}) K m ( C ) (cf. Definition 2.5). Hence, Theorem 6.8 yields an A L C I \mathcal{ALCI} A LC I concept I I I with O ⊨ C ⊑ I \mathcal{O} \models C \sqsubseteq I O ⊨ C ⊑ I and O ⊭ I ⊑ D \mathcal{O} \not\models I \sqsubseteq D O ⊨ I ⊑ D that only uses concept and role names occurring in both C C C and D D D , and that additionally respects the polarities of concept names. As the union of two such ontologies is again of this form, this yields the CIP in the above sense for A L C I \mathcal{ALCI} A LC I with ontologies consisting of bridge-free RIAs and seriality axioms, and even its Lyndon variant, in which every concept name occurring positively (negatively) in the interpolant additionally occurs positively (negatively) in both C 1 C_1 C 1 and C 2 C_2 C 2 . By contrast, RIAs that relate distinct role names, such as r ⊑ s r \sqsubseteq s r ⊑ s , are bridges, and the strong LIP may fail in their presence (see the counter-example in Section 2.3).
There are several directions for future research. First, it would be interesting to investigate the strong LIP for broader classes of multi-modal logics. While bridge-freeness is sufficient for the strong LIP, our counter-example (§ 2.3 ) only shows that the property fails in the presence of certain bridge axioms. This raises the question of whether grammar logics with converses that enjoy the strong LIP can be characterized precisely, for instance, in terms of the production rules of their grammars. Second, it would be natural to adapt the tripartite partition method to multi-modal logics beyond grammar logics, whose frame conditions cannot be expressed as path conditions, such as extensions with certain Scott–Lemmon axioms; for such logics, labeled sequent calculi [29 , 51 , 56 ] appear better suited than tree sequents. Third, it would be natural to extend our results to DL ontologies with general concept inclusions, which correspond to the global consequence relation and relative to which signature-based interpolation and Beth definability are usually formulated in DLs [52 ] ; this does not follow from our results by the usual argument, and it would be interesting to determine for which bridge-free grammar logics the strong LIP extends to this setting, and whether explicit definitions can then be computed in the style of [38 ] .
Supplementary Material
Summary of Terminology
Table 1 summarizes the notions used in § 5.1 to classify the formula occurrences, relational atoms, and labels of the input proof π \pi π , together with their effect on the partitioned proof π p \pi^{\mathrm{p}} π p computed by the partition algorithm of § 5.2 . In π p \pi^{\mathrm{p}} π p , sides determine the component of each formula occurrence, and the status of each label determines whether it belongs to the set C \mathsf{C} C , P L \mathsf{P}_{\mathrm{L}} P L , or P R \mathsf{P}_{\mathrm{R}} P R of each partitioned sequent (Lemma 5.6 ); the relational atoms of each partitioned sequent are simply those of the corresponding sequent of π \pi π .
The following facts are useful to keep in mind when reading § 5 : a common relational atom has a common source and is used by both sides (Definition 5.2; no formula occurrence of side Z o p Z^{\mathrm{op}} Z op has a Z Z Z -private label; and no inference with side Z o p Z^{\mathrm{op}} Z op traverses a Z Z Z -private relational atom (Lemma 5.3 ).