Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 583ffa4ba069126c3ba0bc565dc0485a > files > 576

cvc3-doc-2.4.1-1.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CVC3: CVC3::TheoryUF Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CVC3&#160;<span id="projectnumber">2.4.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceCVC3.html">CVC3</a>      </li>
      <li class="navelem"><a class="el" href="classCVC3_1_1TheoryUF.html">TheoryUF</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CVC3::TheoryUF Class Reference<div class="ingroups"><a class="el" href="group__Theories.html">Theories</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CVC3::TheoryUF" --><!-- doxytag: inherits="CVC3::Theory" -->
<p>This theory handles uninterpreted functions.  
 <a href="classCVC3_1_1TheoryUF.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CVC3::TheoryUF:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classCVC3_1_1TheoryUF.png" usemap="#CVC3::TheoryUF_map" alt=""/>
  <map id="CVC3::TheoryUF_map" name="CVC3::TheoryUF_map">
<area href="classCVC3_1_1Theory.html" title="Base class for theories." alt="CVC3::Theory" shape="rect" coords="0,0,108,24"/>
</map>
 </div></div>

<p><a href="classCVC3_1_1TheoryUF-members.html">List of all members.</a></p>
<h2><a name="nested-classes"></a>
Classes</h2>
<ul>
<li>struct <a class="el" href="structCVC3_1_1TheoryUF_1_1TCMapPair.html">TCMapPair</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classCVC3_1_1TheoryUF.html#ac00f7aea61528906495cb96d6c38ecab">TheoryUF</a> (<a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *core)
<li><a class="el" href="classCVC3_1_1TheoryUF.html#a2ffd3c9bab9abb60724448bd0551dc36">~TheoryUF</a> ()
<li><a class="el" href="classCVC3_1_1UFProofRules.html">UFProofRules</a> * <a class="el" href="classCVC3_1_1TheoryUF.html#a5f8eb53743b3755791ce2ed374bad868">createProofRules</a> ()
<li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a452face1b48cfdd389cee5f9ef693810">addSharedTerm</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Notify theory of a new shared term.  <a href="#a452face1b48cfdd389cee5f9ef693810"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a42e164b13affdc5abdb9e56c43e4242c">assertFact</a> (const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;e)
<dl class="el"><dd class="mdescRight">Assert a new fact to the decision procedure.  <a href="#a42e164b13affdc5abdb9e56c43e4242c"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a51e3b956b0e83af64548b0e402611b61">checkSat</a> (bool fullEffort)
<dl class="el"><dd class="mdescRight">Check for satisfiability in the theory.  <a href="#a51e3b956b0e83af64548b0e402611b61"></a><br/></dl><li><a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> <a class="el" href="classCVC3_1_1TheoryUF.html#a128eb911fae9a65232037d6cf0c4f0e5">rewrite</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Theory-specific rewrite rules.  <a href="#a128eb911fae9a65232037d6cf0c4f0e5"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a9a004c0e28f9b018db1173635400cc90">setup</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Set up the term e for call-backs when e or its children change.  <a href="#a9a004c0e28f9b018db1173635400cc90"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#ace17a32e291a61b858e0892b21083f5d">update</a> (const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;e, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;d)
<dl class="el"><dd class="mdescRight">Notify a theory of a new equality.  <a href="#ace17a32e291a61b858e0892b21083f5d"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a34d126b5ce21bca5de2d51c834f964b7">checkType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Check that e is a valid <a class="el" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> expr.  <a href="#a34d126b5ce21bca5de2d51c834f964b7"></a><br/></dl><li><a class="el" href="namespaceCVC3.html#af969e724f8b7016909f5804e8cea3e54">Cardinality</a> <a class="el" href="classCVC3_1_1TheoryUF.html#a47b4f06fa93d0f190534a35af01fb5f7">finiteTypeInfo</a> (<a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e, <a class="el" href="classCVC3_1_1Unsigned.html">Unsigned</a> &amp;n, bool enumerate, bool computeSize)
<dl class="el"><dd class="mdescRight">Compute information related to finiteness of types.  <a href="#a47b4f06fa93d0f190534a35af01fb5f7"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a26061e351f02b3d372efa85d1b250134">computeType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Compute and store the type of e.  <a href="#a26061e351f02b3d372efa85d1b250134"></a><br/></dl><li><a class="el" href="classCVC3_1_1Type.html">Type</a> <a class="el" href="classCVC3_1_1TheoryUF.html#a69f52441ffdbcc56cd227380904e4371">computeBaseType</a> (const <a class="el" href="classCVC3_1_1Type.html">Type</a> &amp;t)
<dl class="el"><dd class="mdescRight">Compute the base type of the top-level operator of an arbitrary type.  <a href="#a69f52441ffdbcc56cd227380904e4371"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#abeee663f7e0372e4b98635be772d0ac5">computeModelTerm</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e, std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;v)
<dl class="el"><dd class="mdescRight">Add variables from 'e' to 'v' for constructing a concrete model.  <a href="#abeee663f7e0372e4b98635be772d0ac5"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a6b6437208e5cd05563b4be9a83b4ed35">computeModel</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e, std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;vars)
<dl class="el"><dd class="mdescRight">Compute the value of a compound variable from the more primitive ones.  <a href="#a6b6437208e5cd05563b4be9a83b4ed35"></a><br/></dl><li><a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="classCVC3_1_1TheoryUF.html#ad39e7c0bacd10a30d33f187afeebcf2e">computeTCC</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Compute and cache the TCC of e.  <a href="#ad39e7c0bacd10a30d33f187afeebcf2e"></a><br/></dl><li>virtual <a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="classCVC3_1_1TheoryUF.html#a43cd4922172049de0dfa948c1b09f81e">parseExprOp</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Theory-specific parsing implemented by the DP.  <a href="#a43cd4922172049de0dfa948c1b09f81e"></a><br/></dl><li><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp; <a class="el" href="classCVC3_1_1TheoryUF.html#accc78347b4cda9a9534377d6d9df7eb8">print</a> (<a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp;os, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
<dl class="el"><dd class="mdescRight">Theory-specific pretty-printing.  <a href="#accc78347b4cda9a9534377d6d9df7eb8"></a><br/></dl><li><a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="classCVC3_1_1TheoryUF.html#a2d7120ba1b7a5525cf06b2064a34e6ba">lambdaExpr</a> (const std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;vars, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;body)
<dl class="el"><dd class="mdescRight">Create a new LAMBDA-abstraction.  <a href="#a2d7120ba1b7a5525cf06b2064a34e6ba"></a><br/></dl><li><a class="el" href="classCVC3_1_1Expr.html">Expr</a> <a class="el" href="classCVC3_1_1TheoryUF.html#ae9ebc6963f71169466bf7f59acb0363e">transClosureExpr</a> (const std::string &amp;name, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e1, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e2)
<dl class="el"><dd class="mdescRight">Create a transitive closure expression.  <a href="#ae9ebc6963f71169466bf7f59acb0363e"></a><br/></dl></ul>
<h2><a name="pri-types"></a>
Private Types</h2>
<ul>
<li>typedef struct <br class="typebreak"/>
<a class="el" href="structCVC3_1_1TheoryUF_1_1TCMapPair.html">CVC3::TheoryUF::TCMapPair</a> <a class="el" href="classCVC3_1_1TheoryUF.html#a99f45ac6d21871fdc4a0b5874563939d">TCMapPair</a>
</ul>
<h2><a name="pri-methods"></a>
Private Member Functions</h2>
<ul>
<li>void <a class="el" href="classCVC3_1_1TheoryUF.html#a7e28ba1a365a401e09681b580b37a7de">printSmtLibShared</a> (<a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp;os, const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)
</ul>
<h2><a name="pri-attribs"></a>
Private Attributes</h2>
<ul>
<li><a class="el" href="classCVC3_1_1UFProofRules.html">UFProofRules</a> * <a class="el" href="classCVC3_1_1TheoryUF.html#afd242395132e65f59563689a3053d083">d_rules</a>
<li>const bool &amp; <a class="el" href="classCVC3_1_1TheoryUF.html#a608a96026a281c8e2da549584e9b2cdc">d_applicationsInModel</a>
<dl class="el"><dd class="mdescRight">Flag to include function applications to the concrete model.  <a href="#a608a96026a281c8e2da549584e9b2cdc"></a><br/></dl><li><a class="el" href="classCVC3_1_1ExprMap.html">ExprMap</a>&lt; <a class="el" href="structCVC3_1_1TheoryUF_1_1TCMapPair.html">TCMapPair</a> * &gt; <a class="el" href="classCVC3_1_1TheoryUF.html#a7e7a38e729bf36884241e8e8e239dba4">d_transClosureMap</a>
<li><a class="el" href="classCVC3_1_1CDList.html">CDList</a>&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; <a class="el" href="classCVC3_1_1TheoryUF.html#aeff599bb60058a6df8dd5b35ee3d783b">d_funApplications</a>
<dl class="el"><dd class="mdescRight">Backtracking list of function applications.  <a href="#aeff599bb60058a6df8dd5b35ee3d783b"></a><br/></dl><li><a class="el" href="classCVC3_1_1CDO.html">CDO</a>&lt; size_t &gt; <a class="el" href="classCVC3_1_1TheoryUF.html#ae8387e395bd085233c0fd5d37fa086cd">d_funApplicationsIdx</a>
<dl class="el"><dd class="mdescRight">Pointer to the last unprocessed element (for lambda expansions)  <a href="#ae8387e395bd085233c0fd5d37fa086cd"></a><br/></dl><li><a class="el" href="classCVC3_1_1CDO.html">CDO</a>&lt; size_t &gt; <a class="el" href="classCVC3_1_1TheoryUF.html#a48545e083f3c4d152d7f79aec75fcbcd">d_sharedIdx1</a>
<dl class="el"><dd class="mdescRight">The pointers to the last unprocessed shared pair.  <a href="#a48545e083f3c4d152d7f79aec75fcbcd"></a><br/></dl><li><a class="el" href="classCVC3_1_1CDO.html">CDO</a>&lt; size_t &gt; <a class="el" href="classCVC3_1_1TheoryUF.html#a80f414cb2926646f3028983ddc1eccac">d_sharedIdx2</a>
<li><a class="el" href="classCVC3_1_1CDMap.html">CDMap</a>&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a>, bool &gt; <a class="el" href="classCVC3_1_1TheoryUF.html#ac15e725de0573cf067ebb9c91b14f9a3">d_sharedTermsMap</a>
<dl class="el"><dd class="mdescRight">The set of all shared terms.  <a href="#ac15e725de0573cf067ebb9c91b14f9a3"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This theory handles uninterpreted functions. </p>
<p>Author: Clark Barrett</p>
<p>Created: Sat Feb 8 14:51:19 2003 </p>

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00048">48</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a99f45ac6d21871fdc4a0b5874563939d"></a><!-- doxytag: member="CVC3::TheoryUF::TCMapPair" ref="a99f45ac6d21871fdc4a0b5874563939d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structCVC3_1_1TheoryUF_1_1TCMapPair.html">CVC3::TheoryUF::TCMapPair</a>  <a class="el" href="structCVC3_1_1TheoryUF_1_1TCMapPair.html">CVC3::TheoryUF::TCMapPair</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac00f7aea61528906495cb96d6c38ecab"></a><!-- doxytag: member="CVC3::TheoryUF::TheoryUF" ref="ac00f7aea61528906495cb96d6c38ecab" args="(TheoryCore *core)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TheoryUF::TheoryUF </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *&#160;</td>
          <td class="paramname"><em>core</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00042">42</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="kinds_8h_source.html#l00051">ARROW</a>, <a class="el" href="uf__theorem__producer_8cpp_source.html#l00041">createProofRules()</a>, <a class="el" href="theory__uf_8h_source.html#l00049">d_rules</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, <a class="el" href="expr__manager_8cpp_source.html#l00367">CVC3::ExprManager::newKind()</a>, <a class="el" href="theory__uf_8h_source.html#l00034">CVC3::OLD_ARROW</a>, <a class="el" href="theory_8cpp_source.html#l00203">CVC3::Theory::registerTheory()</a>, <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>, <a class="el" href="kinds_8h_source.html#l00056">TYPEDECL</a>, and <a class="el" href="kinds_8h_source.html#l00088">UFUNC</a>.</p>

</div>
</div>
<a class="anchor" id="a2ffd3c9bab9abb60724448bd0551dc36"></a><!-- doxytag: member="CVC3::TheoryUF::~TheoryUF" ref="a2ffd3c9bab9abb60724448bd0551dc36" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TheoryUF::~TheoryUF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00071">71</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory__uf_8h_source.html#l00049">d_rules</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5f8eb53743b3755791ce2ed374bad868"></a><!-- doxytag: member="CVC3::TheoryUF::createProofRules" ref="a5f8eb53743b3755791ce2ed374bad868" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1UFProofRules.html">UFProofRules</a> * TheoryUF::createProofRules </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="uf__theorem__producer_8cpp_source.html#l00041">41</a> of file <a class="el" href="uf__theorem__producer_8cpp_source.html">uf_theorem_producer.cpp</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00042">TheoryUF()</a>.</p>

</div>
</div>
<a class="anchor" id="a452face1b48cfdd389cee5f9ef693810"></a><!-- doxytag: member="CVC3::TheoryUF::addSharedTerm" ref="a452face1b48cfdd389cee5f9ef693810" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::addSharedTerm </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notify theory of a new shared term. </p>
<p>When a term e associated with theory i occurs as a child of an expression associated with theory j, the framework calls i-&gt;addSharedTerm(e) and j-&gt;addSharedTerm(e) </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga664e787b0eb7e5e6fdb03efeb409d38a">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l01139">1139</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory__uf_8h_source.html#l00070">d_sharedTermsMap</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00236">setup()</a>.</p>

</div>
</div>
<a class="anchor" id="a42e164b13affdc5abdb9e56c43e4242c"></a><!-- doxytag: member="CVC3::TheoryUF::assertFact" ref="a42e164b13affdc5abdb9e56c43e4242c" args="(const Theorem &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::assertFact </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assert a new fact to the decision procedure. </p>
<p>Each fact that makes it into the core framework is assigned to exactly one theory: the theory associated with that fact. assertFact is called to inform the theory that a new fact has been assigned to the theory. </p>

<p>Implements <a class="el" href="group__Theory__API.html#ga58de37714dd855f4d50de15108b8dbc7">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00079">79</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory__uf_8h_source.html#l00055">CVC3::TheoryUF::TCMapPair::appearsFirstMap</a>, <a class="el" href="theory__uf_8h_source.html#l00056">CVC3::TheoryUF::TCMapPair::appearsSecondMap</a>, <a class="el" href="kinds_8h_source.html#l00090">APPLY</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="expr_8h_source.html#l01334">CVC3::Expr::computeTransClosure()</a>, <a class="el" href="theory__uf_8h_source.html#l00049">d_rules</a>, <a class="el" href="theory__uf_8h_source.html#l00059">d_transClosureMap</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr__map_8h_source.html#l00191">CVC3::ExprMap&lt; Data &gt;::end()</a>, <a class="el" href="theory_8cpp_source.html#l00128">CVC3::Theory::enqueueFact()</a>, <a class="el" href="expr__map_8h_source.html#l00194">CVC3::ExprMap&lt; Data &gt;::find()</a>, <a class="el" href="theory__core_8h_source.html#l00348">CVC3::TheoryCore::getCM()</a>, <a class="el" href="context_8h_source.html#l00406">CVC3::ContextManager::getCurrentContext()</a>, <a class="el" href="theorem_8cpp_source.html#l00230">CVC3::Theorem::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01050">CVC3::Expr::getName()</a>, <a class="el" href="expr_8h_source.html#l01191">CVC3::Expr::getOpExpr()</a>, <a class="el" href="expr_8h_source.html#l01196">CVC3::Expr::getOpKind()</a>, <a class="el" href="expr_8h_source.html#l01014">CVC3::Expr::isApply()</a>, <a class="el" href="kinds_8h_source.html#l00066">NOT</a>, <a class="el" href="cdlist_8h_source.html#l00066">CVC3::CDList&lt; T &gt;::push_back()</a>, <a class="el" href="classCVC3_1_1UFProofRules.html#a3a6ee8bd1e49a0a5ce39a7d4c8506d28">CVC3::UFProofRules::relToClosure()</a>, <a class="el" href="classCVC3_1_1UFProofRules.html#ab66928a2bf8ea96c965023cbe5e021e4">CVC3::UFProofRules::relTrans()</a>, <a class="el" href="theory_8cpp_source.html#l00887">CVC3::Theory::resolveID()</a>, <a class="el" href="cdlist_8h_source.html#l00064">CVC3::CDList&lt; T &gt;::size()</a>, <a class="el" href="theory_8h_source.html#l00093">CVC3::Theory::theoryCore()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>, and <a class="el" href="kinds_8h_source.html#l00088">UFUNC</a>.</p>

</div>
</div>
<a class="anchor" id="a51e3b956b0e83af64548b0e402611b61"></a><!-- doxytag: member="CVC3::TheoryUF::checkSat" ref="a51e3b956b0e83af64548b0e402611b61" args="(bool fullEffort)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::checkSat </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fullEffort</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check for satisfiability in the theory. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fullEffort</td><td>when it is false, checkSat can do as much or as little work as it likes, though simple inferences and checks for consistency should be done to increase efficiency. If fullEffort is true, checkSat must check whether the set of facts given by assertFact together with the arrangement of shared terms (provided by addSharedTerm) induced by the global find database equivalence relation are satisfiable. If satisfiable, checkSat does nothing.</td></tr>
  </table>
  </dd>
</dl>
<p>If satisfiability can be acheived by merging some of the shared terms, a new fact must be enqueued using enqueueFact (this fact need not be a literal). If there is no way to make things satisfiable, setInconsistent must be called. </p>

<p>Implements <a class="el" href="group__Theory__API.html#gae0bb3d506dad8d69da546777cae27228">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00156">156</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory_8cpp_source.html#l00148">CVC3::Theory::addSplitter()</a>, <a class="el" href="classCVC3_1_1UFProofRules.html#aa9560710733459819ed2108b7d98119b">CVC3::UFProofRules::applyLambda()</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="theory__uf_8h_source.html#l00064">d_funApplications</a>, <a class="el" href="theory__uf_8h_source.html#l00066">d_funApplicationsIdx</a>, <a class="el" href="theory__uf_8h_source.html#l00049">d_rules</a>, <a class="el" href="theory__uf_8h_source.html#l00068">d_sharedIdx1</a>, <a class="el" href="theory__uf_8h_source.html#l00068">d_sharedIdx2</a>, <a class="el" href="theory__uf_8h_source.html#l00070">d_sharedTermsMap</a>, <a class="el" href="cdmap_8h_source.html#l00258">CVC3::CDMap&lt; Key, Data, HashFcn &gt;::end()</a>, <a class="el" href="theory_8cpp_source.html#l00128">CVC3::Theory::enqueueFact()</a>, <a class="el" href="expr_8h_source.html#l00929">CVC3::Expr::eqExpr()</a>, <a class="el" href="cdmap_8h_source.html#l00303">CVC3::CDMap&lt; Key, Data, HashFcn &gt;::find()</a>, <a class="el" href="theory_8cpp_source.html#l00310">CVC3::Theory::find()</a>, <a class="el" href="expr__op_8h_source.html#l00084">CVC3::Op::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01183">CVC3::Expr::getOp()</a>, <a class="el" href="expr_8h_source.html#l01196">CVC3::Expr::getOpKind()</a>, <a class="el" href="theorem_8cpp_source.html#l00246">CVC3::Theorem::getRHS()</a>, <a class="el" href="expr_8h_source.html#l01560">CVC3::Expr::getSig()</a>, <a class="el" href="debug_8h_source.html#l00406">IF_DEBUG</a>, <a class="el" href="expr_8h_source.html#l01011">CVC3::Expr::isLambda()</a>, <a class="el" href="theorem_8h_source.html#l00164">CVC3::Theorem::isNull()</a>, <a class="el" href="theory_8cpp_source.html#l00119">CVC3::Theory::simplify()</a>, <a class="el" href="cdlist_8h_source.html#l00064">CVC3::CDList&lt; T &gt;::size()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, <a class="el" href="kinds_8h_source.html#l00099">TRACE</a>, and <a class="el" href="kinds_8h_source.html#l00088">UFUNC</a>.</p>

</div>
</div>
<a class="anchor" id="a128eb911fae9a65232037d6cf0c4f0e5"></a><!-- doxytag: member="CVC3::TheoryUF::rewrite" ref="a128eb911fae9a65232037d6cf0c4f0e5" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> TheoryUF::rewrite </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Theory-specific rewrite rules. </p>
<p>By default, rewrite just returns a reflexive theorem stating that the input expression is equivalent to itself. However, rewrite is allowed to return any theorem which describes how the input expression is equivalent to some new expression. rewrite should be used to perform simplifications, normalization, and any other preprocessing on theory-specific expressions that needs to be done. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gaa6475baeb444915fa3b2f5c58dc5148a">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00211">211</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="classCVC3_1_1UFProofRules.html#aa9560710733459819ed2108b7d98119b">CVC3::UFProofRules::applyLambda()</a>, <a class="el" href="theory__uf_8h_source.html#l00049">d_rules</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01191">CVC3::Expr::getOpExpr()</a>, <a class="el" href="theorem_8cpp_source.html#l00246">CVC3::Theorem::getRHS()</a>, <a class="el" href="expr_8h_source.html#l01259">CVC3::Expr::getType()</a>, <a class="el" href="debug_8h_source.html#l00406">IF_DEBUG</a>, <a class="el" href="expr_8h_source.html#l01014">CVC3::Expr::isApply()</a>, <a class="el" href="type_8h_source.html#l00060">CVC3::Type::isBool()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>, <a class="el" href="theory_8cpp_source.html#l00512">CVC3::Theory::rewriteCC()</a>, <a class="el" href="expr_8h_source.html#l01457">CVC3::Expr::setRewriteNormal()</a>, <a class="el" href="theory_8cpp_source.html#l00119">CVC3::Theory::simplify()</a>, and <a class="el" href="theory_8h_source.html#l00681">CVC3::Theory::transitivityRule()</a>.</p>

</div>
</div>
<a class="anchor" id="a9a004c0e28f9b018db1173635400cc90"></a><!-- doxytag: member="CVC3::TheoryUF::setup" ref="a9a004c0e28f9b018db1173635400cc90" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::setup </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set up the term e for call-backs when e or its children change. </p>
<p>setup is called once for each expression associated with the theory. It is typically used to setup theory-specific data for an expression and to add call-back information for use with update. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCVC3_1_1TheoryUF.html#ace17a32e291a61b858e0892b21083f5d" title="Notify a theory of a new equality.">update</a> </dd></dl>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga6896845c1e25b3452238059d779fc4c8">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00236">236</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory__uf_8cpp_source.html#l01139">addSharedTerm()</a>, <a class="el" href="kinds_8h_source.html#l00090">APPLY</a>, <a class="el" href="type_8h_source.html#l00064">CVC3::Type::card()</a>, <a class="el" href="expr_8h_source.html#l00082">CVC3::CARD_INFINITE</a>, <a class="el" href="theory__uf_8h_source.html#l00064">d_funApplications</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01259">CVC3::Expr::getType()</a>, <a class="el" href="expr_8h_source.html#l01021">CVC3::Expr::isTerm()</a>, <a class="el" href="cdlist_8h_source.html#l00066">CVC3::CDList&lt; T &gt;::push_back()</a>, <a class="el" href="theory_8cpp_source.html#l00459">CVC3::Theory::setupCC()</a>, <a class="el" href="theory_8cpp_source.html#l00252">CVC3::Theory::theoryOf()</a>, and <a class="el" href="kinds_8h_source.html#l00099">TRACE</a>.</p>

</div>
</div>
<a class="anchor" id="ace17a32e291a61b858e0892b21083f5d"></a><!-- doxytag: member="CVC3::TheoryUF::update" ref="ace17a32e291a61b858e0892b21083f5d" args="(const Theorem &amp;e, const Expr &amp;d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::update </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notify a theory of a new equality. </p>
<p>update is a call-back used by the notify mechanism of the core theory. It works as follows. When an equation t1 = t2 makes it into the core framework, the two find equivalence classes for t1 and t2 are merged. The result is that t2 is the new equivalence class representative and t1 is no longer an equivalence class representative. When this happens, the notify list of t1 is traversed. Notify list entries consist of a theory and an expression d. For each entry (i,d), i-&gt;update(e, d) is called, where e is the theorem corresponding to the equality t1=t2.</p>
<p>To add the entry (i,d) to a term t1's notify list, a call must be made to t1.addNotify(i,d). This is typically done in setup.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCVC3_1_1TheoryUF.html#a9a004c0e28f9b018db1173635400cc90" title="Set up the term e for call-backs when e or its children change.">setup</a> </dd></dl>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gac41af6a90290fe83b2ee6c53cbfc4a62">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00257">257</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="expr_8cpp_source.html#l00517">CVC3::Expr::addToNotify()</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="expr_8h_source.html#l01334">CVC3::Expr::computeTransClosure()</a>, <a class="el" href="theory__uf_8h_source.html#l00049">d_rules</a>, <a class="el" href="theory_8cpp_source.html#l00128">CVC3::Theory::enqueueFact()</a>, <a class="el" href="theory_8cpp_source.html#l00310">CVC3::Theory::find()</a>, <a class="el" href="theory_8h_source.html#l00503">CVC3::Theory::findExpr()</a>, <a class="el" href="theory_8h_source.html#l00096">CVC3::Theory::getCommonRules()</a>, <a class="el" href="expr_8h_source.html#l01191">CVC3::Expr::getOpExpr()</a>, <a class="el" href="expr_8h_source.html#l01196">CVC3::Expr::getOpKind()</a>, <a class="el" href="expr_8h_source.html#l01569">CVC3::Expr::getRep()</a>, <a class="el" href="theorem_8cpp_source.html#l00246">CVC3::Theorem::getRHS()</a>, <a class="el" href="expr_8h_source.html#l01560">CVC3::Expr::getSig()</a>, <a class="el" href="expr_8h_source.html#l01259">CVC3::Expr::getType()</a>, <a class="el" href="classCVC3_1_1CommonProofRules.html#ad2edb920405666bf6e9d21ae496ff6b3">CVC3::CommonProofRules::iffTrueElim()</a>, <a class="el" href="expr_8h_source.html#l01014">CVC3::Expr::isApply()</a>, <a class="el" href="type_8h_source.html#l00060">CVC3::Type::isBool()</a>, <a class="el" href="theorem_8h_source.html#l00164">CVC3::Theorem::isNull()</a>, <a class="el" href="expr_8h_source.html#l00356">CVC3::Expr::isTrue()</a>, <a class="el" href="classCVC3_1_1UFProofRules.html#a3a6ee8bd1e49a0a5ce39a7d4c8506d28">CVC3::UFProofRules::relToClosure()</a>, <a class="el" href="expr_8h_source.html#l01589">CVC3::Expr::setRep()</a>, <a class="el" href="expr_8h_source.html#l01578">CVC3::Expr::setSig()</a>, <a class="el" href="theory_8h_source.html#l00677">CVC3::Theory::symmetryRule()</a>, <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>, <a class="el" href="theory_8h_source.html#l00681">CVC3::Theory::transitivityRule()</a>, and <a class="el" href="theory_8cpp_source.html#l00417">CVC3::Theory::updateHelper()</a>.</p>

</div>
</div>
<a class="anchor" id="a34d126b5ce21bca5de2d51c834f964b7"></a><!-- doxytag: member="CVC3::TheoryUF::checkType" ref="a34d126b5ce21bca5de2d51c834f964b7" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::checkType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check that e is a valid <a class="el" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> expr. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gac22e5fff02a4681c3972e3637bd15748">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00337">337</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="kinds_8h_source.html#l00051">ARROW</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="type_8h_source.html#l00060">CVC3::Type::isBool()</a>, <a class="el" href="type_8h_source.html#l00062">CVC3::Type::isFunction()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, and <a class="el" href="kinds_8h_source.html#l00056">TYPEDECL</a>.</p>

</div>
</div>
<a class="anchor" id="a47b4f06fa93d0f190534a35af01fb5f7"></a><!-- doxytag: member="CVC3::TheoryUF::finiteTypeInfo" ref="a47b4f06fa93d0f190534a35af01fb5f7" args="(Expr &amp;e, Unsigned &amp;n, bool enumerate, bool computeSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCVC3.html#af969e724f8b7016909f5804e8cea3e54">Cardinality</a> TheoryUF::finiteTypeInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1Unsigned.html">Unsigned</a> &amp;&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enumerate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>computeSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute information related to finiteness of types. </p>
<p>Used by the TypeComputer defined in <a class="el" href="classCVC3_1_1TheoryCore.html" title="This theory handles the built-in logical connectives plus equality. It also handles the registration ...">TheoryCore</a> (theories should not call this funtion directly -- they should use the methods in <a class="el" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> instead). Each theory should implement this if it contains any types that could be non-infinite.</p>
<p>1. Returns Cardinality of the type (finite, infinite, or unknown) 2. If cardinality = finite and enumerate is true, sets e to the nth element of the type if it can sets e to NULL if n is out of bounds or if unable to compute nth element 3. If cardinality = finite and computeSize is true, sets n to the size of the type if it can sets n to 0 otherwise </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga166b2a0c7ec3b09e079c2f84bb6087bc">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00368">368</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="kinds_8h_source.html#l00051">ARROW</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="expr_8h_source.html#l00081">CVC3::CARD_FINITE</a>, <a class="el" href="expr_8h_source.html#l00082">CVC3::CARD_INFINITE</a>, <a class="el" href="expr_8h_source.html#l00083">CVC3::CARD_UNKNOWN</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="theory_8h_source.html#l00252">CVC3::Theory::finiteTypeInfo()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, and <a class="el" href="theory_8cpp_source.html#l00252">CVC3::Theory::theoryOf()</a>.</p>

</div>
</div>
<a class="anchor" id="a26061e351f02b3d372efa85d1b250134"></a><!-- doxytag: member="CVC3::TheoryUF::computeType" ref="a26061e351f02b3d372efa85d1b250134" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::computeType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute and store the type of e. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>is the expression whose type is computed.</td></tr>
  </table>
  </dd>
</dl>
<p>This function computes the type of the top-level operator of e, and recurses into children using getType(), if necessary. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gabaed6b47e6fdea3ae1e53ff75f1882db">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00417">417</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="kinds_8h_source.html#l00090">APPLY</a>, <a class="el" href="type_8h_source.html#l00055">CVC3::Type::arity()</a>, <a class="el" href="theory_8h_source.html#l00263">CVC3::Theory::computeType()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8cpp_source.html#l00641">CVC3::Type::funType()</a>, <a class="el" href="expr_8h_source.html#l01069">CVC3::Expr::getBody()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01050">CVC3::Expr::getName()</a>, <a class="el" href="expr_8h_source.html#l01259">CVC3::Expr::getType()</a>, <a class="el" href="expr_8h_source.html#l01062">CVC3::Expr::getVars()</a>, <a class="el" href="type_8h_source.html#l00062">CVC3::Type::isFunction()</a>, <a class="el" href="expr_8h_source.html#l01018">CVC3::Expr::isSymbol()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, <a class="el" href="theory_8cpp_source.html#l00887">CVC3::Theory::resolveID()</a>, <a class="el" href="expr_8h_source.html#l01427">CVC3::Expr::setType()</a>, <a class="el" href="theory_8cpp_source.html#l00252">CVC3::Theory::theoryOf()</a>, <a class="el" href="type_8h_source.html#l00080">CVC3::Type::toString()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, and <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>.</p>

</div>
</div>
<a class="anchor" id="a69f52441ffdbcc56cd227380904e4371"></a><!-- doxytag: member="CVC3::TheoryUF::computeBaseType" ref="a69f52441ffdbcc56cd227380904e4371" args="(const Type &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Type.html">Type</a> TheoryUF::computeBaseType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Type.html">Type</a> &amp;&#160;</td>
          <td class="paramname"><em>tp</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the base type of the top-level operator of an arbitrary type. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#gaa29925192ee19a6d1f0644174cfd07af">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00471">471</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="kinds_8h_source.html#l00051">ARROW</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="theory_8cpp_source.html#l00383">CVC3::Theory::getBaseType()</a>, <a class="el" href="type_8h_source.html#l00052">CVC3::Type::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01183">CVC3::Expr::getOp()</a>, <a class="el" href="type_8h_source.html#l00080">CVC3::Type::toString()</a>, and <a class="el" href="kinds_8h_source.html#l00056">TYPEDECL</a>.</p>

</div>
</div>
<a class="anchor" id="abeee663f7e0372e4b98635be772d0ac5"></a><!-- doxytag: member="CVC3::TheoryUF::computeModelTerm" ref="abeee663f7e0372e4b98635be772d0ac5" args="(const Expr &amp;e, std::vector&lt; Expr &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::computeModelTerm </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add variables from 'e' to 'v' for constructing a concrete model. </p>
<p>If e is already of primitive type, do NOT add it to v. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga37309ea20a161f2529cbb0ab79f9ed3f">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00491">491</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="cdlist_8h_source.html#l00088">CVC3::CDList&lt; T &gt;::begin()</a>, <a class="el" href="theory__uf_8h_source.html#l00064">d_funApplications</a>, and <a class="el" href="cdlist_8h_source.html#l00091">CVC3::CDList&lt; T &gt;::end()</a>.</p>

</div>
</div>
<a class="anchor" id="a6b6437208e5cd05563b4be9a83b4ed35"></a><!-- doxytag: member="CVC3::TheoryUF::computeModel" ref="a6b6437208e5cd05563b4be9a83b4ed35" args="(const Expr &amp;e, std::vector&lt; Expr &gt; &amp;vars)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::computeModel </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>vars</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the value of a compound variable from the more primitive ones. </p>
<p>The more primitive variables for e are already assigned concrete values, and are available through <a class="el" href="classCVC3_1_1Theory.html#a4867f332c809f6efe8f01ffa45c32db3" title="Fetch the concrete assignment to the variable during model generation.">getModelValue()</a>.</p>
<p>The new value for e must be assigned using <a class="el" href="classCVC3_1_1Theory.html#a917b117d28514f486b296568fcd1cfd1" title="Assigns t a concrete value val. Used in model generation.">assignValue()</a> method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>is the compound type expression to assign a value;</td></tr>
    <tr><td class="paramname">vars</td><td>are the variables actually assigned. Normally, 'e' is the only element of vars. However, e.g. in the case of uninterpreted functions, assigning 'f' means assigning all relevant applications of 'f' to constant values (f(0), f(5), etc.). Such applications might not be known before the model is constructed (they may be of the form f(x), f(y+z), etc., where x,y,z are still unassigned).</td></tr>
  </table>
  </dd>
</dl>
<p>Populating 'vars' is an opportunity for a DP to change the set of top-level "variables" to assign, if needed. In particular, it may drop 'e' from the model entirely, if it is already a concrete value by itself. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga4a5b9fff88df80582fc76fd3def55002">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00509">509</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l00945">CVC3::andExpr()</a>, <a class="el" href="theory_8cpp_source.html#l00162">CVC3::Theory::assignValue()</a>, <a class="el" href="expr__map_8h_source.html#l00325">CVC3::ExprHashMap&lt; Data &gt;::begin()</a>, <a class="el" href="cdlist_8h_source.html#l00088">CVC3::CDList&lt; T &gt;::begin()</a>, <a class="el" href="theory__uf_8h_source.html#l00051">d_applicationsInModel</a>, <a class="el" href="theory__uf_8h_source.html#l00064">d_funApplications</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr__map_8h_source.html#l00326">CVC3::ExprHashMap&lt; Data &gt;::end()</a>, <a class="el" href="cdlist_8h_source.html#l00091">CVC3::CDList&lt; T &gt;::end()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="theorem_8cpp_source.html#l00240">CVC3::Theorem::getLHS()</a>, <a class="el" href="theory_8cpp_source.html#l00541">CVC3::Theory::getModelValue()</a>, <a class="el" href="theorem_8cpp_source.html#l00246">CVC3::Theorem::getRHS()</a>, <a class="el" href="expr_8h_source.html#l01259">CVC3::Expr::getType()</a>, <a class="el" href="cvc__util_8h_source.html#l00046">CVC3::int2string()</a>, <a class="el" href="expr_8h_source.html#l00961">CVC3::Expr::iteExpr()</a>, <a class="el" href="theory__uf_8cpp_source.html#l01129">lambdaExpr()</a>, <a class="el" href="expr__manager_8h_source.html#l00484">CVC3::ExprManager::newBoundVarExpr()</a>, <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>, <a class="el" href="expr_8h_source.html#l01427">CVC3::Expr::setType()</a>, <a class="el" href="expr__map_8h_source.html#l00306">CVC3::ExprHashMap&lt; Data &gt;::size()</a>, <a class="el" href="theory_8h_source.html#l00686">CVC3::Theory::substitutivityRule()</a>, <a class="el" href="theory_8h_source.html#l00677">CVC3::Theory::symmetryRule()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, and <a class="el" href="theory_8h_source.html#l00681">CVC3::Theory::transitivityRule()</a>.</p>

</div>
</div>
<a class="anchor" id="ad39e7c0bacd10a30d33f187afeebcf2e"></a><!-- doxytag: member="CVC3::TheoryUF::computeTCC" ref="ad39e7c0bacd10a30d33f187afeebcf2e" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> TheoryUF::computeTCC </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute and cache the TCC of e. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>is an expression (term or formula). This function computes the TCC of e which is true iff the expression is defined.</td></tr>
  </table>
  </dd>
</dl>
<p>This function computes the TCC or predicate of the top-level operator of e, and recurses into children using <a class="el" href="classCVC3_1_1Theory.html#af38bdeb162a9ab9bd81ce40f598f608f" title="Compute the TCC of e, or the subtyping predicate, if e is a type.">getTCC()</a>, if necessary.</p>
<p>The default implementation is to compute TCCs recursively for all children, and return their conjunction. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga9278ad3a6eb8351865a71acd7bb7f968">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00591">591</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l00945">CVC3::andExpr()</a>, <a class="el" href="kinds_8h_source.html#l00090">APPLY</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="theory_8cpp_source.html#l00081">CVC3::Theory::computeTCC()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr__op_8h_source.html#l00084">CVC3::Op::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01162">CVC3::Expr::getKids()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01183">CVC3::Expr::getOp()</a>, <a class="el" href="theorem_8cpp_source.html#l00246">CVC3::Theorem::getRHS()</a>, <a class="el" href="theory_8cpp_source.html#l00367">CVC3::Theory::getTCC()</a>, <a class="el" href="theory_8cpp_source.html#l00406">CVC3::Theory::getTypePred()</a>, <a class="el" href="expr_8h_source.html#l01014">CVC3::Expr::isApply()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, <a class="el" href="theory__uf_8cpp_source.html#l01129">lambdaExpr()</a>, <a class="el" href="kinds_8h_source.html#l00227">LETDECL</a>, <a class="el" href="expr_8h_source.html#l01178">CVC3::Expr::mkOp()</a>, <a class="el" href="theory_8h_source.html#l00719">CVC3::Theory::rewriteAnd()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, and <a class="el" href="theory_8h_source.html#l00582">CVC3::Theory::trueExpr()</a>.</p>

</div>
</div>
<a class="anchor" id="a43cd4922172049de0dfa948c1b09f81e"></a><!-- doxytag: member="CVC3::TheoryUF::parseExprOp" ref="a43cd4922172049de0dfa948c1b09f81e" args="(const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> TheoryUF::parseExprOp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Theory-specific parsing implemented by the DP. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga378bef078620e67fc80f36fa79320d91">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l01015">1015</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory_8cpp_source.html#l00709">CVC3::Theory::addBoundVar()</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="kinds_8h_source.html#l00051">ARROW</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="expr_8h_source.html#l01156">CVC3::Expr::getEM()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="expr__manager_8cpp_source.html#l00412">CVC3::ExprManager::getKind()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01055">CVC3::Expr::getString()</a>, <a class="el" href="kinds_8h_source.html#l00046">ID</a>, <a class="el" href="expr_8h_source.html#l01223">CVC3::Expr::isNull()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, <a class="el" href="theory__uf_8cpp_source.html#l01129">lambdaExpr()</a>, <a class="el" href="expr_8h_source.html#l01178">CVC3::Expr::mkOp()</a>, <a class="el" href="theory__uf_8h_source.html#l00034">CVC3::OLD_ARROW</a>, <a class="el" href="theory_8cpp_source.html#l00519">CVC3::Theory::parseExpr()</a>, <a class="el" href="kinds_8h_source.html#l00044">RAW_LIST</a>, <a class="el" href="theory_8cpp_source.html#l00887">CVC3::Theory::resolveID()</a>, <a class="el" href="theory_8h_source.html#l00093">CVC3::Theory::theoryCore()</a>, <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>, <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>, <a class="el" href="theory__uf_8cpp_source.html#l01134">transClosureExpr()</a>, <a class="el" href="theory__records_8h_source.html#l00037">CVC3::TUPLE_TYPE</a>, and <a class="el" href="kinds_8h_source.html#l00056">TYPEDECL</a>.</p>

</div>
</div>
<a class="anchor" id="accc78347b4cda9a9534377d6d9df7eb8"></a><!-- doxytag: member="CVC3::TheoryUF::print" ref="accc78347b4cda9a9534377d6d9df7eb8" args="(ExprStream &amp;os, const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp; TheoryUF::print </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Theory-specific pretty-printing. </p>
<p>By default, print the top node in AST, and resume pretty-printing the children. The same call e.print(os) can be used in DP-specific printers to use AST printing for the given node. In fact, it is strongly recommended to add e.print(os) as the default for all the cases/kinds that are not handled by the particular pretty-printer. </p>

<p>Reimplemented from <a class="el" href="group__Theory__API.html#ga49009744d64bbc47785f3fc5fa6884ca">CVC3::Theory</a>.</p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00700">700</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="kinds_8h_source.html#l00090">APPLY</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="kinds_8h_source.html#l00051">ARROW</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="kinds_8h_source.html#l00048">BOOLEAN</a>, <a class="el" href="theory_8h_source.html#l00079">CVC3::Theory::d_theoryUsed</a>, <a class="el" href="expr__stream_8h_source.html#l00175">CVC3::ExprStream::dagFlag()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="expr_8h_source.html#l01069">CVC3::Expr::getBody()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="expr__op_8h_source.html#l00084">CVC3::Op::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01050">CVC3::Expr::getName()</a>, <a class="el" href="expr_8h_source.html#l01183">CVC3::Expr::getOp()</a>, <a class="el" href="expr_8h_source.html#l01191">CVC3::Expr::getOpExpr()</a>, <a class="el" href="expr_8h_source.html#l01055">CVC3::Expr::getString()</a>, <a class="el" href="expr_8h_source.html#l01062">CVC3::Expr::getVars()</a>, <a class="el" href="expr_8h_source.html#l01014">CVC3::Expr::isApply()</a>, <a class="el" href="expr_8h_source.html#l01011">CVC3::Expr::isLambda()</a>, <a class="el" href="expr_8h_source.html#l01018">CVC3::Expr::isSymbol()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, <a class="el" href="expr__stream_8h_source.html#l00165">CVC3::ExprStream::lang()</a>, <a class="el" href="lang_8h_source.html#l00036">CVC3::LISP_LANG</a>, <a class="el" href="theory__uf_8h_source.html#l00034">CVC3::OLD_ARROW</a>, <a class="el" href="expr__stream_8cpp_source.html#l00301">CVC3::pop()</a>, <a class="el" href="expr__stream_8cpp_source.html#l00339">CVC3::popdag()</a>, <a class="el" href="lang_8h_source.html#l00032">CVC3::PRESENTATION_LANG</a>, <a class="el" href="expr_8cpp_source.html#l00362">CVC3::Expr::print()</a>, <a class="el" href="expr_8cpp_source.html#l00400">CVC3::Expr::printAST()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00657">printSmtLibShared()</a>, <a class="el" href="expr__stream_8cpp_source.html#l00298">CVC3::push()</a>, <a class="el" href="expr__stream_8cpp_source.html#l00337">CVC3::pushdag()</a>, <a class="el" href="lang_8h_source.html#l00043">CVC3::SIMPLIFY_LANG</a>, <a class="el" href="lang_8h_source.html#l00034">CVC3::SMTLIB_LANG</a>, <a class="el" href="lang_8h_source.html#l00052">CVC3::SMTLIB_V2_LANG</a>, <a class="el" href="expr__stream_8cpp_source.html#l00326">CVC3::space()</a>, <a class="el" href="lang_8h_source.html#l00049">CVC3::SPASS_LANG</a>, <a class="el" href="cvc__util_8h_source.html#l00038">CVC3::to_lower()</a>, <a class="el" href="lang_8h_source.html#l00046">CVC3::TPTP_LANG</a>, <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>, <a class="el" href="kinds_8h_source.html#l00056">TYPEDECL</a>, and <a class="el" href="kinds_8h_source.html#l00088">UFUNC</a>.</p>

</div>
</div>
<a class="anchor" id="a2d7120ba1b7a5525cf06b2064a34e6ba"></a><!-- doxytag: member="CVC3::TheoryUF::lambdaExpr" ref="a2d7120ba1b7a5525cf06b2064a34e6ba" args="(const std::vector&lt; Expr &gt; &amp;vars, const Expr &amp;body)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> TheoryUF::lambdaExpr </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>vars</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>body</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new LAMBDA-abstraction. </p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l01129">1129</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="kinds_8h_source.html#l00229">LAMBDA</a>, and <a class="el" href="expr__manager_8h_source.html#l00506">CVC3::ExprManager::newClosureExpr()</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00509">computeModel()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00591">computeTCC()</a>, and <a class="el" href="theory__uf_8cpp_source.html#l01015">parseExprOp()</a>.</p>

</div>
</div>
<a class="anchor" id="ae9ebc6963f71169466bf7f59acb0363e"></a><!-- doxytag: member="CVC3::TheoryUF::transClosureExpr" ref="ae9ebc6963f71169466bf7f59acb0363e" args="(const std::string &amp;name, const Expr &amp;e1, const Expr &amp;e2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> TheoryUF::transClosureExpr </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a transitive closure expression. </p>

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l01134">1134</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, and <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l01015">parseExprOp()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e28ba1a365a401e09681b580b37a7de"></a><!-- doxytag: member="CVC3::TheoryUF::printSmtLibShared" ref="a7e28ba1a365a401e09681b580b37a7de" args="(ExprStream &amp;os, const Expr &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TheoryUF::printSmtLibShared </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCVC3_1_1ExprStream.html">ExprStream</a> &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="theory__uf_8cpp_source.html#l00657">657</a> of file <a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a>.</p>

<p>References <a class="el" href="kinds_8h_source.html#l00090">APPLY</a>, <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="translator_8cpp_source.html#l01804">CVC3::Translator::fixConstName()</a>, <a class="el" href="theory_8h_source.html#l00090">CVC3::Theory::getEM()</a>, <a class="el" href="expr__op_8h_source.html#l00084">CVC3::Op::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01050">CVC3::Expr::getName()</a>, <a class="el" href="expr_8h_source.html#l01183">CVC3::Expr::getOp()</a>, <a class="el" href="expr_8h_source.html#l01196">CVC3::Expr::getOpKind()</a>, <a class="el" href="expr_8h_source.html#l01055">CVC3::Expr::getString()</a>, <a class="el" href="theory__core_8h_source.html#l00354">CVC3::TheoryCore::getTranslator()</a>, <a class="el" href="expr_8h_source.html#l01006">CVC3::Expr::isString()</a>, <a class="el" href="expr_8h_source.html#l01018">CVC3::Expr::isSymbol()</a>, <a class="el" href="expr__stream_8h_source.html#l00165">CVC3::ExprStream::lang()</a>, <a class="el" href="expr__stream_8cpp_source.html#l00298">CVC3::push()</a>, <a class="el" href="lang_8h_source.html#l00034">CVC3::SMTLIB_LANG</a>, <a class="el" href="lang_8h_source.html#l00052">CVC3::SMTLIB_V2_LANG</a>, <a class="el" href="expr__stream_8cpp_source.html#l00326">CVC3::space()</a>, <a class="el" href="theory_8h_source.html#l00093">CVC3::Theory::theoryCore()</a>, <a class="el" href="theory__uf_8h_source.html#l00033">CVC3::TRANS_CLOSURE</a>, <a class="el" href="kinds_8h_source.html#l00056">TYPEDECL</a>, and <a class="el" href="kinds_8h_source.html#l00088">UFUNC</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00700">print()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="afd242395132e65f59563689a3053d083"></a><!-- doxytag: member="CVC3::TheoryUF::d_rules" ref="afd242395132e65f59563689a3053d083" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1UFProofRules.html">UFProofRules</a>* <a class="el" href="classCVC3_1_1TheoryUF.html#afd242395132e65f59563689a3053d083">CVC3::TheoryUF::d_rules</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00049">49</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00079">assertFact()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00156">checkSat()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00211">rewrite()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00042">TheoryUF()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00257">update()</a>, and <a class="el" href="theory__uf_8cpp_source.html#l00071">~TheoryUF()</a>.</p>

</div>
</div>
<a class="anchor" id="a608a96026a281c8e2da549584e9b2cdc"></a><!-- doxytag: member="CVC3::TheoryUF::d_applicationsInModel" ref="a608a96026a281c8e2da549584e9b2cdc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const bool&amp; <a class="el" href="classCVC3_1_1TheoryUF.html#a608a96026a281c8e2da549584e9b2cdc">CVC3::TheoryUF::d_applicationsInModel</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flag to include function applications to the concrete model. </p>

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00051">51</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00509">computeModel()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e7a38e729bf36884241e8e8e239dba4"></a><!-- doxytag: member="CVC3::TheoryUF::d_transClosureMap" ref="a7e7a38e729bf36884241e8e8e239dba4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1ExprMap.html">ExprMap</a>&lt;<a class="el" href="structCVC3_1_1TheoryUF_1_1TCMapPair.html">TCMapPair</a>*&gt; <a class="el" href="classCVC3_1_1TheoryUF.html#a7e7a38e729bf36884241e8e8e239dba4">CVC3::TheoryUF::d_transClosureMap</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00059">59</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00079">assertFact()</a>.</p>

</div>
</div>
<a class="anchor" id="aeff599bb60058a6df8dd5b35ee3d783b"></a><!-- doxytag: member="CVC3::TheoryUF::d_funApplications" ref="aeff599bb60058a6df8dd5b35ee3d783b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1CDList.html">CDList</a>&lt;<a class="el" href="classCVC3_1_1Expr.html">Expr</a>&gt; <a class="el" href="classCVC3_1_1TheoryUF.html#aeff599bb60058a6df8dd5b35ee3d783b">CVC3::TheoryUF::d_funApplications</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Backtracking list of function applications. </p>
<p>Used for building concrete models and beta-reducing lambda-expressions. </p>

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00064">64</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00156">checkSat()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00509">computeModel()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00491">computeModelTerm()</a>, and <a class="el" href="theory__uf_8cpp_source.html#l00236">setup()</a>.</p>

</div>
</div>
<a class="anchor" id="ae8387e395bd085233c0fd5d37fa086cd"></a><!-- doxytag: member="CVC3::TheoryUF::d_funApplicationsIdx" ref="ae8387e395bd085233c0fd5d37fa086cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1CDO.html">CDO</a>&lt;size_t&gt; <a class="el" href="classCVC3_1_1TheoryUF.html#ae8387e395bd085233c0fd5d37fa086cd">CVC3::TheoryUF::d_funApplicationsIdx</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pointer to the last unprocessed element (for lambda expansions) </p>

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00066">66</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00156">checkSat()</a>.</p>

</div>
</div>
<a class="anchor" id="a48545e083f3c4d152d7f79aec75fcbcd"></a><!-- doxytag: member="CVC3::TheoryUF::d_sharedIdx1" ref="a48545e083f3c4d152d7f79aec75fcbcd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1CDO.html">CDO</a>&lt;size_t&gt; <a class="el" href="classCVC3_1_1TheoryUF.html#a48545e083f3c4d152d7f79aec75fcbcd">CVC3::TheoryUF::d_sharedIdx1</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The pointers to the last unprocessed shared pair. </p>

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00068">68</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00156">checkSat()</a>.</p>

</div>
</div>
<a class="anchor" id="a80f414cb2926646f3028983ddc1eccac"></a><!-- doxytag: member="CVC3::TheoryUF::d_sharedIdx2" ref="a80f414cb2926646f3028983ddc1eccac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1CDO.html">CDO</a>&lt;size_t&gt; <a class="el" href="classCVC3_1_1TheoryUF.html#a80f414cb2926646f3028983ddc1eccac">CVC3::TheoryUF::d_sharedIdx2</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00068">68</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00156">checkSat()</a>.</p>

</div>
</div>
<a class="anchor" id="ac15e725de0573cf067ebb9c91b14f9a3"></a><!-- doxytag: member="CVC3::TheoryUF::d_sharedTermsMap" ref="ac15e725de0573cf067ebb9c91b14f9a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1CDMap.html">CDMap</a>&lt;<a class="el" href="classCVC3_1_1Expr.html">Expr</a>, bool&gt; <a class="el" href="classCVC3_1_1TheoryUF.html#ac15e725de0573cf067ebb9c91b14f9a3">CVC3::TheoryUF::d_sharedTermsMap</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The set of all shared terms. </p>

<p>Definition at line <a class="el" href="theory__uf_8h_source.html#l00070">70</a> of file <a class="el" href="theory__uf_8h_source.html">theory_uf.h</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l01139">addSharedTerm()</a>, and <a class="el" href="theory__uf_8cpp_source.html#l00156">checkSat()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="theory__uf_8h_source.html">theory_uf.h</a></li>
<li><a class="el" href="theory__uf_8cpp_source.html">theory_uf.cpp</a></li>
<li><a class="el" href="uf__theorem__producer_8cpp_source.html">uf_theorem_producer.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>