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 条
  • [21] A computational complexity analysis of tunable type inference for Generic Universe Types
    Juma, Nahid
    Dietl, Werner
    Tripunitara, Mahesh
    THEORETICAL COMPUTER SCIENCE, 2020, 814 (814) : 189 - 209
  • [22] Flexible Types Robust type inference for first-class polymorphism
    Leijen, Daan
    ACM SIGPLAN NOTICES, 2009, 44 (01) : 66 - 77
  • [23] Expansion: the Crucial Mechanism for Type Inference with Intersection Types: A Survey and Explanation
    Wells, Sebastien Carlier J. B.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 136 : 173 - 202
  • [24] Entity type inference based on path walking and inter-types relationships
    Gan, Yi
    Su, Zhihui
    Lu, Gaoyong
    Zhang, Pengju
    Cui, Aixiang
    Jiang, Jiawei
    Chen, Duanbing
    DATA & KNOWLEDGE ENGINEERING, 2024, 153
  • [25] An Existential Crisis Resolved Type Inference for First-Class Existential Types
    Eisenberg, Richard A.
    Duboc, Guillaume
    Weirich, Stephanie
    Lee, Daniel
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5
  • [26] CORRESPONDENCE OF TYPES-I AND TYPE-II CENSORED-SAMPLE ESTIMATORS
    BILIKAM, JE
    IEEE TRANSACTIONS ON RELIABILITY, 1983, 32 (01) : 100 - 101
  • [27] A correspondence between martin-löf type theory, the ramified theory of types and pure type systems
    Kamareddine F.
    Laan T.
    Journal of Logic, Language and Information, 2001, 10 (3) : 375 - 402
  • [28] Practical Inference of Nullability Types
    Karimipour, Nima
    Pham, Justin
    Clapp, Lazaro
    Sridharan, Manu
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 1395 - 1406
  • [29] EFFICIENT INFERENCE OF PARTIAL TYPES
    KOZEN, D
    PALSBERG, J
    SCHWARTZBACH, MI
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 49 (02) : 306 - 324
  • [30] Practical Inference of Nullability Types
    Karimipour, Nima
    Pham, Justin
    Clapp, Lazaro
    Sridharan, Manu
    ESEC/FSE 2023 - Proceedings of the 31st ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2023, : 1395 - 1406