Dynamic Coalgebraic Modalities Raul Andres Leal 1 & Helle Hvid - - PowerPoint PPT Presentation

dynamic coalgebraic modalities
SMART_READER_LITE
LIVE PREVIEW

Dynamic Coalgebraic Modalities Raul Andres Leal 1 & Helle Hvid - - PowerPoint PPT Presentation

Introduction The quest for Axioms The dark side of the moon Dynamic Coalgebraic Modalities Raul Andres Leal 1 & Helle Hvid Hansen 2 1 ILLC Universiteit van Amsterdam 2 Eindhoven University of Technology, Centrum Wiskunde & Informatica,


slide-1
SLIDE 1

Introduction The quest for Axioms The dark side of the moon

Dynamic Coalgebraic Modalities

Raul Andres Leal1 & Helle Hvid Hansen2

1ILLC

Universiteit van Amsterdam

2Eindhoven University of Technology,

Centrum Wiskunde & Informatica, Amsterdam

CMCS 10, 2010 Cyprus

slide-2
SLIDE 2

Introduction The quest for Axioms The dark side of the moon

Outline

1

Introduction

2

The quest for Axioms

3

The dark side of the moon

slide-3
SLIDE 3

Introduction The quest for Axioms The dark side of the moon

Outline

1

Introduction

2

The quest for Axioms

3

The dark side of the moon

slide-4
SLIDE 4

Introduction The quest for Axioms The dark side of the moon

The long term aim

Plane: KLM 1951, requires landing authorisation at Schiphol Airport. Tower: Schiphol tower, KLM 1951 descend to 1000mt. Expect heavy rain and strong tail wind during landing. Plane: KLM 1951, Schiphol what should be landing procedure under these weather conditions? Tower: Schiphol Tower, KLM 1951 after lowering the landing gear keep tail rudder still this will keep the aircraft stable.

slide-5
SLIDE 5

Introduction The quest for Axioms The dark side of the moon

The long term aim

Plane: KLM 1951, requires landing authorisation at Schiphol Airport. Tower: Schiphol tower, KLM 1951 descend to 1000mt. Expect heavy rain and strong tail wind during landing. Plane: KLM 1951, Schiphol what should be landing procedure under these weather conditions? Tower: Schiphol Tower, KLM 1951 after lowering the landing gear keep tail rudder still this will keep the aircraft stable. State based system

slide-6
SLIDE 6

Introduction The quest for Axioms The dark side of the moon

The long term aim

Plane: KLM 1951, requires landing authorisation at Schiphol Airport. Tower: Schiphol tower, KLM 1951 descend to 1000mt. Expect heavy rain and strong tail wind during landing. Plane: KLM 1951, Schiphol what should be landing procedure under these weather conditions? Tower: Schiphol Tower, KLM 1951 after lowering the landing gear keep tail rudder still this will keep the aircraft stable. State based system State of the system

slide-7
SLIDE 7

Introduction The quest for Axioms The dark side of the moon

The long term aim

Plane: KLM 1951, requires landing authorisation at Schiphol Airport. Tower: Schiphol tower, KLM 1951 descend to 1000mt. Expect heavy rain and strong tail wind during landing. Plane: KLM 1951, Schiphol what should be landing procedure under these weather conditions? Tower: Schiphol Tower, KLM 1951 after lowering the landing gear keep tail rudder still this will keep the aircraft stable. State based system State of the system Programs

slide-8
SLIDE 8

Introduction The quest for Axioms The dark side of the moon

The long term aim

Plane: KLM 1951, requires landing authorisation at Schiphol Airport. Tower: Schiphol tower, KLM 1951 descend to 1000mt. Expect heavy rain and strong tail wind during landing. Plane: KLM 1951, Schiphol what should be landing procedure under these weather conditions? Tower: Schiphol Tower, KLM 1951 AFTER lowering the landing gear keep tail rudder still this will keep the aircraft stable. State based system State of the system Programs

slide-9
SLIDE 9

Introduction The quest for Axioms The dark side of the moon

The long term aim

Plane: KLM 1951, requires landing authorisation at Schiphol Airport. Tower: Schiphol tower, KLM 1951 descend to 1000mt. Expect heavy rain and strong tail wind during landing. Plane: KLM 1951, Schiphol what should be landing procedure under these weather conditions? Tower: Schiphol Tower, KLM 1951 AFTER lowering the landing gear keep tail rudder still this will keep the aircraft stable. State based system State of the system Programs

Modal Statement

slide-10
SLIDE 10

Introduction The quest for Axioms The dark side of the moon

From Planes to Kripke Frames

Labelled transition systems. These are coalgebras S − → (PS)L This yields to PDL, we reason about programs. Game/Coalition Frames These are coalgebras S − → (MS)L This yields to Game Logic, we reason about strategic ability in 2-player games Monotone neighborhoods

slide-11
SLIDE 11

Introduction The quest for Axioms The dark side of the moon

From Planes to Kripke Frames

Labelled transition systems. These are coalgebras S − → (PS)L This yields to PDL, we reason about programs. Game/Coalition Frames These are coalgebras S − → (MS)L This yields to Game Logic, we reason about strategic ability in 2-player games

slide-12
SLIDE 12

Introduction The quest for Axioms The dark side of the moon

From Planes to Kripke Frames

Labelled transition systems. These are coalgebras S − → (PS)L This yields to PDL, we reason about programs. Game/Coalition Frames These are coalgebras S − → (MS)L This yields to Game Logic, we reason about strategic ability in 2-player games (free) algebra of regular expressions

slide-13
SLIDE 13

Introduction The quest for Axioms The dark side of the moon

From Planes to Kripke Frames

Labelled transition systems. These are coalgebras S − → (PS)L This yields to PDL, we reason about programs. Game/Coalition Frames These are coalgebras S − → (MS)L This yields to Game Logic, we reason about strategic ability in 2-player games (free) algebra of regular expressions (free) algebra of game expressions

slide-14
SLIDE 14

Introduction The quest for Axioms The dark side of the moon

Double perspective

Algebraic Perspective σ : L − → (GS)S Structure + Dynamics Coalgebraic Perspective

  • σ : S −

→ (GS)L Behavior + Modalities

slide-15
SLIDE 15

Introduction The quest for Axioms The dark side of the moon

Double perspective

Algebraic Perspective σ : L − → (GS)S Structure + Dynamics Coalgebraic Perspective

  • σ : S −

→ (GS)L Behavior + Modalities

slide-16
SLIDE 16

Introduction The quest for Axioms The dark side of the moon

Dynamic Modalities

Intuition s λαϕ means “in state s, after α, ϕ holds”. PDL s αϕ means “in state s, after transition α, ϕ holds”. Game Logic s ♦αϕ means “in state s, player 1 has a strategy in game α to bring about ϕ”.

slide-17
SLIDE 17

Introduction The quest for Axioms The dark side of the moon

Dynamic Modalities

Intuition s λαϕ means “in state s, after α, ϕ holds”. PDL s αϕ means “in state s, after transition α, ϕ holds”. Game Logic s ♦αϕ means “in state s, player 1 has a strategy in game α to bring about ϕ”.

slide-18
SLIDE 18

Introduction The quest for Axioms The dark side of the moon

Dynamic Modalities

Intuition s λαϕ means “in state s, after α, ϕ holds”. PDL s αϕ means “in state s, after transition α, ϕ holds”. Game Logic s ♦αϕ means “in state s, player 1 has a strategy in game α to bring about ϕ”.

slide-19
SLIDE 19

Introduction The quest for Axioms The dark side of the moon

Dynamic Modalities

Intuition s λαϕ means “in state s, after α, ϕ holds”. Labelling Given a predicate lifting λ : Q − → QG and α ∈ L, the α labelling

  • f λ is a predicate lifting

λα : Q − → QGL given by λα(U) = {δ ∈ G(S)L | δ(α) ∈ λ(U)}

slide-20
SLIDE 20

Introduction The quest for Axioms The dark side of the moon

Outline

1

Introduction

2

The quest for Axioms

3

The dark side of the moon

slide-21
SLIDE 21

Introduction The quest for Axioms The dark side of the moon

Describing composition of actions

PDL Take = λ, why does λα;βϕ ⇐ ⇒ λαλβϕ hold? Predicate transformers Given σ : S − → (GS)L consider ([α]σ) QS

λα

S

− → Q(GS)L σ−1 − − → QS the equivalence above follows from [α; β]σ = [α]σ ◦ [β]σ

slide-22
SLIDE 22

Introduction The quest for Axioms The dark side of the moon

Describing composition of actions

PDL Take = λ, why does [α; β]ϕ ⇐ ⇒ [α][β]ϕ hold? Predicate transformers Given σ : S − → (GS)L consider ([α]σ) QS

λα

S

− → Q(GS)L σ−1 − − → QS the equivalence above follows from [α; β]σ = [α]σ ◦ [β]σ

slide-23
SLIDE 23

Introduction The quest for Axioms The dark side of the moon

Describing composition of actions

PDL Take = λ, why does λα;βϕ ⇐ ⇒ λαλβϕ hold? Predicate transformers Given σ : S − → (GS)L consider ([α]σ) QS

λα

S

− → Q(GS)L σ−1 − − → QS the equivalence above follows from [α; β]σ = [α]σ ◦ [β]σ

slide-24
SLIDE 24

Introduction The quest for Axioms The dark side of the moon

Describing composition of actions

PDL Take = λ, why does λα;βϕ ⇐ ⇒ λαλβϕ hold? Predicate transformers Given σ : S − → (GS)L consider ([α]σ) QS

λα

S

− → Q(GS)L σ−1 − − → QS the equivalence above follows from [α; β]σ = [α]σ ◦ [β]σ

slide-25
SLIDE 25

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then λα;βϕ ⇐ ⇒ λαλβϕ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads).

slide-26
SLIDE 26

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then [α; β]σ = [α]σ ◦ [β]σ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads).

slide-27
SLIDE 27

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then λα;βϕ ⇐ ⇒ λαλβϕ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads).

slide-28
SLIDE 28

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then λα;βϕ ⇐ ⇒ λαλβϕ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads).

slide-29
SLIDE 29

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then λα;βϕ ⇐ ⇒ λαλβϕ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads). Yoneda

slide-30
SLIDE 30

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then λα;βϕ ⇐ ⇒ λαλβϕ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads).

slide-31
SLIDE 31

Introduction The quest for Axioms The dark side of the moon

Monads for composition

Theorem Let λ be a predicate lifting. If sequential composition is interpreted as Kleisli composition, then λα;βϕ ⇐ ⇒ λαλβϕ holds if one of the following conditions hold . . . the transpose λ : G − → QQ is a monad morphism. The algebra Y(λ) : G2 − → 2 is a G-algebra (monads).

slide-32
SLIDE 32

Introduction The quest for Axioms The dark side of the moon

Outline

1

Introduction

2

The quest for Axioms

3

The dark side of the moon

slide-33
SLIDE 33

Introduction The quest for Axioms The dark side of the moon

Towards Planes; more complex operations

Other Operations How do we obtain axioms like λα∪βϕ ⇐ ⇒ λαϕ ∧ λβϕ?

slide-34
SLIDE 34

Introduction The quest for Axioms The dark side of the moon

Towards Planes; more complex operations

Other Operations How do we obtain axioms like λα∪βϕ ⇐ ⇒ λαϕ ∧ λβϕ? Answer 1: There is an enriched functor

  • λ ◦ − : K

ℓ(G) − → K ℓ(QQ)

slide-35
SLIDE 35

Introduction The quest for Axioms The dark side of the moon

Towards Planes; more complex operations

Other Operations How do we obtain axioms like λα∪βϕ ⇐ ⇒ λαϕ ∧ λβϕ? Answer 2: λ is a homomorphism, i.e. a diagram like G QQ

  • λ

TG TQQ

T( λ)

❄ ❄

commutes.

slide-36
SLIDE 36

Introduction The quest for Axioms The dark side of the moon

Towards Planes; more complex operations

Other Operations How do we obtain axioms like λα∪βϕ ⇐ ⇒ λαϕ ∧ λβϕ? Answer 2: in PDL. . . is a homomorphism. P QQ

  • TP

TQQ

T( )

❄ ❄

commutes.

slide-37
SLIDE 37

Introduction The quest for Axioms The dark side of the moon

Towards Planes; more complex operations

Other Operations How do we obtain axioms like λα∪βϕ ⇐ ⇒ λαϕ ∧ λβϕ? Answer 2: in Game Logic. . . is NOT a homomorphism. M QQ

  • TM

TQQ

T( )

❄ ❄

commutes.

slide-38
SLIDE 38

Introduction The quest for Axioms The dark side of the moon

Other issues

Input/output We do not understand how to deal with input/output (functors that are not monads) (Java) F(S) := (1 + S × B + S × E)A Idea: Use J(B) := (1 + S × B + S × E)S which is a monad. Problem: Actions are subject to typing conditions.

slide-39
SLIDE 39

Introduction The quest for Axioms The dark side of the moon

Other issues

Input/output We do not understand how to deal with input/output (functors that are not monads) (Java) F(S) := (1 + S × B + S × E)A Idea: Use J(B) := (1 + S × B + S × E)S which is a monad. Problem: Actions are subject to typing conditions.

slide-40
SLIDE 40

Introduction The quest for Axioms The dark side of the moon

Other issues

Input/output We do not understand how to deal with input/output (functors that are not monads) (Java) F(S) := (1 + S × B + S × E)A Idea: Use J(B) := (1 + S × B + S × E)S which is a monad. Problem: Actions are subject to typing conditions.

slide-41
SLIDE 41

Introduction The quest for Axioms The dark side of the moon

Other issues

Definability We can now define operations on the label even if they make “no sense” for the coalgebra; e.g. λα∪β = λα ∪ λβ. When are those definable and what do they express is unclear to us.

slide-42
SLIDE 42

Introduction The quest for Axioms The dark side of the moon

The End!!!

We understand how to label modalities. We can explain the axiom of sequential composition. We can explain axioms for algebraic operations. We can not see any bialgebra. The general picture is still unclear. The Test modality is still evasive. Input/output should be worked out.

slide-43
SLIDE 43

Introduction The quest for Axioms The dark side of the moon

The End!!!

We understand how to label modalities. We can explain the axiom of sequential composition. We can explain axioms for algebraic operations. We can not see any bialgebra. The general picture is still unclear. The Test modality is still evasive. Input/output should be worked out.