title: symplify boolean expression with comparison signs
body: <p>Is there a library in python to simplify boolean expression with comparison expressions
  e.g.</p>
  <p>from:</p>
  <pre><code>(a &lt; 10 &amp; a &lt;= 10) | b
  </code></pre>
  <p>to:</p>
  <pre><code>(a &lt; 10) | b
  </code></pre>