SlideShare ist ein Scribd-Unternehmen logo
1 von 58
Downloaden Sie, um offline zu lesen
Better Late Than Never
A fully-abstract semantics for Classical Processes
Wen Kokke
University of Edinburgh
Fabrizio Montesi
University of Southern Denmark
Marco Peressotti
University of Southern Denmark
POPL’19
Proofs as Processes
Linear Logic (LL) corresponds to a type system for a process calculus
proofs correspond to processes;
propositions correspond to session types.
Kokke, Montesi, Peressotti Better Late Than Never 1
Proofs as Processes
Linear Logic (LL) corresponds to a type system for a process calculus
proofs correspond to processes;
propositions correspond to session types.
Girard 1987 Linear Logic
Kokke, Montesi, Peressotti Better Late Than Never 1
Proofs as Processes
Linear Logic (LL) corresponds to a type system for a process calculus
proofs correspond to processes;
propositions correspond to session types.
Girard 1987 Linear Logic
Abramsky 1994
Bellin and Scott 1994
Propositions as linear types
for processes
Kokke, Montesi, Peressotti Better Late Than Never 1
Proofs as Processes
Linear Logic (LL) corresponds to a type system for a process calculus
proofs correspond to processes;
propositions correspond to session types.
Girard 1987 Linear Logic
Abramsky 1994
Bellin and Scott 1994
Propositions as linear types
for processes
Honda 1993
Session types (based on duality)
Kokke, Montesi, Peressotti Better Late Than Never 1
Proofs as Processes
Linear Logic (LL) corresponds to a type system for a process calculus
proofs correspond to processes;
propositions correspond to session types.
Girard 1987 Linear Logic
Abramsky 1994
Bellin and Scott 1994
Propositions as linear types
for processes
Honda 1993
Session types (based on duality)
Caires and Pfenning 2010
Propositions in Intuitionistic LL
as session types
Kokke, Montesi, Peressotti Better Late Than Never 1
Proofs as Processes
Linear Logic (LL) corresponds to a type system for a process calculus
proofs correspond to processes;
propositions correspond to session types.
Girard 1987 Linear Logic
Abramsky 1994
Bellin and Scott 1994
Propositions as linear types
for processes
Honda 1993
Session types (based on duality)
Caires and Pfenning 2010
Propositions in Intuitionistic LL
as session types
Wadler 2014
Back to duality: Classical Processes
Kokke, Montesi, Peressotti Better Late Than Never 1
Classical Processes (CP) (Wadler 2014)
Γ where Γ = A1, . . . , An is a collection of CLL propositions
(Convention: propositions are in blue)
CLL sequent
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
(Convention: types are in blue and channels are in red)
CP typing environment
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
Γ, A, B
Γ, A B
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
Γ, A ∆, B
Γ, ∆, A ⊗ B
⊗
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
Duality in CLL corresponds to duality in session types (e.g. recv/send)
(A B)⊥
= A⊥
⊗ B⊥
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
Γ, A ∆, A⊥
Γ, ∆
cut
Duality in CLL corresponds to duality in session types (e.g. recv/send)
(A B)⊥
= A⊥
⊗ B⊥
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
Duality in CLL corresponds to duality in session types (e.g. recv/send)
(A B)⊥
= A⊥
⊗ B⊥
Kokke, Montesi, Peressotti Better Late Than Never 2
Classical Processes (CP) (Wadler 2014)
Typing judgments:
P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types
“for each i, process P implements protocol Ai on channel xi”.
(Convention: types are in blue, processes and channels are in red)
Derivation rules in CLL correspond to typing rules in CP:
P Γ, y:A, x:B
x(y).P Γ, x:A B
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
Duality in CLL corresponds to duality in session types (e.g. recv/send)
(A B)⊥
= A⊥
⊗ B⊥
Proof transformations correspond to process reductions.
Kokke, Montesi, Peressotti Better Late Than Never 2
There are some discrepancies
Parallel composition (P | Q) is not typable, it is not even in the syntax of CP.
Noticeable consequences:
Kokke, Montesi, Peressotti Better Late Than Never 3
There are some discrepancies
Parallel composition (P | Q) is not typable, it is not even in the syntax of CP.
Noticeable consequences:
No Labelled Transition System. e.g. the expected transition for output:
x[y].(P | Q)
x[y]
−−→ P | Q
is unsound!
Kokke, Montesi, Peressotti Better Late Than Never 3
There are some discrepancies
Parallel composition (P | Q) is not typable, it is not even in the syntax of CP.
Noticeable consequences:
No Labelled Transition System. e.g. the expected transition for output:
x[y].(P | Q)
x[y]
−−→ P | Q
is unsound!
The semantics of CP needs reductions that do not preserve parallelism, e.g.
(νxx )(y(y ).P | Q) → y(y ).(νxx )(P | Q)
introduces dependencies among parallel actions.
Kokke, Montesi, Peressotti Better Late Than Never 3
Parallel composition
Parallel composition lacks a rule in CLL for reasoning about it directly.
Kokke, Montesi, Peressotti Better Late Than Never 4
Parallel composition
Parallel composition lacks a rule in CLL for reasoning about it directly.
Idea: characterise parallelism logically
Hypersequents (collections of sequents):
G, H ::= Γ1 | · · · | Γn
Hypersequent Mix
P G Q H
P | Q G | H
h-mix
If G then, its sequents are independently derivable.
Kokke, Montesi, Peressotti Better Late Than Never 4
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
In H-Cut, hypersequents ensure that x:A and
y:A⊥ are independent
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
Restriction is a stand-alone (unary) term constructor
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
P G | Γ, y:A | ∆, x:B
x[y].P G | Γ, ∆, x:A ⊗ B
⊗
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
P G | Γ, y:A | ∆, x:B
x[y].P G | Γ, ∆, x:A ⊗ B
⊗
Unary operator, hyperseqeunts guarantee independence
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
P Γ, y:A, x:B
x(y).P Γ, x:A B
. . .
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
P G | Γ, y:A | ∆, x:B
x[y].P G | Γ, ∆, x:A ⊗ B
⊗
P G | Γ, y:A, x:B
x(y).P G | Γ, x:A B
. . .
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
P Γ, y:A, x:B
x(y).P Γ, x:A B
. . .
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
P G | Γ, y:A | ∆, x:B
x[y].P G | Γ, ∆, x:A ⊗ B
⊗
P G | Γ, y:A, x:B
x(y).P G | Γ, x:A B
. . .
Kokke, Montesi, Peressotti Better Late Than Never 5
From CP to HCP
Classical Processes
(Wadler 2014)
No parallel composition
P Γ, x:A Q ∆, y:A⊥
(νxy)(P | Q) Γ, ∆
cut
P Γ, y:A Q ∆, x:B
x[y].(P | Q) Γ, ∆, x:A ⊗ B
⊗
P Γ, y:A, x:B
x(y).P Γ, x:A B
. . .
Hypersequent Classical Processes
(this paper)
P G Q H
P | Q G | H
h-mix
P G | Γ, x:A | ∆, y:A⊥
(νxy)P G | Γ, ∆
h-cut
P G | Γ, y:A | ∆, x:B
x[y].P G | Γ, ∆, x:A ⊗ B
⊗
P G | Γ, y:A, x:B
x(y).P G | Γ, x:A B
. . .
P uses channels in G
in parallel to x, y, Γ
Kokke, Montesi, Peressotti Better Late Than Never 5
Relation with Classical Linear Logic
From CLL to HCP:
Theorem
If Γ in CLL then, Γ in HCP.
From HCP to CLL:
“,” as “ ” “|” as “⊗”
(A1, . . . , An) = A1 · · · An (Γ1 | · · · | Γn) = (Γ1) ⊗ . . . ⊗ (Γn)
Theorem
If G in HCP then, (G) in CLL.
Kokke, Montesi, Peressotti Better Late Than Never 6
Deriving an LTS of proofs: input prefix/rule
x(x ).P
Kokke, Montesi, Peressotti Better Late Than Never 7
Deriving an LTS of proofs: input prefix/rule
x(x ).P
x(x )
−−−→ P
Kokke, Montesi, Peressotti Better Late Than Never 7
Deriving an LTS of proofs: input prefix/rule
x(x ).P
x(x )
−−−→ P
P G | Γ, x :A, x:B
x(x ).P G | Γ, x:A B
??
−−−−−−−→ ??
Kokke, Montesi, Peressotti Better Late Than Never 7
Deriving an LTS of proofs: input prefix/rule
x(x ).P
x(x )
−−−→ P
P
x(x ).P
−−−−−−→
Kokke, Montesi, Peressotti Better Late Than Never 7
Deriving an LTS of proofs: input prefix/rule
x(x ).P
x(x )
−−−→ P
P
x(x ).P
x(x ):
−−−−−−→ P
Kokke, Montesi, Peressotti Better Late Than Never 7
Deriving an LTS of proofs: input prefix/rule
x(x ).P
x(x )
−−−→ P
P G | Γ, x :A, x:B
x(x ).P G | Γ, x:A B
x(x ): A B
−−−−−−→ P G | Γ, x :A, x:B
Kokke, Montesi, Peressotti Better Late Than Never 7
Deriving an LTS of proofs: output prefix/rule ⊗
x[x ].P
x[x ]
−−→ P
Kokke, Montesi, Peressotti Better Late Than Never 8
Deriving an LTS of proofs: output prefix/rule ⊗
x[x ].P
x[x ]
−−→ P
P
x[x ].P
⊗
x[x ]:
−−−−−−→ P
Kokke, Montesi, Peressotti Better Late Than Never 8
Deriving an LTS of proofs: output prefix/rule ⊗
x[x ].P
x[x ]
−−→ P
P G | Γ, x :A | ∆, x:B
x[x ].P G | Γ, ∆, x:A ⊗ B
⊗
x[x ]: A⊗B
−−−−−−→ P G | Γ, x :A | ∆, x:B
Kokke, Montesi, Peressotti Better Late Than Never 8
Deriving an LTS of proofs: h-mix
P
l
−−→ P bn(l) ∩ fn(Q) = ∅
P | Q
l
−−→ P | Q
par1
Kokke, Montesi, Peressotti Better Late Than Never 9
Deriving an LTS of proofs: h-mix
P
l
−−→ P bn(l) ∩ fn(Q) = ∅
P | Q
l
−−→ P | Q
par1
P
l
−−→ P bn(l) ∩ fn(Q) = ∅
P Q
P | Q
h-mix
l
−−→
P Q
P | Q
h-mix
par1
Kokke, Montesi, Peressotti Better Late Than Never 9
Deriving an LTS of proofs: h-mix
P
l
−−→ P bn(l) ∩ fn(Q) = ∅
P | Q
l
−−→ P | Q
par1
P G
l
−−→ P G bn(l) ∩ fn(Q) = ∅
P G Q H
P | Q G | H
h-mix
l
−−→
P G Q H
P | Q G | H
h-mix
par1
Kokke, Montesi, Peressotti Better Late Than Never 9
Deriving an LTS of proofs: h-mix
P
l
−−→ P Q
l
−−→ Q bn(l) ∩ bn(l ) = ∅
P | Q
(l l )
−−−→ P | Q
Kokke, Montesi, Peressotti Better Late Than Never 10
Deriving an LTS of proofs: h-mix
P
l
−−→ P Q
l
−−→ Q bn(l) ∩ bn(l ) = ∅
P | Q
(l l )
−−−→ P | Q
P
l
−−→ P Q
l
−−→ Q bn(l) ∩ bn(l ) = ∅
P Q
P | Q
h-mix
(l l )
−−−→
P Q
P | Q
h-mix
Kokke, Montesi, Peressotti Better Late Than Never 10
Deriving an LTS of proofs: h-mix
P
l
−−→ P Q
l
−−→ Q bn(l) ∩ bn(l ) = ∅
P | Q
(l l )
−−−→ P | Q
P G
l
−−→ P G Q H
l
−−→ Q H bn(l) ∩ bn(l ) = ∅
P G Q H
P | Q G | H
h-mix
(l l )
−−−→
P G Q H
P | Q G | H
h-mix
Kokke, Montesi, Peressotti Better Late Than Never 10
Deriving an LTS of proofs: h-cut ⊗
P
(x[x ] y(y ))
−−−−−−−→ P
(νxy)P
τ
−−→ (νxy)(νx y )P
Kokke, Montesi, Peressotti Better Late Than Never 11
Deriving an LTS of proofs: h-cut ⊗
P
(x[x ] y(y ))
−−−−−−−→ P
(νxy)P
τ
−−→ (νxy)(νx y )P
P


(x[x ] y(y ))
P
P
(νxy)P
h-cut
↓ τ
P
(νx y )P
h-cut
(νxy)(νx y )P
h-cut
⊗
Kokke, Montesi, Peressotti Better Late Than Never 11
Deriving an LTS of proofs: h-cut ⊗
P
(x[x ] y(y ))
−−−−−−−→ P
(νxy)P
τ
−−→ (νxy)(νx y )P
P G | Γ, ∆, x:A ⊗ B | Θ, y:A⊥ B⊥


(x[x ] y(y ))
P G | Γ, x:B | ∆, x :A | Θ, y:B⊥, y :A⊥
P G | Γ, ∆, x:A ⊗ B | Θ, y:A⊥ B⊥
(νxy)P G | Γ, ∆, Θ
h-cut
↓ τ
P G | Γ, x:B | ∆, x :A | Θ, y:B⊥, y :A⊥
(νx y )P G | Γ, x:B | ∆, Θ, y:B⊥
h-cut
(νxy)(νx y )P G | Γ, ∆, Θ
h-cut
⊗
Kokke, Montesi, Peressotti Better Late Than Never 11
Readiness
For an external observer, every parallel component of a (well-typed) process is
always ready to fire at least one action.
Theorem (Readiness)
If P Γ1 | · · · | Γn then, ∀Γi, ∃l there is P
l
==⇒ Q s.t. l is over a channel in Γi
(where
l
==⇒ =
τ
−→∗
◦
l
−−→ ◦
τ
−→∗
.)
Kokke, Montesi, Peressotti Better Late Than Never 12
Readiness
For an external observer, every parallel component of a (well-typed) process is
always ready to fire at least one action.
Theorem (Readiness)
If P Γ1 | · · · | Γn then, ∀Γi, ∃l there is P
l
==⇒ Q s.t. l is over a channel in Γi
(where
l
==⇒ =
τ
−→∗
◦
l
−−→ ◦
τ
−→∗
.)
Corollary
Well-typed processes are deadlock-free.
Kokke, Montesi, Peressotti Better Late Than Never 12
Validation: the behavioural theory of HCP
Bisimilarity (≈) is defined as expected.
Parallel composition is associative, commutative, and has a unit:
(P | Q) | R ≈ P | (Q | R) P | Q ≈ Q | P P | nil ≈ P
Contextual equivalence is defined as expected (barbed congruence)
Theorem (Full abstraction)
Bisimilarity = contextual equivalence (= denotational equivalence).
The discriminating power of HCP programs and the LTS is the same.
In the paper, full abstraction includes also denotational equivalence.
Kokke, Montesi, Peressotti Better Late Than Never 13
Conclusions
Girard 1987
Abramsky 1994
Bellin and Scott 1994
Honda 1993
Caires and Pfenning 2010
Wadler 2014
this paper
Parallel operator (P | Q)
Conservative extension of CLL
Parallelism as hypersequents
LTS semantics
Transitions as proof
transformations
Readiness, No-Deadlocks
Bisimilarity, Contextual eq.
Denotational semantics
Full-abstraction
Kokke, Montesi, Peressotti Better Late Than Never 14
Conclusions and future work
Girard 1987
Abramsky 1994
Bellin and Scott 1994
Honda 1993
Caires and Pfenning 2010
Wadler 2014
this paper
next
Parallel operator (P | Q)
Conservative extension of CLL
Parallelism as hypersequents
LTS semantics
Transitions as proof
transformations
Readiness, No-Deadlocks
Bisimilarity, Contextual eq.
Denotational semantics
Full-abstraction
Recursion (Lindley and Morris 2016)
Higher-order (Montesi 2018)
Multiparty ST (Carbone et al. 2017)
Kokke, Montesi, Peressotti Better Late Than Never 14
Thanks for your attention
Better Late Than Never
A fully-abstract semantics for Classical Processes
Wen Kokke, Fabrizio Montesi, and Marco Peressotti

Weitere ähnliche Inhalte

Was ist angesagt?

lecture 27
lecture 27lecture 27
lecture 27sajinsc
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 
lecture 30
lecture 30lecture 30
lecture 30sajinsc
 
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...Amrinder Arora
 
Talk at Seminari de Teoria de Nombres de Barcelona 2017
Talk at Seminari de Teoria de Nombres de Barcelona 2017Talk at Seminari de Teoria de Nombres de Barcelona 2017
Talk at Seminari de Teoria de Nombres de Barcelona 2017mmasdeu
 
Process Algebras and Petri Nets are Discrete Dynamical Systems
Process Algebras and Petri Nets are Discrete Dynamical SystemsProcess Algebras and Petri Nets are Discrete Dynamical Systems
Process Algebras and Petri Nets are Discrete Dynamical SystemsFacultad de Informática UCM
 
no U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithm
no U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithmno U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithm
no U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithmChristian Robert
 
Quantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous TimeQuantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous TimeDavid Yonge-Mallo
 
Nies cuny describing_finite_groups
Nies cuny describing_finite_groupsNies cuny describing_finite_groups
Nies cuny describing_finite_groupsAndre Nies
 
lecture 28
lecture 28lecture 28
lecture 28sajinsc
 
Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4Rajendran
 
Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...
Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...
Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...Robert Rand
 
Kernel for Chordal Vertex Deletion
Kernel for Chordal Vertex DeletionKernel for Chordal Vertex Deletion
Kernel for Chordal Vertex DeletionAkankshaAgrawal55
 

Was ist angesagt? (19)

lecture 27
lecture 27lecture 27
lecture 27
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 
27 NP Completness
27 NP Completness27 NP Completness
27 NP Completness
 
lecture 30
lecture 30lecture 30
lecture 30
 
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
Bron Kerbosch Algorithm - Presentation by Jun Zhai, Tianhang Qiang and Yizhen...
 
Talk at Seminari de Teoria de Nombres de Barcelona 2017
Talk at Seminari de Teoria de Nombres de Barcelona 2017Talk at Seminari de Teoria de Nombres de Barcelona 2017
Talk at Seminari de Teoria de Nombres de Barcelona 2017
 
Process Algebras and Petri Nets are Discrete Dynamical Systems
Process Algebras and Petri Nets are Discrete Dynamical SystemsProcess Algebras and Petri Nets are Discrete Dynamical Systems
Process Algebras and Petri Nets are Discrete Dynamical Systems
 
no U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithm
no U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithmno U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithm
no U-turn sampler, a discussion of Hoffman & Gelman NUTS algorithm
 
Quantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous TimeQuantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous Time
 
Nies cuny describing_finite_groups
Nies cuny describing_finite_groupsNies cuny describing_finite_groups
Nies cuny describing_finite_groups
 
Np complete
Np completeNp complete
Np complete
 
lecture 28
lecture 28lecture 28
lecture 28
 
P versus NP
P versus NPP versus NP
P versus NP
 
Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4
 
Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...
Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...
Merged Talk: A Verified Optimizer for Quantum Circuits & Verified Translation...
 
Invariant-Free Clausal Temporal Resolution
Invariant-Free Clausal Temporal ResolutionInvariant-Free Clausal Temporal Resolution
Invariant-Free Clausal Temporal Resolution
 
Fsa
FsaFsa
Fsa
 
Kernel for Chordal Vertex Deletion
Kernel for Chordal Vertex DeletionKernel for Chordal Vertex Deletion
Kernel for Chordal Vertex Deletion
 
Sara el hassad
Sara el hassadSara el hassad
Sara el hassad
 

Ähnlich wie Better Late Than Never: A Fully Abstract Semantics for Classical Processes

Binary Session Types for Psi-Calculi (APLAS 2016)
Binary Session Types for Psi-Calculi (APLAS 2016)Binary Session Types for Psi-Calculi (APLAS 2016)
Binary Session Types for Psi-Calculi (APLAS 2016)Hans Hyttel
 
(DL hacks輪読) Variational Inference with Rényi Divergence
(DL hacks輪読) Variational Inference with Rényi Divergence(DL hacks輪読) Variational Inference with Rényi Divergence
(DL hacks輪読) Variational Inference with Rényi DivergenceMasahiro Suzuki
 
Pairwise sequence alignment
Pairwise sequence alignmentPairwise sequence alignment
Pairwise sequence alignmentavrilcoghlan
 
Topic model an introduction
Topic model an introductionTopic model an introduction
Topic model an introductionYueshen Xu
 
RChain - Understanding Distributed Calculi
RChain - Understanding Distributed CalculiRChain - Understanding Distributed Calculi
RChain - Understanding Distributed CalculiPawel Szulc
 
Noise Resilience of Variational Quantum Compiling
Noise Resilience of Variational Quantum CompilingNoise Resilience of Variational Quantum Compiling
Noise Resilience of Variational Quantum CompilingKunalSharma515
 
Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...
Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...
Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...Kohei Hayashi
 
Principal Type Scheme for Session Types
Principal Type Scheme for Session TypesPrincipal Type Scheme for Session Types
Principal Type Scheme for Session TypesCSCJournals
 
Parameterized Model Checking of Rendezvous Systems
Parameterized Model Checking of Rendezvous SystemsParameterized Model Checking of Rendezvous Systems
Parameterized Model Checking of Rendezvous SystemsFrancesco Spegni
 
Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...
Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...
Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...Federico Gobbo
 
Variational Inference
Variational InferenceVariational Inference
Variational InferenceTushar Tank
 
RuleML 2015 Constraint Handling Rules - What Else?
RuleML 2015 Constraint Handling Rules - What Else?RuleML 2015 Constraint Handling Rules - What Else?
RuleML 2015 Constraint Handling Rules - What Else?RuleML
 
Using Qualitative Knowledge in Numerical Learning
Using Qualitative Knowledge in Numerical LearningUsing Qualitative Knowledge in Numerical Learning
Using Qualitative Knowledge in Numerical Learningbutest
 
Variational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionVariational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionFlavio Morelli
 
On Resolution Proofs for Combinational Equivalence
On Resolution Proofs for Combinational EquivalenceOn Resolution Proofs for Combinational Equivalence
On Resolution Proofs for Combinational Equivalencesatrajit
 
CPSC 125 Ch 1 sec 2
CPSC 125 Ch 1 sec 2CPSC 125 Ch 1 sec 2
CPSC 125 Ch 1 sec 2David Wood
 

Ähnlich wie Better Late Than Never: A Fully Abstract Semantics for Classical Processes (19)

Binary Session Types for Psi-Calculi (APLAS 2016)
Binary Session Types for Psi-Calculi (APLAS 2016)Binary Session Types for Psi-Calculi (APLAS 2016)
Binary Session Types for Psi-Calculi (APLAS 2016)
 
(DL hacks輪読) Variational Inference with Rényi Divergence
(DL hacks輪読) Variational Inference with Rényi Divergence(DL hacks輪読) Variational Inference with Rényi Divergence
(DL hacks輪読) Variational Inference with Rényi Divergence
 
Pairwise sequence alignment
Pairwise sequence alignmentPairwise sequence alignment
Pairwise sequence alignment
 
Topic model an introduction
Topic model an introductionTopic model an introduction
Topic model an introduction
 
RChain - Understanding Distributed Calculi
RChain - Understanding Distributed CalculiRChain - Understanding Distributed Calculi
RChain - Understanding Distributed Calculi
 
Noise Resilience of Variational Quantum Compiling
Noise Resilience of Variational Quantum CompilingNoise Resilience of Variational Quantum Compiling
Noise Resilience of Variational Quantum Compiling
 
Unit 6: All
Unit 6: AllUnit 6: All
Unit 6: All
 
Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...
Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...
Rebuilding Factorized Information Criterion: Asymptotically Accurate Marginal...
 
Principal Type Scheme for Session Types
Principal Type Scheme for Session TypesPrincipal Type Scheme for Session Types
Principal Type Scheme for Session Types
 
Parameterized Model Checking of Rendezvous Systems
Parameterized Model Checking of Rendezvous SystemsParameterized Model Checking of Rendezvous Systems
Parameterized Model Checking of Rendezvous Systems
 
Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...
Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...
Adpositional Argumentation: How Logic Originates In Natural Argumentative Dis...
 
Variational Inference
Variational InferenceVariational Inference
Variational Inference
 
defense
defensedefense
defense
 
RuleML 2015 Constraint Handling Rules - What Else?
RuleML 2015 Constraint Handling Rules - What Else?RuleML 2015 Constraint Handling Rules - What Else?
RuleML 2015 Constraint Handling Rules - What Else?
 
Using Qualitative Knowledge in Numerical Learning
Using Qualitative Knowledge in Numerical LearningUsing Qualitative Knowledge in Numerical Learning
Using Qualitative Knowledge in Numerical Learning
 
Variational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionVariational Bayes: A Gentle Introduction
Variational Bayes: A Gentle Introduction
 
On Resolution Proofs for Combinational Equivalence
On Resolution Proofs for Combinational EquivalenceOn Resolution Proofs for Combinational Equivalence
On Resolution Proofs for Combinational Equivalence
 
CPSC 125 Ch 1 sec 2
CPSC 125 Ch 1 sec 2CPSC 125 Ch 1 sec 2
CPSC 125 Ch 1 sec 2
 
pres_coconat
pres_coconatpres_coconat
pres_coconat
 

Kürzlich hochgeladen

❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxFarihaAbdulRasheed
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfSumit Kumar yadav
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptxryanrooker
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfTukamushabaBismark
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flyPRADYUMMAURYA1
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusNazaninKarimi6
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Silpa
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLkantirani197
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑Damini Dixit
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professormuralinath2
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 

Kürzlich hochgeladen (20)

❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdf
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 

Better Late Than Never: A Fully Abstract Semantics for Classical Processes

  • 1. Better Late Than Never A fully-abstract semantics for Classical Processes Wen Kokke University of Edinburgh Fabrizio Montesi University of Southern Denmark Marco Peressotti University of Southern Denmark POPL’19
  • 2. Proofs as Processes Linear Logic (LL) corresponds to a type system for a process calculus proofs correspond to processes; propositions correspond to session types. Kokke, Montesi, Peressotti Better Late Than Never 1
  • 3. Proofs as Processes Linear Logic (LL) corresponds to a type system for a process calculus proofs correspond to processes; propositions correspond to session types. Girard 1987 Linear Logic Kokke, Montesi, Peressotti Better Late Than Never 1
  • 4. Proofs as Processes Linear Logic (LL) corresponds to a type system for a process calculus proofs correspond to processes; propositions correspond to session types. Girard 1987 Linear Logic Abramsky 1994 Bellin and Scott 1994 Propositions as linear types for processes Kokke, Montesi, Peressotti Better Late Than Never 1
  • 5. Proofs as Processes Linear Logic (LL) corresponds to a type system for a process calculus proofs correspond to processes; propositions correspond to session types. Girard 1987 Linear Logic Abramsky 1994 Bellin and Scott 1994 Propositions as linear types for processes Honda 1993 Session types (based on duality) Kokke, Montesi, Peressotti Better Late Than Never 1
  • 6. Proofs as Processes Linear Logic (LL) corresponds to a type system for a process calculus proofs correspond to processes; propositions correspond to session types. Girard 1987 Linear Logic Abramsky 1994 Bellin and Scott 1994 Propositions as linear types for processes Honda 1993 Session types (based on duality) Caires and Pfenning 2010 Propositions in Intuitionistic LL as session types Kokke, Montesi, Peressotti Better Late Than Never 1
  • 7. Proofs as Processes Linear Logic (LL) corresponds to a type system for a process calculus proofs correspond to processes; propositions correspond to session types. Girard 1987 Linear Logic Abramsky 1994 Bellin and Scott 1994 Propositions as linear types for processes Honda 1993 Session types (based on duality) Caires and Pfenning 2010 Propositions in Intuitionistic LL as session types Wadler 2014 Back to duality: Classical Processes Kokke, Montesi, Peressotti Better Late Than Never 1
  • 8. Classical Processes (CP) (Wadler 2014) Γ where Γ = A1, . . . , An is a collection of CLL propositions (Convention: propositions are in blue) CLL sequent Kokke, Montesi, Peressotti Better Late Than Never 2
  • 9. Classical Processes (CP) (Wadler 2014) Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types (Convention: types are in blue and channels are in red) CP typing environment Kokke, Montesi, Peressotti Better Late Than Never 2
  • 10. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Kokke, Montesi, Peressotti Better Late Than Never 2
  • 11. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: Kokke, Montesi, Peressotti Better Late Than Never 2
  • 12. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: Γ, A, B Γ, A B Kokke, Montesi, Peressotti Better Late Than Never 2
  • 13. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B Kokke, Montesi, Peressotti Better Late Than Never 2
  • 14. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B Γ, A ∆, B Γ, ∆, A ⊗ B ⊗ Kokke, Montesi, Peressotti Better Late Than Never 2
  • 15. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ Kokke, Montesi, Peressotti Better Late Than Never 2
  • 16. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ Duality in CLL corresponds to duality in session types (e.g. recv/send) (A B)⊥ = A⊥ ⊗ B⊥ Kokke, Montesi, Peressotti Better Late Than Never 2
  • 17. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ Γ, A ∆, A⊥ Γ, ∆ cut Duality in CLL corresponds to duality in session types (e.g. recv/send) (A B)⊥ = A⊥ ⊗ B⊥ Kokke, Montesi, Peressotti Better Late Than Never 2
  • 18. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut Duality in CLL corresponds to duality in session types (e.g. recv/send) (A B)⊥ = A⊥ ⊗ B⊥ Kokke, Montesi, Peressotti Better Late Than Never 2
  • 19. Classical Processes (CP) (Wadler 2014) Typing judgments: P Γ where Γ = x1:A1, . . . , xn:An is a map from channels to session types “for each i, process P implements protocol Ai on channel xi”. (Convention: types are in blue, processes and channels are in red) Derivation rules in CLL correspond to typing rules in CP: P Γ, y:A, x:B x(y).P Γ, x:A B P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut Duality in CLL corresponds to duality in session types (e.g. recv/send) (A B)⊥ = A⊥ ⊗ B⊥ Proof transformations correspond to process reductions. Kokke, Montesi, Peressotti Better Late Than Never 2
  • 20. There are some discrepancies Parallel composition (P | Q) is not typable, it is not even in the syntax of CP. Noticeable consequences: Kokke, Montesi, Peressotti Better Late Than Never 3
  • 21. There are some discrepancies Parallel composition (P | Q) is not typable, it is not even in the syntax of CP. Noticeable consequences: No Labelled Transition System. e.g. the expected transition for output: x[y].(P | Q) x[y] −−→ P | Q is unsound! Kokke, Montesi, Peressotti Better Late Than Never 3
  • 22. There are some discrepancies Parallel composition (P | Q) is not typable, it is not even in the syntax of CP. Noticeable consequences: No Labelled Transition System. e.g. the expected transition for output: x[y].(P | Q) x[y] −−→ P | Q is unsound! The semantics of CP needs reductions that do not preserve parallelism, e.g. (νxx )(y(y ).P | Q) → y(y ).(νxx )(P | Q) introduces dependencies among parallel actions. Kokke, Montesi, Peressotti Better Late Than Never 3
  • 23. Parallel composition Parallel composition lacks a rule in CLL for reasoning about it directly. Kokke, Montesi, Peressotti Better Late Than Never 4
  • 24. Parallel composition Parallel composition lacks a rule in CLL for reasoning about it directly. Idea: characterise parallelism logically Hypersequents (collections of sequents): G, H ::= Γ1 | · · · | Γn Hypersequent Mix P G Q H P | Q G | H h-mix If G then, its sequents are independently derivable. Kokke, Montesi, Peressotti Better Late Than Never 4
  • 25. From CP to HCP Classical Processes (Wadler 2014) No parallel composition Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix Kokke, Montesi, Peressotti Better Late Than Never 5
  • 26. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut Kokke, Montesi, Peressotti Better Late Than Never 5
  • 27. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut In H-Cut, hypersequents ensure that x:A and y:A⊥ are independent Kokke, Montesi, Peressotti Better Late Than Never 5
  • 28. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut Restriction is a stand-alone (unary) term constructor Kokke, Montesi, Peressotti Better Late Than Never 5
  • 29. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut P G | Γ, y:A | ∆, x:B x[y].P G | Γ, ∆, x:A ⊗ B ⊗ Kokke, Montesi, Peressotti Better Late Than Never 5
  • 30. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut P G | Γ, y:A | ∆, x:B x[y].P G | Γ, ∆, x:A ⊗ B ⊗ Unary operator, hyperseqeunts guarantee independence Kokke, Montesi, Peressotti Better Late Than Never 5
  • 31. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ P Γ, y:A, x:B x(y).P Γ, x:A B . . . Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut P G | Γ, y:A | ∆, x:B x[y].P G | Γ, ∆, x:A ⊗ B ⊗ P G | Γ, y:A, x:B x(y).P G | Γ, x:A B . . . Kokke, Montesi, Peressotti Better Late Than Never 5
  • 32. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ P Γ, y:A, x:B x(y).P Γ, x:A B . . . Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut P G | Γ, y:A | ∆, x:B x[y].P G | Γ, ∆, x:A ⊗ B ⊗ P G | Γ, y:A, x:B x(y).P G | Γ, x:A B . . . Kokke, Montesi, Peressotti Better Late Than Never 5
  • 33. From CP to HCP Classical Processes (Wadler 2014) No parallel composition P Γ, x:A Q ∆, y:A⊥ (νxy)(P | Q) Γ, ∆ cut P Γ, y:A Q ∆, x:B x[y].(P | Q) Γ, ∆, x:A ⊗ B ⊗ P Γ, y:A, x:B x(y).P Γ, x:A B . . . Hypersequent Classical Processes (this paper) P G Q H P | Q G | H h-mix P G | Γ, x:A | ∆, y:A⊥ (νxy)P G | Γ, ∆ h-cut P G | Γ, y:A | ∆, x:B x[y].P G | Γ, ∆, x:A ⊗ B ⊗ P G | Γ, y:A, x:B x(y).P G | Γ, x:A B . . . P uses channels in G in parallel to x, y, Γ Kokke, Montesi, Peressotti Better Late Than Never 5
  • 34. Relation with Classical Linear Logic From CLL to HCP: Theorem If Γ in CLL then, Γ in HCP. From HCP to CLL: “,” as “ ” “|” as “⊗” (A1, . . . , An) = A1 · · · An (Γ1 | · · · | Γn) = (Γ1) ⊗ . . . ⊗ (Γn) Theorem If G in HCP then, (G) in CLL. Kokke, Montesi, Peressotti Better Late Than Never 6
  • 35. Deriving an LTS of proofs: input prefix/rule x(x ).P Kokke, Montesi, Peressotti Better Late Than Never 7
  • 36. Deriving an LTS of proofs: input prefix/rule x(x ).P x(x ) −−−→ P Kokke, Montesi, Peressotti Better Late Than Never 7
  • 37. Deriving an LTS of proofs: input prefix/rule x(x ).P x(x ) −−−→ P P G | Γ, x :A, x:B x(x ).P G | Γ, x:A B ?? −−−−−−−→ ?? Kokke, Montesi, Peressotti Better Late Than Never 7
  • 38. Deriving an LTS of proofs: input prefix/rule x(x ).P x(x ) −−−→ P P x(x ).P −−−−−−→ Kokke, Montesi, Peressotti Better Late Than Never 7
  • 39. Deriving an LTS of proofs: input prefix/rule x(x ).P x(x ) −−−→ P P x(x ).P x(x ): −−−−−−→ P Kokke, Montesi, Peressotti Better Late Than Never 7
  • 40. Deriving an LTS of proofs: input prefix/rule x(x ).P x(x ) −−−→ P P G | Γ, x :A, x:B x(x ).P G | Γ, x:A B x(x ): A B −−−−−−→ P G | Γ, x :A, x:B Kokke, Montesi, Peressotti Better Late Than Never 7
  • 41. Deriving an LTS of proofs: output prefix/rule ⊗ x[x ].P x[x ] −−→ P Kokke, Montesi, Peressotti Better Late Than Never 8
  • 42. Deriving an LTS of proofs: output prefix/rule ⊗ x[x ].P x[x ] −−→ P P x[x ].P ⊗ x[x ]: −−−−−−→ P Kokke, Montesi, Peressotti Better Late Than Never 8
  • 43. Deriving an LTS of proofs: output prefix/rule ⊗ x[x ].P x[x ] −−→ P P G | Γ, x :A | ∆, x:B x[x ].P G | Γ, ∆, x:A ⊗ B ⊗ x[x ]: A⊗B −−−−−−→ P G | Γ, x :A | ∆, x:B Kokke, Montesi, Peressotti Better Late Than Never 8
  • 44. Deriving an LTS of proofs: h-mix P l −−→ P bn(l) ∩ fn(Q) = ∅ P | Q l −−→ P | Q par1 Kokke, Montesi, Peressotti Better Late Than Never 9
  • 45. Deriving an LTS of proofs: h-mix P l −−→ P bn(l) ∩ fn(Q) = ∅ P | Q l −−→ P | Q par1 P l −−→ P bn(l) ∩ fn(Q) = ∅ P Q P | Q h-mix l −−→ P Q P | Q h-mix par1 Kokke, Montesi, Peressotti Better Late Than Never 9
  • 46. Deriving an LTS of proofs: h-mix P l −−→ P bn(l) ∩ fn(Q) = ∅ P | Q l −−→ P | Q par1 P G l −−→ P G bn(l) ∩ fn(Q) = ∅ P G Q H P | Q G | H h-mix l −−→ P G Q H P | Q G | H h-mix par1 Kokke, Montesi, Peressotti Better Late Than Never 9
  • 47. Deriving an LTS of proofs: h-mix P l −−→ P Q l −−→ Q bn(l) ∩ bn(l ) = ∅ P | Q (l l ) −−−→ P | Q Kokke, Montesi, Peressotti Better Late Than Never 10
  • 48. Deriving an LTS of proofs: h-mix P l −−→ P Q l −−→ Q bn(l) ∩ bn(l ) = ∅ P | Q (l l ) −−−→ P | Q P l −−→ P Q l −−→ Q bn(l) ∩ bn(l ) = ∅ P Q P | Q h-mix (l l ) −−−→ P Q P | Q h-mix Kokke, Montesi, Peressotti Better Late Than Never 10
  • 49. Deriving an LTS of proofs: h-mix P l −−→ P Q l −−→ Q bn(l) ∩ bn(l ) = ∅ P | Q (l l ) −−−→ P | Q P G l −−→ P G Q H l −−→ Q H bn(l) ∩ bn(l ) = ∅ P G Q H P | Q G | H h-mix (l l ) −−−→ P G Q H P | Q G | H h-mix Kokke, Montesi, Peressotti Better Late Than Never 10
  • 50. Deriving an LTS of proofs: h-cut ⊗ P (x[x ] y(y )) −−−−−−−→ P (νxy)P τ −−→ (νxy)(νx y )P Kokke, Montesi, Peressotti Better Late Than Never 11
  • 51. Deriving an LTS of proofs: h-cut ⊗ P (x[x ] y(y )) −−−−−−−→ P (νxy)P τ −−→ (νxy)(νx y )P P   (x[x ] y(y )) P P (νxy)P h-cut ↓ τ P (νx y )P h-cut (νxy)(νx y )P h-cut ⊗ Kokke, Montesi, Peressotti Better Late Than Never 11
  • 52. Deriving an LTS of proofs: h-cut ⊗ P (x[x ] y(y )) −−−−−−−→ P (νxy)P τ −−→ (νxy)(νx y )P P G | Γ, ∆, x:A ⊗ B | Θ, y:A⊥ B⊥   (x[x ] y(y )) P G | Γ, x:B | ∆, x :A | Θ, y:B⊥, y :A⊥ P G | Γ, ∆, x:A ⊗ B | Θ, y:A⊥ B⊥ (νxy)P G | Γ, ∆, Θ h-cut ↓ τ P G | Γ, x:B | ∆, x :A | Θ, y:B⊥, y :A⊥ (νx y )P G | Γ, x:B | ∆, Θ, y:B⊥ h-cut (νxy)(νx y )P G | Γ, ∆, Θ h-cut ⊗ Kokke, Montesi, Peressotti Better Late Than Never 11
  • 53. Readiness For an external observer, every parallel component of a (well-typed) process is always ready to fire at least one action. Theorem (Readiness) If P Γ1 | · · · | Γn then, ∀Γi, ∃l there is P l ==⇒ Q s.t. l is over a channel in Γi (where l ==⇒ = τ −→∗ ◦ l −−→ ◦ τ −→∗ .) Kokke, Montesi, Peressotti Better Late Than Never 12
  • 54. Readiness For an external observer, every parallel component of a (well-typed) process is always ready to fire at least one action. Theorem (Readiness) If P Γ1 | · · · | Γn then, ∀Γi, ∃l there is P l ==⇒ Q s.t. l is over a channel in Γi (where l ==⇒ = τ −→∗ ◦ l −−→ ◦ τ −→∗ .) Corollary Well-typed processes are deadlock-free. Kokke, Montesi, Peressotti Better Late Than Never 12
  • 55. Validation: the behavioural theory of HCP Bisimilarity (≈) is defined as expected. Parallel composition is associative, commutative, and has a unit: (P | Q) | R ≈ P | (Q | R) P | Q ≈ Q | P P | nil ≈ P Contextual equivalence is defined as expected (barbed congruence) Theorem (Full abstraction) Bisimilarity = contextual equivalence (= denotational equivalence). The discriminating power of HCP programs and the LTS is the same. In the paper, full abstraction includes also denotational equivalence. Kokke, Montesi, Peressotti Better Late Than Never 13
  • 56. Conclusions Girard 1987 Abramsky 1994 Bellin and Scott 1994 Honda 1993 Caires and Pfenning 2010 Wadler 2014 this paper Parallel operator (P | Q) Conservative extension of CLL Parallelism as hypersequents LTS semantics Transitions as proof transformations Readiness, No-Deadlocks Bisimilarity, Contextual eq. Denotational semantics Full-abstraction Kokke, Montesi, Peressotti Better Late Than Never 14
  • 57. Conclusions and future work Girard 1987 Abramsky 1994 Bellin and Scott 1994 Honda 1993 Caires and Pfenning 2010 Wadler 2014 this paper next Parallel operator (P | Q) Conservative extension of CLL Parallelism as hypersequents LTS semantics Transitions as proof transformations Readiness, No-Deadlocks Bisimilarity, Contextual eq. Denotational semantics Full-abstraction Recursion (Lindley and Morris 2016) Higher-order (Montesi 2018) Multiparty ST (Carbone et al. 2017) Kokke, Montesi, Peressotti Better Late Than Never 14
  • 58. Thanks for your attention Better Late Than Never A fully-abstract semantics for Classical Processes Wen Kokke, Fabrizio Montesi, and Marco Peressotti