Coinductive Predicates and Final Sequences in a Fibration Ichiro - - PowerPoint PPT Presentation

coinductive predicates and
SMART_READER_LITE
LIVE PREVIEW

Coinductive Predicates and Final Sequences in a Fibration Ichiro - - PowerPoint PPT Presentation

Coinductive Predicates and Final Sequences in a Fibration Ichiro Hasuo Bart Jacobs Kenta Cho Toshiki Kataoka Radboud Univ. Nijmegen (NL) University of Tokyo (JP) MFPS (Tulane) 2013/ 6/24 Coinduction Hasuo (Tokyo) O / / O


slide-1
SLIDE 1

Coinductive Predicates and Final Sequences in a Fibration

Ichiro Hasuo Kenta Cho Toshiki Kataoka

University of Tokyo (JP)

Bart Jacobs

Radboud Univ. Nijmegen (NL)

MFPS (Tulane) 2013/ 6/24

slide-2
SLIDE 2

Hasuo (Tokyo)

Coinduction

slide-3
SLIDE 3

Hasuo (Tokyo)

In C ?

Coinduction

F X / _ _ _ _ _ F Z X c O beh(c) / _ _ _ _ _ _ Z final ∼ = O

slide-4
SLIDE 4

Hasuo (Tokyo)

In C ? In a fibration !! This work: final coalgebra in p; final sequcence in p

Coinduction

F X / _ _ _ _ _ F Z X c O beh(c) / _ _ _ _ _ _ Z final ∼ = O

P ↓p C

slide-5
SLIDE 5

Hasuo (Tokyo)

In C ? In a fibration !! This work: final coalgebra in p; final sequcence in p

Coinduction

F X / _ _ _ _ _ F Z X c O beh(c) / _ _ _ _ _ _ Z final ∼ = O

P ↓p C

Fibered

slide-6
SLIDE 6

Hasuo (Tokyo)

In C ? In a fibration !! This work: final coalgebra in p; final sequcence in p

Coinduction

F X / _ _ _ _ _ F Z X c O beh(c) / _ _ _ _ _ _ Z final ∼ = O

P ↓p C

{ F-behaviors }

Fibered

slide-7
SLIDE 7

Hasuo (Tokyo)

In C ? In a fibration !! This work: final coalgebra in p; final sequcence in p

Coinduction

F X / _ _ _ _ _ F Z X c O beh(c) / _ _ _ _ _ _ Z final ∼ = O

P ↓p C

{ F-behaviors } { F-behaviors } + coinductive predicate

Fibered

slide-8
SLIDE 8

Part I: Coinductive Predicates, Conventionally

slide-9
SLIDE 9

Hasuo (Tokyo)

Coinductive Predicates

Persisting predicates in dynamical sys. now ✔, next ✔, next2 ✔, ... ν in the modal μ-calculus G in LTL/CTL Expresses safety

slide-10
SLIDE 10

Hasuo (Tokyo)

Coinductive Predicates

Kripke frame

νu. u

slide-11
SLIDE 11

Hasuo (Tokyo)

Coinductive Predicates

Kripke frame

νu. u

slide-12
SLIDE 12

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

Kripke frame

νu. u

slide-13
SLIDE 13

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

Kripke frame

νu. u

| = νu.u ∼ = (νu.u)

slide-14
SLIDE 14

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

Kripke frame

νu. u

x’

| = νu.u ∼ = (νu.u)

slide-15
SLIDE 15

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

Kripke frame

νu. u

x’

| = νu.u ∼ = (νu.u) | = νu.u ∼ = (νu.u)

slide-16
SLIDE 16

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

Kripke frame

νu. u

x’ x’’

| = νu.u ∼ = (νu.u) | = νu.u ∼ = (νu.u)

slide-17
SLIDE 17

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

Kripke frame

νu. u

x’ x’’

| = νu.u ∼ = (νu.u) | = νu.u ∼ = (νu.u)

slide-18
SLIDE 18

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

“There is an infinite path” Kripke frame

νu. u

x’ x’’

| = νu.u ∼ = (νu.u) | = νu.u ∼ = (νu.u)

slide-19
SLIDE 19

Hasuo (Tokyo)

x ⋯ ⋰ ⋱

Coinductive Predicates

“There is an infinite path” Kripke frame

νu. u

x’ x’’

| = νu.u ∼ = (νu.u) | = νu.u ∼ = (νu.u)

(current st.) ⊨ P witnesses (next st.) ⊨ P

slide-20
SLIDE 20

Hasuo (Tokyo)

Coinductive Predicates

Kripke frame Bisimilarity ∼ (current st.) ⊨ P witnesses (next st.) ⊨ P

x ∼ ∼ ∼ y, x → x0 = ⇒ y → ∃y0 s.t. x0 ∼ ∼ ∼ y0

slide-21
SLIDE 21

Hasuo (Tokyo)

Coinductive Predicates

Proof assistants

are HOT!!

slide-22
SLIDE 22

Hasuo (Tokyo)

Coinductive Predicates

Proof assistants In Coq; in Agda

[Giménez, TYPES’95] [Bertot & Komendantskaya, CMCS’08] [Nakano, CPP’12]

are HOT!!

slide-23
SLIDE 23

Hasuo (Tokyo)

Coinductive Predicates

Proof assistants In Coq; in Agda

[Giménez, TYPES’95] [Bertot & Komendantskaya, CMCS’08] [Nakano, CPP’12]

Hence in constructive logics

are HOT!!

slide-24
SLIDE 24

Hasuo (Tokyo)

Coinductive Predicates

Proof assistants In Coq; in Agda

[Giménez, TYPES’95] [Bertot & Komendantskaya, CMCS’08] [Nakano, CPP’12]

Hence in constructive logics

Fp

µu. p Xu = ¬(νu. ¬p Xu)

¬G¬p

are HOT!!

slide-25
SLIDE 25

Hasuo (Tokyo)

Coinductive Predicates

Proof assistants In Coq; in Agda

[Giménez, TYPES’95] [Bertot & Komendantskaya, CMCS’08] [Nakano, CPP’12]

Hence in constructive logics Search for useful proof principles

[Hur, Neis, Dreyer & Vafeiadis, POPL ’13] [Bonchi & Pous, POPL ’13]

Fp

µu. p Xu = ¬(νu. ¬p Xu)

¬G¬p

are HOT!!

slide-26
SLIDE 26

Hasuo (Tokyo)

U

{X X | X U = }

{x X | c(x) U = }

  • P(X)

X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • Establish/Compute/Construct

Coinductive Predicates

slide-27
SLIDE 27

Hasuo (Tokyo)

U

{X X | X U = }

{x X | c(x) U = }

  • P(X)

X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • Establish/Compute/Construct

Coinductive Predicates

U

X0

slide-28
SLIDE 28

Hasuo (Tokyo)

U

{X X | X U = }

{x X | c(x) U = }

  • P(X)

X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • Establish/Compute/Construct

Coinductive Predicates

U

c(x)

x

U

X0

slide-29
SLIDE 29

Hasuo (Tokyo)

U

{X X | X U = }

{x X | c(x) U = }

  • P(X)

X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

U

c(x)

x

U

X0

slide-30
SLIDE 30

Hasuo (Tokyo)

U

{X X | X U = }

{x X | c(x) U = }

  • P(X)

X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

1st ans. (Knaster-Tarski) is monotone Postfixed points (invariants) form a complete lattice Its maximum (greatest invariant) is the gfp

U

c(x)

x

c−1 ϕ : 2X 2X

{U | U (c−1 ϕ)U}

U

X0

slide-31
SLIDE 31

Hasuo (Tokyo)

U

{X X | X U = }

{x X | c(x) U = }

  • P(X)

X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

1st ans. (Knaster-Tarski) is monotone Postfixed points (invariants) form a complete lattice Its maximum (greatest invariant) is the gfp

U

c(x)

x

c−1 ϕ : 2X 2X

{U | U (c−1 ϕ)U}

n

  • t

r e a l l y a “ c

  • n

s t r u c t i

  • n

” . . .

U

X0

slide-32
SLIDE 32

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp But when? ω, if φ is ∩-preserving... not now

slide-33
SLIDE 33

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp But when? ω, if φ is ∩-preserving... not now

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·
slide-34
SLIDE 34

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp But when? ω, if φ is ∩-preserving... not now

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

the whole space

slide-35
SLIDE 35

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp But when? ω, if φ is ∩-preserving... not now

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

∃ path length ≥ 1 the whole space

slide-36
SLIDE 36

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp But when? ω, if φ is ∩-preserving... not now

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

∃ path length ≥ 1 ∃ path length ≥ 2 the whole space

slide-37
SLIDE 37

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

∃ path length ≥ 1 ∃ path length ≥ 2 the whole space

slide-38
SLIDE 38

Hasuo (Tokyo)

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

Establish/Compute/Construct Coinductive Predicates

2nd ans. (Inductive constr. [Cousot & Cousot ’79]) Stabilize ➜ gfp But when? ω, if φ is ∩-preserving... not now

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

∃ path length ≥ 1 ∃ path length ≥ 2 the whole space

slide-39
SLIDE 39

Hasuo (Tokyo)

Establish/Compute/Construct Coinductive Predicates

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·
slide-40
SLIDE 40

Hasuo (Tokyo)

Establish/Compute/Construct Coinductive Predicates

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

1 2

slide-41
SLIDE 41

Hasuo (Tokyo)

Establish/Compute/Construct Coinductive Predicates

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

1 2

| =

  • n

n, but | = νu. u

slide-42
SLIDE 42

Hasuo (Tokyo)

Establish/Compute/Construct Coinductive Predicates

State space bound [Cousot & Cousot, ’79] |X| steps

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

1 2

| =

  • n

n, but | = νu. u

slide-43
SLIDE 43

Hasuo (Tokyo)

Establish/Compute/Construct Coinductive Predicates

State space bound [Cousot & Cousot, ’79] |X| steps “Behavioral bound” [Hennessy & Milner, ’85] ω steps if finitely branching!

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

1 2

| =

  • n

n, but | = νu. u

slide-44
SLIDE 44

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

slide-45
SLIDE 45

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

slide-46
SLIDE 46

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

slide-47
SLIDE 47

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

  • n

n

slide-48
SLIDE 48

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

  • n

n

slide-49
SLIDE 49

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

1

  • n

n

slide-50
SLIDE 50

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

1 2

  • n

n

slide-51
SLIDE 51

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

1 2 3

  • n

n

slide-52
SLIDE 52

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

1 2 3

  • n

n

⋮ ⋮ ⋮

slide-53
SLIDE 53

Hasuo (Tokyo)

Behavioral Bound for Computing Coind. Pred.

Proof: Suffices to show is an invariant.

Theorem. Let a Kripke frame

P(X) X c

be finitely branching. Then X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

stabilizes after ω steps.

  • n

n

x x2 ⋯ x1 xk

1 2 3

  • n

n

⋮ ⋮ ⋮

i [1, k] s.t. xi | = n for infinitely many n

slide-54
SLIDE 54

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

slide-55
SLIDE 55

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P

slide-56
SLIDE 56

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

slide-57
SLIDE 57

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??
slide-58
SLIDE 58

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P By Knaster-Tarski

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??
slide-59
SLIDE 59

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P By Knaster-Tarski Inductive constr.

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·
slide-60
SLIDE 60

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P By Knaster-Tarski Inductive constr. State space bound vs. “behavioral bound”

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·
slide-61
SLIDE 61

Hasuo (Tokyo)

Coinductive Predicates Conventionally (Summary)

(current st.) ⊨ P witnesses (next st.) ⊨ P By Knaster-Tarski Inductive constr. State space bound vs. “behavioral bound”

P(X) X c

νu. u = gfp

  • 2X

ϕ 2PX c−1 2X

  • ??

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

current work current work

slide-62
SLIDE 62

Part II: Coinductive Predicates, Categorically

slide-63
SLIDE 63

Hasuo (Tokyo)

Contributions

Sufficient condition for categorical behavioral ω-bound based on

Coalgebra (transition system) Fibration (underlying logic) Predicate lifting (modality) Locally presentable category (“size”)

Y ∃

X

i

. . . . . .

  • C
  • l

i m

i

X

i

P ϕ

  • p
  • P

p

  • C

F

  • C

P ↓p C

F X X c

slide-64
SLIDE 64

Hasuo (Tokyo)

Contributions

Sufficient condition for categorical behavioral ω-bound based on

Coalgebra (transition system) Fibration (underlying logic) Predicate lifting (modality) Locally presentable category (“size”)

  • Constr. of final coalg. by

final sequence [Worrell, Adamek]

Y ∃

X

i

. . . . . .

  • C
  • l

i m

i

X

i

P ϕ

  • p
  • P

p

  • C

F

  • C

P ↓p C

F X X c

slide-65
SLIDE 65

Hasuo (Tokyo)

Contributions

Sufficient condition for categorical behavioral ω-bound based on

Coalgebra (transition system) Fibration (underlying logic) Predicate lifting (modality) Locally presentable category (“size”)

  • Constr. of final coalg. by

final sequence [Worrell, Adamek]

  • Coind. predicate as a

final coalgebra [Hermida, Jacobs]

Y ∃

X

i

. . . . . .

  • C
  • l

i m

i

X

i

P ϕ

  • p
  • P

p

  • C

F

  • C

P ↓p C

F X X c

slide-66
SLIDE 66

Hasuo (Tokyo)

Contributions

Sufficient condition for categorical behavioral ω-bound based on

Coalgebra (transition system) Fibration (underlying logic) Predicate lifting (modality) Locally presentable category (“size”)

  • Constr. of final coalg. by

final sequence [Worrell, Adamek]

  • Coind. predicate as a

final coalgebra [Hermida, Jacobs]

Y ∃

X

i

. . . . . .

  • C
  • l

i m

i

X

i

P ϕ

  • p
  • P

p

  • C

F

  • C

P ↓p C

F X X c

Categorical infrastructure: fibration and locally presentable cat.

slide-67
SLIDE 67

Hasuo (Tokyo)

Contributions

Sufficient condition for categorical behavioral ω-bound based on

Coalgebra (transition system) Fibration (underlying logic) Predicate lifting (modality) Locally presentable category (“size”)

  • Constr. of final coalg. by

final sequence [Worrell, Adamek]

  • Coind. predicate as a

final coalgebra [Hermida, Jacobs]

Y ∃

X

i

. . . . . .

  • C
  • l

i m

i

X

i

P ϕ

  • p
  • P

p

  • C

F

  • C

P ↓p C

F X X c

Categorical infrastructure: fibration and locally presentable cat.

Some math work

slide-68
SLIDE 68

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • monotone

2X ϕ3 /2PX c−1 /2X

invariant

(c−1 ϕ3)U U ✓

slide-69
SLIDE 69

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

invariant

(c−1 ϕ3)U U ✓

slide-70
SLIDE 70

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • finitely

branching

coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

invariant

(c−1 ϕ3)U U ✓

slide-71
SLIDE 71

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • finitely

branching

coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

finitary

invariant

(c−1 ϕ3)U U ✓

slide-72
SLIDE 72

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • finitely

branching

coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

finitary coinductive specification

νϕ

invariant

(c−1 ϕ3)U U ✓

slide-73
SLIDE 73

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • finitely

branching

coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

finitary coinductive specification

νϕ

predicate lifting

ϕ : PX − → PF X

invariant

(c−1 ϕ3)U U ✓

slide-74
SLIDE 74

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • finitely

branching

coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

finitary coinductive specification

νϕ

predicate lifting

ϕ : PX − → PF X

endofunctor

PX ϕX /PF X c∗ /PX

invariant

(c−1 ϕ3)U U ✓

slide-75
SLIDE 75

Hasuo (Tokyo)

Kripke model

The Categorical Setup

Pω(X) X c O

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • finitely

branching

coalgebra

F X X c O

monotone

2X ϕ3 /2PX c−1 /2X

finitary coinductive specification

νϕ

predicate lifting

ϕ : PX − → PF X

endofunctor

PX ϕX /PF X c∗ /PX

invariant

(c−1 ϕ3)U U ✓

coalgebra (in a fibr.) (c∗ ϕ)P P O

slide-76
SLIDE 76

Hasuo (Tokyo)

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • X

monotone

2X ϕ3 /2PX c−1 /2X

coinductive specification

νϕ

predicate lifting

ϕ : PX − → PF X

endofunctor

PX ϕX /PF X c∗ /PX

invariant

(c−1 ϕ3)U U ✓

coalgebra (in a fibr.) (c∗ ϕ)P P O

  • coind. pred.

(c−1 ϕ3)Jνu. ϕ3uKc Jνu. ϕ3uKc

inductive constr.

X ◆ (c−1 ϕ3)X ◆ · · ·

slide-77
SLIDE 77

Hasuo (Tokyo)

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • X

monotone

2X ϕ3 /2PX c−1 /2X

coinductive specification

νϕ

predicate lifting

ϕ : PX − → PF X

endofunctor

PX ϕX /PF X c∗ /PX

invariant

(c−1 ϕ3)U U ✓

coalgebra (in a fibr.) (c∗ ϕ)P P O final coalg. (in a fibr.)

(c∗ ϕ)JνϕKc JνϕKc ⇠ = O

  • coind. pred.

(c−1 ϕ3)Jνu. ϕ3uKc Jνu. ϕ3uKc

inductive constr.

X ◆ (c−1 ϕ3)X ◆ · · ·

slide-78
SLIDE 78

Hasuo (Tokyo)

coinductive specification

νu. u

ϕ3 : 2X − → 2PωX

U

{X X | X U = }

  • X

monotone

2X ϕ3 /2PX c−1 /2X

coinductive specification

νϕ

predicate lifting

ϕ : PX − → PF X

endofunctor

PX ϕX /PF X c∗ /PX

invariant

(c−1 ϕ3)U U ✓

coalgebra (in a fibr.) (c∗ ϕ)P P O final coalg. (in a fibr.)

(c∗ ϕ)JνϕKc JνϕKc ⇠ = O

  • coind. pred.

(c−1 ϕ3)Jνu. ϕ3uKc Jνu. ϕ3uKc

inductive constr.

X ◆ (c−1 ϕ3)X ◆ · · ·

final sequence in a fibr.

>X (c∗ ϕX)>X · · ·

slide-79
SLIDE 79

Hasuo (Tokyo)

What Categorical Generalization Buys Us

slide-80
SLIDE 80

Hasuo (Tokyo)

What Categorical Generalization Buys Us

Final coalgebra in C: (strongly) LFP (Posets, Graphs, Vec, ...) [Adamek ’03] Coinductive pred. for different

  • Coalg. μ-calculus; coalg. automata

[Cirstea, Kupke & Pattinson, CSL ’09] [Cirstea & Sadrzadeh, CMCS’08] [Venema, I&C’06]

F : Sets → Sets

slide-81
SLIDE 81

Hasuo (Tokyo)

What Categorical Generalization Buys Us

Final coalgebra in C: (strongly) LFP (Posets, Graphs, Vec, ...) [Adamek ’03] Coinductive pred. for different

  • Coalg. μ-calculus; coalg. automata

[Cirstea, Kupke & Pattinson, CSL ’09] [Cirstea & Sadrzadeh, CMCS’08] [Venema, I&C’06]

Various “underlying logics” as

F : Sets → Sets

P ↓p C

Constructive logics

Sub(C) ↓ C

(C: a topos)

For name-passing

Sub(SetsF) ↓ SetsF

Relations (“binary pred. ”)

Rel ↓ Sets

slide-82
SLIDE 82

Hasuo (Tokyo)

What Categorical Generalization Buys Us

Final coalgebra in C: (strongly) LFP (Posets, Graphs, Vec, ...) [Adamek ’03] Coinductive pred. for different

  • Coalg. μ-calculus; coalg. automata

[Cirstea, Kupke & Pattinson, CSL ’09] [Cirstea & Sadrzadeh, CMCS’08] [Venema, I&C’06]

Various “underlying logics” as

F : Sets → Sets

P ↓p C

Constructive logics

Sub(C) ↓ C

(C: a topos)

For name-passing

Sub(SetsF) ↓ SetsF

Relations (“binary pred. ”)

Rel ↓ Sets

  • Coind. relations

e.g. bisimilarity

slide-83
SLIDE 83

Hasuo (Tokyo)

Coindution in a Fibration

conventional relational fibrational invariant bisimulation coalgebra

  • coind. pred.

bisimilarity final coalg. inductive constr. partition refinement final sequence

Pred ↓ Sets Rel ↓ Sets P ↓p C

slide-84
SLIDE 84

Part III: Technical Ingredients

Final Sequence, Fibration, Predicate Lifting, Locally Finitely Presentable Category, ...

slide-85
SLIDE 85

Hasuo (Tokyo)

Final Sequence

[Worrell, TCS’05] in Sets [Adamek, TCS’03] in strongly LFP C

1 F 1

!

  • · · ·
  • F i1
  • · · ·
slide-86
SLIDE 86

Hasuo (Tokyo)

Final Sequence

[Worrell, TCS’05] in Sets [Adamek, TCS’03] in strongly LFP C

1 F 1

!

  • · · ·
  • F i1
  • · · ·
  • { i-step behaviors}
slide-87
SLIDE 87

Hasuo (Tokyo)

Final Sequence

[Worrell, TCS’05] in Sets [Adamek, TCS’03] in strongly LFP C

F ω1 s t

πi

{ 1 F 1

!

  • · · ·
  • F i1
  • · · ·
  • lim

{ i-step behaviors}

slide-88
SLIDE 88

Hasuo (Tokyo)

Final Sequence

[Worrell, TCS’05] in Sets [Adamek, TCS’03] in strongly LFP C

F ω1 s s

πi

y 1 F 1

!

  • · · ·
  • F i1
  • · · ·
  • F (F ω1)

k j

F πi−1

d

b

_

  • 5

lim { i-step behaviors}

slide-89
SLIDE 89

Hasuo (Tokyo)

Final Sequence

: a final coalgebra? Yes, when F is limit preserving (b is iso)

[Worrell, TCS’05] in Sets [Adamek, TCS’03] in strongly LFP C

F ω1 s s

πi

y 1 F 1

!

  • · · ·
  • F i1
  • · · ·
  • F (F ω1)

k j

F πi−1

d

b

_

  • 5

lim { i-step behaviors}

F ω1

slide-90
SLIDE 90

Hasuo (Tokyo)

Final Sequence

: a final coalgebra? Yes, when F is limit preserving (b is iso) Almost, when F is finitary (b is monic) Quotient modulo beh. eq. Continue till ω+ω [Worrell]

[Worrell, TCS’05] in Sets [Adamek, TCS’03] in strongly LFP C

F ω1 s s

πi

y 1 F 1

!

  • · · ·
  • F i1
  • · · ·
  • F (F ω1)

k j

F πi−1

d

b

_

  • 5

lim { i-step behaviors}

F ω1

slide-91
SLIDE 91

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C

slide-92
SLIDE 92

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C

indices

slide-93
SLIDE 93

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

indices

slide-94
SLIDE 94

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

PY

Q Q’

indices

slide-95
SLIDE 95

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

PY

Q Q’

indices indexed entities

slide-96
SLIDE 96

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • indices

indexed entities

slide-97
SLIDE 97

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • indices

indexed entities “substitution”

slide-98
SLIDE 98

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • indices

indexed entities “substitution”

slide-99
SLIDE 99

Hasuo (Tokyo)

Fibration

“Organize indexed entities,” categorically In particular: categorical model of predicate logics

P ↓p C

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • : predicates over X

Substitution

(PX, ⊆)

PX PY f −1

  • X

f / Y

f −1(V ⊆ Y ) = V

  • f(

)

  • indices

indexed entities “substitution”

slide-100
SLIDE 100

Hasuo (Tokyo)

Fibration: from Pointwise Indexing to Display Indexing

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

slide-101
SLIDE 101

Hasuo (Tokyo)

Fibration: from Pointwise Indexing to Display Indexing

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • P

p ✏ C X f / Y

P’’

P

P’ Q’

Q

Patch up

slide-102
SLIDE 102

Hasuo (Tokyo)

Fibration: from Pointwise Indexing to Display Indexing

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • P

p ✏ C X f / Y

P’’

P

P’ Q’

Q

  • objects: |P| = `

X∈C |PX|

  • arrows:

P − → Q in P

  • X

f

→ Y in C, P → f ∗Q in PX

Patch up

slide-103
SLIDE 103

Hasuo (Tokyo)

Fibration: from Pointwise Indexing to Display Indexing

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • P

p ✏ C X f / Y

P’’

P

P’ Q’

Q

  • objects: |P| = `

X∈C |PX|

  • arrows:

P − → Q in P

  • X

f

→ Y in C, P → f ∗Q in PX

Patch up

slide-104
SLIDE 104

Hasuo (Tokyo)

Fibration: from Pointwise Indexing to Display Indexing

X f / Y in C PX

P P’ P’’

PY

Q Q’

f ∗

  • P

p ✏ C X f / Y

P’’

P

P’ Q’

Q

f ∗Q

  • objects: |P| = `

X∈C |PX|

  • arrows:

P − → Q in P

  • X

f

→ Y in C, P → f ∗Q in PX

Patch up

slide-105
SLIDE 105

Hasuo (Tokyo)

Fibration

Defn. A (poset) fibration is a functor

P #p C

such that

  • Each fiber PX is a poset.
  • For f : X ! Y in C and Q 2 PY , a “universal arrow”

fQ : f ⇤Q ! Q such that

P p

Q = ) f ⇤Q f(Q)/ Q P g

7

  • g0 O

C X f

/ Y

X f

/ Y

  • The correspondences (

)⇤ and ( ) are functorial: id⇤

Y Q = Q ,

(g f)⇤(Q) = f ⇤(g⇤Q) , idY (Q) = idQ , g f(Q) = gQ f(g⇤Q) .

slide-106
SLIDE 106

Hasuo (Tokyo)

Fibration

Defn. A (poset) fibration is a functor

P #p C

such that

  • Each fiber PX is a poset.
  • For f : X ! Y in C and Q 2 PY , a “universal arrow”

fQ : f ⇤Q ! Q such that

P p

Q = ) f ⇤Q f(Q)/ Q P g

7

  • g0 O

C X f

/ Y

X f

/ Y

  • The correspondences (

)⇤ and ( ) are functorial: id⇤

Y Q = Q ,

(g f)⇤(Q) = f ⇤(g⇤Q) , idY (Q) = idQ , g f(Q) = gQ f(g⇤Q) . Q X f / Y f ∗Q / Q X f / Y

= ⇒

slide-107
SLIDE 107

Hasuo (Tokyo)

Fibration

Defn. A (poset) fibration is a functor

P #p C

such that

  • Each fiber PX is a poset.
  • For f : X ! Y in C and Q 2 PY , a “universal arrow”

fQ : f ⇤Q ! Q such that

P p

Q = ) f ⇤Q f(Q)/ Q P g

7

  • g0 O

C X f

/ Y

X f

/ Y

  • The correspondences (

)⇤ and ( ) are functorial: id⇤

Y Q = Q ,

(g f)⇤(Q) = f ⇤(g⇤Q) , idY (Q) = idQ , g f(Q) = gQ f(g⇤Q) . Q X f / Y f ∗Q / Q X f / Y

= ⇒

what’ s substitution?

slide-108
SLIDE 108

Hasuo (Tokyo)

Fibration: Examples

(f −1Q ⊆ X) / (Q ⊆ Y ) X f / Y

Pred ↓ Sets

slide-109
SLIDE 109

Hasuo (Tokyo)

Fibration: Examples

(f −1Q ⊆ X) / (Q ⊆ Y ) X f / Y

Pred ↓ Sets Rel ↓ Sets

✓ (f × f)−1Q ⊆ X × X ◆ / (Q ⊆ Y × Y ) X f / Y

slide-110
SLIDE 110

Hasuo (Tokyo)

Fibration: Examples

(f −1Q ⊆ X) / (Q ⊆ Y ) X f / Y

Pred ↓ Sets Rel ↓ Sets

✓ (f × f)−1Q ⊆ X × X ◆ / (Q ⊆ Y × Y ) X f / Y

    /     X f / Y

f ∗P / ✏ ✏ _ P ✏ ✏ X f / Y

P ✏ ✏ Y

Sub(C) ↓ C

(C: a topos)

slide-111
SLIDE 111

Hasuo (Tokyo)

Fibration: Examples

(f −1Q ⊆ X) / (Q ⊆ Y ) X f / Y

Pred ↓ Sets Rel ↓ Sets

✓ (f × f)−1Q ⊆ X × X ◆ / (Q ⊆ Y × Y ) X f / Y

Sub(SetsF) ↓ SetsF

    /     X f / Y

f ∗P / ✏ ✏ _ P ✏ ✏ X f / Y

P ✏ ✏ Y

Sub(C) ↓ C

(C: a topos)

slide-112
SLIDE 112

Hasuo (Tokyo)

Predicate Lifting For Modality

Defn. A predicate lifting of F : C → C is ϕ : P → P s.t.

  • P

ϕ / p ✏ P p ✏ C F / C (hence ϕX : PX → PF X)

  • compatible with substitution.

For , coincides with , monotone, natural in X

Pred ↓ Sets

λX : 2X = ⇒ 2F X

slide-113
SLIDE 113

Part IV: Final Sequence in a Fibration

slide-114
SLIDE 114

Hasuo (Tokyo)

Final Sequence in a Fibration

P p ✏ C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

slide-115
SLIDE 115

Hasuo (Tokyo)

Final Sequence in a Fibration

P p ✏ F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

slide-116
SLIDE 116

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

P p ✏ F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

slide-117
SLIDE 117

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

P p ✏ F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

  • F ω+11

k k F πi−1 f b ` ⌃

  • 8
slide-118
SLIDE 118

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • F ω1

s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

  • F ω+11

k k F πi−1 f b ` ⌃

  • 8
slide-119
SLIDE 119

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

final in P1

⟹ final in P

P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • F ω1

s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

  • F ω+11

k k F πi−1 f b ` ⌃

  • 8
slide-120
SLIDE 120

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

final in P1

⟹ final in P

final seq. for φ

P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • F ω1

s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

  • F ω+11

k k F πi−1 f b ` ⌃

  • 8
slide-121
SLIDE 121

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

final in P1

⟹ final in P

final seq. for φ

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • F ω1

s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

  • F ω+11

k k F πi−1 f b ` ⌃

  • 8
slide-122
SLIDE 122

Hasuo (Tokyo)

Final Sequence in a Fibration

lim

final in P1

⟹ final in P

final seq. for φ

lim

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • F ω1

s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i−1 !

  • · · ·

F i !

  • F ω+11

k k F πi−1 f b ` ⌃

  • 8
slide-123
SLIDE 123

Hasuo (Tokyo)

Final Sequence in a Fibration

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

lim

final in P1

⟹ final in P

final seq. for φ

lim

slide-124
SLIDE 124

Hasuo (Tokyo)

Final Sequence in a Fibration

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

lim

final in P1

⟹ final in P

final seq. for φ

lim

Assume F: finitary, φ: pred. lifting of F

slide-125
SLIDE 125

Hasuo (Tokyo)

Final Sequence in a Fibration

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

lim

final in P1

⟹ final in P

final seq. for φ

lim

Assume F: finitary, φ: pred. lifting of F : “almost final coalgebra”, prototype of F-behaviors

F ω1

slide-126
SLIDE 126

Hasuo (Tokyo)

Final Sequence in a Fibration

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

lim

final in P1

⟹ final in P

final seq. for φ

lim

Assume F: finitary, φ: pred. lifting of F : “almost final coalgebra”, prototype of F-behaviors : prototype of coind. pred. for each coalgebra

F ω1 ϕω>1

F X X c O F X X c O

slide-127
SLIDE 127

Hasuo (Tokyo)

Final Sequence in a Fibration

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

lim

final in P1

⟹ final in P

final seq. for φ

lim

Key Lemma. Let

P ↓p C

be a well-founded fibration; F : C ! C be finitary; and ϕ be a predicate lifting of F . Then ϕω+1>1 = b∗(ϕω>1) .

slide-128
SLIDE 128

Hasuo (Tokyo)

Final Sequence in a Fibration

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

lim

final in P1

⟹ final in P

final seq. for φ

lim

Key Lemma. Let

P ↓p C

be a well-founded fibration; F : C ! C be finitary; and ϕ be a predicate lifting of F . Then ϕω+1>1 = b∗(ϕω>1) .

p is compatible w/ C: LFP p itself is “well-fdd”

slide-129
SLIDE 129

Hasuo (Tokyo)

Technical Contributions

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

slide-130
SLIDE 130

Hasuo (Tokyo)

Technical Contributions

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

p is compatible w/ C: LFP

slide-131
SLIDE 131

Hasuo (Tokyo)

Technical Contributions

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

P p ✏ κ∗

IP

/ P C XI κI / X

p is compatible w/ C: LFP

slide-132
SLIDE 132

Hasuo (Tokyo)

Technical Contributions

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

P p ✏ κ∗

IP

/ P C XI κI / X

∈ F

. . . . . .

p is compatible w/ C: LFP

slide-133
SLIDE 133

Hasuo (Tokyo)

Technical Contributions

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

P p ✏ κ∗

IP

/ P C XI κI / X

∈ F

colim

. . . . . .

p is compatible w/ C: LFP

slide-134
SLIDE 134

Hasuo (Tokyo)

Technical Contributions

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

P p ✏ κ∗

IP

/ P C XI κI / X

∈ F

colim

. . . . . .

p is compatible w/ C: LFP

slide-135
SLIDE 135

Hasuo (Tokyo)

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

Technical Contributions

Definition. A well-founded fibration is a poset fibration that

  • 1. is finitely determined, and
  • 2. has no decreasing ω-chain

in a fiber PX for FP X.

slide-136
SLIDE 136

Hasuo (Tokyo)

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

Technical Contributions

Theorem. Assume

  • F X

X c , a coalgebra

  • P

↓p C

is a well-founded fibration

  • F : C C, finitary
  • P

ϕ

  • p

P p

  • C

F C , predicate lifting Then the sequence X (c∗ ϕX)X (c−1 ϕ)2X · · · stablizes after ω steps, yielding νϕ as its limit.

F X X c O

Definition. A well-founded fibration is a poset fibration that

  • 1. is finitely determined, and
  • 2. has no decreasing ω-chain

in a fiber PX for FP X.

slide-137
SLIDE 137

Hasuo (Tokyo)

Definition. A finitely determined fibration

P ↓p C

is such that:

  • 1. C is LFP with F = {FP objects}

2.

P ↓p C

has fiberwise (co)limits

  • 3. For each X ∈ C and P, Q ∈ PX,

let {XI

κI

− → X}I be the canoni- cal diagram from F to X. Then P ≤ Q ⇐ ⇒ κ∗

IP ≤ κ∗ IQ, ∀I.

Technical Contributions

Theorem. Assume

  • F X

X c , a coalgebra

  • P

↓p C

is a well-founded fibration

  • F : C C, finitary
  • P

ϕ

  • p

P p

  • C

F C , predicate lifting Then the sequence X (c∗ ϕX)X (c−1 ϕ)2X · · · stablizes after ω steps, yielding νϕ as its limit.

F X X c O

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

Definition. A well-founded fibration is a poset fibration that

  • 1. is finitely determined, and
  • 2. has no decreasing ω-chain

in a fiber PX for FP X.

slide-138
SLIDE 138

Hasuo (Tokyo)

Examples (or: Fibrations vs LFP)

Finitely determined: very often

Prop. Assume C is LFP and LCCC. Then

  • Sub(C) is LFP; and
  • Sub(C)

↓ C

is finitely determined.

Prop. Assume Ω is an algebraic lattice. Consider

Fam(Ω) ↓ Sets

; then

  • Fam(Ω) is locally presentable; and
  • Fam(Ω)

↓ Sets

is finitely determined.

slide-139
SLIDE 139

Hasuo (Tokyo)

Examples (or: Fibrations vs LFP)

Finitely determined: very often

Prop. Assume C is LFP and LCCC. Then

  • Sub(C) is LFP; and
  • Sub(C)

↓ C

is finitely determined.

Prop. Assume Ω is an algebraic lattice. Consider

Fam(Ω) ↓ Sets

; then

  • Fam(Ω) is locally presentable; and
  • Fam(Ω)

↓ Sets

is finitely determined.

topos ⟹ LCCC

slide-140
SLIDE 140

Hasuo (Tokyo)

Examples (or: Fibrations vs LFP)

Finitely determined: very often

Prop. Assume C is LFP and LCCC. Then

  • Sub(C) is LFP; and
  • Sub(C)

↓ C

is finitely determined.

Prop. Assume Ω is an algebraic lattice. Consider

Fam(Ω) ↓ Sets

; then

  • Fam(Ω) is locally presentable; and
  • Fam(Ω)

↓ Sets

is finitely determined.

topos ⟹ LCCC Algebraic lattice:

every elem. is a sup

  • f compact elem’

s “LFP poset”

slide-141
SLIDE 141

Hasuo (Tokyo)

Definition. A well-founded fibration is a poset fibration that

  • 1. is finitely determined, and
  • 2. has no decreasing ω-chain

in a fiber PX for FP X.

Well-founded: depends

Examples

slide-142
SLIDE 142

Hasuo (Tokyo)

fin.-det., well-founded fin.-det., well-founded fin.-det., not well-fdd

Pred ↓ Sets , Rel ↓ Sets

Definition. A well-founded fibration is a poset fibration that

  • 1. is finitely determined, and
  • 2. has no decreasing ω-chain

in a fiber PX for FP X.

Sub(SetsF) ↓ SetsF

,

Sub(SetsF+) ↓ SetsF+ Sub(SetsI) ↓ SetsI

Well-founded: depends

Examples

slide-143
SLIDE 143

Hasuo (Tokyo)

fin.-det., well-founded fin.-det., well-founded fin.-det., not well-fdd

Pred ↓ Sets , Rel ↓ Sets

Definition. A well-founded fibration is a poset fibration that

  • 1. is finitely determined, and
  • 2. has no decreasing ω-chain

in a fiber PX for FP X.

Sub(SetsF) ↓ SetsF

,

Sub(SetsF+) ↓ SetsF+ Sub(SetsI) ↓ SetsI

Well-founded: depends

Examples

slide-144
SLIDE 144

Part IV: Conclusions & Future Work

slide-145
SLIDE 145

Hasuo (Tokyo)

In C ? In a fibration !! This work: final coalgebra in p; final sequcence in p

F X / _ _ _ _ _ F Z X c O beh(c) / _ _ _ _ _ _ Z final ∼ = O

P ↓p C

{ F-behaviors } + coinductive predicate

Coinduction Fibered

slide-146
SLIDE 146

Hasuo (Tokyo)

Conclusions

Inductive construction [Cousot & Cousot, ’79] Final sequence in a fibration behavioral ω-bound: conditions formulated in LFP terms Covers various logics

relations, constructive, name-passing, ...

X

  • (c−1 ϕ)X
  • (c−1 ϕ)2X
  • · · ·

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8
slide-147
SLIDE 147

Hasuo (Tokyo)

Conclusions

X

  • (

c

− 1

  • ϕ
  • )

X

  • (

c

− 1

  • ϕ
  • )

2

X

  • ·

· ·

ϕω>1 s s x P p ✏ >1 ϕ>1

  • · · ·
  • ϕi>1
  • · · ·
  • ϕω+1>1

k k f b0 ^

  • 6

F ω1 s s πi x C 1 F 1 !

  • · · ·
  • F i1

F i1 !

  • · · ·

F i !

  • F ω+11

k k F πi1 f b ` ⌃

  • 8

conventional relational fibrational invariant bisimulation coalgebra

  • coind. pred.

bisimilarity final coalg. inductive constr. partition refinement final sequence

Pred ↓ Sets Rel ↓ Sets P ↓p C

slide-148
SLIDE 148

Hasuo (Tokyo)

Future Work

General proof principles for coinduction Parametrized coind. [Hur, Neis, Dreyer & Vafeiadis, POPL

’13]

Bisimulation up-to [Bonchi & Pous, POPL

’13]

  • Appl. to termination analysis of algorithms

Bisimilarity check, etc. Infinite states Current result: semidecidability To the full fixedpoint logics

  • Coalg. μ-calculus, coalg. automata, ... fibrationally

Model checking algorithms Combine with bialgebraic SOS Games ↔ automata ↔ fixedpoint logic

Proof assistants Much like appl. of final sequences

slide-149
SLIDE 149

Hasuo (Tokyo)

Future Work

General proof principles for coinduction Parametrized coind. [Hur, Neis, Dreyer & Vafeiadis, POPL

’13]

Bisimulation up-to [Bonchi & Pous, POPL

’13]

  • Appl. to termination analysis of algorithms

Bisimilarity check, etc. Infinite states Current result: semidecidability To the full fixedpoint logics

  • Coalg. μ-calculus, coalg. automata, ... fibrationally

Model checking algorithms Combine with bialgebraic SOS Games ↔ automata ↔ fixedpoint logic

Proof assistants Much like appl. of final sequences

Thank you for your attention!

Ichiro Hasuo (Dept. CS, U Tokyo)

h t t p : / / w w w

  • m

m m . i s . s . u

  • t
  • k

y

  • .

a c . j p / ~ i c h i r

  • /