首页> 外文会议>World Congress on Formal Methods >Transformations for Generating Type Refinements
【24h】

Transformations for Generating Type Refinements

机译:生成类型优化的转换

获取原文

摘要

We present transformations for incrementally defining both inductive sum/variant types and coinductive product/record types in a formal refinement setting. Inductive types are built by incrementally accumulating constructors. Coinductive types are built by incrementally accumulating observers. In each case, when the developer decides that the constructor (resp. observer) set is complete, a transformation is applied that generates a canonical definition for the type. It also generates definitions for functions that have been characterized in terms of patterns over the constructors (resp. copatterns over the observers). Functions that input a possibly-recursive sum/variant type are defined inductively via patterns on the input data. Dually, functions that output a possibly-recursive record type are defined coinductively via copatterns on the function's output. The transformations have been implemented in the Specware system and have been used extensively in the automated synthesis of concurrent garbage collection algorithms and families of protocol-processing codes for distributed vehicle control.
机译:我们提供了用于在正式优化设置中增量定义归纳和/变量类型和共归乘积/记录类型的转换。归纳类型是通过累加累积的构造函数来构建的。共归类型是通过逐渐累积观察者来建立的。在每种情况下,当开发人员确定构造函数(分别为观察者)的集合完整时,将应用转换以生成该类型的规范定义。它还为函数生成了定义,这些函数已经根据构造函数上的模式(观察者之上的共模式)进行了特征化。通过输入数据上的模式以归纳方式定义输入可能递归的和/变量类型的函数。双重地,通过可能的递归记录类型输出的函数是通过函数输出上的协同模式共同定义的。转换已在Specware系统中实现,并已广泛用于并发垃圾收集算法的自动综合以及用于分布式车辆控制的协议处理代码系列。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号