A Type System for Resource Protocol Verification
and its Correctness Proof

 

Abstract:

We present a new method, based on a form of dependent typing, to verify the correct usage of resources in a program. Our approach allows complex resources to be specified, whose properties are captured by annotated types and conditions on invariance and final states.
The protocol itself is specified through a set of pre-defined methods, whose pre-condition and post-condition together, enforce the correct temporal usage of each resource type. We design a simple language together with a type system that shows how resource protocol verification can be achieved. We formalise an operational semantics for the language and provide a correctness proof which confirms that well-typed programs conform to the specified protocol of each resource type.

 

Paper:

Corneliu Popeea and Wei-Ngan Chin - A Type System for Resource Protocol Verification and its Correctness Proof.
ACM PEPM 2004, Verona, Italy, August 2004