We propose a type system for a calculus of contracting processes. Processes can establish sessions by stipulating contracts, and then can interact either by keeping the promises made, or not. Type safety guarantees that a typeable process is honest — that is, it abides by the contracts it has stipulated in all possible contexts, even in presence of dishonest adversaries. Type inference is decidable, and it allows to safely approximate the honesty of processes using either synchronous or asynchronous communication.
History
Citation
Logical Methods in Computer Science, 2016, 12 (4:7), pp. 1-58
Author affiliation
/Organisation/COLLEGE OF SCIENCE AND ENGINEERING/Department of Computer Science
Version
VoR (Version of Record)
Published in
Logical Methods in Computer Science
Publisher
IfCoLog (International Federation of Computational Logic)