Symbolic Specialization of Rewriting Logic Theories with<tt>Presto</tt>
Demis Hassabis
Top #31 Global AI Researcher · Google DeepMind
Demis Hassabis conducts research in alphafold, general reinforcement learning & cognitive neuroscience at Google DeepMind.
This paper introduces $\tt{{Presto}}$ , a symbolic partial evaluator for Maude’s rewriting logic theories that can improve system analysis and verification. In $\tt{{Presto}}$ , the automated optimization of a conditional rewrite theory $\mathcal{R}$ (whose rules define the concurrent transitions of a system) is achieved by partially evaluating, with respect to the rules of $\mathcal{R}$ , an underlying, companion equational logic theory $\mathcal{E}$ that specifies the algebraic structure of the system states of $\mathcal{R}$ .
This can be particularly useful for specializing an overly general equational theory $\mathcal{E}$ whose operators may obey complex combinations of associativity, commutativity, and/or identity axioms, when being plugged into a host rewrite theory $\mathcal{R}$ as happens, for instance, in protocol analysis, where sophisticated equational theories for cryptography are used. $\tt{{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 $\tt{{Presto}}$ in several examples of protocol analysis where it achieves a significant speed-up. Actually, the transformation provided by $\tt{{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.
Originally published at Theory and Practice of Logic Programming
By Demis Hassabis (Google DeepMind) · 2022-02-11 · Open Access / Academic Attribution.
Add a Worked Example, Practitioner Field Note, or Counter-Thesis
More from Google DeepMind & Related Topics
All 51 works from Google DeepMind →How Alan Greenspan’s stint as President Ford’s top economic adviser cemented his passion for public service and prepared him to lead the Fed
The Fed chair who served under five US presidents was more practical and less ideological than his detractors claimed.
Innovative Technology and Operations for Alleviating Poverty through Women's Economic Empowerment
Can technology and operations enable the world to achieve various United Nation Sustainable Development Goals? I provide my own perspective on this question…
Assessment of Storage Insect Pests, Methods and Management Practices for Rice (Oryza sativa L.) in Fogera, Northwestern Ethiopia
Storage pests are a significant factor contributing to rice crop losses, adversely affecting both the quantity and quality of stored rice. This study was…
Population Dynamics, Yield Loss and Management of Major Insect Pests of Rice ( <i>Oryza sativa</i> L.) Crop: A Review
Rice insect pests are a major biological constraint in rice production. They affect every part of the rice plant throughout all growth stages, leading to…