a new computational logic approach to reason with conditionals 2015-49.p… · i indicative...

55
I Introduction I Weak Completion Semantics I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future Work Emmanuelle-Anna Dietz and Steffen H¨ olldobler A New Computational Logic Approach to Reason with Conditionals 1 A New Computational Logic Approach to Reason with Conditionals Emmanuelle-Anna Dietz and Steffen H ¨ olldobler International Center for Computational Logic Technische Universit¨ at Dresden Germany

Upload: others

Post on 25-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

I Introduction

I Weak Completion Semantics

I Indicative Conditionals

I Minimal Revision Followed by Abduction

I Subjunctive Conditionals

I Future Work

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 1

A New Computational Logic Approach to Reason withConditionals

Emmanuelle-Anna Dietz and Steffen HolldoblerInternational Center for Computational LogicTechnische Universitat DresdenGermany

Page 2: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Example

I If the court orders an execution, then the captain will give the signalupon which rifleman A and B will shoot the prisoner;consequently, the prisoner will be dead Pearl 2000

I We assume that

. the court’s decision is unknown

. both riflemen are accurate, alert and law-abiding

. the prisoner is unlikely to die from any other causes

I Please evaluate the following conditionals (true, false, unknown)

. If the prisoner is alive, then the captain did not signal

. If rifleman A shot, then rifleman B shot as well

. If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 2

Page 3: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Example

I If the court orders an execution, then the captain will give the signalupon which rifleman A and B will shoot the prisoner;consequently, the prisoner will be dead Pearl 2000

I We assume that

. the court’s decision is unknown

. both riflemen are accurate, alert and law-abiding

. the prisoner is unlikely to die from any other causes

I Please evaluate the following conditionals (true, false, unknown)

. If the prisoner is alive, then the captain did not signal

. If rifleman A shot, then rifleman B shot as well

. If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 3

Page 4: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Example

I If the court orders an execution, then the captain will give the signalupon which rifleman A and B will shoot the prisoner;consequently, the prisoner will be dead Pearl 2000

I We assume that

. the court’s decision is unknown

. both riflemen are accurate, alert and law-abiding

. the prisoner is unlikely to die from any other causes

I Please evaluate the following conditionals (true, false, unknown)

. If the prisoner is alive, then the captain did not signal

. If rifleman A shot, then rifleman B shot as well

. If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 4

Page 5: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Example

I If the court orders an execution, then the captain will give the signalupon which rifleman A and B will shoot the prisoner;consequently, the prisoner will be dead Pearl 2000

I We assume that

. the court’s decision is unknown

. both riflemen are accurate, alert and law-abiding

. the prisoner is unlikely to die from any other causes

I Please evaluate the following conditionals (true, false, unknown)

. If the prisoner is alive, then the captain did not signal

. If rifleman A shot, then rifleman B shot as well

. If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 5

Page 6: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Example

I If the court orders an execution, then the captain will give the signalupon which rifleman A and B will shoot the prisoner;consequently, the prisoner will be dead Pearl 2000

I We assume that

. the court’s decision is unknown

. both riflemen are accurate, alert and law-abiding

. the prisoner is unlikely to die from any other causes

I Please evaluate the following conditionals (true, false, unknown)

. If the prisoner is alive, then the captain did not signal

. If rifleman A shot, then rifleman B shot as well

. If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 6

Page 7: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Example

I If the court orders an execution, then the captain will give the signalupon which rifleman A and B will shoot the prisoner;consequently, the prisoner will be dead Pearl 2000

I We assume that

. the court’s decision is unknown

. both riflemen are accurate, alert and law-abiding

. the prisoner is unlikely to die from any other causes

I Please evaluate the following conditionals (true, false, unknown)

. If the prisoner is alive, then the captain did not signal

. If rifleman A shot, then rifleman B shot as well

. If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 7

Page 8: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Introduction

I The weak completion semantics (WCS)

. is a new cognitive theory

. is based on ideas presented in Stenning, van Lambalgen 2008

. is mathematically sound H., Kencana Ramli 2009

. has been successfully applied to model–among others–the suppression task, the selection task, and the belief bias effectDietz, H., Ragni 2012, Dietz, H., Ragni 2013, Pereira, Dietz, H. 2014

I Now, we want to apply WCS to reason about conditionals

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 8

Page 9: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Introduction

I The weak completion semantics (WCS)

. is a new cognitive theory

. is based on ideas presented in Stenning, van Lambalgen 2008

. is mathematically sound H., Kencana Ramli 2009

. has been successfully applied to model–among others–the suppression task, the selection task, and the belief bias effectDietz, H., Ragni 2012, Dietz, H., Ragni 2013, Pereira, Dietz, H. 2014

I Now, we want to apply WCS to reason about conditionals

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 9

Page 10: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Logic Programs and their Weak Completion

I Let P be a ground logic program

I Let S be a finite and consistent set of ground literals

I def (S,P) = {A← body ∈ P | A ∈ S ∨ ¬A ∈ S}

I Weak completion wcP = completion of P \ {A↔ ⊥ | def (A,P) = ∅}

wc{a ← b, a ← c, c ← ⊥} = {a ↔ b ∨ c, c ↔ ⊥}wc{c ← >, c ← ⊥} = {c ↔ >∨⊥}

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 10

Page 11: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Logic Programs and their Weak Completion

I Let P be a ground logic program

I Let S be a finite and consistent set of ground literals

I def (S,P) = {A← body ∈ P | A ∈ S ∨ ¬A ∈ S}

I Weak completion wcP = completion of P \ {A↔ ⊥ | def (A,P) = ∅}

wc{a ← b, a ← c, c ← ⊥} = {a ↔ b ∨ c, c ↔ ⊥}wc{c ← >, c ← ⊥} = {c ↔ >∨⊥}

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 11

Page 12: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Logic Programs and their Weak Completion

I Let P be a ground logic program

I Let S be a finite and consistent set of ground literals

I def (S,P) = {A← body ∈ P | A ∈ S ∨ ¬A ∈ S}

I Weak completion wcP = completion of P \ {A↔ ⊥ | def (A,P) = ∅}

wc{a ← b, a ← c, c ← ⊥} = {a ↔ b ∨ c, c ↔ ⊥}wc{c ← >, c ← ⊥} = {c ↔ >∨⊥}

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 12

Page 13: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Logic Programs and their Weak Completion

I Let P be a ground logic program

I Let S be a finite and consistent set of ground literals

I def (S,P) = {A← body ∈ P | A ∈ S ∨ ¬A ∈ S}

I Weak completion wcP = completion of P \ {A↔ ⊥ | def (A,P) = ∅}

wc{a ← b, a ← c, c ← ⊥} = {a ↔ b ∨ c, c ↔ ⊥}

wc{c ← >, c ← ⊥} = {c ↔ >∨⊥}

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 13

Page 14: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Logic Programs and their Weak Completion

I Let P be a ground logic program

I Let S be a finite and consistent set of ground literals

I def (S,P) = {A← body ∈ P | A ∈ S ∨ ¬A ∈ S}

I Weak completion wcP = completion of P \ {A↔ ⊥ | def (A,P) = ∅}

wc{a ← b, a ← c, c ← ⊥} = {a ↔ b ∨ c, c ↔ ⊥}wc{c ← >, c ← ⊥} = {c ↔ >∨⊥}

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 14

Page 15: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Weak Completion Semantics

I H., Kencana Ramli: Logic Programs under Three-Valued Łukasiewicz’s SemanticsIn: Hill, Warren (eds), Logic Programming, LNCS 5649, 464-478: 2009

I We consider the three-valued Łukasiewicz logic Łukasiewicz 1920

. U← U = > (compared to U← U = U under Kripke-Kleene logic)

I Each weakly completed program admits a least modelMP under Ł-logic

I MP is the least fixed point of ΦP(I) = 〈J>, J⊥〉, where

J> = {A | A← body ∈ P and I(body) = >}J⊥ = {A | def (A,P) 6= ∅ and I(body) = ⊥ for all A← body ∈ def (A,P)}

(ΦP is due to Stenning, vanLambalgen 2008)

I P |=wcs F iff MP(F ) = >

{a ← b, a ← c, c ← ⊥} 6|=wcs a ∨ ¬a

{c ← >, c ← ⊥} |=wcs c

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 15

Page 16: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Weak Completion Semantics

I H., Kencana Ramli: Logic Programs under Three-Valued Łukasiewicz’s SemanticsIn: Hill, Warren (eds), Logic Programming, LNCS 5649, 464-478: 2009

I We consider the three-valued Łukasiewicz logic Łukasiewicz 1920

. U← U = > (compared to U← U = U under Kripke-Kleene logic)

I Each weakly completed program admits a least modelMP under Ł-logic

I MP is the least fixed point of ΦP(I) = 〈J>, J⊥〉, where

J> = {A | A← body ∈ P and I(body) = >}J⊥ = {A | def (A,P) 6= ∅ and I(body) = ⊥ for all A← body ∈ def (A,P)}

(ΦP is due to Stenning, vanLambalgen 2008)

I P |=wcs F iff MP(F ) = >

{a ← b, a ← c, c ← ⊥} 6|=wcs a ∨ ¬a

{c ← >, c ← ⊥} |=wcs c

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 16

Page 17: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Weak Completion Semantics

I H., Kencana Ramli: Logic Programs under Three-Valued Łukasiewicz’s SemanticsIn: Hill, Warren (eds), Logic Programming, LNCS 5649, 464-478: 2009

I We consider the three-valued Łukasiewicz logic Łukasiewicz 1920

. U← U = > (compared to U← U = U under Kripke-Kleene logic)

I Each weakly completed program admits a least modelMP under Ł-logic

I MP is the least fixed point of ΦP(I) = 〈J>, J⊥〉, where

J> = {A | A← body ∈ P and I(body) = >}J⊥ = {A | def (A,P) 6= ∅ and I(body) = ⊥ for all A← body ∈ def (A,P)}

(ΦP is due to Stenning, vanLambalgen 2008)

I P |=wcs F iff MP(F ) = >

{a ← b, a ← c, c ← ⊥} 6|=wcs a ∨ ¬a

{c ← >, c ← ⊥} |=wcs c

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 17

Page 18: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Weak Completion Semantics

I H., Kencana Ramli: Logic Programs under Three-Valued Łukasiewicz’s SemanticsIn: Hill, Warren (eds), Logic Programming, LNCS 5649, 464-478: 2009

I We consider the three-valued Łukasiewicz logic Łukasiewicz 1920

. U← U = > (compared to U← U = U under Kripke-Kleene logic)

I Each weakly completed program admits a least modelMP under Ł-logic

I MP is the least fixed point of ΦP(I) = 〈J>, J⊥〉, where

J> = {A | A← body ∈ P and I(body) = >}J⊥ = {A | def (A,P) 6= ∅ and I(body) = ⊥ for all A← body ∈ def (A,P)}

(ΦP is due to Stenning, vanLambalgen 2008)

I P |=wcs F iff MP(F ) = >

{a ← b, a ← c, c ← ⊥} 6|=wcs a ∨ ¬a

{c ← >, c ← ⊥} |=wcs c

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 18

Page 19: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Weak Completion Semantics

I H., Kencana Ramli: Logic Programs under Three-Valued Łukasiewicz’s SemanticsIn: Hill, Warren (eds), Logic Programming, LNCS 5649, 464-478: 2009

I We consider the three-valued Łukasiewicz logic Łukasiewicz 1920

. U← U = > (compared to U← U = U under Kripke-Kleene logic)

I Each weakly completed program admits a least modelMP under Ł-logic

I MP is the least fixed point of ΦP(I) = 〈J>, J⊥〉, where

J> = {A | A← body ∈ P and I(body) = >}J⊥ = {A | def (A,P) 6= ∅ and I(body) = ⊥ for all A← body ∈ def (A,P)}

(ΦP is due to Stenning, vanLambalgen 2008)

I P |=wcs F iff MP(F ) = >

{a ← b, a ← c, c ← ⊥} 6|=wcs a ∨ ¬a

{c ← >, c ← ⊥} |=wcs c

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 19

Page 20: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Weak Completion Semantics

I H., Kencana Ramli: Logic Programs under Three-Valued Łukasiewicz’s SemanticsIn: Hill, Warren (eds), Logic Programming, LNCS 5649, 464-478: 2009

I We consider the three-valued Łukasiewicz logic Łukasiewicz 1920

. U← U = > (compared to U← U = U under Kripke-Kleene logic)

I Each weakly completed program admits a least modelMP under Ł-logic

I MP is the least fixed point of ΦP(I) = 〈J>, J⊥〉, where

J> = {A | A← body ∈ P and I(body) = >}J⊥ = {A | def (A,P) 6= ∅ and I(body) = ⊥ for all A← body ∈ def (A,P)}

(ΦP is due to Stenning, vanLambalgen 2008)

I P |=wcs F iff MP(F ) = >

{a ← b, a ← c, c ← ⊥} 6|=wcs a ∨ ¬a

{c ← >, c ← ⊥} |=wcs c

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 20

Page 21: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Abduction

I Consider the abductive framework 〈P,AP ,IC, |=wcs〉, where

. AP =⋃

{A|def (A,P)=∅}{A← >, A← ⊥} is the set of abducibles

. IC is a finite set of integrity constraints

I An observationO is a set of ground literals

. O is explainable in 〈P,AP ,IC, |=wcs〉iff there exists a minimal E ⊆ AP called explanation such thatMP∪E satisfies IC and P ∪ E |=wcs O

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 21

Page 22: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Abduction

I Consider the abductive framework 〈P,AP ,IC, |=wcs〉, where

. AP =⋃

{A|def (A,P)=∅}{A← >, A← ⊥} is the set of abducibles

. IC is a finite set of integrity constraints

I An observationO is a set of ground literals

. O is explainable in 〈P,AP ,IC, |=wcs〉iff there exists a minimal E ⊆ AP called explanation such thatMP∪E satisfies IC and P ∪ E |=wcs O

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 22

Page 23: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Revision

I rev(P,S) = (P \ def (S,P)) ∪ {A← > | A ∈ S} ∪ {A← ⊥ | ¬A ∈ S}

I Properties

. rev is non-monotonic in general

. rev is monotonic, i.e.,MP ⊆Mrev(P,S), ifMP(L) = U for all L ∈ S

. Mrev(P,S)(S) = >

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 23

Page 24: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Revision

I rev(P,S) = (P \ def (S,P)) ∪ {A← > | A ∈ S} ∪ {A← ⊥ | ¬A ∈ S}

I Properties

. rev is non-monotonic in general

. rev is monotonic, i.e.,MP ⊆Mrev(P,S), ifMP(L) = U for all L ∈ S

. Mrev(P,S)(S) = >

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 24

Page 25: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Conditionals

I Conditionals are statements of the form if condition then consequence

I Indicative conditionals are conditionals

. whose condition may or may not be true

. whose consequence may or may not be true

. but the consequence is asserted to be true if the condition is true

I Subjunctive conditionals are conditionals

. whose condition is false

. whose consequence may or may not be true

. but in the counterfactual circumstance of the condition being true,the consequence is asserted to be true as well

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 25

Page 26: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Conditionals

I Conditionals are statements of the form if condition then consequence

I Indicative conditionals are conditionals

. whose condition may or may not be true

. whose consequence may or may not be true

. but the consequence is asserted to be true if the condition is true

I Subjunctive conditionals are conditionals

. whose condition is false

. whose consequence may or may not be true

. but in the counterfactual circumstance of the condition being true,the consequence is asserted to be true as well

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 26

Page 27: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Conditionals

I Conditionals are statements of the form if condition then consequence

I Indicative conditionals are conditionals

. whose condition may or may not be true

. whose consequence may or may not be true

. but the consequence is asserted to be true if the condition is true

I Subjunctive conditionals are conditionals

. whose condition is false

. whose consequence may or may not be true

. but in the counterfactual circumstance of the condition being true,the consequence is asserted to be true as well

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 27

Page 28: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Indicative Conditionals

I In the sequel, let cond(C,D) be an indicative conditional, where

. Condition C and consequenceDare finite and consistent sets of ground literals

I Conditionals are evaluated wrt a given P and IC

. We assume thatMP satisfies IC

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 28

Page 29: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Indicative Conditionals

I In the sequel, let cond(C,D) be an indicative conditional, where

. Condition C and consequenceDare finite and consistent sets of ground literals

I Conditionals are evaluated wrt a given P and IC

. We assume thatMP satisfies IC

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 29

Page 30: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 30

Page 31: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 31

Page 32: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 32

Page 33: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 33

Page 34: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 34

Page 35: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 35

Page 36: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Evaluating Indicative Conditionals – Our Approach

I Given P , IC, and cond(C,D)

. IfMP(C) = > and MP(D) = > then cond(C,D) is true

. IfMP(C) = > and MP(D) = ⊥ then cond(C,D) is false

. IfMP(C) = > and MP(D) = U then cond(C,D) is unknown

. IfMP(C) = ⊥ then cond(C,D) is vacuous

. IfMP(C) = U then evaluate cond(C,D) with respect toMP′ , where

II P′ = rev(P,S) ∪ E,

II S is a smallest subset of C and

E ⊆ Arev(P,S) is an explanation for C \ S such that

P′ |=wcs C and MP′ satisfies IC

Minimal revision followed by abduction

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 36

Page 37: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Modeling the Firing Squad Example

I Ps ← era ← srb ← sd ← rad ← rba ← ¬d

I MP〈∅, ∅〉

I AP{e ← >, e ← ⊥}

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 37

Page 38: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Modeling the Firing Squad Example

I Ps ← era ← srb ← sd ← rad ← rba ← ¬d

I MP〈∅, ∅〉

I AP{e ← >, e ← ⊥}

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 38

Page 39: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Modeling the Firing Squad Example

I Ps ← era ← srb ← sd ← rad ← rba ← ¬d

I MP〈∅, ∅〉

I AP{e ← >, e ← ⊥}

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 39

Page 40: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Modeling the Firing Squad Example

I Ps ← era ← srb ← sd ← rad ← rba ← ¬d

I MP〈∅, ∅〉

I AP{e ← >, e ← ⊥}

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 40

Page 41: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Modeling the Firing Squad Example

I Ps ← era ← srb ← sd ← rad ← rba ← ¬d

I MP〈∅, ∅〉

I AP{e ← >, e ← ⊥}

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 41

Page 42: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Modeling the Firing Squad Example

I Ps ← era ← srb ← sd ← rad ← rba ← ¬d

I MP〈∅, ∅〉

I AP{e ← >, e ← ⊥}

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 42

Page 43: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Examples

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

I If the prisoner is alive, then the captain did not signal

cond(a,¬s) : P ⇒ P ∪ E⊥ ⇒ true

I If rifleman A shot, then rifleman B shot as well

cond(ra, rb) : P ⇒ P ∪ E> ⇒ true

I If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

cond({¬s, ra},¬e) : P ⇒ rev(P, ra) ∪ E⊥ ⇒ true

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 43

Page 44: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Examples

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

I If the prisoner is alive, then the captain did not signal

cond(a,¬s) : P ⇒ P ∪ E⊥ ⇒ true

I If rifleman A shot, then rifleman B shot as well

cond(ra, rb) : P ⇒ P ∪ E> ⇒ true

I If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

cond({¬s, ra},¬e) : P ⇒ rev(P, ra) ∪ E⊥ ⇒ true

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 44

Page 45: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Firing Squad Examples

I Observations

. E> = {e ← >} explains {s, ra, rb, d,¬a}

. E⊥ = {e ← ⊥} explains {¬s,¬ra,¬rb,¬d, a}

. {¬s, ra} cannot be explained

I If the prisoner is alive, then the captain did not signal

cond(a,¬s) : P ⇒ P ∪ E⊥ ⇒ true

I If rifleman A shot, then rifleman B shot as well

cond(ra, rb) : P ⇒ P ∪ E> ⇒ true

I If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

cond({¬s, ra},¬e) : P ⇒ rev(P, ra) ∪ E⊥ ⇒ true

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 45

Page 46: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Last Firing Squad Example Revisited

I If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

P ⇒ rev(P, ra) ∪ E⊥

·d

·ra

·rb

·s

·e

·a

◦d

◦ra

·rb

·s

·e

•a

◦d

◦ra

•rb

•s

•e

•a

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 46

Page 47: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Last Firing Squad Example Revisited

I If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

P ⇒ rev(P, ra) ∪ E⊥

·d

·ra

·rb

·s

·e

·a

◦d

◦ra

·rb

·s

·e

•a

◦d

◦ra

•rb

•s

•e

•a

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 47

Page 48: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Last Firing Squad Example Revisited

I If the captain gave no signal and rifleman A decides to shoot,then the court did not order an execution

P ⇒ rev(P, ra) ∪ E⊥

·d

·ra

·rb

·s

·e

·a

◦d

◦ra

·rb

·s

·e

•a

◦d

◦ra

•rb

•s

•e

•a

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 48

Page 49: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

An Alternative Approach

I Katrin Schulz: Minimal Models vs. Logic Programming: The Case of CounterfactualConditionals. Journal of Applied Non-Classical Logics, 24, 153-168: 2014

I Lemma For all n ∈ N, we find Φrev(P,S) ↑ n ⊆ ΨP,S ↑ n ⊆ Φrev(P,S) ↑ (n + 1)

I Theorem lfp Φrev(P,S) = lfp ΨP,S

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 49

Page 50: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Subjunctive Conditionals–The Forest Fire Example

I If there had not been so many dry leaves on the forest floor,then the forest fire would not have occurred Byrne 2007

P = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← >}MP = 〈{dl, l, ff}, {ab}〉

I Subjunctive conditional cond(¬dl,¬ff )

rev(P,¬dl) = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← ⊥}

Φrev(P,¬dl)↑ 0 〈∅, ∅〉↑ 1 〈{l}, {dl}〉↑ 2 〈{l, ab}, {dl}〉↑ 3 〈{l, ab}, {dl, ff}〉

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 50

Page 51: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Subjunctive Conditionals–The Forest Fire Example

I If there had not been so many dry leaves on the forest floor,then the forest fire would not have occurred Byrne 2007

P = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← >}MP = 〈{dl, l, ff}, {ab}〉

I Subjunctive conditional cond(¬dl,¬ff )

rev(P,¬dl) = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← ⊥}

Φrev(P,¬dl)↑ 0 〈∅, ∅〉↑ 1 〈{l}, {dl}〉↑ 2 〈{l, ab}, {dl}〉↑ 3 〈{l, ab}, {dl, ff}〉

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 51

Page 52: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Subjunctive Conditionals–The Forest Fire Example

I If there had not been so many dry leaves on the forest floor,then the forest fire would not have occurred Byrne 2007

P = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← >}MP = 〈{dl, l, ff}, {ab}〉

I Subjunctive conditional cond(¬dl,¬ff )

rev(P,¬dl) = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← ⊥}

Φrev(P,¬dl)↑ 0 〈∅, ∅〉↑ 1 〈{l}, {dl}〉↑ 2 〈{l, ab}, {dl}〉↑ 3 〈{l, ab}, {dl, ff}〉

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 52

Page 53: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Subjunctive Conditionals–The Forest Fire Example

I If there had not been so many dry leaves on the forest floor,then the forest fire would not have occurred Byrne 2007

P = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← >}MP = 〈{dl, l, ff}, {ab}〉

I Subjunctive conditional cond(¬dl,¬ff )

rev(P,¬dl) = {ff ← l ∧ ¬ab, l ← >, ab ← ¬dl, dl ← ⊥}

Φrev(P,¬dl)↑ 0 〈∅, ∅〉↑ 1 〈{l}, {dl}〉↑ 2 〈{l, ab}, {dl}〉↑ 3 〈{l, ab}, {dl, ff}〉

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 53

Page 54: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

The Extended Forest Fire Example

I If there had not been so many dry leaves on the forest floor,then the forest fire would not have occurred Pereira, Dietz, H. 2014

P = {ff ← l ∧ ¬ab1, ff ← a ∧ ¬ab2,

l ← >, ab1 ← ¬dl, dl ← >, ab2 ← ⊥}MP = 〈{dl, l, ff}, {ab1, ab2}〉

rev(P,¬dl) = {ff ← l ∧ ¬ab1, ff ← a ∧ ¬ab2,

l ← >, ab1 ← ¬dl, dl ← ⊥, ab2 ← ⊥}Mrev(P,¬dl) = 〈{l, ab1}, {dl, ab2}〉

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 54

Page 55: A New Computational Logic Approach to Reason with Conditionals 2015-49.p… · I Indicative Conditionals I Minimal Revision Followed by Abduction I Subjunctive Conditionals I Future

Future Work

I Evaluating subjunctive conditionals

I Applying abduction before evaluating the consequent of a conditional

I Experiments

Emmanuelle-Anna Dietz and Steffen HolldoblerA New Computational Logic Approach to Reason with Conditionals 55