Proof Methods and Theorem Proving for Conditional Logics with Strong Centering Valentina Gliozzi1 , Gian Luca Pozzato1,* and Alberto Valese1 1 Dipartimento di Informatica, UniversitΓ  degli Studi di Torino, 10149, Turin, Italy Abstract In this work we continue our investigation on proof methods and theorem proving for Conditional Logics with the selection function semantics. Conditional Logics recently have received a renewed attention and have found several applications in knowledge representation and artificial intelligence. We present a labelled sequent calculus for systems including the axiom of strong centering CS, as well as a theorem prover implementing the sequent calculus in Prolog. Keywords Conditional logics, Sequent calculi, Proof methods, Prolog, Nonmonotonic reasoning, Theorem proving 1. Introduction Conditional Logics have a long history, starting with the seminal works [1, 2, 3, 4, 5] in the seventies. In the last decades, Conditional Logics have found a renewed interest in several fields of artificial intelligence and knowledge representation, from hypothetical reasoning to belief revision, from diagnosis to nonmonotonic reasoning and planning [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]. Conditional Logics are extensions of classical logic by a binary operator β‡’, called conditional operator, used in order to express formulas of the form 𝐴 β‡’ 𝐡. Similarly to modal logics, the semantics of Conditional Logics can be defined in terms of possible world structures. In this respect, Conditional Logics can be seen as a generalization of modal logics (or a type of multi-modal logic) where the conditional operator is a sort of modality indexed by a formula of the same language. However, as a difference with modal logics, the lack of a universally accepted semantics led to a partial underdevelopment of proof methods and theorem provers for these logics. An attempt to fill this gap has been proposed in [17], where labelled sequent calculi for conditional logics with the selection function semantics ([2]) are introduced. Intuitively, the selection function 𝑓 selects, for a world 𝑀 and a formula 𝐴, the set of worlds 𝑓 (𝑀, 𝐴) which CILC’23: 38th Italian Conference on Computational Logic, June 21–23, 2023, Udine, Italy * Corresponding author. $ valentina.gliozzi@unito.it (V. Gliozzi); gianluca.pozzato@unito.it (G. L. Pozzato); alberto.valese@edu.unito.it (A. Valese) Β€ https://www.di.unito.it/~gliozzi (V. Gliozzi); https://www.di.unito.it/~pozzato (G. L. Pozzato); https://www.di.unito.it/~valese (A. Valese)  0000-0003-1045-8018 (V. Gliozzi); 0000-0002-3952-4624 (G. L. Pozzato) Β© 2023 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). CEUR Workshop Proceedings http://ceur-ws.org ISSN 1613-0073 CEUR Workshop Proceedings (CEUR-WS.org) are β€œmost-similar to 𝑀" given the information 𝐴. In normal conditional logics, 𝑓 depends on the set of worlds satisfying 𝐴 rather than on 𝐴 itself, so that 𝑓 (𝑀, 𝐴) = 𝑓 (𝑀, 𝐴′ ) whenever 𝐴 and 𝐴′ are true in the same worlds. A conditional formula 𝐴 β‡’ 𝐡 is true in 𝑀 whenever 𝐡 is true in every world selected by 𝑓 for 𝐴 and 𝑀. Since we adopt the selection function semantics, CK is the fundamental system, it has the same role as the system K (from which it derives its name) in modal logic. Formulas valid in CK are exactly those ones that are valid in every selection function model. Extensions are then obtained by imposing restrictions on the selection function. In [17], CK and some standard extensions with conditions ID (conditional identity), MP (conditional modus ponens), CEM (conditional third excluded middle), and CS (conditional strong centering), as well as most of the combinations of them are investigated. The proposed calculi, called SeqS, are modular, in some cases optimal and have been implemented by several versions of a β€œlean” style Prolog program called CondLean [18, 19, 20]. The original SeqS calculi, as well as their implementation CondLean, have two main draw- backs: (i) they neglect all the systems including both the axioms CEM and MP: the reason is that the proof of cut elimination, needed in order to prove the completeness of the calculi, does not work when such axioms are considered together; (ii) the rules dealing with the conditions CS and CEM are based on a label substitution mechanism that leads to a very inefficient imple- mentation. A solution to (i) has been provided in [20, 21], where calculi for the whole cube of the extensions of CK generated by the above axioms are proposed, including those with both CEM and MP. The theorem prover implementing these calculi has better performance than CondLean, however, the problem (ii) is far from being solved: indeed, the rule for CS is still based on the label substitution mechanism, and the performances of the theorem prover are just increased in systems with both MP and CEM where the rule for CS can be omitted since the axiom (CS) is derivable (see Proposition 3). The relevance of strong centering is motivated by the concept of similarity: if 𝐴 holds in a world 𝑀, then the 𝐴-world which is more similar to 𝑀 is 𝑀 itself. Moreover, strong centering is needed in order to perform inferences that are plausible in several contexts, such as if 𝐴 β‡’ 𝐡 holds and 𝐴 holds, then also 𝐡 holds (a kind of conditional modus ponens), as well as the principle that a subjunctive conditional is false if its antecedent is true and its consequent is false, namely if 𝐴 ∧ ¬𝐡 holds, then so is Β¬(𝐴 β‡’ 𝐡). In this work we try to provide a final solution to the problem of efficient theorem proving for Conditional Logics with selection function semantics. We can identify two main contributions of this work: 1. we further refine labelled sequent calculi for conditional logics in order to tackle question (ii) above. To this aim, we introduce SeqS23 , labelled sequent calculi for CK and the whole cube of the combinations of extensions with axioms CS, CEM, MP, and ID, where also the rule for CS does no longer exploit label substitutions. We show that one can derive a decision procedure from the cut-free calculi, providing a constructive proof of decidability of the logics considered. By estimating the size of the finite derivations of a given sequent, we also obtain a polynomial space complexity bound for these logics; 2. we introduce CondLean 4.0, a Prolog implementation of the proposed calculi SeqS23 : the program is inspired by the β€œlean” methodology, whose aim is to write short programs and exploit the power of Prolog’s engine as much as possible: in this respect, every clause of a single predicate, called prove, implements an axiom or rule of the calculi and the proof search is provided for free by the mere depth-first search mechanism of Prolog, without any additional ad hoc mechanism. We have tested the performances of SeqS23 and compared them with those of the most recent version of CondLean [21], obtaining promising results that confirm that avoiding label substitution leads to a significant improvement of the performances of the prover. 2. Conditional Logics and the Selection Function Semantics In this section we recall Conditional Logics. We first define the language and the syntax of Conditional Logics, then we present the semantics based on a selection function. Last, we provide an axiomatization of the systems of Conditional Logics we consider. Definition 1 (Syntax of Conditional Logics). A propositional conditional language β„’ con- tains: β€’ a set of propositional variables ATM ; β€’ the constants βŠ₯ and ⊀; β€’ the set of connectives Β¬ (unary), ∧, ∨, β†’, β‡’ (binary). Formulas of β„’ are inductively defined as follows: β€’ atomic formulas 𝑃 ∈ ATM , βŠ₯ and ⊀ are formulas of β„’; β€’ given 𝐴 and 𝐡 formulas of β„’, complex formulas ¬𝐴, 𝐴 ∧ 𝐡, 𝐴 ∨ 𝐡, 𝐴 β†’ 𝐡, and 𝐴 β‡’ 𝐡 are formulas of β„’. Let us now introduce the selection function semantics [2]. Intuitively, a conditional formula 𝐴 β‡’ 𝐡 holds in a possible world 𝑀 if 𝐡 holds in all the worlds that are most similar to 𝑀 given the information 𝐴. Such worlds are those selected by the selection function for 𝑀 and 𝐴. We define the selection function semantics as follows: Definition 2 (Selection function semantics). A model is a triple β„³ = βŸ¨π’², 𝑓, [ ]⟩ where: β€’ 𝒲 is a non-empty set of worlds; β€’ 𝑓 is the selection function 𝑓 : 𝒲 Γ— 2𝒲 βˆ’β†’ 2𝒲 β€’ [ ] is the evaluation function, which assigns to an atom 𝑃 ∈ ATM the set of worlds where 𝑃 is true, and is extended to complex formulas as follows: – [βŠ₯] = βˆ… – [⊀] = 𝒲 – [¬𝐴] = 𝒲 βˆ– [𝐴] – [𝐴 ∧ 𝐡] = [𝐴] ∩ [𝐡] – [𝐴 ∨ 𝐡] = [𝐴] βˆͺ [𝐡] – [𝐴 β†’ 𝐡] = (𝒲 βˆ– [𝐴]) βˆͺ [𝐡] – [𝐴 β‡’ 𝐡] = {𝑀 ∈ 𝒲 | 𝑓 (𝑀, [𝐴]) βŠ† [𝐡]} As usual, a formula 𝐹 is valid in a model β„³, written β„³ |= 𝐹 , if it holds in all the worlds of β„³, i.e. β„³ |= 𝐹 if and only if [𝐹 ] = 𝒲. A formula 𝐹 is valid, written |= 𝐹 , if it is valid in all models, i.e. |= 𝐹 if and only if β„³ |= 𝐹 for all β„³. As mentioned above, the selection function 𝑓 selects, for a world 𝑀 and a formula 𝐴, the set of worlds of 𝒲 which are closer/similar to 𝑀 given the information 𝐴. A conditional formula 𝐴 β‡’ 𝐡 holds in a world 𝑀 if the formula 𝐡 holds in all the worlds selected by 𝑓 for 𝑀 and 𝐴. It is worth noticing that we have defined 𝑓 taking [𝐴] rather than 𝐴 (i.e. 𝑓 (𝑀, [𝐴]) rather than 𝑓 (𝑀, 𝐴)) as an argument; this is equivalent to define 𝑓 on formulas, i.e. 𝑓 (𝑀, 𝐴) but imposing β€² β€² that if [𝐴] = [𝐴 ] in the model, then 𝑓 (𝑀, 𝐴) = 𝑓 (𝑀, 𝐴 ). This condition is called normality. The semantics above characterizes the basic conditional logic CK. Formulas that are valid in CK are valid in all selection function models. An axiomatization of this system is given by: β€’ any axiomatization of classical propositional calculus; 𝐴 𝐴→𝐡 β€’ (Modus Ponens) 𝐡 𝐴→𝐡 𝐡→𝐴 β€’ (RCEA) (𝐴 β‡’ 𝐢) ↔ (𝐡 β‡’ 𝐢) (𝐴1 ∧ Β· Β· Β· ∧ 𝐴𝑛 ) β†’ 𝐡 β€’ (RCK) (𝐢 β‡’ 𝐴1 ∧ Β· Β· Β· ∧ 𝐢 β‡’ 𝐴𝑛 ) β†’ (𝐢 β‡’ 𝐡) As for modal logics, in order to perform useful inferences, we can consider extensions of CK by assuming further properties on the selection function. Let us consider, for instance, the conditional third excluded middle, namely the formula (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ ¬𝐡) This formula is not valid: as an example, consider the model β„³1 = ⟨{𝑀, 𝑒, 𝑣}, 𝑓1 , [ ]1 ⟩, where the selection function 𝑓1 is such that 𝑓1 (𝑀, [𝐴]) = {𝑒, 𝑣} and the evaluation is [𝐡]1 = {𝑒}. We have that β„³1 ΜΈ|= (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ ¬𝐡). Indeed, 𝑀 ̸∈ [(𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ ¬𝐡)], since neither 𝑀 ∈ [𝐴 β‡’ 𝐡] nor 𝑀 ∈ [𝐴 β‡’ ¬𝐡]. 𝐴 β‡’ 𝐡 does not hold in 𝑀, since there exists 𝑣, which is similar to 𝑀 given 𝐴 (selected by 𝑓1 for 𝑀 and 𝐴) where 𝐡 does not hold (𝐡 holds only in 𝑒). Similarly, 𝐴 β‡’ ¬𝐡 does not hold in 𝑀, since there exists 𝑒, which is similar to 𝑀 given 𝐴 (selected by 𝑓1 for 𝑀 and 𝐴) where 𝐡 holds. Such a formula is however valid if we restrict our concern to models where the selection function can select at most one world, that is to say imposing the condition: | 𝑓 (𝑀, [𝐴]) | ≀ 1 Obviously, the above counter model β„³1 cannot be considered, in other words either 𝑒 or 𝑣 can be the only world selected by 𝑓 for 𝑀 and 𝐴, then either 𝐴 β‡’ 𝐡 or 𝐴 β‡’ ¬𝐡 holds in 𝑀. We consider the following standard extensions of the basic system of Conditional Logics CK: Logic Axiom Model condition ID 𝐴⇒𝐴 𝑓 (𝑀, [𝐴]) βŠ† [𝐴] CS (𝐴 ∧ 𝐡) β†’ (𝐴 β‡’ 𝐡) 𝑀 ∈ [𝐴] β†’ 𝑓 (𝑀, [𝐴]) βŠ† {𝑀} CEM (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ ¬𝐡) | 𝑓 (𝑀, [𝐴]) |≀ 1 MP (𝐴 β‡’ 𝐡) β†’ (𝐴 β†’ 𝐡) 𝑀 ∈ [𝐴] β†’ 𝑀 ∈ 𝑓 (𝑀, [𝐴]) The above axiomatizations are complete with respect to the respective semantics [2]. We can observe that: Proposition 3. In systems with both axioms (CEM) and (MP), axiom (CS) is derivable. Indeed, for (CEM) we have that | 𝑓 (𝑀, [𝐴]) |≀ 1. For (MP), we have that, if 𝑀 ∈ [𝐴], then 𝑀 ∈ 𝑓 (𝑀, [𝐴]). Therefore, it follows that if 𝑀 ∈ [𝐴], then 𝑓 (𝑀, [𝐴]) = {𝑀}, satisfying the (CS) condition. 3. Sequent Calculi for Conditional Logics with Strong Centering In this section we introduce SeqS23 , a family of labelled sequent calculi for the conditional systems under consideration. The calculi are modular and they are able to deal with the basic system CK as well as with the whole cube of extensions with axioms ID, CS, CEM and MP. The calculi make use of labels to represent possible worlds. We consider a language β„’ and a denumerable alphabet of labels π’œ, whose elements are denoted by x, y, z, .... There are two kinds of labelled formulas: world formulas, denoted by x: A, where x ∈ π’œ and 𝐴 ∈ β„’, used to 𝐴 represent that A holds in a world x; transition formulas, denoted by x βˆ’β†’ y, where x, y ∈ π’œ 𝐴 and 𝐴 ∈ β„’. A transition formula x βˆ’β†’ y represents that y ∈ f (x, [A]). A sequent is a pair βŸ¨Ξ“, Ξ”βŸ©, usually denoted with Ξ“ ⊒ Ξ”, where Ξ“ and Ξ” are multisets of labelled formulas. The intuitive meaning of Ξ“ ⊒ Ξ” is: every model that satisfies all labelled formulas of Ξ“ in the respective worlds (specified by the labels) satisfies at least one of the labelled formulas of Ξ” (in those worlds). Formally: G Definition 4 (Validity of a sequent). Given a model β„³ = βŸ¨π’², 𝑓, [ ]⟩ for β„’, and a label al- phabet π’œ, we consider any mapping 𝐼 : π’œ β†’ 𝒲. Let 𝐹 be a labelled formula, we define β„³ |=𝐼 𝐹 𝐴 as β„³ |=𝐼 π‘₯: 𝐴 if and only if 𝐼(π‘₯) ∈ [𝐴] and β„³ |=𝐼 π‘₯ βˆ’β†’ 𝑦 if and only if 𝐼(𝑦) ∈ 𝑓 (𝐼(π‘₯), [𝐴]). We say that Ξ“ ⊒ Ξ” is valid in β„³ if for every mapping 𝐼 : π’œ β†’ 𝒲, if β„³ |=𝐼 𝐹 for every 𝐹 ∈ Ξ“, then β„³ |=𝐼 𝐺 for some 𝐺 ∈ Ξ”. We say that Ξ“ ⊒ Ξ” is valid in a system (CK or any extension of it) if it is valid in every β„³ satisfying the specific conditions for that system. We say that a sequent Ξ“ ⊒ Ξ” is derivable if it admits a derivation in SeqS23 , i.e. a proof tree, obtained by applying backwards the rules of the calculi, having Ξ“ ⊒ Ξ” as a root and whose leaves are all instances of closing rules, i.e. rules with valid sequents called (𝐴𝑋). As usual, the idea is as follows: in order to prove that a formula 𝐹 is valid in a conditional logic, then one has to check whether the sequent ⊒ π‘₯ : 𝐹 is derivable in SeqS23 , i.e. if we can obtain a proof tree by applying backwards the rules, starting from the root ⊒ π‘₯ : 𝐹 . The novelty with respect to the calculi introduced in [17] and [20] is the following invertible rule for CS, no longer exploiting a label substitution, whose principal formula is a conditional π‘₯ : 𝐴 β‡’ 𝐡 on the right-hand side of the sequent: Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐡 (CS) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡 replacing the following one, introduced in [17]: 𝐴 𝐴 Ξ“, π‘₯ βˆ’β†’ 𝑦 ⊒ Ξ”, π‘₯ : 𝐴 Ξ“[π‘₯/𝑒, 𝑦/𝑒], 𝑒 βˆ’β†’ 𝑒 ⊒ Ξ”[π‘₯/𝑒, 𝑦/𝑒] (CS) 𝐴 Ξ“, π‘₯ βˆ’β†’ 𝑦 ⊒ Ξ” where Ξ“[π‘₯/𝑒, 𝑦/𝑒] (respectively, Ξ”[π‘₯/𝑒, 𝑦/𝑒]) is obtained from Ξ“ (respectively, from Ξ”) by replacing every occurrence of π‘₯ and 𝑦 with a new label 𝑒. The basic idea is as follows: when a conditional π‘₯ : 𝐴 β‡’ 𝐡 belongs to the right-hand side of a sequent, this means that there exists a world 𝑀 selected by 𝑓 for the world represented by π‘₯ and 𝐴 such that 𝐡 does not hold in 𝑀. By the strong centering condition, if the world represented by π‘₯ is an 𝐴 world (left premise), then 𝑀 is necessarily the world itself, then 𝐡 does not hold in it, therefore π‘₯ : 𝐡 is added in the right-hand side of the sequent of the right premise. As an example, consider the following valid sequent in systems with axiom (CS): π‘₯ : 𝐴 ∧ 𝐡 ⊒ π‘₯ : (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) In the calculi SeqS, the derivation could be as follows: (𝐴𝑋) 𝐴 (𝐴𝑋) 𝑣:π΄βŠ’π‘£:𝐴 𝑀 : 𝐡, . . . , 𝑀 βˆ’β†’ 𝑀 ⊒ 𝑀 : 𝐢, 𝑀 : 𝐡, 𝑀 : 𝐷 (𝐴𝑋) 𝐴 𝐴 𝐴 (CS) 𝑒:π΄βŠ’π‘’:𝐴 𝑣 : 𝐴, 𝑣 : 𝐡, 𝑣 βˆ’β†’ 𝑣, 𝑣 βˆ’β†’ 𝑣, 𝑣 βˆ’β†’ 𝑦 ⊒ 𝑣 : 𝐢, 𝑦 : 𝐡, 𝑣 : 𝐷 (𝐴𝑋) 𝐴 𝐴 𝐴 (CS) π‘₯:𝐴⊒π‘₯:𝐴 𝑒 : 𝐴, 𝑒 : 𝐡, 𝑒 βˆ’β†’ 𝑒, 𝑒 βˆ’β†’ 𝑧, 𝑒 βˆ’β†’ 𝑦 ⊒ 𝑧 : 𝐢, 𝑦 : 𝐡, 𝑒 : 𝐷 𝐴 𝐴 𝐴 (CS) π‘₯ : 𝐴, π‘₯ : 𝐡, π‘₯ βˆ’β†’ 𝑀, π‘₯ βˆ’β†’ 𝑧, π‘₯ βˆ’β†’ 𝑦 ⊒ 𝑧 : 𝐢, 𝑦 : 𝐡, 𝑀 : 𝐷 𝐴 𝐴 (β‡’ R) π‘₯ : 𝐴, π‘₯ : 𝐡, π‘₯ βˆ’β†’ 𝑧, π‘₯ βˆ’β†’ 𝑦 ⊒ 𝑧 : 𝐢, 𝑦 : 𝐡, π‘₯ : 𝐴 β‡’ 𝐷 𝐴 (β‡’ R) π‘₯ : 𝐴, π‘₯ : 𝐡, π‘₯ βˆ’β†’ 𝑦 ⊒ 𝑦 : 𝐡, π‘₯ : 𝐴 β‡’ 𝐢, π‘₯ : 𝐴 β‡’ 𝐷 (β‡’ R) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 β‡’ 𝐢, π‘₯ : 𝐴 β‡’ 𝐷 (∨R) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) (∨R) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) (∧L) π‘₯ : 𝐴 ∧ 𝐡 ⊒ π‘₯ : (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) whereas in the novel calculi SeqS23 one can obtain the following, shorter derivation: (𝐴𝑋) (𝐴𝑋) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴, . . . π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐡, . . . (CS) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 β‡’ 𝐢, π‘₯ : 𝐴 β‡’ 𝐷 (∨R) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) (∨R) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) (∧L) π‘₯ : 𝐴 ∧ 𝐡 ⊒ π‘₯ : (𝐴 β‡’ 𝐡) ∨ (𝐴 β‡’ 𝐢) ∨ (𝐴 β‡’ 𝐷) Figure 1: Rules of sequent calculi SeqS23 . The calculi SeqS23 are shown in Figure 1. They satisfy basic structural properties, namely (𝐴𝑋) (𝐴𝑋) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐡 (CS) π‘₯ : 𝐴, π‘₯ : 𝐡 ⊒ π‘₯ : 𝐴 β‡’ 𝐡 (∧L) π‘₯:𝐴∧𝐡 ⊒π‘₯:𝐴⇒𝐡 (β†’ R) ⊒ π‘₯ : (𝐴 ∧ 𝐡) β†’ (𝐴 β‡’ 𝐡) Figure 2: A derivation of CS in SeqS23 . height-preserving admissibility of weakening, height-preserving invertibility of the rules (with the exception of (EQ)), height-preserving admissibility of contraction. Moreover, the following properties are needed in order to prove the admissibility of the cut rule (see Theorem 7 below), in turn needed to prove the completeness of the calculi: 𝐴 Proposition 5. If Ξ“ ⊒ Ξ”, π‘₯ βˆ’β†’ 𝑦 is derivable in SeqS23 in systems with the rule (CS), then 𝐴′ either (i) Ξ“ ⊒ Ξ” is derivable in SeqS23 or (ii) π‘₯ = 𝑦 or (iii) there exists π‘₯ βˆ’β†’ 𝑦 ∈ Ξ“ such that 𝐴′ 𝐴 π‘₯ βˆ’β†’ 𝑦 ⊒ π‘₯ βˆ’β†’ 𝑦 is derivable in SeqS23 . 𝐴 Proof. (sketch) By induction on the height of the derivation of Ξ“ ⊒ Ξ”, π‘₯ βˆ’β†’ 𝑦. Intuitively, if 𝐴 the transition formula π‘₯ βˆ’β†’ 𝑦 is used in the derivation, then either it is the principal formula in a backward application of (MP), then it must be π‘₯ = 𝑦 and (𝑖𝑖) holds, otherwise it is the principal formula in a backward application of (EQ), therefore there exists another transition 𝐴′ 𝐴′ 𝐴 formula π‘₯ βˆ’β†’ 𝑦 ∈ Ξ“ such that π‘₯ βˆ’β†’ 𝑦 ⊒ π‘₯ βˆ’β†’ 𝑦 is derivable in SeqS23 , thus (𝑖𝑖𝑖) holds. On 𝐴 the contrary, if π‘₯ βˆ’β†’ 𝑦 is not used in the derivation, then we have that also Ξ“ ⊒ Ξ” is derivable, thus (𝑖) holds. β–  The following proposition states that, given a derivable sequent Ξ“ ⊒ Ξ”, the sequent obtained 𝐴 𝐴′ by replacing in Ξ“ and/or Ξ” one or more transition formulas π‘₯ βˆ’β†’ 𝑦 with π‘₯ βˆ’β†’ 𝑦, where 𝐴 𝐴∨𝐡 𝐴∨𝐡 and 𝐴′ are equivalent1 , is derivable too. For instance, if Ξ“, π‘₯ βˆ’β†’ 𝑦, π‘₯ βˆ’β†’ 𝑧 ⊒ Ξ” is derivable, 𝐴∨𝐡 ¬𝐴→𝐡 ¬𝐴→𝐡 ¬𝐴→𝐡 so are the sequents Ξ“, π‘₯ βˆ’β†’ 𝑦, π‘₯ βˆ’β†’ 𝑧 ⊒ Ξ” and Ξ“, π‘₯ βˆ’β†’ 𝑦, π‘₯ βˆ’β†’ 𝑧 ⊒ Ξ”. 𝐴′ 𝐴 Proposition 6. If π‘₯ βˆ’β†’ 𝑦 ⊒ π‘₯ βˆ’β†’ 𝑦 and Ξ“ ⊒ Ξ” are derivable in SeqS23 , then Ξ“β€² ⊒ Ξ” is also derivable in in SeqS23 , where Ξ“β€² is obtained by replacing in Ξ“ any number of transition formulas 𝐴 𝐴′ π‘₯ βˆ’β†’ 𝑦 with π‘₯ βˆ’β†’ 𝑦. The proof is by induction on the height of the derivation of Ξ“ ⊒ Ξ”, is straightforward, therefore left to the reader in order to save space. As mentioned, we can show that the following cut rule is admissible: 1 As usual, this means that both 𝐴 β†’ 𝐴′ and 𝐴′ β†’ 𝐴 are valid. Theorem 7. The cut rule: Ξ“ ⊒ Ξ”, 𝐹 𝐹, Ξ“ ⊒ Ξ” (𝑐𝑒𝑑) Ξ“βŠ’Ξ” where 𝐹 is any labelled formula, is admissible in SeqS23 , i.e. if Ξ“ ⊒ Ξ”, 𝐹 and 𝐹, Ξ“ ⊒ Ξ” are derivable in SeqS23 , so is Ξ“ ⊒ Ξ”. Proof. We proceed in the standard way by a double induction over the complexity of the cut formula and the sum of the heights of the derivations of the two premises of cut, namely we replace one cut by one or several cuts on formulas of smaller complexity, or on sequents derived by shorter derivations. To save space, we show the most interesting case involving the novel rule (CS) and we left the other cases to the reader. Consider the case in which the proof is ended as follows: 𝐴 Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 (*) Ξ“, π‘₯ : 𝐴 β‡’ 𝐡 ⊒ Ξ”, π‘₯ βˆ’β†’ 𝑦 Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐡 Ξ“, π‘₯ : 𝐴 β‡’ 𝐡, 𝑦 : 𝐡 ⊒ Ξ” (CS) (β‡’ 𝐿) (**) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡 Ξ“, π‘₯ : 𝐴 β‡’ 𝐡 ⊒ Ξ” (𝑐𝑒𝑑) Ξ“βŠ’Ξ” Since weakening is admissible and the fact that (**) is derivable, we have that also (♣) Ξ“ ⊒ 𝐴 Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ βˆ’β†’ 𝑦 is derivable. We can apply the inductive hypothesis on the sum of 𝐴 the heights to cut (♣) and (*) to obtain a derivation of (β™ ) Ξ“ ⊒ Ξ”, π‘₯ βˆ’β†’ 𝑦. By Proposition 5 we have that either (i) Ξ“ ⊒ Ξ” is derivable, and we are done, or (ii) π‘₯ = 𝑦, or (iii) there exists 𝐴′ 𝐴′ 𝐴 π‘₯ βˆ’β†’ 𝑦 ∈ Ξ“ such that π‘₯ βˆ’β†’ 𝑦 ⊒ π‘₯ βˆ’β†’ 𝑦 is derivable. In case (ii), the proof is ended as follows: 𝐴 (1) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 (4) Ξ“, π‘₯ : 𝐴 β‡’ 𝐡 ⊒ Ξ”, π‘₯ βˆ’β†’ π‘₯ (2) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐡 (5) Ξ“, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐡 ⊒ Ξ” (CS) (β‡’ 𝐿) (3) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡 (6) Ξ“, π‘₯ : 𝐴 β‡’ 𝐡 ⊒ Ξ” (𝑐𝑒𝑑) Ξ“βŠ’Ξ” Since weakening is height-preserving admissible, since (3) is derivable, so is (3β€² ) Ξ“, π‘₯ : 𝐡 ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡. We can apply the inductive hypothesis on the sum of the heights of the derivations of the two premises to cut (3β€² ) and (5), to obtain a derivation of (7) Ξ“, π‘₯ : 𝐡 ⊒ Ξ”. Similarly, since (6) is derivable, then so is (6β€² ) Ξ“, π‘₯ : 𝐴 β‡’ 𝐡 ⊒ Ξ”, π‘₯ : 𝐡, and we can apply the inductive hypothesis on the sum of the heights to cut (6β€² ) and (2) and obtain a proof of (8) Ξ“ ⊒ Ξ”, π‘₯ : 𝐡. We can the conclude that Ξ“ ⊒ Ξ” is derivable by applying the inductive hypothesis on the complexity of the cut formula to (7) and (8). 𝐴 𝐴′ In case (iii), by Proposition 6 and the fact that also π‘₯ βˆ’β†’ 𝑦 ⊒ π‘₯ βˆ’β†’ 𝑦 is derivable, we have 𝐴 𝐴′ that Ξ“β€² , π‘₯ βˆ’β†’ 𝑦 ⊒ Ξ” is derivable, where Ξ“ = Ξ“β€² , π‘₯ βˆ’β†’ 𝑦. By applying the inductive hypothesis 𝐴 on the complexity of the cut formula, we conclude by cutting it with (β™ ) Ξ“ ⊒ Ξ”, π‘₯ βˆ’β†’ 𝑦 and we are done. β–  Theorem 8 (Soundness and completeness). Given a conditional formula 𝐹 , it is valid in a conditional logic if and only if it is derivable in the corresponding calculus of SeqS23 , that is to say |= 𝐹 if and only if ⊒ π‘₯ : 𝐹 is derivable in SeqS23 . Proof. Concerning the soundness, we have to prove that, if a sequent Ξ“ ⊒ Ξ” is derivable, then the sequent is valid. This can be done by induction on the height of the derivation of Ξ“ ⊒ Ξ”. The basic cases are those corresponding to derivations of height 0, that is to say instances of (𝐴𝑋). It is easy to see that, in all these cases, Ξ“ ⊒ Ξ” is a valid sequent. As an example, consider Ξ“, π‘₯ : 𝑃 ⊒ Ξ”, π‘₯ : 𝑃 : consider every model β„³ and every mapping 𝐼 satisfying all formulas in the left-hand side of the sequent, then also π‘₯ : 𝑃 . This means that 𝐼(π‘₯) ∈ [𝑃 ], but then we have that β„³ satisfies via 𝐼 at least a formula in the right-hand side of the sequent, the same π‘₯ : 𝑃 . For the inductive step, we proceed by considering each rule of the calculi SeqS23 in order to check that, if the premise(s) is (are) valid sequent(s), to which we can apply the inductive hypothesis, so is the conclusion. To save space, we only present the case of the novel (CS), the other ones are left to the reader. Let us consider a derivation ended as follows: (1) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐴 (2) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡, π‘₯ : 𝐡 (CS) (3) Ξ“ ⊒ Ξ”, π‘₯ : 𝐴 β‡’ 𝐡 By inductive hypothesis, the sequents (1) and (2) are valid. By absurd, suppose that (3) is not, that is to say there exists a model β„³ and a mapping 𝐼 satisfying all formulas in Ξ“ but falsifying all formulas in the right-hand side of the sequent, namely all formulas in Ξ” and π‘₯ : 𝐴 β‡’ 𝐡. Concerning the latter, there exists a world 𝑀 such that (*) 𝑀 ∈ 𝑓 (𝐼(π‘₯), [𝐴]) and (**) 𝑀 ̸∈ [𝐡]. By the validity of (1), we have that, since β„³ satisfies via 𝐼 all formulas in Ξ“, at least one formula in the right-hand side of the sequent must be satisfied by β„³ via 𝐼 too. Necessarily, we have that β„³ satisfies π‘₯ : 𝐴 (all formulas in Ξ” are falsified): this means that 𝐼(π‘₯) ∈ [𝐴]. By the strong centering condition, it turns out that 𝑓 (𝐼(π‘₯), [𝐴]) βŠ† {𝐼(π‘₯)}. Given (*), we have that 𝐼(π‘₯) = 𝑀. By the validity of (2), reasoning in the same way we have that 𝐼(π‘₯) = 𝑀 ∈ [𝐡], contradicting (**). The completeness is an easy consequence of the admissibility of the cut rule (Theorem 7): by induction on the complexity of the formulas we can prove that, if a formula 𝐹 is valid in a conditional logic, then ⊒ π‘₯ : 𝐹 is derivable in SeqS23 . It can be shown that axioms are derivable and that the set of derivable formulas is closed under (Modus Ponens), (RCEA), and (RCK). A derivation of (CS) is provided in Figure 2. For the other axioms and rules, we remind the reader to [17, 20] in order to save space. β–  The presence of labels and of the rules (β‡’ L), (β‡’ R), (ID), (MP), (CEM), and (CS), which increase the complexity of the sequent in a backward proof search, is a potential cause of a non-terminating proof search. However, with a similar argument to the one proposed in [17], we can define a procedure that can apply such rules in a controlled way and introducing a finite number of labels, ensuring termination. Intuitively, it can be shown that it is useless to apply (β‡’ L) and (β‡’ R) on π‘₯ : 𝐴 β‡’ 𝐡 by introducing (looking backward) the same transition formula 𝐴 π‘₯ βˆ’β†’ 𝑦 more than once in each branch of a proof tree. Similarly, it is useless to apply (ID), (MP), (CEM), and (CS) on the same formula more than once in a backward proof search on each branch of a derivation. This leads to the decidability of the given logics: Theorem 9 (Decidability). Conditional Logics CK and all its extensions with axioms ID, MP, CS, CEM and all their combinations are decidable. It can be shown that provability in all the Conditional Logics considered is decidable in 𝑂(𝑛2 log 𝑛) space, we omit the proof which is essentially the same as in [17]. 4. The Theorem Prover CondLean 4.0 In this section we introduce CondLean 4.0, a Prolog implementation of the calculi SeqS23 introduced in the previous section. As already mentioned, the prover improves the existing provers for that logics [19, 18, 21] and is inspired to the β€œlean” methodology, introduced by Beckert and Posegga in the middle of the 90s [22, 23, 24]: they have proposed a very elegant and extremely efficient first-order theorem prover, called leanTAP, consisting of only five Prolog clauses. The basic idea of the β€œlean” methodology is β€œto achieve maximal efficiency from minimal means” [22] by writing short programs and exploiting the power of Prolog’s engine as much as possible. Moreover, it is straightforward to prove soundness and completeness of the theorem prover by exploiting the one to one correspondence between axioms/rules of SeqS23 and clauses of CondLean 4.0. Let us now describe the theorem prover CondLean 4.0 in detail. Each component of a sequent is implemented by a list of formulas, partitioned into three sub-lists: atomic formulas, transitions and complex formulas. Atomic and complex formulas are implemented by a Prolog list of the form [x,a], where x is a Prolog constant and a is a formula. 𝐴 A transition formula x βˆ’β†’ y is implemented by a Prolog list of the form [x,a,y]. Labels are implemented by Prolog constants. The sequent calculi are implemented by the predicate prove(Gamma, Delta, Labels, Rcond, LCond, Tree) which succeeds if and only if Ξ“ ⊒ Ξ” is derivable in SeqS23 , where Gamma and Delta are the lists implementing the multisets Ξ“ and Ξ”, respectively, and Labels is the list of labels introduced in that branch. Each clause of the prove predicate implements one axiom or rule of SeqS23 . Further arguments RCond and LCond are used in order to ensure the termination of the proof search, essentially by restricting the application of rules (β‡’ L) and (β‡’ R), copying their principal formulas in both the premises (more details are provided here below). Tree is an output term: if the proof search succeeds, it matches a Prolog representation of the derivation found by the theorem prover. The theorem prover proceeds as follows. First of all, if Ξ“ ⊒ Ξ” is an axiom, then the goal will succeed immediately by using the clauses for the axioms. If it is not, then the first applicable rule is chosen. The ordering of the clauses is such that the application of the branching rules is postponed as much as possible. Concerning the interplay among the rules dealing with conditional formulas on the right-hand side of a sequent, the new rule (CS) rule is applied first: intuitively, this is needed in order to check whether the conditional formula under consideration can be handled by the current world itself, otherwise the rule (β‡’ R), which introduces a new label in a backward proof search, it is first applied and, if this does not lead to a derivation, the rule (CEM) – if available – is applied. As mentioned here above, arguments RCond and LCond are used in order to ensure the termination of the proof search by controlling the application of the rules (β‡’ L) and (β‡’ R): indeed, these rules copy the conditional formula π‘₯ : 𝐴 β‡’ 𝐡 to which they are applied in their premises, therefore we need to avoid redundant applications that, otherwise, would lead to expand an infinite branch. As an example, RCond is a Prolog list containing all the formulas π‘₯ : 𝐴 β‡’ 𝐡 to which the rule (β‡’ R) has been already applied on the current branch: such a rule will be then applied to π‘₯ : 𝐴 β‡’ 𝐡 only if it does not belong to the list RCond. A similar mechanism is implemented for extensions of CK, namely further suitable arguments are added to the predicate prove to keep track of the information needed to avoid useless and uncontrolled applications of the rules (MP), (ID), (CEM), and (CS), which copy their principal formulas in their premise(s). Let us now present some clauses of CondLean 4.0. As a first example, the clause for the axiom checking whether the same atomic formula occurs in both the left and the right hand side of a sequent is implemented as follows: prove([LitGamma,_,_],[LitDelta,_,_],_,_,_,tree(ax)):- member(F,LitGamma),member(F,LitDelta),!. It is easy to observe that the rule succeeds when the same labelled formula 𝐹 belongs to both the right and the left hand side of the sequent under investigation, completing the proof search: indeed, no recursive call to the predicate prove is performed, and the output term Tree matches a representation of a leaf in the derivation (tree(ax)). As another example, here is the clause implementing (β‡’ L): prove([LitGamma,TransGamma,ComplexGamma],[LitDelta,TransDelta,ComplexDelta], Labels, RCond, LCond, CS, tree(condL,SubTree1,SubTree2)):- member([X,A => B],ComplexGamma), select([[X,A => B],Used],Cond,TempCond), member(Y,Labels), (𝑖) βˆ–+member([Y,[X,A => B]],LCond),!, (𝑖𝑖) put([Y,B],LitGamma,ComplexGamma,NewLitGamma,NewComplexGamma), prove([[[X, A => B],[[X,C,Y] | Used]] | TempCond], [LitGamma,TransGamma,ComplexGamma], [LitDelta,[[X,A,Y]|TransDelta],ComplexDelta],Labels), prove([[[X, A => B],[[X,C,Y] | Used]] | TempCond], [NewLitGamma,TransGamma,NewComplexGamma], [LitDelta,TransDelta,ComplexDelta],Labels). The predicate put is used to put the labelled formula [Y,A] in the proper sub-list of the left- hand side of the sequent. The recursive calls to prove implement the proof search on the two premises. The output term Tree matches a Prolog term tree(condL,SubTree1,SubTree2), representing a tree with two branches, corresponding to the subtrees of the two premises SubTree1 and SubTree2 obtained by an application of the rule condL. As mentioned, in order to ensure termination, in lines 𝑖 and 𝑖𝑖 the theorem prover checks whether (β‡’ L) has been already applied on the current branch to the conditional formula 𝐴 π‘₯ : 𝐴 β‡’ 𝐡 by using the label 𝑦, in other words by introducing π‘₯ βˆ’β†’ 𝑦 and 𝑦 : 𝐡 in the premises. This avoids useless applications of the rule, by adopting the same label. Let us now show the code of the novel rule (CS): prove(Gamma,[LitDelta,TransDelta,ComplexDelta], Labels, RCond, LCond, CS, tree(cs,SubTree1,SubTree2)):- member([X,A => B],ComplexDelta), βˆ–+member([X,A => B],CS),!, (𝑖𝑖𝑖) put([X,A],LitDelta,ComplexDelta,LitDelta1,ComplDelta1), put([X,B],LitDelta,ComplexDelta,LitDelta2,ComplDelta2), prove(Gamma, [LitDelta1,TransDelta,ComplexDelta1], Labels, RCond, LCond, [ [X,A => B] | CS], SubTree1), prove(Gamma, [LitDelta2,TransDelta,ComplexDelta2], Labels, RCond, LCond, [ [X,A => B] | CS], SubTree2). Also for this rule, in order to ensure termination, the theorem prover checks whether (CS) has been already applied on the current branch to the conditional formula π‘₯ : 𝐴 β‡’ 𝐡, in order to avoid further – useless – applications (line 𝑖𝑖𝑖). In order to search a derivation of a sequent Ξ“ ⊒ Ξ”, the theorem prover proceeds as follows. First, if Ξ“ ⊒ Ξ” is an axiom, the goal will succeed immediately by using the clauses for the axioms. If it is not, then the first applicable rule is chosen, e.g. if ComplexGamma contains a formula [X,A and B], then the clause implementing the rule (∧ L) is applied, invoking prove on its unique premise. The prover proceeds in a similar way for the other rules. As already mentioned, the ordering of the clauses is such that the application of the branching rules is postponed as much as possible. In order to check whether a formula is valid in one of the considered systems, one has just to invoke the following auxiliary predicate: pr(Formula) or pr(Formula,ProofTree) which wraps the prove predicate by a suitable initialization of its arguments. 5. Performance of CondLean 4.0 We have tested CondLean 4.0 and we have compared its performance with those of the last version of CondLean [21]. We have tested the theorem prover over both: β€’ a set of valid formulas β€’ a set of randomly generated formulas, either valid or not. We have observed that, over valid formulas, the performances of CondLean 4.0 are improved of 12, 35% with respect to its predecessor. As an example, running both the provers over the formula (𝐴 ∧ 𝐡1 ∧ 𝐡2 ∧ . . . ∧ 𝐡50 ) β†’ ((𝐴 β‡’ 𝐡1 ) ∨ (𝐴 β‡’ 𝐡2 ) ∨ . . . ∨ (𝐴 β‡’ 𝐡50 )) CondLean 4.0 is able to build a derivation in 27 ms, against the 567 ms needed by the prover adopting label substitution. Over randomly generated formulas, the statistics are even better: CondLean 4.0 provides an improvement of the performances of about 35%. We can then observe that its performance are promising, especially concerning cases in which it has to provide a negative answer for a not valid formula: this is justified by the fact that the previous implementations have to spend a lot of time in computing the inefficient label substitution mechanism, needed to succeed. CondLean 4.0 is available for free download at https://gitlab2.educ.di.unito.it/pozzato/ condlean-4.0.git, where one can also find Prolog source files used in order to evaluate the performances described in this section. 6. Conclusions, Related Works, Future Issues In this work we have introduced CondLean 4.0, a theorem prover for Conditional Logics implementing labelled sequent calculi for the basic system CK and the whole cube of extensions with well established axioms ID, MP, CEM, and CS. Concerning the last one, known as conditional strong centering, the calculi considered are new, obtained from existing calculi [20] by replacing a rule computing a label substitution with a standard one, and are of their own interest. The performances of CondLean 4.0 seem promising and are better than those of its predecessors [19, 18, 21]: this is quite obvious if we consider that, in the most recent version of the prover, condition (CS) is handled either by a complicated and inefficient label substitution or by the combination of the rules for (CEM) and (MP) in systems allowing both of them, since in these logics (CS) is derivable (Proposition 3). Such better performances witness that avoiding label substitution is a concrete step towards efficient theorem proving for Conditional Logics. Concerning related works, we mention [17], where combinations of the conditional third excluded middle (CEM) and conditional modus ponens (MP) are neglected, and [25], where strong centering (CS) is replaced by the condition (CSO). We plan to extend our work in several directions. First, we aim at extending the calculi and the implementation to stronger Conditional Logics. Moreover, we aim at extending the prover by adopting standard refinements, state of the art heuristics, and data structures, as well as by a graphical web interface for it. We also aim at extending the set of formulas adopted in the performance evaluation, in order to provide a more detailed and structured comparison, for instance parametrizing statistics with respect to the level of nesting of the conditional operator β‡’ in formulas. Last, we are currently working on an extension of CondLean 4.0 which is able to show a countermodel in case of a failed proof: in a XAI perspective, it is obviously crucial to provide a derivation showing that a formula/a sequent is valid as our prover currently does, however it is also important to show a counterexample when this is not the case. References [1] D. Lewis, Counterfactuals, Basil Blackwell Ltd (1973). [2] D. Nute, Topics in Conditional Logic, Reidel, Dordrecht, 1980. [3] R. Stalnaker, A theory of conditionals, in: N. Rescher (Ed.), Studies in Logical Theory, Blackwell, 1968, pp. 98–112. [4] B. F. Chellas, Basic conditional logics, Journal of Philosophical Logic 4 (1975) 133–153. [5] J. P. Burgess, Quick completeness proofs for some logics of conditionals, Notre Dame Journal of Formal Logic 22 (1981) 76–84. [6] S. Kraus, D. Lehmann, M. Magidor, Nonmonotonic reasoning, preferential models and cumulative logics, Artificial Intelligence 44 (1990) 167–207. [7] J. P. Delgrande, A first-order conditional logic for prototypical properties, Artificial Intelligence 33 (1987) 105–130. [8] N. Friedman, J. Y. Halpern, Plausibility measures and default reasoning, Journal of the ACM 48 (2001) 648–685. [9] L. Giordano, V. Gliozzi, N. Olivetti, G. L. Pozzato, Analytic tableaux for KLM preferential and cumulative logics, in: G. Sutcliffe, A. Voronkov (Eds.), Logic for Programming, Artificial Intelligence, and Reasoning, 12th International Conference, LPAR 2005, Montego Bay, Jamaica, December 2-6, 2005, Proceedings, volume 3835 of Lecture Notes in Computer Science, Springer, 2005, pp. 666–681. URL: https://doi.org/10.1007/11591191_46. doi:10. 1007/11591191\_46. [10] G. Grahne, Updates and counterfactuals, Journal of Logic and Computation 8 (1998) 87–117. [11] L. Giordano, V. Gliozzi, N. Olivetti, Weak agm postulates and strong ramsey test: a logical formalization, Artificial Intelligence 168 (2005) 1–37. [12] L. Giordano, V. Gliozzi, N. Olivetti, Iterated belief revision and conditional logic, Studia Logica 70 (2002) 23–47. [13] D. M. Gabbay, L. Giordano, A. Martelli, N. Olivetti, M. L. Sapino, Conditional reasoning in logic programming, Journal of Logic Programming 44 (2000) 37–74. [14] C. B. Schwind, Causality in action theories, Electronic Transactions on Artificial Intelli- gence (ETAI) 3 (1999) 27–50. [15] L. Giordano, C. Schwind, Conditional logic of actions and causation, Artificial Intelligence 157 (2004) 239–279. [16] V. Genovese, L. Giordano, V. Gliozzi, G. L. Pozzato, Logics in access control: a conditional approach, Journal of Logic and Computation 24 (2014) 705–762. URL: https://doi.org/10. 1093/logcom/exs040. doi:10.1093/logcom/exs040. [17] N. Olivetti, G. L. Pozzato, C. B. Schwind, A Sequent Calculus and a Theorem Prover for Standard Conditional Logics, ACM Transactions on Computational Logics (ToCL) 8 (2007). [18] N. Olivetti, G. L. Pozzato, Condlean: A theorem prover for conditional logics, in: M. C. Mayer, F. Pirri (Eds.), Automated Reasoning with Analytic Tableaux and Re- lated Methods, International Conference, TABLEAUX 2003, Rome, Italy, September 9-12, 2003. Proceedings, volume 2796 of Lecture Notes in Computer Science, Springer, 2003, pp. 264–270. URL: https://doi.org/10.1007/978-3-540-45206-5_23. doi:10.1007/ 978-3-540-45206-5\_23. [19] N. Olivetti, G. L. Pozzato, Condlean 3.0: Improving condlean for stronger conditional logics, in: B. Beckert (Ed.), Automated Reasoning with Analytic Tableaux and Related Methods, International Conference, TABLEAUX 2005, Koblenz, Germany, September 14-17, 2005, Proceedings, volume 3702 of Lecture Notes in Computer Science, Springer, 2005, pp. 328–332. URL: https://doi.org/10.1007/11554554_27. doi:10.1007/11554554\_27. [20] N. Panic, G. L. Pozzato, Efficient theorem proving for conditional logics with conditional excluded middle, in: R. Calegari, G. Ciatto, A. Omicini (Eds.), Proceedings of the 37th Italian Conference on Computational Logic, Bologna, Italy, June 29 - July 1, 2022, volume 3204 of CEUR Workshop Proceedings, CEUR-WS.org, 2022, pp. 217–231. URL: http://ceur-ws. org/Vol-3204/paper_22.pdf. [21] N. Olivetti, N. Panic, G. L. Pozzato, Labelled sequent calculi for conditional logics: Con- ditional excluded middle and conditional modus ponens finally together, in: A. Dovier, A. Montanari, A. Orlandini (Eds.), AIxIA 2022 - Advances in Artificial Intelligence - XXIst International Conference of the Italian Association for Artificial Intelligence, AIxIA 2022, Udine, Italy, November 28 - December 2, 2022, Proceedings, volume 13796 of Lecture Notes in Computer Science, Springer, 2022, pp. 345–357. URL: https://doi.org/10.1007/ 978-3-031-27181-6_24. doi:10.1007/978-3-031-27181-6\_24. [22] B. Beckert, J. Posegga, leantap: Lean tableau-based deduction, Journal of Automated Reasoning 15 (1995) 339–358. [23] B. Beckert, J. Posegga, Logic programming as a basis for lean automated deduction., Journal of Logic Programming 28 (1996) 231–236. [24] M. Fitting, leantap revisited, Journal of Logic and Computation 8 (1998) 33–47. [25] R. Alenda, N. Olivetti, G. L. Pozzato, Nested sequent calculi for normal conditional logics, Journal of Logic and Computation 26 (2016) 7–50. doi:10.1093/logcom/ext034.