rg/Article">
           <div itemprop="articleBody">
             
  <h1>Source code for boolxai.rules.literal</h1><div class="highlight"><pre>
<span></span><span class="c1"># -*- coding: utf-8 -*-</span>
<span class="c1"># SPDX-License-Identifier: Apache-2.0</span>
<span class="c1"># Portions copyright 2023 FMR LLC</span>
<span class="c1"># Portions copyright 2023 Amazon Web Services, Inc.</span>

<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</sp