A type system for resource protocol verification and its correctness proof
A type system for resource protocol verification and its correctness proof
复制标题
一种资源协议验证类型系统及其正确性证明
DOI:
--
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
W. Chin
中科院分区:
文献类型:
--
作者:
C. Popeea;W. Chin
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.