Linearity and the pi-calculus

被引:141
|
作者
Kobayashi, N
Pierce, BC
Turner, DN
机构
[1] Univ Tokyo, Dept Informat Sci, Bunkyo Ku, Tokyo 1130033, Japan
[2] Univ Penn, Dept Comp & Informat Sci, Philadelphia, PA 19104 USA
[3] Teallach Ltd, Technol Transfer Ctr, Edinburgh EH9 3JL, Midlothian, Scotland
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 1999年 / 21卷 / 05期
关键词
languages; theory; concurrency; confluence; linear types; pi-calculus; process calculi;
D O I
10.1145/330249.330251
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The economy and flexibility of the pi-calculus make it an attractive object of theoretical study and a clean basis for concurrent language design and implementation. However, such generality has a cost: encoding higher-level features like functional computation in pi-calculus throws away potentially useful information. We show how a linear type system can be used to recover important static information about a process's behavior. In particular, we can guarantee that two processes communicating over a linear channel cannot interfere with other communicating processes. After developing standard results such as soundness of typing, we focus on equivalences, adapting the standard notion of barbed bisimulation to the linear setting and showing how reductions on linear channels induce a useful "partial confluence" of process behaviors. For an extended example of the theory, we prove the validity of a tail-call optimisation for higher-order functions represented as processes.
引用
收藏
页码:914 / 947
页数:34
相关论文
共 50 条
  • [21] Multisets and structural congruence of the pi-calculus with replication
    Engelfriet, J
    Gelsema, T
    THEORETICAL COMPUTER SCIENCE, 1999, 211 (1-2) : 311 - 337
  • [22] Investigating workflow patterns in term of pi-calculus
    Xue, Gang
    Lu, Joan
    Yao, Shaowen
    PROCEEDINGS OF THE 2007 11TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, VOLS 1 AND 2, 2007, : 823 - +
  • [23] Synchrony vs Causality in the Asynchronous Pi-Calculus
    Peters, Kirstin
    Schicke, Jens-Wolfhard
    Nestmann, Uwe
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2011, (64): : 89 - 103
  • [24] A Stable Non-interleaving Early Operational Semantics for the Pi-Calculus
    Hildebrandt, Thomas Troels
    Johansen, Christian
    Normann, Hakon
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS (LATA 2017), 2017, 10168 : 51 - 63
  • [25] A Completeness Proof for Bisimulation in the pi-calculus Using Isabelle
    Bengtson, Jesper
    Parrow, Joachim
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 192 (01) : 61 - 75
  • [26] From Active Names to pi-calculus Rewriting Rules
    de Melo, Ana C. V.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 130 : 169 - 185
  • [27] Typed Event Structures and the pi-Calculus Extended Abstract
    Varacca, Daniele
    Yoshida, Nobuko
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 158 (01) : 373 - 397
  • [28] Compiling the pi-calculus into a Multithreaded Typed Assembly Language
    Cogumbreiro, Tiago
    Martins, Francisco
    Vasconcelos, Vasco T.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 241 (0C) : 57 - 84
  • [29] Self-applicable partial evaluation for the pi-calculus
    Gengler, M
    Martel, M
    ACM SIGPLAN NOTICES, 1997, 32 (12) : 36 - 46
  • [30] Automatic Service Composition Verification Based on Pi-calculus
    Peng, Yanbin
    Ye, Lv
    Zheng, Zhijun
    Xiang, Jian
    Jiang, Xueqin
    Gao, Ji
    Ai, Jieqing
    Lu, Zhenyu
    Jin, Yu
    2009 INTERNATIONAL CONFERENCE ON E-BUSINESS AND INFORMATION SYSTEM SECURITY, VOLS 1 AND 2, 2009, : 437 - +