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.