On Linear Information Systems
On Linear Information Systems
net/publication/45908905
CITATIONS READS
9 24
4 authors, including:
Antonino Salibra
Università Ca' Foscari Venezia
71 PUBLICATIONS 608 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Decidability of satisfiability for the logic described in "a Logic for True Concurrency" by Baldan and Crafa View project
All content following this page was uploaded by Alberto Carraro on 09 March 2014.
A. Bucciarelli† A. Carraro◦†
† Univeristé Paris Diderot ◦ Univeristà Ca’ Foscari
Paris, France Venice, Italy
Preuves Programmes et Systèmes Dipartimento di Informatica
[email protected] [email protected]
T. Ehrhard† A. Salibra◦
[email protected] [email protected]
Scott’s information systems provide a categorically equivalent, intensional description of Scott do-
mains and continuous functions. Following a well established pattern in denotational semantics, we
define a linear version of information systems, providing a model of intuitionistic linear logic (a new-
Seely category), with a “set-theoretic” interpretation of exponentials that recovers Scott continuous
functions via the co-Kleisli construction. From a domain theoretic point of view, linear information
systems are equivalent to prime algebraic Scott domains, which in turn generalize prime algebraic
lattices, already known to provide a model of classical linear logic.
1 Introduction
The ccc of Scott domains and continuous functions, which we call SD, is the paradigmatic framework for
denotational semantics of programming languages. In that area, much effort has been spent in studying
more “concrete” structures for representing domains.
At the end of the 70’s G. Kahn and G. D. Plotkin [23] developed a theory of concrete domains
together with a representation of them in terms of concrete data structures. In the early 80’s G. Berry and
P.-L. Curien [6] defined a ccc of concrete data structures and sequential algorithms on them. At the same
time Scott [27] also developed a representation theory for Scott domains which led him to the definition
of information systems; these structures, together with the so-called approximable relations, form the
ccc Inf, which is equivalent to SD.
So it was clear that many categories of “higher-level” structures such as domains had equivalent de-
scriptions in terms of “lower-level” structures, such as concrete data structures and information systems,
which are collectively called webs.
At the end of the 80’s, J.-Y. Girard [17] discovered linear logic starting from a semantical investi-
gation of the second-order lambda calculus. His seminal work on the semantics of linear logic proofs
[18, 19], introduced a category of webs, the coherence spaces, equivalent to the category of coherent
qualitative domains and stable maps between them. Coherence spaces form a ∗-autonomous and thus a
model of classical Linear Logic (LL).
From the early 90’s on, there has been a wealth of categorical models of linear logic, arising from
different areas: we mention here S. Abramsky and R. Jagadeesan’s games [1], Curien’s sequential data
structures [12], G. Winskel’s event structures [29, 32], and Winskel and Plotkin’s bistructures [26] whose
associated co-Kleisli category is equivalent to a full-sub-ccc of Berry’s category of bidomains [5].
Remarkably, all the above-mentioned models lie outside Scott semantics.
Despite the observation made by M. Barr’s in 1979 [2] that the category of complete lattices and
linear maps is ∗-autonomous, it was a common belief in the Linear Logic community that the standard
Scott semantics could not provide models of classical LL, until 1994, when M. Huth showed [20] that
the category PAL of prime-algebraic complete lattices and lub-preserving maps is ∗-autonomous and its
associated ccc PAL! (the co-Kleisli category of the “!” comonad) is a full-sub-ccc of Cpo. A few years
later, Winskel rediscovered the same model in a semantical investigation of concurrency [30, 31]: indeed
he showed that the category ScottL whose objects are preordered sets and the morphisms are functions
from downward closed to downward closed subsets which preserve arbitrary unions is ∗-autonomous;
this category is equivalent to Huth’s. T. Ehrhard [15] continues this investigation and shows that the
extensional collapse of the category Rel! , where ! is a comonad based on multi-sets over the category
Rel of sets and relations, is the category ScottL! and that both are new-Seely categories (in the sense of
Bierman [7]).
Summing up, there are several categorical models of LL in Scott semantics. In this paper we provide
a representation of these models as webs. Our starting point are information systems, of which we
provide a linear variant together with linear approximable relations: such data form the category InfL,
which we prove to be a symmetric monoidal closed category; InfL is equivalent to the category PSD of
prime algebraic Scott domains and has as full-sub-categories InfLFull (equivalent to the category PAL)
and, ultimately, Rel.
We define a comonad ! over InfL, based on sets rather than multi-sets, which makes InfL a new-Seely
category and hence a model of intuitionistic MELL: our approach is different from that of [15] in that
our comonad is not an endofunctor of Rel; we don’t need to consider multisets exactly because we work
in the bigger category InfL. We also notice that InfLFull is the largest ∗-autonomous full-subcategory
of InfL and that InfL! is a full sub-ccc of Inf.
Definition 2. Let A1 , A2 be LISs. Define the LIS A1 NA2 = (A1 NA2 , Con, ⊢) as follows:
• A1 NA2 = A1 ⊎ A2
• {(i1 , γ1 ), . . . , (im , γm )} ∈ Con iff {γ j : j ∈ [1, m], i j = 1} ∈ ConA1 and {γ j : j ∈ [1, m], i j = 2} ∈ ConA2
• (i, γ ) ⊢ ( j, γ ′ ) iff i = j and γ ⊢Ai γ ′
The projections πi ∈ InfL(A1 NA2 , Ai ) are given by πi = {((i, γ ), γ ′ ) : γ ⊢Ai γ ′ }, i = 1, 2. For R ∈ InfL(C , A1 )
and S ∈ InfL(C , A2 ), the pairing hR, Si ∈ InfL(C , A1 NA2 ) is given by
hR, Si = {(γ , (1, α )) : (γ , α ) ∈ R} ∪ {(γ , (2, β )) : (γ , β ) ∈ S}. Define ⊤ = (0,
/ 0, / The LIS ⊤ is the ter-
/ 0).
minal object of InfL, since for any LIS A , the only morphism R ∈ InfL(A , ⊤) is 0. /
As a matter of fact “!” is also a monad if endowed with natural transformations codigging codig :!! ⇒!
defined by codigA = {(X , a) ∈ !!A×!A : X ⊢!!A {a}} = der!A and codereliction cod : idInfL ⇒! defined
by codA = {(α , b) ∈ A×!A : {α } ⊢!A b}. This is due to the fact that a ⊢!A b iff {a} ⊢!!A {b} and X ⊢!!A {b}
iff ∃a ∈ X . a ⊢!A b.
This also shows a further symmetry: for each object !A ,
• the digging morphism is subsumed by the codereliction morphism in the sense that
cod!A = {(a, X ) : {a} ⊢!!A X } = digA , since for X ∈!!A and a ∈!A we have {a} ⊢!!A X iff a ⊢!A ∪X;
• the codigging morphism is subsumed by the dereliction morphism in the sense that
der!A = {(X , a) : X ⊢!!A {a}} = codigA .
The forthcoming lemma shows that “!” is a symmetric strong monoidal functor. Before proving this,
we shall explicit the symmetric monoidal structure (InfL, N, ⊤) involved in the proof:
• φAN ,B,C : A N(BNC ) → (A NB)NC given by
φAN ,B,C = (1, α ), (1, (1, α ′ )) : α ⊢A α ′ ∪ (2, (1, β )), (1, (2, β ′ )) : β ⊢B β ′ ∪
We now proceed by verifying the commutation of the required diagrams. First observe that both
mA ,B ⊗ id!C ; mA NB,C ; !φAN ,B,C and φA⊗ ,B,C ; id!A ⊗ mB,C ; mA ,BNC are equal to the set of all pairs
((a, b), c), {(1, (1, α1 )), . . . , (1, (1, αn1 )), (2, (1, β1 )), . . . , (2, (1, βn2 )), (2, (2, γ1 )), . . . , (2, (2, γn3 ))}
where a ⊢!A {α1 , . . . , αn1 }, b ⊢!B {β1 , . . . , βn2 }, and c ⊢!C {γ1 , . . . , γn3 }. Therefore the diagram
φA⊗ ,B,C
(!A ⊗!B)⊗!C / !A ⊗ (!B⊗!C )
ρ!A
⊗
λ!B
⊗ σ!A
⊗
,!B
!A ⊗ 1 / !A 1⊗!B / !B !A ⊗!B / !B⊗!A
O O
id!A ⊗n !ρA
N
n⊗id!B !λB
N mA ,B mB,A
mA ,⊤ m⊤,B !σAN,B
!A ⊗!⊤ / !(A N⊤) !⊤⊗!B / !(⊤NB) !(A NB) / !(BNA )
Proof. By Lemma 7, ! is a symmetric strong monoidal functor; it remains to check the coherence diagram
in the definition of new-Seely category. Indeed we have:
digA NB
digA ⊗digB !!(A NB)
!h!π1 ,!π2 i
m!A ,!B
!!A ⊗!!B / !(!A N!B)
Proof. It is an easy task to check that ( )+ : InfL → PSD and ,( )− : PSD → InfL are indeed full and
faithful functors and the two composite endofunctors (−)− ◦ (−)+ and (−)+ ◦ (−)− are naturally iso-
morphic to the identity functor of InfL and PSD, respectively. Moreover every hom-set InfL(A , B),
ordered by inclusion of relations, is a prime algebraic Scott domain and InfL(A , B) = (A ⊸ B)+ , so
that the functors (−)− and (−)+ preserve exponentials, i.e. (A ⊸ B)+ ∼ = PSD(A + , B + ) in the cate-
− ∼ − −
gory PSD and PSD(D, E ) = D ⊸ E in the category InfL. Finally the two functors also preserve
products, since (A NB)+ ∼ = A + × B + in the category PSD and (D × E )− ∼ = D − NE − in the category
InfL.
In view of the categorical equivalence stated in Theorem 11, Proposition 13 shows how to recover
Scott-continuous functions from linear ones. This equivalence specializes to an equivalence between
InfLFull and the category PAL of prime algebraic lattices and linear continuos functions.
Originally ([27]) an information system (IS, for short) is a triple A = (A, Con, ⊢), where Con ⊆ Pf (A)
contains all singletons and ⊢ ⊆ Con × Con satisfies the axioms listed below.
(IS1) if a ∈ Con and a ⊢ b, then b ∈ Con
(IS2) if a′ ⊆ a, then a ⊢ a′
(IS3) if a ⊢ b ⊢ c, then a ⊢ c
Proof. Let A , B be LISs and let A ⇒ B be the exponential object formed in the category Inf: A ⇒ B
is a linear information system and it is an easy matter to see that A ⇒ B =!A ⊸ B. Moreover
C + = C • , for any LIS C , and thus InfL(!A , B) = (!A ⊸ B)+ = (A ⇒ B)• = Inf(A , B).
46 On linear information systems
The space InfL(A , B) of clearly embeds into Inf(A , B) (exactly as the space of linear functions
embeds into that of continuous functions). The embedding is given by the map ϕ : InfL(A , B) ֒→
Inf(A , B) given by ϕ (R) = {(a, β ) : ∃α ∈ a. α R β }. In other words the linear approximable relations
are elements of Inf(A , B), i.e. exactly those approximable relations S for which (a, β ) ∈ S iff ∃α ∈
a. (α , β ) ∈ S. This is the analogue of the condition, dealing with preservation of existing suprema, that
isolates linear functions between Scott domains among the continuous ones.
strongly stable.
A. Bucciarelli & A. Carraro & T. Ehrhard & A. Salibra 47
preted as topological vector spaces, and proofs of linear logic as linear continuous maps between these
spaces. Then exponentials appear as “symmetric tensor algebra” constructions [8]. In the models con-
sidered there, linear maps from !X to Y can be seen as “analytic functions” (that is, functions definable
by a power series) from the vector space X to the vector space Y and therefore can be differentiated.
Classically, the derivative of a function f : X → Y is a function f : X → (X ⊸ Y ) such that for each
x ∈ X , the linear function f ′ (x) (the derivative of f at point x) is the “best linear approximation” of
the function X → Y which maps u ∈ X to f (x + u) ∈ Y (the general definition is local). In the analytic
case, differentiation turns a linear function f :!X → Y into a linear function f ′ :!X → (X ⊸ Y ), that is,
f ′ : (!X ⊗ X ) → Y . It turns out that f ′ can be obtained from f by composing it (as a linear function from
!X to Y ) on the left with a particular linear morphism d : (!X ⊗ X ) →!X . This morphism itself can be
defined in terms of more primitive operations on !X .
This can certainly be done also in the category InfL following for [22], for example. However the
induced differential combinator in this case does not reflect the idea of approximation typical of Scott
semantics. The purpose we have in mind is to investigate the possibility of symmetric tensor bialgebra
constructions, in the category InfL, giving rise in the equivalent category PSD to a reasonable notion of
derivative and compatible with the usual idea of approximation in Scott semantics.
References
[1] S. Abramsky & R. Jagadeesan (1992): Games and Full Completeness for Multiplicative Linear Logic (Ex-
tended Abstract). In: Proceedings of the 12th Conference on Foundations of Software Technology and
Theoretical Computer Science. Springer-Verlag, London, UK, pp. 291–301.
[2] M. Barr (1979): ∗-autonomous categories. Number 752 in LNCS. Springer-Verlag.
[3] N. Barreiro & T. Ehrhard (1997). Anatomy of an extensional collapse.
[4] C. Berline (2000): From computation to foundations via functions and application: The λ -calculus and its
webbed models. Theor. Comput. Sci. 249(1), pp. 81–161.
[5] G. Berry (1979): Modèles complétement adequats et stables des lambda-calculs typés. Thèse de doctorat d‘
État, Université de Paris VII.
[6] G. Berry & P.-L. Curien (1982): Sequential algorithms on concrete data structures. Theor. Comput. Sci. 20,
pp. 265–321.
[7] G. M. Bierman (1995): What is a Categorical Model of Intuitionistic Linear Logic? In: TLCA ’95: Proceed-
ings of the Second International Conference on Typed Lambda Calculi and Applications. Springer-Verlag,
London, UK, pp. 78–93.
[8] R. Blute, P. Panangaden & R. Seely (1993): Fock space: a model of linear exponential types. In: Proceedings
of the Ninth Conference on Mathematical Foundations of Programming Semantics. Springer-Verlag, London,
UK.
[9] G. Boudol (1993): The Lambda-Calculus with Multiplicities (Abstract). In: CONCUR ’93: Proceedings of
the 4th International Conference on Concurrency Theory. Springer-Verlag, London, UK, pp. 1–6.
[10] A. Bucciarelli (1996): Logical relations and lambda theories. In: Advances in Theory and Formal Methods
of Computing, proceedings of the 3rd Imperial College Workshop. pp. 37–48.
[11] A. Carraro & A. Salibra (2009): Reflexive Scott domains are not complete for the extensional lambda calcu-
lus. In: LICS. pp. 91–100.
[12] P.-L. Curien (1994): On the Symmetry of Sequentiality. In: Proceedings of the 9th International Conference
on Mathematical Foundations of Programming Semantics. Springer-Verlag, London, UK, pp. 29–71.
[13] T. Ehrhard (2002): On Köthe sequence spaces and linear logic. Mathematical. Structures in Comp. Sci.
12(5), pp. 579–623.
48 On linear information systems
[14] T. Ehrhard (2005): Finiteness spaces. Mathematical. Structures in Comp. Sci. 15(4), pp. 615–646.
[15] T. Ehrhard (2009). The Scott model of Linear Logic is the extensional collapse of its relational model.
[16] T. Ehrhard & L. Regnier (2006): Differential interaction nets. Theor. Comput. Sci. 364(2), pp. 166–195.
[17] J.-Y. Girard (1986): The system F of variable types, fifteen years later. Theor. Comput. Sci. 45(2), pp.
159–192.
[18] J.-Y. Girard (1987): Linear logic. Theor. Comput. Sci. 50(1), pp. 1–102.
[19] J.-Y. Girard (1988): Normal functors, power series and the lambda-calculus. Annals of pure and applied
logic 37(2), pp. 129–177.
[20] M. Huth (1994): Linear Domains and Linear Maps. In: Proceedings of the 9th International Conference on
Mathematical Foundations of Programming Semantics. Springer-Verlag, London, UK, pp. 438–453.
[21] M. Huth, A. Jung & K. Keimel (1994): Linear Types, Approximation, and Topology. In: LICS. pp. 110–114.
[22] M. Hyland & A. Schalk (2003): Glueing and orthogonality for models of linear logic. Theor. Comput. Sci.
294(1-2), pp. 183–231.
[23] G. Kahn & G. D. Plotkin (1978): Domaines Concrets. Technical Report Rapport 336, IRIA-LABORIA.
[24] K.G. Larsen & G. Winskel (1991): Using information systems to solve recursive domain equations. Inf.
Comput. 91(2), pp. 232–258.
[25] P. A. Melliès (2008). Categorical semantics of linear logic.
[26] G. D. Plotkin & G. Winskel (1994): Bistructures, Bidomains and Linear Logic. In: ICALP ’94: Proceedings
of the 21st International Colloquium on Automata, Languages and Programming. Springer-Verlag, London,
UK, pp. 352–363.
[27] D. S. Scott (1982): Domains for Denotational Semantics. In: Proceedings of the 9th Colloquium on Au-
tomata, Languages and Programming. Springer-Verlag, London, UK, pp. 577–613.
[28] Dieter Spreen, Luoshan Xu & Xuxin Mao (2008): Information systems revisited: the general continuous
case. Theor. Comput. Sci. 405(1-2), pp. 176–187.
[29] G. Winskel (1988): An introduction to event structures. In: REX Workshop. pp. 364–397.
[30] G. Winskel (1999): A Linear Metalanguage for Concurrency. In: AMAST ’98: Proceedings of the 7th
International Conference on Algebraic Methodology and Software Technology. Springer-Verlag, London,
UK, pp. 42–58.
[31] G. Winskel (2004): Linearity and non linearity in distributed computation. In: T. Ehrhard and J.-Y. Girard
and P. Ruet and P. Scott, ed. Linear Logic in Computer Science, London Mathematical Society Lecture Note
Series 316. Cambridge University Press.
[32] G.-Q. Zhang (1992): A Monoidal Closed Category of Event Structures. In: Proceedings of the 7th Interna-
tional Conference on Mathematical Foundations of Programming Semantics. Springer-Verlag, London, UK,
pp. 426–435.