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 条
  • [31] Efficient inference of partial types
    Kozen, Dexter
    Palsberg, Jens
    Schwartzbach, Michael I.
    Journal of Computer and System Sciences, 1994, 49 (02): : 306 - 324
  • [32] EFFICIENT INFERENCE OF OBJECT TYPES
    PALSBERG, J
    INFORMATION AND COMPUTATION, 1995, 123 (02) : 198 - 209
  • [33] On the correspondence between conformance testing and regular inference
    Berg, T
    Grinchtein, O
    Jonsson, B
    Leucker, M
    Raffelt, H
    Steffen, B
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2005, 3442 : 175 - 189
  • [34] From ML type inference to stratified type inference
    Pottier, F
    ACM SIGPLAN NOTICES, 2005, 40 (09) : 1 - 1
  • [35] Chinese consumer types: A correspondence analysis
    Li, HF
    Xiao, JJ
    CONSUMER INTERESTS ANNUAL, VOL 44, 1998, 44 : 142 - 147
  • [36] Correspondence - East African vegetation types
    Gillman, C
    JOURNAL OF ECOLOGY, 1936, 24 : 502 - 505
  • [37] CORRESPONDENCE BETWEEN 2 TYPES OF TREES
    OBRUCA, AK
    COMPUTER JOURNAL, 1967, 10 (03): : 290 - &
  • [38] Boxy types: Inference for higher-rank types and impredicativity
    Vytiniotis, Dimitrios
    Weirich, Stephanie
    Jones, Simon Peyton
    ACM SIGPLAN NOTICES, 2006, 41 (09) : 251 - 262
  • [39] Computing in cortical columns: Curve inference and stereo correspondence
    Zucker, SW
    BIOLOGICALLY MOTIVATED COMPUTER VISION, PROCEEDING, 2000, 1811 : 189 - 208
  • [40] Contextual inference in contour-based stereo correspondence
    Li, Gang
    Zucker, Steven W.
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2006, 69 (01) : 59 - 75