title: What does !a&&(a||b) simplify to?
body: <p>I'm a little confused on <code>!a&amp;&amp;(a||b)</code>. If I look at it directly and interpret it simply, it appears as if it is the same as</p>
  
  <pre><code>!a&amp;&amp;a or !a&amp;&amp;b
  </code></pre>
  
  <p>but this seems a little weird because since <code>a</code> can't be true and false, it would only be true if the latter was true. I also interpreted it like this</p>
  
  <pre><code>!a || a&amp;&amp;b
  </code></pre>
  
  <p>I don't really know how I came up with this one but it just looks more logical since there are no contradictions. Can anyone help me on this please? </p>