70
From asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris Denis Diderot Workshop on Geometry of Interaction, Traced Monoidal Categories, Implicit Complexity Kyoto, Tuesday 25 August 2009 1

From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

From asynchronous games to coherence spaces

Paul-André Melliès

CNRS, Université Paris Denis Diderot

Workshop on

Geometry of Interaction, Traced Monoidal Categories, Implicit Complexity

Kyoto, Tuesday 25 August 2009

1

Page 2: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

An anomaly of the Geometry of Interaction

contraction

contraction

!A?(A⊥)

contraction

contraction

$? (A^{\bot})$1$! A$1

Very much studied in the field of game semantics

2

Page 3: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Game semantics

Every proof of formula A initiates a dialogue where

Proponent tries to convince Opponent

Opponent tries to refute Proponent

An interactive approach to logic and programming languages

3

Page 4: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Four basic operations on logical games

the negation ¬ A

the sum A⊕B

the tensor A⊗B

the exponential ! A

Algebraic structure similar to linear algebra !

4

Page 5: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Negation

ProponentProgram

plays the game

A

OpponentEnvironment

plays the game

¬ A

Negation permutes the rôles of Proponent and Opponent

5

Page 6: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Negation

OpponentEnvironment

plays the game

¬ A

ProponentProgram

plays the game

A

Negation permutes the rôles of Opponent and Proponent

6

Page 7: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Sum

Proponent selects one component

7

Page 8: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Tensor product

Opponent plays the two games in parallel

8

Page 9: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Exponentials

⊗ ⊗ ⊗ · · ·

Opponent opens as many copies as necessary to beat Proponent

9

Page 10: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Policy of the talk

In order to clarify game semantics, compare it to relational semantics...

Key idea: the strategy σ associated to a proof π should contain its clique.

10

Page 11: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Part I

Additives in sequential games

Sequential strategies at the leaves

11

Page 12: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Sequential games

A proof π alternatingsequences of moves A proof π

12

Page 13: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Sequential games

A sequential game (M,P, λ) consists of

M a set of moves,P ⊆M∗ a set of plays,

λ : M → {−1,+1} a polarity function on moves

such that every play is alternating and starts by Opponent.

Alternatively, a sequential game is an alternating decision tree.

13

Page 14: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Sequential games

The boolean game B:

V F

qtrue

__???????????????false

??���������������

∗question

OO

Player in redOpponent in blue

14

Page 15: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Strategies

A strategy σ is a set of alternating plays of even-length

s = m1 · · ·m2k

such that:

— σ contains the empty play,

— σ is closed by even-length prefix:

∀s, ∀m,n ∈M, s ·m · n ∈ σ ⇒ s ∈ σ

— σ is deterministic:

∀s ∈ σ,∀m,n1, n2 ∈M, s ·m · n1 ∈ σ and s ·m · n2 ∈ σ ⇒ n1 = n2.

15

Page 16: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Three strategies on the boolean game B

V F

qtrue

__???????????????false

??���������������

∗question

OO

Player in redOpponent in blue

16

Page 17: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Total strategies

A strategy σ is total when

— for every play s of the strategy σ,

— for every Opponent move m such that s ·m is a play,

there exists a Proponent move n such that s ·m · n is a play of σ.

17

Page 18: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Two total strategies on the boolean game B

V F

qtrue

__???????????????false

??���������������

∗question

OO

Player in redOpponent in blue

18

Page 19: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

From sequential games to coherence spaces

The diagram commutes

strategy

leaves

��

proof

99sssssssssssssssssssss

%%KKKKKKKKKKKKKKKKKKKKK

clique

for every proof of a purely additive formula.

19

Page 20: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

From sequential games to coherence spaces

Let G denote the category

— with families of sequential games as objects,— with families of sequential strategies as morphisms.

Proposition. The category G is the free category with sums, equippedwith a contravariant functor

¬ : G −→ G op

and a bijection

ϕx,y : G (x,¬y) ∼= G (y,¬x)natural in x and y.

20

Page 21: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A theorem for free

There exists a functor

leaves : G // Coh

which preserves the sum, and transports the non-involutive negation of thecategory G into the involutive negation of the category Coh.

This functor collapses the dynamic semantics into a static one

21

Page 22: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Part II (a)

Multiplicatives in asynchronous games

From trajectories to positions

22

Page 23: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Sequential games: an interleaving semantics

The tensor product of two boolean games B1 et B2:

false2

WW//////////true1

GG����������

q2

WW//////////q1

GG����������

true1

WW//////////false2

GG����������

q1

__????????????q2

??������������

23

Page 24: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A step towards true concurrency: bend the branches!

false277oooooooooooooooooo

true1ggOOOOOOOOOOOOOOOOOO

q2??�����������

q1__???????????

true1

__??????????? false2

??�����������

q1

ggOOOOOOOOOOOOOOOOOOq2

77oooooooooooooooooo

24

Page 25: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

True concurrency: tile the diagram!

V ⊗ F

V ⊗ q

false2

99ssssssssssssssss

∼ q ⊗ F

true1

eeKKKKKKKKKKKKKKKK

V ⊗ ∗

q299ssssssssssssssss

∼ q ⊗ qtrue1KKKKKK

eeKKKKKK

false2ssssss

99ssssss

∼ ∗ ⊗ F

q1eeJJJJJJJJJJJJJJJJ

q ⊗ ∗true1

eeKKKKKKKKKKKKKKKK

q2ssssss

99ssssss

∼ ∗ ⊗ qq1KKKKKK

eeKKKKKK

false2

99ssssssssssssssss

∗ ⊗ ∗q1

eeLLLLLLLLLLLLLLLLLq2

99rrrrrrrrrrrrrrrrr

25

Page 26: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Asynchronous game semantics

A proof π trajectories inasynchronous transition spaces A proof π

The phenomenon refined: a truly concurrent semantics of proofs.

26

Page 27: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Asynchronous games

An asynchronous game is an event structure equipped with a polarityfunction

λ : M −→ {−1,+1}

indicating whether a move is Player (+1) or Opponent (−1).

27

Page 28: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Legal plays

A legal play is a path

∗ m1−→ x1m2−→ x2

m3−→ · · ·xk−1mk−→ xk

starting from the empty position ∗ of the transition space, and satisfying:

∀i ∈ [1, ..., k], λ(mi) = (−1)i.

So, a legal play is alternated and starts by an Opponent move.

28

Page 29: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Strategies

A strategy is a set of legal plays of even length, such that:

— σ contains the empty play,

— σ is closed under even-length prefix

s ·m · n ∈ σ ⇒ s ∈ σ,

— σ is deterministics ·m · n1 ∈ σ and s ·m · n2 ∈ σ ⇒ n1 = n2.

A strategy plays according to the current play.

29

Page 30: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Innocence: strategies with partial information

Full abstraction result [Martin Hyland, Luke Ong, Hanno Nickau, 1994]

Innocence characterizes the interactive behaviour of λ-terms.

An innocent strategy plays according to the current view.

30

Page 31: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Where are the pointers in asynchronous games?

m · nWW · pVV · ntt · paa · nww · pgg · m · nWW · pww

Play = sequence of moves with pointers

31

Page 32: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Event structure = generalized arena

E

L2

|||||||

R2

CCCCCCC

L1 R1

B

CCCCCCC

{{{{{{{

E

OO

R2??�������� ∼L2

__????????

R1??�������� ∼

__????????

??�������� ∼L1

__????????

L2

__????????

??�������� ∼

__???????? R2

??��������

L1

__???????? R1

??��������

B

OO

B · L1XX · L2ZZ· R1

��

· R2��

· E��

XX

32

Page 33: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Event structure = generalized arena

E

L2

|||||||

R2

CCCCCCC

L1 R1

B

CCCCCCC

{{{{{{{

E

OO

R2??�������� ∼L2

__????????

R1??�������� ∼

__????????

??�������� ∼L1

__????????

L2

__????????

??�������� ∼

__???????? R2

??��������

L1

__???????? R1

??��������

B

OO

B · L1XX · R1

· L2XX· R2

��

· E��

UU

33

Page 34: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

From this follows a reformulation of innocence...

34

Page 35: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Backward innocence

σ 3

s2

OOOO

P??����������

O??���������� ∼

__??????????

P

__??????????

??���������� ∼

__??????????

O

__?????????? O

??����������

s1

OOOO

s2

OOOO

P??���������� ∼

P__??????????

O??���������� ∼

__??????????

??���������� ∼O

__??????????

P

__??????????

??���������� ∼

__?????????? P

??����������

O

__?????????? O

??����������

s1

OOOO

∈ σ

35

Page 36: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Forward innocence

σ 3O

??���������� ∼

__??????????

P

__??????????

??���������� ∼

__?????????? P

??����������

O

__?????????? O

??����������

s1

OOOO

∈ σ

σ 3

P??���������� ∼

P__??????????

O??���������� ∼

__??????????

??���������� ∼O

__??????????

P

__??????????

??���������� ∼

__?????????? P

??����������

O

__?????????? O

??����������

s1

OOOO

∈ σ

36

Page 37: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Innocent strategies are positional

Definition. A strategy σ is positional when for every two plays s1 and s2with same target x:

s1 ∈ σ and s2 ∈ σ and s1 · t ∈ σ ⇒ s2 · t ∈ σ

Theorem (by an easy diagrammatic proof)Every innocent strategy σ is positional

More: An innocent strategy is characterized by the positions it reaches.

37

Page 38: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

An illustration: the strategy (true ⊗ false)

V ⊗ F

V ⊗ q

false299sssssssssssssss

∼ q ⊗ F

true1eeKKKKKKKKKKKKKKK

V ⊗ ∗

q299tttttttttttttt

∼ q ⊗ qtrue1KKKKKK

eeKKKKKK

false2ssssss

99ssssss

∼ ∗ ⊗ F

q1eeJJJJJJJJJJJJJJ

q ⊗ ∗true1

eeKKKKKKKKKKKKKK

q2ssssss

99ssssss

∼ ∗ ⊗ qq1KKKKKK

eeKKKKKK

false2

99ssssssssssssss

∗ ⊗ ∗q1

eeLLLLLLLLLLLLLLL q2

99sssssssssssssss

Strategies becomeclosure operatorson complete latticesas in Abramsky-M.concurrent games.

38

Page 39: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

From asynchronous games to coherence spaces

The diagram commutes

strategy

leaves

��

proof

99sssssssssssssssssssss

%%KKKKKKKKKKKKKKKKKKKKK

clique

for every proof of a multiplicative additive formula.

39

Page 40: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Part II (b)

Multiplicatives in asynchronous games

The free dialogue category

40

Page 41: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Dialogue categories

A symmetric monoidal category C equipped with a functor

¬ : C op −→ C

and a natural bijection

ϕA,B,C : C (A ⊗ B , ¬C) ∼= C (A , ¬ (B ⊗ C ) )

¬

CBA

⊗ ∼=

¬

CBA

41

Page 42: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

The free dialogue category

The objects of the category free-dialogue(C ) are families of dialoguegamesconstructed by the grammar

A,B ::= X | A⊕B | A⊗B | ¬A | 1

where X is an object of the category C .

The morphisms are total and innocent strategies on dialogue games.

As we will see: proofs are 3-dimensional variants of knots...

42

Page 43: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A theorem for free

There exists a functor

leaves : free-dialogue(C ) // Coh

which preserves the sum, the tensor, and transports the non-involutivenegation of the category G into the involutive negation of the category Coh.

This functor collapses the dynamic semantics into a static one

43

Page 44: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Tensor logic

tensor logic = a logic of tensor and negation

= linear logic without A ∼= ¬¬A= the very essence of polarization

Offers a synthesis of linear logic, games and continuations

Research program: recast every aspect of linear logic in this setting

44

Page 45: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Part III

Exponentials in orbital games

Uniformity formulated as interactive group invariance

45

Page 46: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Exponentials

!A =⊗n∈N

A

46

Page 47: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Justification vs. copy indexing

In the presence of repetition, the backtracking policy of arena games

m · nTT · pTT · nww · pZZ · nyy · pdd · m · nTT · pvv

may be alternatively formulated by indexing threads

m · n

0

TT · p

0

TT · n1

ww · p

0

ZZ · n

2

yy · p

1

dd · m · n

0

TT · p

1

vv

47

Page 48: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Justification vs. copy indexing

The justified play with copy indexing

m · n

0

TT · p

0

TT · n1

ww · p

0

ZZ · n

2

yy · p

1

dd · m · n

0

TT · p

1

vv

may be then seen as a play in an asynchronous game

(m,0) · (n,00) · (p,000) · (n,01) · (p,010) · · ·

· · · (n,02) · (p,001) · (m,1) · (n,10) · (p,011)

48

Page 49: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

An associativity problem

The following diagram does not commute

!A d //

d

��

!A⊗!Ad⊗!A // (!A⊗!A)⊗!A

α

��

!A⊗!A !A⊗d// !A⊗ (!A⊗!A)

Hence, comultiplication is not associative.

49

Page 50: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Abramsky, Jagadeesan, Malacaria games (1994)

However, this diagram does commute... up to thread indexing !

!A d //

d

��

!A⊗!Ad⊗!A // (!A⊗!A)⊗!A

α

��

!A⊗!A !A⊗d// !A⊗ (!A⊗!A)

So, the game !A defines a pseudo-comonoid instead of a comonoid...

50

Page 51: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A main difficulty

The dereliction strategies εi are equal up to reindexing

!((X ⊕ X) ( X) ( (X ⊕ X) ( X

∗∗[i]

true[i]true

51

Page 52: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A non uniform taster

The strategy taster defined as

!((X ⊕ X) ( X)

∗[i]true[i]

!((X ⊕ X) ( X)

∗[j]false[j]

tastes the difference between εi and εj in the sense that

εi ◦ taster 6= εj ◦ taster.

52

Page 53: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Orbital games

An asynchronous game equipped with

– two groups GA and HA,

– a left group action on moves GA ×MA −→MA

– a right group action on moves MA ×HA −→MA

preserving the asynchronous structure, and such that the left and rightactions commute:

∀m ∈MA, ∀g ∈ GA, ∀h ∈ HA, (g �m) � h = g � (m � h).

53

Page 54: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Alternatively

An orbital game is an asynchronous game A equipped with

– a class GA of automorphisms of A closed under composition,

– a class HA of automorphisms of A closed under composition,

such that

Ag−→ A

h−→ A = Ah−→ A

g−→ A

The two definitions are essentially the same...

54

Page 55: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

An equivalence relation on plays

Two plays s and t are equal up to reindexing

s ≈ t

when there exists g ∈ GA and HA such that

t = g � s � h.

55

Page 56: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A simulation preorder between strategies (AJM)

A strategy σ is simulated by a strategy τ when for every pair of plays

s ≈ s′

and for all moves m,n,m′ such that

s ·m · n ∈ σ and s′ ∈ τ and s ·m ≈A s′ ·m′

there exists a move n′ such that

s ·m · n ≈A s′ ·m′ · n′ and s′ ·m′ · n′ ∈ τ.

σ wsim τ

56

Page 57: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Interactive invariance

A strategy σ is covered by a strategy τ when

∀s ∈ σ, ∀h ∈ HT , ∃g ∈ GT , g � s � h ∈ τ.

σ w inv τ

57

Page 58: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Proposition

Suppose that σ and τ are strategies of an orbital game. Then,

σ wsim τ ⇐⇒ σ w inv τ

This leads to a 2-category of orbital games and uniform strategies, where!A is a pseudo-comonoid.

58

Page 59: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Projection to coherence spaces

The functor

Orbital −→ Rel

projects a position to its orbit in the orbital game.

In particular, an indexed family of positions in the game

!A =⊗n∈N

A

is transported to a multiset of positions.

The locative information is lost on the way...

59

Page 60: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Interactive invariance on the syntax

Exponential boxes are replaced by «mille-feuilles» whose uniformity is cap-tured by interactive reindexing.

(λx.x(i))~P 7→ Pi

Innocence precedes uniformity...

60

Page 61: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

A link to complexity

Construct the free dialogue category with pseudo-comonoids.

61

Page 62: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Part IV

A bialgebraic definition of traces

Towards a 2-dimensional approach to the Geometry of Interaction

62

Page 63: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Traced monoidal categories

A trace in a balanced category C is an operator

A⊗ U −→ B ⊗ UTrUA,B

A −→ B

depicted as feedback in string diagrams:

63

Page 64: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Trace operator

( ) ff =

AA

U

B BU

U

TrUA,B

64

Page 65: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Sliding (naturality in U )

u

u

ff =

AA

B B

V

U

U

V

65

Page 66: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Tightening (naturality in A,B)

a

b

a

b

f f=

66

Page 67: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Vanishing (monoidality in U )

f f=

U ⊗ V

V

U

f f=

I

67

Page 68: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Superposing

gff gf g ==

68

Page 69: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Yanking

UUU

= =

69

Page 70: From asynchronous games to coherence spaces › ~sinya › gti › slides › 05-Mellies.pdfFrom asynchronous games to coherence spaces Paul-André Melliès CNRS, Université Paris

Trace

C

C

C

C

trace

70