Type Inference for Correspondence Types

  • Andy Gordon ,
  • Hans Hüttel ,
  • René Rydhof Hansen

Proceedings of the 6th Workshop on Security Issues in Concurrency (SecCo 2008) |

Published by Elsevier ScienceDirect

Publication

We present a correspondence type/effect system for authenticity in a π-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.