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).
翻译:本文介绍Maude重写逻辑理论的象征性部分评价员Presto, 这个理论可以改进系统分析和核查。 在Presto, 有条件重写理论R (其规则定义一个系统的同时过渡) 的自动优化是通过部分评价实现的, 在R 规则方面, 一个基础的、配套的等式逻辑理论 E, 该理论规定了系统状态R 的代数结构。 这可能特别有用, 该理论是一个过于笼统的等式理论 E, 该理论的操作员可能遵守关联性、 通货性和/或身份性等同性等复杂组合。 在Presto 中, 当插入主机重写理论 R ( 其规则定义一个系统规则) 时, 该理论R ( 其规则定义) 的自动优化 。 将不同的演化操作员置于折叠式缩小( Maude 等式理论的象征引擎 ) 。 如果与适当的抽象算法相结合, 它们可以让专业化适应理论终止行为, 并带来显著的改进, 同时确保专业性强度的正确和终止 。 我们展示了Prestooral 的精确的逻辑 变法, 在一系列的变法分析中, 将实现一个重大的变法化规则 。