Relational Formalisations of Compositions and Liftings of - - PowerPoint PPT Presentation

relational formalisations of compositions and liftings of
SMART_READER_LITE
LIVE PREVIEW

Relational Formalisations of Compositions and Liftings of - - PowerPoint PPT Presentation

Relational Formalisations of Compositions and Liftings of Multirelations Hitoshi Furusawa 1 , Yasuo Kawahara 2 , Georg Struth 3 and Norihiro Tsumagari 4 1 Department of Mathematics and Computer Science, Kagoshima University 2 Professor Emeritus,


slide-1
SLIDE 1

Relational Formalisations of Compositions and Liftings of Multirelations Hitoshi Furusawa1, Yasuo Kawahara2, Georg Struth3 and Norihiro Tsumagari4

1Department of Mathematics and Computer Science, Kagoshima University 2Professor Emeritus, Kyushu University 3Department of Computer Science, The University of Sheffield 4Center for Education and Innovation, Sojo University

RAMiCS 15, Braga, 2015/10/1

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-2
SLIDE 2

Our contributions

Relational formalization of 3 kinds of compositions by introducing the liftings of multirelations. Kleisli’s composition: α ◦ β = αβ◦ Peleg’s composition: α ∗ β = αβ∗ Parikh’s composition: α ⋄ β = αβ⋄

β◦ : Kleisli lifting, β∗ : Peleg lifting, β⋄ : Parikh lifting β◦, β∗, β⋄ : ℘(Y ) ⇁ ℘(Z)

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-3
SLIDE 3

Our contributions

We give subclasses of multirelations that form categories with each composition, respectively. subclass composition the unit mappings α ◦ β (Kleisli) the singleton map

f : X → ℘(Y ) {(a, {a}) | a ∈ X}

union-closed α ∗ β (Peleg) the singleton map multirelations

{(a, {a}) | a ∈ X}

up-closed α ⋄ β (Parikh) the membership rel. multirelations

{(a, A) | a ∈ A}

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-4
SLIDE 4

Outline

1 Kleisli lifting and Kleisli’s composition 2 Peleg lifting and Peleg’s composition 3 Parikh lifting and Parikh’s composition 4 Associativity and the unit of each composition Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-5
SLIDE 5

Kleisli’s composition

Proposition For α : X ⇁ ℘(Y ), β : Y ⇁ ℘(Z) α ◦ β = αβ◦ where β◦ is the Kleisli lifting of β.

We introduce the Kleisli lifting β◦ so that (B, A) ∈ β◦ ⇔ A = ∪ β(B)

β(B) = {C | ∃b ∈ B.(b, C) ∈ β}

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-6
SLIDE 6

Kleisli lifting

Definition

For β : Y ⇁ ℘(Z), define β◦ : ℘(Y ) ⇁ ℘(Z) by

β◦ = ℘(β∋Z)

∋Z: the converse of the membership relation (B, A) ∈ ℘(β∋Z) ⇔ a ∈ A ↔ ∃b ∈ B.(b, a) ∈ β∋Z

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-7
SLIDE 7

Peleg’s composition

Proposition For α : X ⇁ ℘(Y ), β : Y ⇁ ℘(Z) α ∗ β = αβ∗ where β∗ is the Peleg lifting of β.

We introduce the Peleg lifting β∗ so that (B, A) ∈ β∗ ⇔ ∃f. (∀b ∈ B. (b, f(b)) ∈ β) ∧ A = ∪ f(B)

f(B) = {C | ∃b ∈ B.(b, C) ∈ f}

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-8
SLIDE 8

Peleg lifting

Definition

For β : Y ⇁ ℘(Z), define β∗ : ℘(Y ) ⇁ ℘(Z) by

β∗ = ⊔

f⊑cβ

ˆ u⌊β⌋f◦

f◦: the Kleisli lifting of f ⌊β⌋: the relational domain of β f ⊑c β ⇔ f ⊑ β ∧ f : pfn ∧ ⌊f⌋ = ⌊β⌋ ˆ u⌊β⌋: the power subidentity of ⌊β⌋ The power subidentity ˆ uv ⊑ id℘(Y ) of v ⊑ idY is defined by (A, A) ∈ ˆ uv ⇔ ∀a ∈ A. (a, a) ∈ v

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-9
SLIDE 9

Parikh’s composition

Proposition For α : X ⇁ ℘(Y ), β : Y ⇁ ℘(Z) α ⋄ β = αβ⋄ where β⋄ is the Parikh lifting of β.

We introduce the Parikh lifting β⋄ so that (B, A) ∈ β⋄ ⇔ ∀b ∈ B. (b, A) ∈ β

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-10
SLIDE 10

Parikh lifting

Definition

For β : Y ⇁ ℘(Z), we define β⋄ : ℘(Y ) ⇁ ℘(Z) by

β⋄ = ∋Y ▷ β

▷ : the right residuation

(B, A) ∈ ∋Y ▷ β ⇔ ∀y ∈ Y. ( (B, b) ∈ ∋Y ⇒ (b, A) ∈ β )

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-11
SLIDE 11

Kleisli’s composition: α ◦ β = αβ◦ Peleg’s composition: α ∗ β = αβ∗ Parikh’s composition: α ⋄ β = αβ⋄

β◦ : Kleisli lifting, β∗ : Peleg lifting, β⋄ : Parikh lifting

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-12
SLIDE 12

Outline

Kleisli lifting and Kleisli’s composition Peleg lifting and Peleg’s composition Parikh lifting and Parikh’s composition Associativity and the unit of each composition

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-13
SLIDE 13

Why do we have to consider the associativity?

Peleg’s composition need not be associative.

Example (Furusawa and Struth, CoRR, 2014) Let X = {a, b}, α, β : X ⇁ ℘(X) α = {(a, {a, b}), (a, {a}), (b, {a})} β = {(a, {a}), (a, {b})} Then (α ∗ α) ∗ β = {(a, {a}), (a, {b}), (b, {a}), (b, {b})} ⊑ {(a, {a}), (a, {b}), (b, {a}), (b, {b}), (a, {a, b})} = α ∗ (α ∗ β)

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-14
SLIDE 14

Why do we have to consider the associativity?

Parikh’s composition need not be associative.

Example (Tsumagari, PhD thesis) Let X = {a, b, c}, α, β : X ⇁ ℘(X) α = {(a, {a, b, c}), (b, {a, b, c}), (c, {a, b, c})} β = {(a, {b, c}), (b, {a, c}), (c, {a, b})} Then (α ⋄ β) ⋄ α = 0X℘(X) ⊑ α = α ⋄ (β ⋄ α)

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-15
SLIDE 15

To prove the associativity

Let □ ∈ {◦, ∗, ⋄}. (α □ β) □ γ = α □ (β □ γ) ↔ (αβ□) □ γ = α □ (βγ□) ↔ αβ□γ□ = α(βγ□)□ ← β□γ□ = (βγ□)□

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-16
SLIDE 16

To prove the associativity

Lemma For □ ∈ {◦, ∗, ⋄}, β□γ□ ⊑ (βγ□)□

We have (α □ β) □ γ ⊑ α □ (β □ γ). How about the converse implication?

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-17
SLIDE 17

Associativity of Kleisli’s composition

For Kleisli’s composition Lemma β◦γ◦ = (βγ◦)◦ Proposition (α ◦ β) ◦ γ = α ◦ (β ◦ γ)

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-18
SLIDE 18

Associativity of Peleg’s composition

For Peleg’s composition Lemma If γ : Z ⇁ ℘(W ) is union-closed, (βγ∗)∗ ⊑ β∗γ∗ Proposition If γ : Z ⇁ ℘(W ) is union-closed, (α ∗ β) ∗ γ = α ∗ (β ∗ γ)

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-19
SLIDE 19

Associativity of Peleg’s composition

Definition γ : Z ⇁ ℘(W ) is called union-closed if ⌊ρ⌋(ρ∋W)@ ⊑ γ

for all relations ρ : Z ⇁ ℘(W ) such that ρ ⊑ γ.

(a, B) ∈ α@ ⇔ B = {b | (a, b) ∈ α}

Note: γ : Z ⇁ ℘(W ) is union-closed iff B ̸= ∅ ∧ B ⊆ {B | (a, B) ∈ γ} ⇒ (a, ∪ B) ∈ γ for each a ∈ Z.

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-20
SLIDE 20

Associativity of Parikh’s composition

For Parikh’s composition Lemma If β : Y ⇁ ℘(Z) is up-closed, (βγ⋄)⋄ ⊑ β⋄γ⋄ Proposition If β : Y ⇁ ℘(Z) is up-closed, (α ⋄ β) ⋄ γ = α ⋄ (β ⋄ γ)

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-21
SLIDE 21

Associativity of Parikh’s composition

Definition β : Y ⇁ ℘(Z) is called up-closed if βΞZ = β

(C, C′) ∈ ΞZ ⇔ C ⊑ C′ Note: β : Y ⇁ ℘(Z) is up-closed iff (b, C) ∈ β ∧ C ⊑ C′ → (b, C′) ∈ β

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-22
SLIDE 22

Unit of each composition

What is the unit of each composition? α □ 1 = 1 □ α = α

1: the unit of □

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-23
SLIDE 23

Example: multirelations on a singleton

Let X = {a} and 0 = 0X℘(X) α = {(a, ∅)} β = {(a, {a})} γ = {(a, ∅), (a, {a})} These are all relations from X to ℘(X).

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-24
SLIDE 24

0 = 0X℘(X), α = {(a, ∅)}, β = {(a, {a})}, γ = {(a, ∅), (a, {a})}

Kleisli liftings of these relations: 0◦ = α◦ = {(∅, ∅), ({a}, ∅)} β◦ = γ◦ = {(∅, ∅), ({a}, {a})} Kleisli’s composition table:

  • α

β γ α α α α α β α α β β γ α α γ γ β and γ are right units and there is no left unit.

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-25
SLIDE 25

If we consider mappings (i.e. total and univalent multirelations)

0 = 0X℘(X),α = {(a, ∅)}, β = {(a, {a})}, γ = {(a, ∅), (a, {a})}

Kleisli’s composition table:

  • α

β α α α β α β The singleton map β is the unit w.r.t. Kleisli’s composition.

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-26
SLIDE 26

0 = 0X℘(X), α = {(a, ∅)}, β = {(a, {a})}, γ = {(a, ∅), (a, {a})}

Peleg liftings of these relations: 0∗ = {(∅, ∅)} α∗ = {(∅, ∅), ({a}, ∅)} β∗ = {(∅, ∅), ({a}, {a})} γ∗ = {(∅, ∅), ({a}, ∅), ({a}, {a})} Peleg’s composition table: ∗ α β γ α α α α α β α β γ γ α α γ γ The singleton map β is the unit w.r.t. Peleg’s composition. [Furusawa, Struth, CoRR, 2014]

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-27
SLIDE 27

0 = 0X℘(X), α = {(a, ∅)}, β = {(a, {a})}, γ = {(a, ∅), (a, {a})}

Parikh lifting of these relations: 0⋄ = {(∅, ∅), (∅, {a})} α⋄ = {(∅, ∅), (∅, {a}), ({a}, ∅)} β⋄ = {(∅, ∅), (∅, {a}), ({a}, {a})} γ⋄ = ∇℘(X)℘(X) Parikh’s composition table: ⋄ α β γ α γ γ γ γ β α β γ γ γ γ γ γ So, β is the left unit and there is no right unit.

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-28
SLIDE 28

If we consider up-closed multirelations

0 = 0X℘(X), α = {(a, ∅)},β = {(a, {a})}, γ = {(a, ∅), (a, {a})}

Parikh’s composition table: ⋄ β γ β β γ γ γ γ γ The membership relation β is the unit w.r.t. Parikh’s compositon.

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-29
SLIDE 29

Conclusion

We formalized 3 kinds of compositions of multirelations in relational calculi. We showed that each of the following subclasses of multirelations forms a category with each composition. subclass composition the unit mappings α ◦ β (Kleisli) the singleton map

f : X → ℘(Y ) {(a, {a}) | a ∈ X}

union-closed α ∗ β (Peleg) the singleton map multirelations

{(a, {a}) | a ∈ X}

up-closed α ⋄ β (Parikh) the membership rel. multirelations

{(a, A) | a ∈ A}

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations

slide-30
SLIDE 30

Conclusion

We formalized 3 kinds of compositions of multirelations in relational calculi. We showed that each of the following subclasses of multirelations forms a category with each composition. subclass composition the unit mappings α ◦ β (Kleisli) the singleton map

f : X → ℘(Y ) {(a, {a}) | a ∈ X}

union-closed α ∗ β (Peleg) the singleton map multirelations

{(a, {a}) | a ∈ X}

up-closed α ⋄ β (Parikh) the membership rel. multirelations

{(a, A) | a ∈ A}

Thank you for your attention!

Norihiro Tsumagari Relational Formalisations of Compositions and Liftings of Multirelations