首页> 外文会议>Static Analysis >A Behavioral Module System for the Pi-Calculus
【24h】

A Behavioral Module System for the Pi-Calculus

机译:Pi演算的行为模块系统

获取原文

摘要

Distributed message-passing based asynchronous systems are becoming increasingly important. Such systems are notoriously hard to design and test. A promising approach to help programmers design such programs is to provide a behavioral type system that checks for behavioral properties such as deadlock freedom using a combination of type inference and model checking. The fundamental challenge in making a behavioral type system work for realistic concurrent programs is state explosion. This paper develops the theory to design a behavioral module system that permits decomposing the type checking problem, saving exponential cost in the analysis. Unlike module systems for sequential programming languages, a behavioral specification for a module typically assumes that the module operates in an appropriate concurrent context. We identify assume-guarantee reasoning as a fundamental principle in designing such a module system. Concretely, we propose a behavioral module system for π-calculus programs. Types are CCS processes that correctly approximate the behavior of programs, and by applying model checking techniques to process types one can check many interesting program properties, including deadlock-freedom and communication progress. We show that modularity can be achieved in our type system by applying circular assume-guarantee reasoning principles whose soundness requires an induction over time. We state and prove an assume-guarantee rule for CCS. Our module system integrates this assume-guarantee rule into our behavioral type system.
机译:基于分布式消息传递的异步系统变得越来越重要。众所周知,这样的系统很难设计和测试。帮助程序员设计此类程序的一种有前途的方法是提供一种行为类型系统,该行为类型系统结合使用类型推断和模型检查来检查行为属性,例如死锁自由。使行为类型系统适用于现实的并发程序的根本挑战是状态爆炸。本文发展了设计行为模块系统的理论,该系统可以分解类型检查问题,从而节省了分析的指数成本。与用于顺序编程语言的模块系统不同,模块的行为规范通常假定该模块在适当的并发上下文中运行。我们将假设保证推理确定为设计此类模块系统的基本原则。具体地,我们提出了一种用于π演算程序的行为模块系统。类型是CCS进程,可以正确地近似程序的行为,并且通过将模型检查技术应用于进程类型,可以检查许多有趣的程序属性,包括无死锁和通信进度。我们证明了通过应用循环的假设保证推理原理可以在我们的类型系统中实现模块化,其合理性需要随着时间的推移而归纳。我们声明并证明CCS的假定保证规则。我们的模块系统将此假定保证规则集成到我们的行为类型系统中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号