帮助 本站公告
您现在所在的位置:网站首页 > 知识中心 > 文献详情
文献详细Journal detailed

对象行为等价的终结共代数语义
Final Coalgebraic Semantics for Behavioral Equality of Objects

作  者: ; ; ;

机构地区: 中山大学信息科学与技术学院

出  处: 《计算机科学》 2012年第2期179-182,190,共5页

摘  要: 终结共代数上的互模拟是等价关系,这一性质为对象的行为等价提供了一种基于共归纳原理的证明方法。首先,利用共代数给出面向对象方法中的抽象类、类和对象的形式化描述,其中抽象类被定义为一个包含方法和断言声明的类规范,类被定义为满足类规范的共代数,类的各个对象看成是共代数状态空间上的元素,而对象中方法的各种行为结构则通过强Monads进行参数化描述;接着,利用类规范的终结共代数给出对象行为等价关系的证明方法以及在各种不同Monads结构下的终结共代数语义;最后,通过实例说明如何利用PVS工具对研究结果进行验证。 The equality characteristics of bisimulations on final coalgebras entail a proof method for behavioral equality of objects based on coinductive principles.Firstly,we used coalgebras to give formal descriptions about Abstract classes,classes and objects in object oriented methods,where Abstract class was defined as a class specification including declarations of methods and assertions,and classes satisfying the class specification were described as coalgebras.Each object belonging to a class was viewed as an element of the state space of the class,as coalgebras.Various behavioral structures of methods in objects were described parametrically by strong Monads.Secondly,we used final coalgebras of class specification to give a proof method for objects' behavioral equality and their final coalgebraic semantics under the conditions of different Monads.Finally,some examples were employed to demonstrate how to use PVS tools for verifications.

关 键 词: 对象 行为等价 共代数方法 终结共代数

领  域: [自动化与计算机技术] [自动化与计算机技术]

相关作者

作者 李静娜
作者 张丽梅
作者 彭彩红
作者 江军
作者 胡伟

相关机构对象

机构 暨南大学
机构 暨南大学华文学院
机构 华南师范大学
机构 广东外语外贸大学
机构 中山大学

相关领域作者

作者 李文姬
作者 邵慧君
作者 杜松华
作者 周国林
作者 邢弘昊