用Presto重写逻辑理论的符号专业化
Symbolic Specialization of Rewriting Logic Theories with Presto
摘要:
本文介绍了Presto,Maude重写逻辑理论的符号部分求值器,可以提高系统的分析和验证。在Presto中,条件重写理论R(其规则定义了系统的并发转换)的自动优化是通过相对于R的规则部分地评估指定R的系统状态的代数结构的基础伴随等式逻辑理论E来实现的。这对于专门化过度一般的方程理论E特别有用,其运算符可能服从结合性、交换性和/或恒等公理的复杂组合,当插入主机重写理论R时,例如在协议分析中,其中使用复杂的密码学方程理论。Presto实现了基于折叠变窄(Maude方程理论的符号引擎)的不同展开运算符。当与适当的抽象算法相结合时,它们允许专门化适应理论终止行为,并在确保专门化的强正确性和终止性的同时带来显着的改进。我们证明了Presto的有效性,在协议分析的几个例子中,它实现了显着的加速。实际上,Presto变换可以将无限折叠变式压缩为有限折叠变式,而且可以消除一些代价很高的代数公理和规则条件。据我们所知,这是Maude的第一个部分求值器,它尊重函数、逻辑、并发和面向对象计算的语义。逻辑程序设计理论与实践(TPLP)
英文摘要:
This paper introduces Presto, a symbolic partial evaluator for Maude's rewriting logic theories that can improve system analysis and verification. In Presto, the automated optimization of a conditional rewrite theory R (whose rules define the concurrent transitions of a system) is achieved by partially evaluating, with respect to the rules of R, an underlying, companion equational logic theory E that specifies the algebraic structure of the system states of R. This can be particularly useful for specializing an overly general equational theory E whose operators may obey complex combinations of associativity, commutativity, and/or identity axioms, when being plugged into a host rewrite theory R as happens, for instance, in protocol analysis, where sophisticated equational theories for cryptography are used. Presto implements different unfolding operators that are based on folding variant narrowing (the symbolic engine of Maude's equational theories). When combined with an appropriate abstraction algorithm, they allow the specialization to be adapted to the theory termination behavior and bring significant improvement while ensuring strong correctness and termination of the specialization. We demonstrate the effectiveness of Presto in several examples of protocol analysis where it achieves a significant speed-up. Actually, the transformation provided by Presto may cut down an infinite folding variant narrowing space to a finite one, and moreover, some of the costly algebraic axioms and rule conditions may be eliminated as well. As far as we know, this is the first partial evaluator for Maude that respects the semantics of functional, logic, concurrent, and object-oriented computations. Under consideration in Theory and Practice of Logic Programming (TPLP).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。