Download PDFOpen PDF in browser

A Method to Simplify Expressions: Intuition and Preliminary Experimental Results

15 pagesPublished: September 27, 2016

Abstract

We present a method to simplify expressions in the context of a formal, axiomatically defined, theory. In this paper, equality axioms are typically used but the method is more generally applicable. The key idea of the method is to represent large, even infinite, sets of expressions\footnote{We use the words ``term'' and ``expression'' as synonymous.} by means of a special data structure that allows us to apply axioms to the sets as a whole, not to single individual expressions. We then propose a bottom-up algorithm to finitely compute theories with a finite number of equivalence classes of equal terms. In that case, expressions can be simplified (i.e., minimized) in linear time by ``folding'' them on the computed representation of the theory. We demonstrate the method for boolean expressions with a small number of variables. Finally, we propose a ``goal oriented'' algorithm that computes only small parts of the underlying theory, in order to simplify a given particular expression. We show that the algorithm is able to simplify boolean expressions with many more variables but optimality cannot be certified anymore.

Keyphrases: Boolean calculus, equivalence problem, Representation of sets of equivalent terms, Simplification of expressions

In: Boris Konev, Stephan Schulz and Laurent Simon (editors). IWIL-2015. 11th International Workshop on the Implementation of Logics, vol 40, pages 37--51

Links:
BibTeX entry
@inproceedings{IWIL-2015:Method_to_Simplify_Expressions,
  author    = {Baudouin Le Charlier and M\textbackslash{}\textasciicircum{}eton M\textbackslash{}\textasciicircum{}eton Atindehou},
  title     = {A Method to Simplify Expressions: Intuition and Preliminary Experimental Results},
  booktitle = {IWIL-2015. 11th International Workshop on the Implementation of Logics},
  editor    = {Boris Konev and Stephan Schulz and Laurent Simon},
  series    = {EPiC Series in Computing},
  volume    = {40},
  pages     = {37--51},
  year      = {2016},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {https://easychair.org/publications/paper/m97},
  doi       = {10.29007/jv63}}
Download PDFOpen PDF in browser