Experimental Evaluation of a Method to Simplify Expressions

03/13/2020
by   Baudouin Le Charlier, et al.
0

We present a method to simplify expressions in the context of an equational theory. The basic ideas and concepts of the method have been presented previously elsewhere but here we tackle the difficult task of making it efficient in practice, in spite of its great generality. We first recall the notion of a collection of structures, which allows us to manipulate very large (possibly infinite) sets of terms as a whole, i.e., without enumerating their elements. Then we use this tool to construct algorithms to simplify expressions. We give various reasons why it is difficult to make these algorithms precise and efficient. We then propose a number of approches to solve the raised issues. Finally, and importantly, we provide a detailed experimental evaluation of the method and a comparison of several variants of it. Although the method is completely generic, we use (arbitrary, not only two-level) boolean expressions as the application field for these experiments because impressive simplifications can be obtained in spite of the hardness of the problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/13/2022

Efficient Deobfuscation of Linear Mixed Boolean-Arithmetic Expressions

Mixed Boolean-Arithmetic (MBA) expressions are frequently used for obfus...
research
01/28/2020

Normalizing Casts and Coercions

This system description introduces norm_cast, a toolbox of tactics for t...
research
08/11/2022

SSLEM: A Simplifier for MBA Expressions based on Semi-linear MBA Expressions and Program Synthesis

MBA (mixed boolean and arithmetic) expressions are hard to simplify, so ...
research
11/23/2021

Caviar: An E-graph Based TRS for Automatic Code Optimization

Term Rewriting Systems (TRSs) are used in compilers to simplify and prov...
research
06/04/2019

KarNet: An Efficient Boolean Function Simplifier

Many approaches such as Quine-McCluskey algorithm, Karnaugh map solving,...
research
01/28/2020

Simplifying Casts and Coercions

This paper introduces norm_cast, a toolbox of tactics for the Lean proof...
research
04/30/2019

A Detailed Analysis of Quicksort Algorithms with Experimental Mathematics

We study several variants of single-pivot and multi-pivot Quicksort algo...

Please sign up or login with your details

Forgot password? Click here to reset