<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Proof Methods and Theorem Proving for Conditional Logics with Strong Centering</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Valentina</forename><surname>Gliozzi</surname></persName>
							<email>valentina.gliozzi@unito.it</email>
							<affiliation key="aff0">
								<orgName type="department">Dipartimento di Informatica</orgName>
								<orgName type="institution">Università degli Studi di Torino</orgName>
								<address>
									<postCode>10149</postCode>
									<settlement>Turin</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Gian</forename><forename type="middle">Luca</forename><surname>Pozzato</surname></persName>
							<email>gianluca.pozzato@unito.it</email>
							<affiliation key="aff0">
								<orgName type="department">Dipartimento di Informatica</orgName>
								<orgName type="institution">Università degli Studi di Torino</orgName>
								<address>
									<postCode>10149</postCode>
									<settlement>Turin</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Alberto</forename><surname>Valese</surname></persName>
							<email>alberto.valese@edu.unito.it</email>
							<affiliation key="aff0">
								<orgName type="department">Dipartimento di Informatica</orgName>
								<orgName type="institution">Università degli Studi di Torino</orgName>
								<address>
									<postCode>10149</postCode>
									<settlement>Turin</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Proof Methods and Theorem Proving for Conditional Logics with Strong Centering</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">16B2DC8F3453E1B9604FEFE6D36D87CE</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-12-29T06:43+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Conditional logics</term>
					<term>Sequent calculi</term>
					<term>Proof methods</term>
					<term>Prolog</term>
					<term>Nonmonotonic reasoning</term>
					<term>Theorem proving</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>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.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Conditional Logics have a long history, starting with the seminal works <ref type="bibr" target="#b0">[1,</ref><ref type="bibr" target="#b1">2,</ref><ref type="bibr" target="#b2">3,</ref><ref type="bibr" target="#b3">4,</ref><ref type="bibr" target="#b4">5]</ref> 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 <ref type="bibr" target="#b5">[6,</ref><ref type="bibr" target="#b6">7,</ref><ref type="bibr" target="#b7">8,</ref><ref type="bibr" target="#b8">9,</ref><ref type="bibr" target="#b9">10,</ref><ref type="bibr" target="#b10">11,</ref><ref type="bibr" target="#b11">12,</ref><ref type="bibr" target="#b12">13,</ref><ref type="bibr" target="#b13">14,</ref><ref type="bibr" target="#b14">15,</ref><ref type="bibr" target="#b15">16]</ref>.</p><p>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.</p><p>An attempt to fill this gap has been proposed in <ref type="bibr" target="#b16">[17]</ref>, where labelled sequent calculi for conditional logics with the selection function semantics <ref type="bibr">([2]</ref>) are introduced. Intuitively, the selection function 𝑓 selects, for a world 𝑤 and a formula 𝐴, the set of worlds 𝑓 (𝑤, 𝐴) which 1. we further refine labelled sequent calculi for conditional logics in order to tackle question (ii) above. To this aim, we introduce SeqS 23 , 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 SeqS 23 : 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 SeqS 23 and compared them with those of the most recent version of CondLean <ref type="bibr" target="#b20">[21]</ref>, obtaining promising results that confirm that avoiding label substitution leads to a significant improvement of the performances of the prover.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Conditional Logics and the Selection Function Semantics</head><p>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.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 1 (Syntax of Conditional Logics).</head><p>A propositional conditional language ℒ contains:</p><p>• a set of propositional variables ATM ;</p><p>• the constants ⊥ and ⊤;</p><p>• the set of connectives ¬ (unary), ∧, ∨, →, ⇒ (binary).</p><p>Formulas of ℒ are inductively defined as follows:</p><p>• atomic formulas 𝑃 ∈ ATM , ⊥ and ⊤ are formulas of ℒ;</p><p>• given 𝐴 and 𝐵 formulas of ℒ, complex formulas ¬𝐴, 𝐴 ∧ 𝐵, 𝐴 ∨ 𝐵, 𝐴 → 𝐵, and 𝐴 ⇒ 𝐵 are formulas of ℒ.</p><p>Let us now introduce the selection function semantics <ref type="bibr" target="#b1">[2]</ref>. 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 𝐴.</p><p>We define the selection function semantics as follows:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 2 (Selection function semantics). A model is a triple</head><formula xml:id="formula_0">ℳ = ⟨𝒲, 𝑓, [ ]⟩</formula><p>where:</p><p>• 𝒲 is a non-empty set of worlds;</p><formula xml:id="formula_1">• 𝑓 is the selection function 𝑓 : 𝒲 × 2 𝒲 −→ 2 𝒲</formula><p>• [ ] 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 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</p><formula xml:id="formula_2">-[⊥] = ∅ -[⊤] = 𝒲 -[¬𝐴] = 𝒲 ∖ [𝐴] -[𝐴 ∧ 𝐵] = [𝐴] ∩ [𝐵] -[𝐴 ∨ 𝐵] = [𝐴] ∪ [𝐵] -[𝐴 → 𝐵] = (𝒲 ∖ [𝐴]) ∪ [𝐵] -[𝐴 ⇒ 𝐵] = {𝑤 ∈ 𝒲 | 𝑓 (𝑤, [𝐴]) ⊆ [𝐵]} As usual,</formula><formula xml:id="formula_3">[𝐴] = [𝐴 ′ ] in the model, then 𝑓 (𝑤, 𝐴) = 𝑓 (𝑤, 𝐴 ′ ).</formula><p>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.</p><p>An axiomatization of this system is given by:</p><p>• any axiomatization of classical propositional calculus;</p><formula xml:id="formula_4">• (Modus Ponens) 𝐴 𝐴 → 𝐵 𝐵 • (RCEA) 𝐴 → 𝐵 𝐵 → 𝐴 (𝐴 ⇒ 𝐶) ↔ (𝐵 ⇒ 𝐶) • (RCK) (𝐴 1 ∧ • • • ∧ 𝐴 𝑛 ) → 𝐵 (𝐶 ⇒ 𝐴 1 ∧ • • • ∧ 𝐶 ⇒ 𝐴 𝑛 ) → (𝐶 ⇒ 𝐵)</formula><p>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</p><formula xml:id="formula_5">(𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ ¬𝐵)</formula><p>This formula is not valid: as an example, consider the model ℳ 1 = ⟨{𝑤, 𝑢, 𝑣}, 𝑓 We consider the following standard extensions of the basic system of Conditional Logics CK:</p><formula xml:id="formula_6">Logic Axiom Model condition ID 𝐴 ⇒ 𝐴 𝑓 (𝑤, [𝐴]) ⊆ [𝐴] CS (𝐴 ∧ 𝐵) → (𝐴 ⇒ 𝐵) 𝑤 ∈ [𝐴] → 𝑓 (𝑤, [𝐴]) ⊆ {𝑤} CEM (𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ ¬𝐵) | 𝑓 (𝑤, [𝐴]) |≤ 1 MP (𝐴 ⇒ 𝐵) → (𝐴 → 𝐵) 𝑤 ∈ [𝐴] → 𝑤 ∈ 𝑓 (𝑤, [𝐴])</formula><p>The above axiomatizations are complete with respect to the respective semantics <ref type="bibr" target="#b1">[2]</ref>. We can observe that: </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Sequent Calculi for Conditional Logics with Strong Centering</head><p>In this section we introduce SeqS 23 , 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.</p><p>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</p><formula xml:id="formula_7">x 𝐴 −→ y, where x, y ∈ 𝒜 and 𝐴 ∈ ℒ. A transition formula x 𝐴 −→ y represents that y ∈ f (x, [A]).</formula><p>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).</p><p>Formally: G </p><formula xml:id="formula_8">(𝑦) ∈ 𝑓 (𝐼(𝑥), [𝐴]). We say that Γ ⊢ Δ is valid in ℳ if for every mapping 𝐼 : 𝒜 → 𝒲, if ℳ |= 𝐼 𝐹 for every 𝐹 ∈ Γ, then ℳ |= 𝐼 𝐺 for some 𝐺 ∈ Δ.</formula><p>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.</p><p>We say that a sequent Γ ⊢ Δ is derivable if it admits a derivation in SeqS 23 , 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 SeqS 23 , i.e. if we can obtain a proof tree by applying backwards the rules, starting from the root ⊢ 𝑥 : 𝐹 .</p><p>The novelty with respect to the calculi introduced in <ref type="bibr" target="#b16">[17]</ref> and <ref type="bibr" target="#b19">[20]</ref> 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:</p><formula xml:id="formula_9">Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐴 Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐵 (CS) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵 replacing the following one, introduced in [17]: Γ, 𝑥 𝐴 −→ 𝑦 ⊢ Δ, 𝑥 : 𝐴 Γ[𝑥/𝑢, 𝑦/𝑢], 𝑢 𝐴 −→ 𝑢 ⊢ Δ[𝑥/𝑢, 𝑦/𝑢] (CS) Γ, 𝑥 𝐴 −→ 𝑦 ⊢ Δ</formula><p>where Γ[𝑥/𝑢, 𝑦/𝑢] (respectively, Δ[𝑥/𝑢, 𝑦/𝑢]) is obtained from Γ (respectively, from Δ) by replacing every occurrence of 𝑥 and 𝑦 with a new label 𝑢.</p><p>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.</p><p>As an example, consider the following valid sequent in systems with axiom (CS):</p><formula xml:id="formula_10">𝑥 : 𝐴 ∧ 𝐵 ⊢ 𝑥 : (𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷)</formula><p>In the calculi SeqS, the derivation could be as follows: </p><formula xml:id="formula_11">(⇒ R) 𝑥 : 𝐴, 𝑥 : 𝐵, 𝑥 𝐴 −→ 𝑧, 𝑥 𝐴 −→ 𝑦 ⊢ 𝑧 : 𝐶, 𝑦 : 𝐵, 𝑥 : 𝐴 ⇒ 𝐷 (⇒ R) 𝑥 : 𝐴, 𝑥 : 𝐵, 𝑥 𝐴 −→ 𝑦 ⊢ 𝑦 : 𝐵, 𝑥 : 𝐴 ⇒ 𝐶, 𝑥 : 𝐴 ⇒ 𝐷 (⇒ R) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐴 ⇒ 𝐶, 𝑥 : 𝐴 ⇒ 𝐷 (∨R) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷) (∨R) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : (𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷) (∧L) 𝑥 : 𝐴 ∧ 𝐵 ⊢ 𝑥 : (𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷)</formula><p>whereas in the novel calculi SeqS 23 one can obtain the following, shorter derivation:  height-preserving admissibility of weakening, height-preserving invertibility of the rules (with the exception of (EQ)), height-preserving admissibility of contraction.</p><p>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:</p><formula xml:id="formula_12">Proposition 5. If Γ ⊢ Δ, 𝑥 𝐴 −→ 𝑦 is derivable in SeqS 23 in systems with the rule (CS), then either (i) Γ ⊢ Δ is derivable in SeqS 23 or (ii) 𝑥 = 𝑦 or (iii) there exists 𝑥 𝐴 ′ −→ 𝑦 ∈ Γ such that 𝑥 𝐴 ′ −→ 𝑦 ⊢ 𝑥 𝐴 −→ 𝑦 is derivable in SeqS 23 .</formula><p>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 𝑥</p><formula xml:id="formula_13">𝐴 ′ −→ 𝑦 ∈ Γ such that 𝑥 𝐴 ′ −→ 𝑦 ⊢ 𝑥 𝐴 −→ 𝑦 is derivable in SeqS 23 , thus<label>(</label></formula><p>𝑖𝑖𝑖) holds. On the contrary, if 𝑥 𝐴 −→ 𝑦 is not used in the derivation, then we have that also Γ ⊢ Δ is derivable, thus (𝑖) holds.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>■</head><p>The following proposition states that, given a derivable sequent Γ ⊢ Δ, the sequent obtained by replacing in Γ and/or Δ one or more transition formulas <ref type="bibr" target="#b22">23</ref> , where Γ ′ is obtained by replacing in Γ any number of transition formulas</p><formula xml:id="formula_14">𝑥 𝐴 −→ 𝑦 with 𝑥 𝐴 ′ −→ 𝑦, where 𝐴 and 𝐴 ′ are equivalent 1 , is derivable too. For instance, if Γ, 𝑥 𝐴∨𝐵 −→ 𝑦, 𝑥 𝐴∨𝐵 −→ 𝑧 ⊢ Δ is derivable, so are the sequents Γ, 𝑥 𝐴∨𝐵 −→ 𝑦, 𝑥 ¬𝐴→𝐵 −→ 𝑧 ⊢ Δ and Γ, 𝑥 ¬𝐴→𝐵 −→ 𝑦, 𝑥 ¬𝐴→𝐵 −→ 𝑧 ⊢ Δ. Proposition 6. If 𝑥 𝐴 ′ −→ 𝑦 ⊢ 𝑥 𝐴 −→ 𝑦 and Γ ⊢ Δ are derivable in SeqS 23 , then Γ ′ ⊢ Δ is also derivable in in SeqS</formula><formula xml:id="formula_15">𝑥 𝐴 −→ 𝑦 with 𝑥 𝐴 ′ −→ 𝑦.</formula><p>The proof is by induction on the height of the derivation of Γ ⊢ Δ, is straightforward, therefore left to the reader in order to save space.</p><p>As mentioned, we can show that the following cut rule is admissible:</p><p>Theorem 7. The cut rule:</p><formula xml:id="formula_16">Γ ⊢ Δ, 𝐹 𝐹, Γ ⊢ Δ (𝑐𝑢𝑡) Γ ⊢ Δ</formula><p>where 𝐹 is any labelled formula, is admissible in SeqS 23 , i.e. if Γ ⊢ Δ, 𝐹 and 𝐹, Γ ⊢ Δ are derivable in SeqS 23 , so is Γ ⊢ Δ.</p><p>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:</p><formula xml:id="formula_17">Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐴 Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐵 (CS) (**) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵 (*) Γ, 𝑥 : 𝐴 ⇒ 𝐵 ⊢ Δ, 𝑥 𝐴 −→ 𝑦 Γ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑦 : 𝐵 ⊢ Δ (⇒ 𝐿) Γ, 𝑥 : 𝐴 ⇒ 𝐵 ⊢ Δ (𝑐𝑢𝑡) Γ ⊢ Δ</formula><p>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</p><formula xml:id="formula_18">𝑥 𝐴 ′ −→ 𝑦 ∈ Γ such that 𝑥 𝐴 ′ −→ 𝑦 ⊢ 𝑥 𝐴 −→ 𝑦 is derivable.</formula><p>In case (ii), the proof is ended as follows: 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).</p><p>In case (iii), by Proposition 6 and the fact that also 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 SeqS 23 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:</p><formula xml:id="formula_19">𝑥 𝐴 −→ 𝑦 ⊢ 𝑥 𝐴 ′ −→ 𝑦 is derivable, we have that Γ ′ , 𝑥 𝐴 −→ 𝑦 ⊢ Δ is derivable, where Γ = Γ ′ , 𝑥 𝐴 ′ −→ 𝑦.</formula><formula xml:id="formula_20">(1) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐴 (2) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐵 (CS) (3) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵</formula><p>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 (*) 𝑤 ∈ 𝑓 (𝐼(𝑥), <ref type="bibr">[𝐴]</ref>) and (**) 𝑤 ̸ ∈ <ref type="bibr">[𝐵]</ref>. 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</p><formula xml:id="formula_21">𝐼(𝑥) = 𝑤 ∈ [𝐵], contradicting (**).</formula><p>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 SeqS 23 . 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 <ref type="figure">2</ref>. For the other axioms and rules, we remind the reader to <ref type="bibr" target="#b16">[17,</ref><ref type="bibr" target="#b19">20]</ref> in order to save space.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>■</head><p>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 <ref type="bibr" target="#b16">[17]</ref>, 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.</p><p>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 <ref type="bibr" target="#b16">[17]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">The Theorem Prover CondLean 4.0</head><p>In this section we introduce CondLean 4.0, a Prolog implementation of the calculi SeqS 23 introduced in the previous section. As already mentioned, the prover improves the existing provers for that logics <ref type="bibr" target="#b18">[19,</ref><ref type="bibr" target="#b17">18,</ref><ref type="bibr" target="#b20">21]</ref> and is inspired to the "lean" methodology, introduced by Beckert and Posegga in the middle of the 90s <ref type="bibr" target="#b21">[22,</ref><ref type="bibr" target="#b22">23,</ref><ref type="bibr" target="#b23">24]</ref>: they have proposed a very elegant and extremely efficient first-order theorem prover, called leanT A P, consisting of only five Prolog clauses. The basic idea of the "lean" methodology is "to achieve maximal efficiency from minimal means" <ref type="bibr" target="#b21">[22]</ref> 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 SeqS 23 and clauses of CondLean 4.0.</p><p>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 SeqS 23 , 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 SeqS 23 . 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.</p><p>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.</p><p>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).</p><p>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:</p><p>prove([LitGamma,_,_],[LitDelta,_,_],_,_,_,tree(ax)):member(F,LitGamma),member(F,LitDelta),!.</p><p>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)).</p><p>As another example, here is the clause implementing (⇒ L): The predicate put is used to put the labelled formula [Y,A] in the proper sub-list of the lefthand 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.</p><p>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.</p><p>Let us now show the code of the novel rule (CS):</p><p>prove(Gamma,[LitDelta,TransDelta,ComplexDelta], Labels, RCond, LCond, CS, tree(cs,SubTree1,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 𝑖𝑖𝑖).</p><formula xml:id="formula_22">member([X,A =&gt; B],ComplexDelta), ∖+member([X,A =&gt; B],CS),!,<label>(𝑖𝑖𝑖)</label></formula><p>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.</p><p>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.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Performance of CondLean 4.0</head><p>We have tested CondLean 4.0 and we have compared its performance with those of the last version of CondLean <ref type="bibr" target="#b20">[21]</ref>. We have tested the theorem prover over both:</p><p>• a set of valid formulas • a set of randomly generated formulas, either valid or not.</p><p>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</p><formula xml:id="formula_23">(𝐴 ∧ 𝐵 1 ∧ 𝐵 2 ∧ . . . ∧ 𝐵 50 ) → ((𝐴 ⇒ 𝐵 1 ) ∨ (𝐴 ⇒ 𝐵 2 ) ∨ . . . ∨ (𝐴 ⇒ 𝐵 50 ))</formula><p>CondLean 4.0 is able to build a derivation in 27 ms, against the 567 ms needed by the prover adopting label substitution.</p><p>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.</p><p>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.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Conclusions, Related Works, Future Issues</head><p>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 <ref type="bibr" target="#b19">[20]</ref> 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 <ref type="bibr" target="#b18">[19,</ref><ref type="bibr" target="#b17">18,</ref><ref type="bibr" target="#b20">21]</ref>: 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.</p><p>Concerning related works, we mention <ref type="bibr" target="#b16">[17]</ref>, where combinations of the conditional third excluded middle (CEM) and conditional modus ponens (MP) are neglected, and <ref type="bibr" target="#b24">[25]</ref>, where strong centering (CS) is replaced by the condition (CSO).</p><p>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.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head></head><label></label><figDesc>(𝐴𝑋) 𝑥 : 𝐴 ⊢ 𝑥 : 𝐴 (𝐴𝑋) 𝑢 : 𝐴 ⊢ 𝑢 : 𝐴 (𝐴𝑋) 𝑣 : 𝐴 ⊢ 𝑣 : 𝐴 (𝐴𝑋) 𝑤 : 𝐵, . . . , 𝑤 𝐴 −→ 𝑤 ⊢ 𝑤 : 𝐶, 𝑤 : 𝐵, 𝑤 : 𝐷 (CS) 𝑣 : 𝐴, 𝑣 : 𝐵, 𝑣 𝐴 −→ 𝑣, 𝑣 𝐴 −→ 𝑣, 𝑣 𝐴 −→ 𝑦 ⊢ 𝑣 : 𝐶, 𝑦 : 𝐵, 𝑣 : 𝐷 (CS) 𝑢 : 𝐴, 𝑢 : 𝐵, 𝑢 𝐴 −→ 𝑢, 𝑢 𝐴 −→ 𝑧, 𝑢 𝐴 −→ 𝑦 ⊢ 𝑧 : 𝐶, 𝑦 : 𝐵, 𝑢 : 𝐷 (CS) 𝑥 : 𝐴, 𝑥 : 𝐵, 𝑥 𝐴 −→ 𝑤, 𝑥 𝐴 −→ 𝑧, 𝑥 𝐴 −→ 𝑦 ⊢ 𝑧 : 𝐶, 𝑦 : 𝐵, 𝑤 : 𝐷</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head></head><label></label><figDesc>(𝐴𝑋) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : 𝐴, . . . (𝐴𝑋) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : 𝐵, . . . (CS) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐴 ⇒ 𝐶, 𝑥 : 𝐴 ⇒ 𝐷 (∨R) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷) (∨R) 𝑥 : 𝐴, 𝑥 : 𝐵 ⊢ 𝑥 : (𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷) (∧L) 𝑥 : 𝐴 ∧ 𝐵 ⊢ 𝑥 : (𝐴 ⇒ 𝐵) ∨ (𝐴 ⇒ 𝐶) ∨ (𝐴 ⇒ 𝐷)</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 1 :Figure 2 :</head><label>12</label><figDesc>Figure 1: Rules of sequent calculi SeqS 23</figDesc><graphic coords="7,68.46,208.24,458.37,408.66" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>( 1 )</head><label>1</label><figDesc>Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐴 (2) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐵 (CS) (3) Γ ⊢ Δ, 𝑥 : 𝐴 ⇒ 𝐵 (4) Γ, 𝑥 : 𝐴 ⇒ 𝐵 ⊢ Δ, 𝑥 𝐴 −→ 𝑥 (5) Γ, 𝑥 : 𝐴 ⇒ 𝐵, 𝑥 : 𝐵 ⊢ Δ (⇒ 𝐿) (6) Γ, 𝑥 : 𝐴 ⇒ 𝐵 ⊢ Δ (𝑐𝑢𝑡) Γ ⊢ Δ</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head></head><label></label><figDesc>prove([LitGamma,TransGamma,ComplexGamma],[LitDelta,TransDelta,ComplexDelta],Labels, RCond, LCond, CS, tree(condL,SubTree1,SubTree2)):-member([X,A =&gt; B],ComplexGamma), select([[X,A =&gt; B],Used],Cond,TempCond), member(Y,Labels), (𝑖) ∖+member([Y,[X,A =&gt; B]],LCond),!, (𝑖𝑖) put([Y,B],LitGamma,ComplexGamma,NewLitGamma,NewComplexGamma), prove([[[X, A =&gt; B],[[X,C,Y] | Used]] | TempCond], [LitGamma,TransGamma,ComplexGamma], [LitDelta,[[X,A,Y]|TransDelta],ComplexDelta],Labels), prove([[[X, A =&gt; B],[[X,C,Y] | Used]] | TempCond],[NewLitGamma,TransGamma,NewComplexGamma], [LitDelta,TransDelta,ComplexDelta],Labels).</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head></head><label></label><figDesc>put([X,A],LitDelta,ComplexDelta,LitDelta1,ComplDelta1), put([X,B],LitDelta,ComplexDelta,LitDelta2,ComplDelta2), prove(Gamma, [LitDelta1,TransDelta,ComplexDelta1], Labels, RCond, LCond, [ [X,A =&gt; B] | CS], SubTree1), prove(Gamma, [LitDelta2,TransDelta,ComplexDelta2], Labels, RCond, LCond, [ [X,A =&gt; B] | CS], SubTree2).</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head></head><label></label><figDesc><ref type="bibr" target="#b0">1</ref> , [ ] 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.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 𝑤.</figDesc><table><row><cell>Such a formula is however valid if we restrict</cell></row><row><cell>our concern to models where the selection function can select at most one world, that is to say</cell></row><row><cell>imposing the condition:</cell></row><row><cell>| 𝑓 (𝑤, [𝐴]) | ≤ 1</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_3"><head>Definition 4 (Validity of a sequent</head><label></label><figDesc></figDesc><table /><note>). Given a model ℳ = ⟨𝒲, 𝑓, [ ]⟩ for ℒ, and a label alphabet 𝒜, we consider any mapping 𝐼 : 𝒜 → 𝒲. Let 𝐹 be a labelled formula, we define ℳ |= 𝐼 𝐹 as ℳ |= 𝐼 𝑥: 𝐴 if and only if 𝐼(𝑥) ∈ [𝐴] and ℳ |= 𝐼 𝑥 𝐴 −→ 𝑦 if and only if 𝐼</note></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_4"><head></head><label></label><figDesc>By applying the inductive hypothesis on the complexity of the cut formula, we conclude by cutting it with (♠) Γ ⊢ Δ, 𝑥 Given a conditional formula 𝐹 , it is valid in a conditional logic if and only if it is derivable in the corresponding calculus of SeqS 23 , that is to say |= 𝐹 if and only if ⊢ 𝑥 : 𝐹 is derivable in SeqS 23 .</figDesc><table><row><cell>𝐴 −→ 𝑦 and</cell></row><row><cell>we are done.</cell></row><row><cell>■</cell></row><row><cell>Theorem 8 (Soundness and completeness).</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">As usual, this means that both 𝐴 → 𝐴 ′ and 𝐴 ′ → 𝐴 are valid.</note>
		</body>
		<back>

			<div type="funding">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>(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</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<author>
			<persName><forename type="first">D</forename><surname>Lewis</surname></persName>
		</author>
		<title level="m">Counterfactuals</title>
				<imprint>
			<publisher>Basil Blackwell Ltd</publisher>
			<date type="published" when="1973">1973</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<title level="m" type="main">Topics in Conditional Logic</title>
		<author>
			<persName><forename type="first">D</forename><surname>Nute</surname></persName>
		</author>
		<imprint>
			<date type="published" when="1980">1980</date>
			<publisher>Reidel</publisher>
			<pubPlace>Dordrecht</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">A theory of conditionals</title>
		<author>
			<persName><forename type="first">R</forename><surname>Stalnaker</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Studies in Logical Theory</title>
				<editor>
			<persName><forename type="first">N</forename><surname>Rescher</surname></persName>
		</editor>
		<imprint>
			<publisher>Blackwell</publisher>
			<date type="published" when="1968">1968</date>
			<biblScope unit="page" from="98" to="112" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Basic conditional logics</title>
		<author>
			<persName><forename type="first">B</forename><forename type="middle">F</forename><surname>Chellas</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Philosophical Logic</title>
		<imprint>
			<biblScope unit="volume">4</biblScope>
			<biblScope unit="page" from="133" to="153" />
			<date type="published" when="1975">1975</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Quick completeness proofs for some logics of conditionals</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">P</forename><surname>Burgess</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Notre Dame Journal of Formal Logic</title>
		<imprint>
			<biblScope unit="volume">22</biblScope>
			<biblScope unit="page" from="76" to="84" />
			<date type="published" when="1981">1981</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Nonmonotonic reasoning, preferential models and cumulative logics</title>
		<author>
			<persName><forename type="first">S</forename><surname>Kraus</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Lehmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Magidor</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Artificial Intelligence</title>
		<imprint>
			<biblScope unit="volume">44</biblScope>
			<biblScope unit="page" from="167" to="207" />
			<date type="published" when="1990">1990</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">A first-order conditional logic for prototypical properties</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">P</forename><surname>Delgrande</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Artificial Intelligence</title>
		<imprint>
			<biblScope unit="volume">33</biblScope>
			<biblScope unit="page" from="105" to="130" />
			<date type="published" when="1987">1987</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Plausibility measures and default reasoning</title>
		<author>
			<persName><forename type="first">N</forename><surname>Friedman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">Y</forename><surname>Halpern</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of the ACM</title>
		<imprint>
			<biblScope unit="volume">48</biblScope>
			<biblScope unit="page" from="648" to="685" />
			<date type="published" when="2001">2001</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Analytic tableaux for KLM preferential and cumulative logics</title>
		<author>
			<persName><forename type="first">L</forename><surname>Giordano</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Gliozzi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<idno type="DOI">10.1007/11591191_46</idno>
		<ptr target="https://doi.org/10.1007/11591191_46.doi:10.1007/11591191\_46" />
	</analytic>
	<monogr>
		<title level="m">Logic for Programming, Artificial Intelligence, and Reasoning, 12th International Conference, LPAR 2005</title>
		<title level="s">Lecture Notes in Computer Science</title>
		<editor>
			<persName><forename type="first">G</forename><surname>Sutcliffe</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Voronkov</surname></persName>
		</editor>
		<meeting><address><addrLine>Montego Bay, Jamaica</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2005">December 2-6, 2005. 2005</date>
			<biblScope unit="volume">3835</biblScope>
			<biblScope unit="page" from="666" to="681" />
		</imprint>
	</monogr>
	<note>Proceedings</note>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Updates and counterfactuals</title>
		<author>
			<persName><forename type="first">G</forename><surname>Grahne</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Logic and Computation</title>
		<imprint>
			<biblScope unit="volume">8</biblScope>
			<biblScope unit="page" from="87" to="117" />
			<date type="published" when="1998">1998</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">Weak agm postulates and strong ramsey test: a logical formalization</title>
		<author>
			<persName><forename type="first">L</forename><surname>Giordano</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Gliozzi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Artificial Intelligence</title>
		<imprint>
			<biblScope unit="volume">168</biblScope>
			<biblScope unit="page" from="1" to="37" />
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Iterated belief revision and conditional logic</title>
		<author>
			<persName><forename type="first">L</forename><surname>Giordano</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Gliozzi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Studia Logica</title>
		<imprint>
			<biblScope unit="volume">70</biblScope>
			<biblScope unit="page" from="23" to="47" />
			<date type="published" when="2002">2002</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Conditional reasoning in logic programming</title>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">M</forename><surname>Gabbay</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Giordano</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Martelli</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">L</forename><surname>Sapino</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Logic Programming</title>
		<imprint>
			<biblScope unit="volume">44</biblScope>
			<biblScope unit="page" from="37" to="74" />
			<date type="published" when="2000">2000</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Causality in action theories</title>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">B</forename><surname>Schwind</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Electronic Transactions on Artificial Intelligence (ETAI)</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="page" from="27" to="50" />
			<date type="published" when="1999">1999</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">Conditional logic of actions and causation</title>
		<author>
			<persName><forename type="first">L</forename><surname>Giordano</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Schwind</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Artificial Intelligence</title>
		<imprint>
			<biblScope unit="volume">157</biblScope>
			<biblScope unit="page" from="239" to="279" />
			<date type="published" when="2004">2004</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Logics in access control: a conditional approach</title>
		<author>
			<persName><forename type="first">V</forename><surname>Genovese</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Giordano</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Gliozzi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<idno type="DOI">10.1093/logcom/exs040</idno>
		<ptr target="https://doi.org/10.1093/logcom/exs040.doi:10.1093/logcom/exs040" />
	</analytic>
	<monogr>
		<title level="j">Journal of Logic and Computation</title>
		<imprint>
			<biblScope unit="volume">24</biblScope>
			<biblScope unit="page" from="705" to="762" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">A Sequent Calculus and a Theorem Prover for Standard Conditional Logics</title>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">B</forename><surname>Schwind</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">ACM Transactions on Computational Logics (ToCL)</title>
		<imprint>
			<biblScope unit="volume">8</biblScope>
			<date type="published" when="2007">2007</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Condlean: A theorem prover for conditional logics</title>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-540-45206-5_23</idno>
		<idno>doi:</idno>
		<ptr target="10.1007/978-3-540-45206-5\_23" />
	</analytic>
	<monogr>
		<title level="m">Automated Reasoning with Analytic Tableaux and Related Methods, International Conference, TABLEAUX 2003</title>
		<title level="s">Lecture Notes in Computer Science</title>
		<editor>
			<persName><forename type="first">M</forename><forename type="middle">C</forename><surname>Mayer</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">F</forename><surname>Pirri</surname></persName>
		</editor>
		<meeting><address><addrLine>Rome, Italy</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2003">September 9-12, 2003. 2003</date>
			<biblScope unit="volume">2796</biblScope>
			<biblScope unit="page" from="264" to="270" />
		</imprint>
	</monogr>
	<note>Proceedings</note>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Condlean 3.0: Improving condlean for stronger conditional logics</title>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<idno type="DOI">10.1007/11554554_27</idno>
		<ptr target="https://doi.org/10.1007/11554554_27.doi:10.1007/11554554\_27" />
	</analytic>
	<monogr>
		<title level="m">Automated Reasoning with Analytic Tableaux and Related Methods, International Conference, TABLEAUX 2005</title>
		<title level="s">Lecture Notes in Computer Science</title>
		<editor>
			<persName><forename type="first">B</forename><surname>Beckert</surname></persName>
		</editor>
		<meeting><address><addrLine>Koblenz, Germany</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2005">September 14-17, 2005. 2005</date>
			<biblScope unit="volume">3702</biblScope>
			<biblScope unit="page" from="328" to="332" />
		</imprint>
	</monogr>
	<note>Proceedings</note>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">Efficient theorem proving for conditional logics with conditional excluded middle</title>
		<author>
			<persName><forename type="first">N</forename><surname>Panic</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<ptr target="http://ceur-ws.org/Vol-3204/paper_22.pdf" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 37th Italian Conference on Computational Logic</title>
		<title level="s">CEUR Workshop Proceedings</title>
		<editor>
			<persName><forename type="first">R</forename><surname>Calegari</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">G</forename><surname>Ciatto</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Omicini</surname></persName>
		</editor>
		<meeting>the 37th Italian Conference on Computational Logic<address><addrLine>Bologna, Italy</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2022-07-01">June 29 -July 1, 2022. 2022</date>
			<biblScope unit="volume">3204</biblScope>
			<biblScope unit="page" from="217" to="231" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b20">
	<analytic>
		<title level="a" type="main">Labelled sequent calculi for conditional logics: Conditional excluded middle and conditional modus ponens finally together</title>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Panic</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-031-27181-6_24</idno>
		<idno>doi:</idno>
		<ptr target="10.1007/978-3-031-27181-6\_24" />
	</analytic>
	<monogr>
		<title level="m">AIxIA 2022 -Advances in Artificial Intelligence -XXIst International Conference of the Italian Association for Artificial Intelligence, AIxIA 2022</title>
		<title level="s">Lecture Notes in Computer Science</title>
		<editor>
			<persName><forename type="first">A</forename><surname>Dovier</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Montanari</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Orlandini</surname></persName>
		</editor>
		<meeting><address><addrLine>Udine, Italy</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2022-12-02">November 28 -December 2, 2022. 2022</date>
			<biblScope unit="volume">13796</biblScope>
			<biblScope unit="page" from="345" to="357" />
		</imprint>
	</monogr>
	<note>Proceedings</note>
</biblStruct>

<biblStruct xml:id="b21">
	<analytic>
		<title level="a" type="main">leantap: Lean tableau-based deduction</title>
		<author>
			<persName><forename type="first">B</forename><surname>Beckert</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Posegga</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Automated Reasoning</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="page" from="339" to="358" />
			<date type="published" when="1995">1995</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b22">
	<analytic>
		<title level="a" type="main">Logic programming as a basis for lean automated deduction</title>
		<author>
			<persName><forename type="first">B</forename><surname>Beckert</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Posegga</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Logic Programming</title>
		<imprint>
			<biblScope unit="volume">28</biblScope>
			<biblScope unit="page" from="231" to="236" />
			<date type="published" when="1996">1996</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b23">
	<analytic>
		<title level="a" type="main">leantap revisited</title>
		<author>
			<persName><forename type="first">M</forename><surname>Fitting</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Logic and Computation</title>
		<imprint>
			<biblScope unit="volume">8</biblScope>
			<biblScope unit="page" from="33" to="47" />
			<date type="published" when="1998">1998</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b24">
	<analytic>
		<title level="a" type="main">Nested sequent calculi for normal conditional logics</title>
		<author>
			<persName><forename type="first">R</forename><surname>Alenda</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Olivetti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">L</forename><surname>Pozzato</surname></persName>
		</author>
		<idno type="DOI">10.1093/logcom/ext034</idno>
	</analytic>
	<monogr>
		<title level="j">Journal of Logic and Computation</title>
		<imprint>
			<biblScope unit="volume">26</biblScope>
			<biblScope unit="page" from="7" to="50" />
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
