Type Inference for Correspondence Types

被引:1
|
作者
Gordon, Andrew D. [1 ]
Huttel, Hans [2 ]
Hansen, Rene Rydhof [2 ]
机构
[1] Microsoft Res, Cambridge, England
[2] Aalborg Univ, Dept Comp Sci, DK-9220 Aalborg, Denmark
关键词
pi-calculus; correspondence assertions; type inference;
D O I
10.1016/j.entcs.2009.07.079
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a correspondence type/effect system for authenticity in a p-calculus with polarized channels, dependent pair types and effect terms and show how one may, given a process P and an a priori type environment E, generate constraints that are formulae in the Alternating Least Fixed-Point (ALFP) logic. We then show how a reasonable model of the generated constraints yields a type/effect assignment such that P becomes well-typed with respect to E if and only if this is possible. The formulae generated satisfy a finite model property; a system of constraints is satisfiable if and only if it has a finite model. As a consequence, we obtain the result that type/effect inference in our system is polynomial-time decidable.
引用
收藏
页码:21 / 36
页数:16
相关论文
共 50 条
  • [1] Type inference with constrained types
    Odersky, M
    Sulzmann, M
    Wehr, M
    THEORY AND PRACTICE OF OBJECT SYSTEMS, 1999, 5 (01): : 35 - 55
  • [2] TYPE INFERENCE WITH PARTIAL TYPES
    THATTE, SR
    THEORETICAL COMPUTER SCIENCE, 1994, 124 (01) : 127 - 148
  • [3] TYPE INFERENCE WITH PARTIAL TYPES
    THATTE, S
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 317 : 615 - 629
  • [4] Type inference with constrained types
    Univ of South Australia
    Theor Pract Object Syst, 1 (35-55):
  • [5] Type inference for nested self types
    Bono, V
    Tiuryn, J
    Urzyczyn, P
    TYPES FOR PROOFS AND PROGRAMS, 2004, 3085 : 99 - 114
  • [6] TYPE INFERENCE FOR PARTIAL TYPES IS DECIDABLE
    OKEEFE, PM
    WAND, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 582 : 408 - 417
  • [7] Type inference for variant object types
    Bugliesi, M
    Pericás-Geertsen, SM
    INFORMATION AND COMPUTATION, 2002, 177 (01) : 2 - 27
  • [8] Function types in complete type inference
    Widera, M
    Beierle, C
    TRENDS IN FUNCTIONAL PROGRAMMING 3, 2002, : 111 - 122
  • [9] TYPE INFERENCE WITH RECURSIVE TYPES - SYNTAX AND SEMANTICS
    CARDONE, F
    COPPO, M
    INFORMATION AND COMPUTATION, 1991, 92 (01) : 48 - 80
  • [10] Type Inference for Rank 2 Gradual Intersection Types
    Angelo, Pedro
    Florido, Mario
    TRENDS IN FUNCTIONAL PROGRAMMING, TFP 2019, 2020, 12053 : 84 - 120