Maude策略语言
The Maude strategy language
AI总结:
为控制Maude规约中重写规则的非确定性以兼顾多方面需求,研究提出Maude策略语言,介绍其语义、从Maude反射实现到C++集成实现的演进及多领域应用。
摘要:
重写逻辑是用于并发系统与逻辑规约的一种自然且具表达力的框架。Maude规约语言实现了该形式体系,可对所表征的系统执行、验证与分析。这类规约通过项与方程声明其对象,并提供重写规则来表征状态上可能具有非确定性的局部变换。有时需要对这些规则进行受控应用,以减少非确定性、兼顾全局层面、目标导向或效率方面的考量,或是选定特定执行路径用于分析。我们将其称为策略。为表达这类策略,同时遵循关注点分离原则,学界提出并开发了Maude策略语言。该策略语言的首个实现是利用Maude自身的反射特性在Maude内部完成的。经过大量实验后,语言新增了更多特性,且为提升效率,已用C++将策略语言实现为Maude系统的一个组成部分。本文介绍了Maude策略语言,涉及其语义、实现决策以及来自多个领域的若干应用实例。
英文摘要:
Rewriting logic is a natural and expressive framework for the specification of concurrent systems and logics. The Maude specification language provides an implementation of this formalism that allows executing, verifying, and analyzing the represented systems. These specifications declare their objects by means of terms and equations, and provide rewriting rules to represent potentially non-deterministic local transformations on the state. Sometimes a controlled application of these rules is required to reduce non-determinism, to capture global, goal-oriented or efficiency concerns, or to select specific executions for their analysis. That is what we call a strategy. In order to express them, respecting the separation of concerns principle, a Maude strategy language was proposed and developed. The first implementation of the strategy language was done in Maude itself using its reflective features. After ample experimentation, some more features have been added and, for greater efficiency, the strategy language has been implemented in C++ as an integral part of the Maude system. This paper describes the Maude strategy language along with its semantics, its implementation decisions, and several application examples from various fields.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。