Propositional Dynamic Logic With Belnapian Truth Values Igor Sedlr - - PowerPoint PPT Presentation

propositional dynamic logic with belnapian truth values
SMART_READER_LITE
LIVE PREVIEW

Propositional Dynamic Logic With Belnapian Truth Values Igor Sedlr - - PowerPoint PPT Presentation

Propositional Dynamic Logic With Belnapian Truth Values Igor Sedlr Institute of Computer Science, Czech Academy of Sciences, Prague AiML 2016, Budapest, 31 August 2016 Overview BPDL , a four-valued paraconsistent version of propositional dy-


slide-1
SLIDE 1

Propositional Dynamic Logic With Belnapian Truth Values

Igor Sedlár

Institute of Computer Science, Czech Academy of Sciences, Prague

AiML 2016, Budapest, 31 August 2016

slide-2
SLIDE 2

Overview

BPDL, a four-valued paraconsistent version of propositional dy- namic logic PDL

  • 1. Motivation
  • 2. Belnapian truth values
  • 3. BPDL and what it can do
  • 4. Properties of BPDL

1 / 12

slide-3
SLIDE 3

Motivation

slide-4
SLIDE 4

Motivation

  • PDL (Fischer and Ladner, 1979) is a (deductive) verification

formalism used to prove correctness of programs, relations among programs etc.

  • PDL models program states as complete and consistent

possible worlds

  • Programs understood more generally (e. g. database

queries and transformations; algorithmic transformations of bodies of information) go beyond this; they require incomplete and inconsistent states

  • Belnap (1977a, 1977b) and Dunn (1976) introduce such

states

  • We outline BPDL, a version of PDL built on an extension of

the Belnap–Dunn logic studied by Odintsov and Wansing (2010)

2 / 12

slide-5
SLIDE 5

Belnapian states

slide-6
SLIDE 6

Classical and Belnapian states

t f 2 t b n f 4

3 / 12

slide-7
SLIDE 7

Classical and Belnapian states

t f 2 t b n f 4

⊥L = f ∼Le =      f if e = t t if e = f e

  • therwise

e ∧L e′ = inf{e, e′} e ∨L e′ = sup{e, e′} e →L e′ = { e′ if e ∈ D(L) t

  • therwise

¬Le = e →L ⊥L

3 / 12

slide-8
SLIDE 8

BK (Odintsov and Wansing, 2010)

Kripke L-models and BK

  • M = ⟨S, R, vL⟩; vL : (FRM × W) → L (respects ◦L for
  • ∈ {⊥, ∼, ∧, ∨, →})
  • vL(✷φ, w) = inf{vL(φ, w′) | Rww′}
  • vL(✸φ, w) = sup{vL(φ, w′) | Rww′}
  • Γ |

=L φ iff inf{vL(ψ, w) | ψ ∈ Γ} ∈ D(L) only if vL(φ, w) ∈ D(L) for all (M, w).

  • K if L = 2; BK if L = 4

4 / 12

slide-9
SLIDE 9

BK (Odintsov and Wansing, 2010)

Kripke L-models and BK

  • M = ⟨S, R, vL⟩; vL : (FRM × W) → L (respects ◦L for
  • ∈ {⊥, ∼, ∧, ∨, →})
  • vL(✷φ, w) = inf{vL(φ, w′) | Rww′}
  • vL(✸φ, w) = sup{vL(φ, w′) | Rww′}
  • Γ |

=L φ iff inf{vL(ψ, w) | ψ ∈ Γ} ∈ D(L) only if vL(φ, w) ∈ D(L) for all (M, w).

  • K if L = 2; BK if L = 4

Example 1 ✷p = f p = b p = n

4 / 12

slide-10
SLIDE 10

BK (Odintsov and Wansing, 2010)

Theorem 2 The sound and complete axiomatization of BK is

  • 1. CL in {AF, ⊥, →, ∧, ∨};
  • 2. Strong negation axioms:

∼∼φ ↔ φ, ∼(φ ∧ ψ) ↔ (∼φ ∨ ∼ψ), ∼(φ ∨ ψ) ↔ (∼φ ∧ ∼ψ), ∼(φ → ψ) ↔ (φ ∧ ∼ψ), ⊤ ↔ ∼⊥;

  • 3. The K axiom ✷(φ → ψ) → (✷φ → ✷ψ) and the Necessitation rule φ/✷φ;
  • 4. Modal interaction principles:

¬✷φ ↔ ✸¬φ, ¬✸φ ↔ ✷¬φ, ∼✷φ ↔ ✸∼φ, ✷φ ↔ ∼✸∼φ, ∼✸φ ↔ ✷∼φ, ✸φ ↔ ∼✷∼φ.

5 / 12

slide-11
SLIDE 11

Belnapian PDL

slide-12
SLIDE 12

BPDL

Language (ACT) α ::= a ∈ ACT0 | α; α | α ∪ α | α∗ | φ? (FRM) φ ::= p ∈ FRM0 | ⊥ | ∼φ | φ ∧ φ | φ ∨ φ | φ → φ | [α]φ | ⟨α⟩φ Semantics M = ⟨S, R, v4⟩ where R : ACT → P(S2) and v4 is as in BK-models (for all α ∈ ACT). Moreover:

  • 1. R(α; β) = R(α) ◦ R(β)
  • 2. R(α ∪ β) = R(α) ∪ R(β)
  • 3. R(α∗) = R(α)∗
  • 4. R(φ?) = {⟨x, x⟩ | v4(φ, x) ∈ D(4)}

6 / 12

slide-13
SLIDE 13

Examples I

‘Not false’ ¬∼p means that p is not false. As a result, the four Belnapian truth values are expressible as

  • p ∧ ¬∼p (t, ‘true and not false’)
  • p ∧ ∼p (b, ‘true and false’)
  • ¬p ∧ ∼p (f, ‘false and not true’)
  • ¬p ∧ ¬∼p (n, ‘neither true nor false’)

Default rules Every default rule d of the form p : q r can be represented by an atomic program ad satisfying (p ∧ ¬∼q) → [ad]r

7 / 12

slide-14
SLIDE 14

Examples II

Inconsistency handling strategies

  • If-then-else ‘If there is inconsistent information about p, then

do ap (else bp)’, ‘if there is inconsistent information about q, then do aq (else bq)’: (p ∧ ∼p)?; ap ∪ ¬(p ∧ ∼p)?; bp and (q ∧ ∼q)?; aq ∪ ¬(q ∧ ∼q)?; bq

  • While ‘While there is inconsistent information about p, do

ap’: ((p ∧ ∼p)?; ap)∗; ¬(p ∧ ∼p)? Adding and removing information Actions of adding or removing p to/from a database can be represented by atomic programs satisfying [a+p]p and [a−p]¬p.

8 / 12

slide-15
SLIDE 15

Properties of BPDL

slide-16
SLIDE 16

BPDL and PDL

Theorem 3 The PDL axioms [α ∪ β]φ ↔ ([α]φ ∧ [β]φ) [α; β]φ ↔ [α][β]φ [ψ?]φ ↔ (ψ → φ) [α∗]φ ↔ (φ ∧ [α][α∗]φ) [α∗]φ ← (φ ∧ [α∗](φ → [α]φ)) are valid in BPDL (and so are their ‘diamond versions’). Theorem 4 BPDL is not compact.

9 / 12

slide-17
SLIDE 17

Deduction theorem and decidability

Theorem 5 For finite Γ with all atomic programs in {a1, . . . , an}:

  • 1. Γ |

= φ iff | = ∧ Γ → φ

  • 2. Γ |

=g φ iff | = [(a1 ∪ . . . ∪ an)∗] ∧ Γ → φ

10 / 12

slide-18
SLIDE 18

Deduction theorem and decidability

Theorem 5 For finite Γ with all atomic programs in {a1, . . . , an}:

  • 1. Γ |

= φ iff | = ∧ Γ → φ

  • 2. Γ |

=g φ iff | = [(a1 ∪ . . . ∪ an)∗] ∧ Γ → φ Theorem 6 | = φ is decidable (but Γ | =g φ for infinite Γ is (highly) undecidable). Proof.

Standard filtration argument. The equivalence classes in the filtration are defined to coincide on all φ, ∼φ where φ ∈ FL(ψ).

10 / 12

slide-19
SLIDE 19

Completeness

Theorem 7 A sound and weakly complete axiomatisation of BPDL extends the (ACT-dimensional) axiomatisation of BK by the standard PDL axioms and their diamond versions. Proof. Filtration of the canonical structure.

11 / 12

slide-20
SLIDE 20

Summary and future work

slide-21
SLIDE 21

In conclusion

Summary

  • PDL with non-standard states is relevant to formal

verification of ‘information-modifying’ programs (such as, e.g., database transformations)

  • BPDL is a well-behaved decidable formalism that can be

used Future work

  • Complexity of BPDL
  • Other non-classical versions of PDL, for example:

substructural PDL, fuzzy PDL

  • Extensions to other program logics such as Dynamic Logic

DL and Process Logic PL

12 / 12

slide-22
SLIDE 22

Thank you!

slide-23
SLIDE 23

References

Belnap, N. (1977a). How a computer should think. In G. Ryle (Ed.), Contem- porary Aspects of Philosophy. Oriel Press Ltd. Belnap, N. (1977b). A useful four-valued logic. In J. M. Dunn and G. Epstein (Eds.), Modern Uses of Multiple-Valued Logic (pp. 5–37). Dordrecht: Springer Netherlands. Dunn, J. M. (1976). Intuitive semantics for first-degree entailments and “cou- pled trees”. Philosophical Studies, 29, 149–168. Fischer, M. J., and Ladner, R. E. (1979). Propositional dynamic logic of regular

  • programs. Journal of Computer and System Sciences, 18, 194–211.

Odintsov, S., and Wansing, H. (2010). Modal logics with Belnapian truth values. Journal of Applied Non-Classical Logics, 20(3), 279–301.