Sophie

Sophie

distrib > PLD > th > x86_64 > by-pkgid > 9f869ff92bf81fc4b13902b2b85811f8 > files > 1668

cvc3-doc-2.4.1-1.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CVC3: Abstract Theory Interface</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CVC3
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
  <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><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Abstract Theory Interface</div>  </div>
<div class="ingroups"><a class="el" href="group__Theories.html">Theories</a></div></div><!--header-->
<div class="contents">

<p>Abstract <a class="el" href="classCVC3_1_1Theory.html" title="Base class for theories.">Theory</a> Interface.  
<a href="#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Abstract Theory Interface:</div>
<div class="dyncontent">
<center><table><tr><td><img src="group__Theory__API.gif" border="0" alt="" usemap="#group____Theory____API"/>
<map name="group____Theory____API" id="group____Theory____API">
<area shape="rect" id="node1" href="group__Theories.html" title="Theories." alt="" coords="5,5,77,32"/></map>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga664e787b0eb7e5e6fdb03efeb409d38a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga664e787b0eb7e5e6fdb03efeb409d38a">CVC3::Theory::addSharedTerm</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:ga664e787b0eb7e5e6fdb03efeb409d38a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify theory of a new shared term.  <a href="#ga664e787b0eb7e5e6fdb03efeb409d38a"></a><br/></td></tr>
<tr class="separator:ga664e787b0eb7e5e6fdb03efeb409d38a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58de37714dd855f4d50de15108b8dbc7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga58de37714dd855f4d50de15108b8dbc7">CVC3::Theory::assertFact</a> (const Theorem &amp;e)=0</td></tr>
<tr class="memdesc:ga58de37714dd855f4d50de15108b8dbc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assert a new fact to the decision procedure.  <a href="#ga58de37714dd855f4d50de15108b8dbc7"></a><br/></td></tr>
<tr class="separator:ga58de37714dd855f4d50de15108b8dbc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0bb3d506dad8d69da546777cae27228"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gae0bb3d506dad8d69da546777cae27228">CVC3::Theory::checkSat</a> (bool fullEffort)=0</td></tr>
<tr class="memdesc:gae0bb3d506dad8d69da546777cae27228"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for satisfiability in the theory.  <a href="#gae0bb3d506dad8d69da546777cae27228"></a><br/></td></tr>
<tr class="separator:gae0bb3d506dad8d69da546777cae27228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa6475baeb444915fa3b2f5c58dc5148a"><td class="memItemLeft" align="right" valign="top">virtual Theorem&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gaa6475baeb444915fa3b2f5c58dc5148a">CVC3::Theory::rewrite</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:gaa6475baeb444915fa3b2f5c58dc5148a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Theory-specific rewrite rules.  <a href="#gaa6475baeb444915fa3b2f5c58dc5148a"></a><br/></td></tr>
<tr class="separator:gaa6475baeb444915fa3b2f5c58dc5148a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab66d477fcc5c27075a25dbfec4988537"><td class="memItemLeft" align="right" valign="top">virtual Theorem&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gab66d477fcc5c27075a25dbfec4988537">CVC3::Theory::theoryPreprocess</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:gab66d477fcc5c27075a25dbfec4988537"><td class="mdescLeft">&#160;</td><td class="mdescRight">Theory-specific preprocessing.  <a href="#gab66d477fcc5c27075a25dbfec4988537"></a><br/></td></tr>
<tr class="separator:gab66d477fcc5c27075a25dbfec4988537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6896845c1e25b3452238059d779fc4c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga6896845c1e25b3452238059d779fc4c8">CVC3::Theory::setup</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:ga6896845c1e25b3452238059d779fc4c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up the term e for call-backs when e or its children change.  <a href="#ga6896845c1e25b3452238059d779fc4c8"></a><br/></td></tr>
<tr class="separator:ga6896845c1e25b3452238059d779fc4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac41af6a90290fe83b2ee6c53cbfc4a62"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gac41af6a90290fe83b2ee6c53cbfc4a62">CVC3::Theory::update</a> (const Theorem &amp;e, const Expr &amp;d)</td></tr>
<tr class="memdesc:gac41af6a90290fe83b2ee6c53cbfc4a62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify a theory of a new equality.  <a href="#gac41af6a90290fe83b2ee6c53cbfc4a62"></a><br/></td></tr>
<tr class="separator:gac41af6a90290fe83b2ee6c53cbfc4a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3908ecb66d7ba9830e7cf5d1a8ab91c3"><td class="memItemLeft" align="right" valign="top">virtual Theorem&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga3908ecb66d7ba9830e7cf5d1a8ab91c3">CVC3::Theory::solve</a> (const Theorem &amp;e)</td></tr>
<tr class="memdesc:ga3908ecb66d7ba9830e7cf5d1a8ab91c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">An optional solver.  <a href="#ga3908ecb66d7ba9830e7cf5d1a8ab91c3"></a><br/></td></tr>
<tr class="separator:ga3908ecb66d7ba9830e7cf5d1a8ab91c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdab59f42f5124655275d2e08e7aa0e3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gacdab59f42f5124655275d2e08e7aa0e3">CVC3::Theory::checkAssertEqInvariant</a> (const Theorem &amp;e)</td></tr>
<tr class="memdesc:gacdab59f42f5124655275d2e08e7aa0e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">A debug check used by the primary solver.  <a href="#gacdab59f42f5124655275d2e08e7aa0e3"></a><br/></td></tr>
<tr class="separator:gacdab59f42f5124655275d2e08e7aa0e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga55b82868b8e9e60906756e797da9355a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga55b82868b8e9e60906756e797da9355a">CVC3::Theory::simplifyOp</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)</td></tr>
<tr class="memdesc:ga55b82868b8e9e60906756e797da9355a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recursive simplification step.  <a href="#ga55b82868b8e9e60906756e797da9355a"></a><br/></td></tr>
<tr class="separator:ga55b82868b8e9e60906756e797da9355a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac22e5fff02a4681c3972e3637bd15748"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gac22e5fff02a4681c3972e3637bd15748">CVC3::Theory::checkType</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:gac22e5fff02a4681c3972e3637bd15748"><td class="mdescLeft">&#160;</td><td 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="#gac22e5fff02a4681c3972e3637bd15748"></a><br/></td></tr>
<tr class="separator:gac22e5fff02a4681c3972e3637bd15748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga166b2a0c7ec3b09e079c2f84bb6087bc"><td class="memItemLeft" align="right" valign="top">virtual Cardinality&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga166b2a0c7ec3b09e079c2f84bb6087bc">CVC3::Theory::finiteTypeInfo</a> (Expr &amp;e, Unsigned &amp;n, bool enumerate, bool computeSize)</td></tr>
<tr class="memdesc:ga166b2a0c7ec3b09e079c2f84bb6087bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute information related to finiteness of types.  <a href="#ga166b2a0c7ec3b09e079c2f84bb6087bc"></a><br/></td></tr>
<tr class="separator:ga166b2a0c7ec3b09e079c2f84bb6087bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabaed6b47e6fdea3ae1e53ff75f1882db"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gabaed6b47e6fdea3ae1e53ff75f1882db">CVC3::Theory::computeType</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:gabaed6b47e6fdea3ae1e53ff75f1882db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute and store the type of e.  <a href="#gabaed6b47e6fdea3ae1e53ff75f1882db"></a><br/></td></tr>
<tr class="separator:gabaed6b47e6fdea3ae1e53ff75f1882db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa29925192ee19a6d1f0644174cfd07af"><td class="memItemLeft" align="right" valign="top">virtual Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gaa29925192ee19a6d1f0644174cfd07af">CVC3::Theory::computeBaseType</a> (const Type &amp;tp)</td></tr>
<tr class="memdesc:gaa29925192ee19a6d1f0644174cfd07af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the base type of the top-level operator of an arbitrary type.  <a href="#gaa29925192ee19a6d1f0644174cfd07af"></a><br/></td></tr>
<tr class="separator:gaa29925192ee19a6d1f0644174cfd07af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga19d53b411ccc48276f6666183b3c5887"><td class="memItemLeft" align="right" valign="top">virtual Expr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga19d53b411ccc48276f6666183b3c5887">CVC3::Theory::computeTypePred</a> (const Type &amp;t, const Expr &amp;e)</td></tr>
<tr class="memdesc:ga19d53b411ccc48276f6666183b3c5887"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classCVC3_1_1Theory.html" title="Base class for theories.">Theory</a> specific computation of the subtyping predicate for type t applied to the expression e.  <a href="#ga19d53b411ccc48276f6666183b3c5887"></a><br/></td></tr>
<tr class="separator:ga19d53b411ccc48276f6666183b3c5887"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9278ad3a6eb8351865a71acd7bb7f968"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCVC3_1_1Expr.html">Expr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga9278ad3a6eb8351865a71acd7bb7f968">CVC3::Theory::computeTCC</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e)</td></tr>
<tr class="memdesc:ga9278ad3a6eb8351865a71acd7bb7f968"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute and cache the TCC of e.  <a href="#ga9278ad3a6eb8351865a71acd7bb7f968"></a><br/></td></tr>
<tr class="separator:ga9278ad3a6eb8351865a71acd7bb7f968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga378bef078620e67fc80f36fa79320d91"><td class="memItemLeft" align="right" valign="top">virtual Expr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga378bef078620e67fc80f36fa79320d91">CVC3::Theory::parseExprOp</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:ga378bef078620e67fc80f36fa79320d91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Theory-specific parsing implemented by the DP.  <a href="#ga378bef078620e67fc80f36fa79320d91"></a><br/></td></tr>
<tr class="separator:ga378bef078620e67fc80f36fa79320d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49009744d64bbc47785f3fc5fa6884ca"><td class="memItemLeft" align="right" valign="top">virtual ExprStream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga49009744d64bbc47785f3fc5fa6884ca">CVC3::Theory::print</a> (ExprStream &amp;os, const Expr &amp;e)</td></tr>
<tr class="memdesc:ga49009744d64bbc47785f3fc5fa6884ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Theory-specific pretty-printing.  <a href="#ga49009744d64bbc47785f3fc5fa6884ca"></a><br/></td></tr>
<tr class="separator:ga49009744d64bbc47785f3fc5fa6884ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37309ea20a161f2529cbb0ab79f9ed3f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga37309ea20a161f2529cbb0ab79f9ed3f">CVC3::Theory::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)</td></tr>
<tr class="memdesc:ga37309ea20a161f2529cbb0ab79f9ed3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add variables from 'e' to 'v' for constructing a concrete model.  <a href="#ga37309ea20a161f2529cbb0ab79f9ed3f"></a><br/></td></tr>
<tr class="separator:ga37309ea20a161f2529cbb0ab79f9ed3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab23238889b7f68caa0715e6ab5d31775"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gab23238889b7f68caa0715e6ab5d31775">CVC3::Theory::refineCounterExample</a> ()</td></tr>
<tr class="memdesc:gab23238889b7f68caa0715e6ab5d31775"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process disequalities from the arrangement for model generation.  <a href="#gab23238889b7f68caa0715e6ab5d31775"></a><br/></td></tr>
<tr class="separator:gab23238889b7f68caa0715e6ab5d31775"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a6bc2982a8c71475cd9f1b6a4aa388e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga6a6bc2982a8c71475cd9f1b6a4aa388e">CVC3::Theory::computeModelBasic</a> (const std::vector&lt; Expr &gt; &amp;v)</td></tr>
<tr class="memdesc:ga6a6bc2982a8c71475cd9f1b6a4aa388e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign concrete values to basic-type variables in v.  <a href="#ga6a6bc2982a8c71475cd9f1b6a4aa388e"></a><br/></td></tr>
<tr class="separator:ga6a6bc2982a8c71475cd9f1b6a4aa388e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a5b9fff88df80582fc76fd3def55002"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga4a5b9fff88df80582fc76fd3def55002">CVC3::Theory::computeModel</a> (const Expr &amp;e, std::vector&lt; Expr &gt; &amp;vars)</td></tr>
<tr class="memdesc:ga4a5b9fff88df80582fc76fd3def55002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the value of a compound variable from the more primitive ones.  <a href="#ga4a5b9fff88df80582fc76fd3def55002"></a><br/></td></tr>
<tr class="separator:ga4a5b9fff88df80582fc76fd3def55002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ce2fe1baec76fcb6120bbd86623ecd2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga4ce2fe1baec76fcb6120bbd86623ecd2">CVC3::Theory::assertTypePred</a> (const Expr &amp;e, const Theorem &amp;pred)</td></tr>
<tr class="memdesc:ga4ce2fe1baec76fcb6120bbd86623ecd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives all the type predicates for the types of the given theory.  <a href="#ga4ce2fe1baec76fcb6120bbd86623ecd2"></a><br/></td></tr>
<tr class="separator:ga4ce2fe1baec76fcb6120bbd86623ecd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacb9782eae3d1121c415cd4b7650025c"><td class="memItemLeft" align="right" valign="top">virtual Theorem&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gaacb9782eae3d1121c415cd4b7650025c">CVC3::Theory::rewriteAtomic</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:gaacb9782eae3d1121c415cd4b7650025c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Theory-specific rewrites for atomic formulas.  <a href="#gaacb9782eae3d1121c415cd4b7650025c"></a><br/></td></tr>
<tr class="separator:gaacb9782eae3d1121c415cd4b7650025c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30a5750a0c38416c847e411c7400214a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#ga30a5750a0c38416c847e411c7400214a">CVC3::Theory::notifyInconsistent</a> (const Theorem &amp;thm)</td></tr>
<tr class="memdesc:ga30a5750a0c38416c847e411c7400214a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notification of conflict.  <a href="#ga30a5750a0c38416c847e411c7400214a"></a><br/></td></tr>
<tr class="separator:ga30a5750a0c38416c847e411c7400214a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb1431aa8258f6663ad948ebb08e5330"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gafb1431aa8258f6663ad948ebb08e5330">CVC3::Theory::registerAtom</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &amp;e, const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;thm)</td></tr>
<tr class="separator:gafb1431aa8258f6663ad948ebb08e5330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae6aca3030e9857d149b8ea26c44b535"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Theory__API.html#gaae6aca3030e9857d149b8ea26c44b535">CVC3::Theory::registerAtom</a> (const Expr &amp;e)</td></tr>
<tr class="memdesc:gaae6aca3030e9857d149b8ea26c44b535"><td class="mdescLeft">&#160;</td><td class="mdescRight">Theory-specific registration of atoms.  <a href="#gaae6aca3030e9857d149b8ea26c44b535"></a><br/></td></tr>
<tr class="separator:gaae6aca3030e9857d149b8ea26c44b535"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Abstract <a class="el" href="classCVC3_1_1Theory.html" title="Base class for theories.">Theory</a> Interface. </p>
<p><a class="anchor" id="theory_api"></a> These are the theory-specific methods which provide the decision procedure functionality for a new theory. At the very least, a theory must implement the checkSat method. The other methods can be used to make the implementation more convenient. For more information on this API, see Clark Barrett's PhD dissertation and theory_api_howto. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga664e787b0eb7e5e6fdb03efeb409d38a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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 in <a class="el" href="classCVC3_1_1TheoryQuant.html#aae3f95b1c6505b090105271bbccd7408">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#aaf10cf53aae11fb855883f87c29e02e4">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a1503d539a5f25dfdb5fcfe486405b658">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a1f122f4d960ac5df603cf7759681c95b">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a3798dbe1339c1c376b35172fbbc6434b">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a73bfa7842e5dfb1bbcf540b6a0ce49c8">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#ae3c23943703bddf1f6f642a4b3ff9503">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a998e0cd18f7d41f9e7df014d7f86edbc">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a7df593d6f121bf88bda064a390d44a7e">CVC3::TheoryArray</a>, and <a class="el" href="classCVC3_1_1TheoryUF.html#a452face1b48cfdd389cee5f9ef693810">CVC3::TheoryUF</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00127">127</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l03763">CVC3::TheoryCore::collectBasicVars()</a>, and <a class="el" href="theory__core_8cpp_source.html#l04260">CVC3::TheoryCore::setupTerm()</a>.</p>

</div>
</div>
<a class="anchor" id="ga58de37714dd855f4d50de15108b8dbc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </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>Implemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#a98ceeca1859a3d4b0c01fc85a3f610ea">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#a36d46f0d53c3513ea56ee2eba60cd75a">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a998f71fde188c547c464a912058dd64d">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a0b160ba7b04b17aba1d9f07c6d776b0e">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a70eefd32e475f3c04e195530145ae87f">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#ad083c5101196d8ea5aecf48dc00a9341">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#aef5c0f3d486b56abdd8e488b5b6ede6e">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a640ba909d9c6470c40600a82cdb65417">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a5240f8ce94fcf0baeafaffd1319cc64b">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a42e164b13affdc5abdb9e56c43e4242c">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#ad7fd739c906e86c0b5a135374cc10dc0">CVC3::TheoryRecords</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#ac39b4d535442f240fa39bd36eb3cca77">CVC3::TheorySimulate</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l00385">CVC3::TheoryCore::assertFormula()</a>.</p>

</div>
</div>
<a class="anchor" id="gae0bb3d506dad8d69da546777cae27228"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::checkSat </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fullEffort</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check for satisfiability in the theory. </p>
<dl class="params"><dt>Parameters</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>Implemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#af8346007d3494f2c89687e8b14dc86a3">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#a66cdb1662f1608dc95664b41ff90f1e4">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a966afeabb8016841de17f5c51fe165a0">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#ad92218d82a1bf0005a223e6ed3b3726b">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a31df7eb073302681dd7aeedc57251d09">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#af7b2bbb0c854bab9488a19b1d3072cb5">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a1a93522e582d9381e461972125984ea4">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a50136aaaf32b6b42751290cb2ccfedf6">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a87386ed95b18c84a1736d44fc53f3382">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a51e3b956b0e83af64548b0e402611b61">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a4780c4692ecdb6fc82f181b86cebeb68">CVC3::TheoryRecords</a>, <a class="el" href="classCVC3_1_1TheoryDatatypeLazy.html#ad89c1890b5ed73dea2be216f5c299f6b">CVC3::TheoryDatatypeLazy</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#a5cfee69476363aae1b84a3e76032b6cd">CVC3::TheorySimulate</a>.</p>

</div>
</div>
<a class="anchor" id="gaa6475baeb444915fa3b2f5c58dc5148a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Theorem CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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 in <a class="el" href="classCVC3_1_1TheoryCore.html#a54bce613a6b49a9a8a1a888ec36346d8">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a17c6d2694c44f77da17d5b32620b0761">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a372ca4601f982473511cd0fc55c83374">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a82d63a41524830f12abe05b948eab4ca">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#adf76a677d3133da1fb3e8cf33ba26cc9">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryQuant.html#aaed061533566d5aa74f4195a6eece020">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#aaa06e89f76f2313953a35d867c33942f">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a5fea4f3ab06825c2df409082095f7d96">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#ad26e3958bc32f28030d57c9b8415d69f">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a128eb911fae9a65232037d6cf0c4f0e5">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a56d1048536807a3bb9d746c833b75c47">CVC3::TheoryRecords</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#a7ffc512dc7ea5a3178445b904c7071e2">CVC3::TheorySimulate</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00159">159</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l00968">CVC3::TheoryCore::rewrite()</a>.</p>

</div>
</div>
<a class="anchor" id="gab66d477fcc5c27075a25dbfec4988537"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Theorem CVC3::Theory::theoryPreprocess </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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Theory-specific preprocessing. </p>
<p>This gets called each time a new assumption or query is preprocessed. By default it does nothing. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#a2d5e93e866382db19e0675f693d14c32">CVC3::TheoryQuant</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00164">164</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l00857">CVC3::TheoryCore::callTheoryPreprocess()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6896845c1e25b3452238059d779fc4c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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="section see"><dt>See Also</dt><dd><a class="el" href="group__Theory__API.html#gac41af6a90290fe83b2ee6c53cbfc4a62" title="Notify a theory of a new equality.">update</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#a8669c171bcd467dc782f4268093cab11">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#af4468d5d65b78ac9dc4c89c71c7391f6">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#af876aaea3321dd03faebd5f4b3f06ddd">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a9a07172dc5440407baddcc225166651e">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a1e7b1123d64a52db1e306942ff4576a3">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a36a8c831cfe356a9e779988cae3e101c">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a76e011a1d78cac54d5bd87ad1b51ccb7">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a8825c26c5b357ec4a6fde28aaceeea44">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a51796298980c0587b567b2af7b36921a">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a707f98454898e685084f75a006cdd100">CVC3::TheoryRecords</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a9a004c0e28f9b018db1173635400cc90">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryDatatypeLazy.html#ab9b700715fb9450717a3afded5a378ec">CVC3::TheoryDatatypeLazy</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00172">172</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l04260">CVC3::TheoryCore::setupTerm()</a>.</p>

</div>
</div>
<a class="anchor" id="gac41af6a90290fe83b2ee6c53cbfc4a62"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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="section see"><dt>See Also</dt><dd><a class="el" href="group__Theory__API.html#ga6896845c1e25b3452238059d779fc4c8" title="Set up the term e for call-backs when e or its children change.">setup</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#a03756dc7d7ff3b399cae1c98140eccb8">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#a435e2305420c1ed5b2ff1e4758a50dc5">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a314a1422f7fb05eb90d94cd88625fd0c">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a91d859d6893c57f28679590a23a32f15">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a57edac7a7e4ffd04e778f3858a000457">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a3790410296752fded1074ce1b808598b">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a065b02fa3e5ea7bf335b94ae42102cad">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a4d1da766acf310b425f564027c70b8b9">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a98649fa8384e42c564d2bbae90e45454">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a070b5644bc6e362999305ee8bb3774ff">CVC3::TheoryRecords</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#ace17a32e291a61b858e0892b21083f5d">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryDatatypeLazy.html#a1f5719671fd527eb010fbb2a2f14e79d">CVC3::TheoryDatatypeLazy</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00189">189</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l00173">CVC3::TheoryCore::processNotify()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3908ecb66d7ba9830e7cf5d1a8ab91c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Theorem CVC3::Theory::solve </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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>An optional solver. </p>
<p>The solve method can be used to implement a Shostak-style solver. Since solvers do not in general combine, the following technique is used. One theory is designated as the primary solver (in our case, it is the theory of arithmetic). For each equation that enters the core framework, the primary solver is called to ensure that the equation is in solved form with respect to the primary theory.</p>
<p>After the primary solver, the solver for the theory associated with the equation is called. This solver can do whatever it likes, as long as the result is still in solved form with respect to the primary solver. This is a slight generalization of what is described in my (Clark)'s PhD thesis. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#a2128e2419413e5c0455ca3011fa2b2db">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a9488a6be1041e63a9519482ac7e854c8">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a3faa3983fb7a7a37c24ccbf500528bbe">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a2a6ec855d488ee1d662ac0d1268d2392">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a35ee82710c965d845aecbe6320f2ae38">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a79b7f024bad6bbac7520517071957404">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#ab5f431756db284b50c011774862f9f16">CVC3::TheoryDatatype</a>, and <a class="el" href="classCVC3_1_1TheoryArray.html#a142d21629000a0f7fdf1dfe24bc0b25b">CVC3::TheoryArray</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00204">204</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l01195">CVC3::TheoryCore::checkEquation()</a>, and <a class="el" href="theory__core_8cpp_source.html#l01248">CVC3::TheoryCore::solve()</a>.</p>

</div>
</div>
<a class="anchor" id="gacdab59f42f5124655275d2e08e7aa0e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::checkAssertEqInvariant </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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A debug check used by the primary solver. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryArithOld.html#a331a6d4320eee82cbb093fd587c96bb8">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#ab609e73ab4f8ff747730845f864ef18a">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#ae4ed8b9b3074828d356a35192288b397">CVC3::TheoryArithNew</a>, and <a class="el" href="classCVC3_1_1TheoryArith.html#ae84d7601b3361fe773127a73194160f9">CVC3::TheoryArith</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00206">206</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l04093">CVC3::TheoryCore::assertEqualities()</a>.</p>

</div>
</div>
<a class="anchor" id="ga55b82868b8e9e60906756e797da9355a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> Theory::simplifyOp </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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Recursive simplification step. </p>
<p>INVARIANT: the result is a <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a>(e=e'), where e' is a fully simplified version of e. To simplify subexpressions recursively, call <a class="el" href="classCVC3_1_1Theory.html#a52158688456f8605b064fbbf7a46039c" title="Simplify a term e and return a Theorem(e==e&#39;)">simplify()</a> function.</p>
<p>This theory-specific method is called when the simplifier descends top-down into the expression. Normally, every kid is simplified recursively, and the results are combined into the new parent with the same operator (<a class="el" href="classCVC3_1_1Op.html">Op</a>). This functionality is provided with the default implementation.</p>
<p>However, in some expressions some kids may not matter in the result, and can be skipped. For instance, if the first kid in a long AND simplifies to FALSE, then the entire expression simplifies to FALSE, and the remaining kids do not need to be simplified.</p>
<p>This call is a chance for a DP to provide these types of optimizations during the top-down phase of simplification. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#a3aefb5e53e848ad18a5846d5be42d3d2">CVC3::TheoryCore</a>, and <a class="el" href="classCVC3_1_1TheoryBitvector.html#a5bd75507801c5b8b2595784ce53069aa">CVC3::TheoryBitvector</a>.</p>

<p>Definition at line <a class="el" href="theory_8cpp_source.html#l00053">53</a> of file <a class="el" href="theory_8cpp_source.html">theory.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l01201">CVC3::Expr::arity()</a>, <a class="el" href="theory_8h_source.html#l00069">CVC3::Theory::d_commonRules</a>, <a class="el" href="theory_8h_source.html#l00068">CVC3::Theory::d_theoryCore</a>, <a class="el" href="theorem_8h_source.html#l00171">CVC3::Theorem::isRefl()</a>, <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>, <a class="el" href="theory__core_8cpp_source.html#l00184">CVC3::TheoryCore::simplify()</a>, and <a class="el" href="classCVC3_1_1CommonProofRules.html#a776c827bb6e3b889234429c49ae9ad6f">CVC3::CommonProofRules::substitutivityRule()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l01292">CVC3::TheoryCore::simplifyOp()</a>.</p>

</div>
</div>
<a class="anchor" id="gac22e5fff02a4681c3972e3637bd15748"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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 in <a class="el" href="classCVC3_1_1TheoryCore.html#ada717b1e852018d77f154682a01f6731">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#ad3e9ede8154ffafbbfdefef3c79d5f78">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a27cd5a977820921847abb91ffd728165">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a978cfa4add608e7f78c4e8b1d92e093f">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a272700cefa9c3f96bde0b61cc1d0b69e">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#afb944017844bcb9681fa4c223d7e7f8d">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#acf535107486ee65ec245d080c48c277f">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#ae6eb6ed17276330ab41fe1944a612f03">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a34d126b5ce21bca5de2d51c834f964b7">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryRecords.html#a0fd20bc4ca8c7701c189ce465cd3641c">CVC3::TheoryRecords</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00236">236</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>.</p>

</div>
</div>
<a class="anchor" id="ga166b2a0c7ec3b09e079c2f84bb6087bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Cardinality CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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 &ndash; 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>
<ol type="1">
<li>Returns Cardinality of the type (finite, infinite, or unknown)</li>
<li>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</li>
<li>If cardinality = finite and computeSize is true, sets n to the size of the type if it can sets n to 0 otherwise </li>
</ol>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#acf724e4b497f7ca829eaaca9007fbae6">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#ae22b1b370ee8be1c54ef4a1c3f527d5f">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a8b64f176481b2c25cf42e31efe2e64fd">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#acc1ac9f10d2c91f9831057937fcba829">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a1070c24b2f7c993390dc1e3f00282f94">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a56b40e5b07a5f409415f343013fb478b">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#ad370efc075c3da6b8b081020cd56a55e">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#acb95878ba64d211ede428600c09ca71e">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a47b4f06fa93d0f190534a35af01fb5f7">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryRecords.html#ac58f7129ed3e62d2d183922cb70428ac">CVC3::TheoryRecords</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00252">252</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l00082">CVC3::CARD_INFINITE</a>.</p>

<p>Referenced by <a class="el" href="theory__uf_8cpp_source.html#l00368">CVC3::TheoryUF::finiteTypeInfo()</a>, and <a class="el" href="theory__datatype_8cpp_source.html#l00457">CVC3::TheoryDatatype::finiteTypeInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="gabaed6b47e6fdea3ae1e53ff75f1882db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute and store the type of e. </p>
<dl class="params"><dt>Parameters</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 in <a class="el" href="classCVC3_1_1TheoryQuant.html#aa48359564f5cfda755d46d1aed992dc8">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#a4968c9a9514669bbd9c2e6774f17b743">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#ae15e9cc1e826299a857a232c341402c1">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a71487fca123272ebec2f37b6fecfbf3e">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#aad271001191bdd48d1b77d92d9558136">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a86fdcfbc819885dac3640dcf68472554">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a6abf2a3ab02d2242d7ff0673df934405">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#af1237546f5860ded939958b0c31c6669">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a877d95364306ead07d3c26cf1a5f4e2d">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a26061e351f02b3d372efa85d1b250134">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a59dd99a5c7c1540d6517dc69dc157cfb">CVC3::TheoryRecords</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#a7b967470cb0087ab5ed87ecb483a978d">CVC3::TheorySimulate</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00263">263</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l00074">CVC3::TypeComputerCore::computeType()</a>, and <a class="el" href="theory__uf_8cpp_source.html#l00417">CVC3::TheoryUF::computeType()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa29925192ee19a6d1f0644174cfd07af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Type CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#a624d8ed203fdd666ae97ec10f9859d26">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#adaecdd481476e8db3e400a1bcecf25f3">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a6d158689e4805c7d62a7a06b919e3d53">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a84a67c02055bd8d4e4eb3d7c60ddf495">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a1f99b1033faaf9b5911edcd667872ac7">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a5381a34007ebe59a8869e5c38951bbd2">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a69f52441ffdbcc56cd227380904e4371">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryRecords.html#a0cdc07a00c674c1190f721908a77c0ca">CVC3::TheoryRecords</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00265">265</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory_8cpp_source.html#l00389">CVC3::Theory::getBaseType()</a>.</p>

</div>
</div>
<a class="anchor" id="ga19d53b411ccc48276f6666183b3c5887"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Expr CVC3::Theory::computeTypePred </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Type.html">Type</a> &amp;&#160;</td>
          <td class="paramname"><em>t</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classCVC3_1_1Theory.html" title="Base class for theories.">Theory</a> specific computation of the subtyping predicate for type t applied to the expression e. </p>
<p>By default returns true. Each theory needs to compute subtype predicates for the types associated with it. So, for example, the theory of records will take a record type [# f1: T1, f2: T2 #] and an expression e and will return the subtyping predicate for e, namely: computeTypePred(T1, e.f1) AND computeTypePred(T2, e.f2) </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#ab12924c15cb53753ba91d1766282a71e">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a5c1f93e8fcd10c7943895532cf0aa6f6">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a0aecfd1729c28dfb1229372a65edb3ad">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a60d5dc6f4f252bbf62e9333134863da0">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a46272039047747962cdfbb34d6e54476">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a3b37be00ae123493d74dfd6269bb587a">CVC3::TheoryArith</a>, and <a class="el" href="classCVC3_1_1TheoryRecords.html#a62ea35463c9093da92601e33698f905b">CVC3::TheoryRecords</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00275">275</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l01156">CVC3::Expr::getEM()</a>, and <a class="el" href="expr__manager_8h_source.html#l00280">CVC3::ExprManager::trueExpr()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l01704">CVC3::TheoryCore::computeTypePred()</a>, and <a class="el" href="theory_8cpp_source.html#l00406">CVC3::Theory::getTypePred()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9278ad3a6eb8351865a71acd7bb7f968"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute and cache the TCC of e. </p>
<dl class="params"><dt>Parameters</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 in <a class="el" href="classCVC3_1_1TheoryQuant.html#ac702ce1fbdd3fee29f4b1c8868579276">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#acd533616106f9987039cfbd5988d50d5">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a6f507fbe5ded9976e290274059611808">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#af49bfb7657ee001bbb3caeeb04630847">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a94d82875db6689ca7c986e24abf63a46">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#aa618dbba5196953efee6954efe321ef8">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a076c8333b4e8ce62955e1c0701975487">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#ae50ed74ea28aae7d5919a3461302a83e">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a12999bb5404a778250daae90a72df6d1">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#ad39e7c0bacd10a30d33f187afeebcf2e">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a2ae67fcdda4a2c2f55238adea0b8eabc">CVC3::TheoryRecords</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#a46b843eea802fa2a9b666552a58886eb">CVC3::TheorySimulate</a>.</p>

<p>Definition at line <a class="el" href="theory_8cpp_source.html#l00081">81</a> of file <a class="el" href="theory_8cpp_source.html">theory.cpp</a>.</p>

<p>References <a class="el" href="expr_8h_source.html#l00945">CVC3::andExpr()</a>, <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="theory_8h_source.html#l00069">CVC3::Theory::d_commonRules</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</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="classCVC3_1_1CommonProofRules.html#afb2ae30738c04b088459281d259a6d3a">CVC3::CommonProofRules::rewriteAnd()</a>, and <a class="el" href="theory_8h_source.html#l00582">CVC3::Theory::trueExpr()</a>.</p>

<p>Referenced by <a class="el" href="theory__records_8cpp_source.html#l00228">CVC3::TheoryRecords::computeTCC()</a>, <a class="el" href="theory__uf_8cpp_source.html#l00591">CVC3::TheoryUF::computeTCC()</a>, <a class="el" href="theory__array_8cpp_source.html#l01041">CVC3::TheoryArray::computeTCC()</a>, <a class="el" href="theory__datatype_8cpp_source.html#l00612">CVC3::TheoryDatatype::computeTCC()</a>, <a class="el" href="theory__arith__new_8cpp_source.html#l02025">CVC3::TheoryArithNew::computeTCC()</a>, <a class="el" href="theory__arith3_8cpp_source.html#l02839">CVC3::TheoryArith3::computeTCC()</a>, <a class="el" href="theory__arith__old_8cpp_source.html#l03817">CVC3::TheoryArithOld::computeTCC()</a>, <a class="el" href="theory__core_8cpp_source.html#l01650">CVC3::TheoryCore::computeTCC()</a>, and <a class="el" href="theory_8cpp_source.html#l00367">CVC3::Theory::getTCC()</a>.</p>

</div>
</div>
<a class="anchor" id="ga378bef078620e67fc80f36fa79320d91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Expr CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#a4ddfed955f288872e94794075f019c9f">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#a0cf4d5c76db5be87a848d694adff4dfe">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#ae4d0208af0078ee314c94f199f8b50db">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a26016acc412642afc4712d68dd4af25d">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a8bf0677921ceebd416aa6208b56467eb">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#ae909a0b86693e59e95c69de37e6adf08">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a900379e03f4f05409fa4a60e2db4e65d">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a464a093b6247645cf10c1bb8aa9a03a4">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#ad034351d6763b4cdc9bf87f52a97e98c">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a43cd4922172049de0dfa948c1b09f81e">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#a72f4af007baf95a36b21246433266319">CVC3::TheoryRecords</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#a888f05dd7da9aa30304f6b7016dbfe46">CVC3::TheorySimulate</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00292">292</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l03589">CVC3::TheoryCore::parseExpr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga49009744d64bbc47785f3fc5fa6884ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ExprStream&amp; CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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 in <a class="el" href="classCVC3_1_1TheoryQuant.html#aa0c1c26775ebf349dbaa34e7a0dfc268">CVC3::TheoryQuant</a>, <a class="el" href="classCVC3_1_1TheoryCore.html#ab334f07590ad297ad6daa3383c61de5f">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#a887b53a4c32e7daab34048bdfe2a31c4">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a016c76766dead2d406c96f51138f72a3">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#aaa3c5b6fc08db3e297e811f4c9c18a17">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a01afc8056a17c0412af99b3c33bace20">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a879d4967986103b989d7003dd815783f">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a1d17495677079120272ec4073cd777db">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#adf21a7b23c771ff5b9a9da1b84810127">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#accc78347b4cda9a9534377d6d9df7eb8">CVC3::TheoryUF</a>, <a class="el" href="classCVC3_1_1TheoryRecords.html#aad0935f7bc94c98934c0e1690b2ec850">CVC3::TheoryRecords</a>, and <a class="el" href="classCVC3_1_1TheorySimulate.html#a9d4451dfc3e6f6e1b9872761b4a974f2">CVC3::TheorySimulate</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00302">302</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="expr_8cpp_source.html#l00400">CVC3::Expr::printAST()</a>.</p>

</div>
</div>
<a class="anchor" id="ga37309ea20a161f2529cbb0ab79f9ed3f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </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 in <a class="el" href="classCVC3_1_1TheoryArithOld.html#a30991bcd4bbcf65cd1c6215725af9899">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a00b11e39bb30b25373399c0cd20f6dd0">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a38b5fc9c8e39309a86634cc55ee116a0">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#adb72936111e69a1ab0e032cc017ee2db">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#a73c222d70c5bbfc539041095df6a8321">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryDatatype.html#a8fa2a50fe50ccfda4b557783f566dbfc">CVC3::TheoryDatatype</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#a5005ba3bcd8688e06b1dd9dfd81a1a8f">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#abeee663f7e0372e4b98635be772d0ac5">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryRecords.html#a77c8993b2ad9daca3803c78991589351">CVC3::TheoryRecords</a>.</p>

<p>Definition at line <a class="el" href="theory_8cpp_source.html#l00047">47</a> of file <a class="el" href="theory_8cpp_source.html">theory.cpp</a>.</p>

<p>References <a class="el" href="kinds_8h_source.html#l00099">TRACE</a>.</p>

<p>Referenced by <a class="el" href="theory_8cpp_source.html#l00527">CVC3::Theory::getModelTerm()</a>.</p>

</div>
</div>
<a class="anchor" id="gab23238889b7f68caa0715e6ab5d31775"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::refineCounterExample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Process disequalities from the arrangement for model generation. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#a6822c229c357d1afcda22bc073d45142">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#aa4dc2c586e3bf401a1940a2057508d9f">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#ae44a95809991c134c6ed6a8c795a06bc">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a3dafcfa8f6451023a83ce69c53fac641">CVC3::TheoryArithNew</a>, and <a class="el" href="classCVC3_1_1TheoryArith.html#aa438bb4c5ceaeca9b2bb692d725d6ce8">CVC3::TheoryArith</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00310">310</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6a6bc2982a8c71475cd9f1b6a4aa388e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::computeModelBasic </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>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assign concrete values to basic-type variables in v. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#a6edb2212446e43165666dcb7f319985a">CVC3::TheoryCore</a>, <a class="el" href="classCVC3_1_1TheoryArithOld.html#ab0be6755fcb152cd582d064663e2d53f">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#a6e35b7340b2370e2ac9ea6b6892ec479">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a7d73feef91b15cb086f6d1b7a7bd19c2">CVC3::TheoryArithNew</a>, and <a class="el" href="classCVC3_1_1TheoryArith.html#abb0dc7f8453ab4327aca42a9bd394ca2">CVC3::TheoryArith</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00312">312</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga4a5b9fff88df80582fc76fd3def55002"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </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 class="params"><dt>Parameters</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 in <a class="el" href="classCVC3_1_1TheoryArithOld.html#ab89a3988c04c44852823fa598358ab67">CVC3::TheoryArithOld</a>, <a class="el" href="classCVC3_1_1TheoryArith3.html#ad9f6d84e930741b9b6675dec46ba9b26">CVC3::TheoryArith3</a>, <a class="el" href="classCVC3_1_1TheoryBitvector.html#a00182685c0c766dfdc560e3c5f00001b">CVC3::TheoryBitvector</a>, <a class="el" href="classCVC3_1_1TheoryArithNew.html#a5c9f6212127845ff56f5c88aff72d49a">CVC3::TheoryArithNew</a>, <a class="el" href="classCVC3_1_1TheoryArith.html#af775fc35d6a629ec19e2ffb67ff19dd4">CVC3::TheoryArith</a>, <a class="el" href="classCVC3_1_1TheoryArray.html#ac3d4027dec5817e812ce81ff46c2998b">CVC3::TheoryArray</a>, <a class="el" href="classCVC3_1_1TheoryUF.html#a6b6437208e5cd05563b4be9a83b4ed35">CVC3::TheoryUF</a>, and <a class="el" href="classCVC3_1_1TheoryRecords.html#a43f8bb4aeae98801e974b7f3fa0ed068">CVC3::TheoryRecords</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00334">334</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="theory_8cpp_source.html#l00162">CVC3::Theory::assignValue()</a>, and <a class="el" href="theory_8cpp_source.html#l00310">CVC3::Theory::find()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l03954">CVC3::TheoryCore::collectModelValues()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4ce2fe1baec76fcb6120bbd86623ecd2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::assertTypePred </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">const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;&#160;</td>
          <td class="paramname"><em>pred</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Receives all the type predicates for the types of the given theory. </p>
<p><a class="el" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> predicates may be expensive to enqueue eagerly, and DPs may choose to postpone them, or transform them to something more efficient. By default, the asserted type predicate is immediately enqueued as a new fact.</p>
<p>Note: Used only by bitvector theory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>is the expression for which the type predicate is computed </td></tr>
    <tr><td class="paramname">pred</td><td>is the predicate theorem P(e) </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryBitvector.html#ac59b9ef8d3c7f68eee6a06ea17e3d104">CVC3::TheoryBitvector</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00350">350</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="theory_8cpp_source.html#l00128">CVC3::Theory::enqueueFact()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l04260">CVC3::TheoryCore::setupTerm()</a>.</p>

</div>
</div>
<a class="anchor" id="gaacb9782eae3d1121c415cd4b7650025c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Theorem CVC3::Theory::rewriteAtomic </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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Theory-specific rewrites for atomic formulas. </p>
<p>The intended use is to convert complex atomic formulas into an equivalent Boolean combination of simpler formulas. Such conversion may be harmful for algebraic rewrites, and is not always desirable to have in <a class="el" href="group__Theory__API.html#gaa6475baeb444915fa3b2f5c58dc5148a" title="Theory-specific rewrite rules.">rewrite()</a> method.</p>
<p>Note: Used only by bitvector theory and rewriteLiteral in core.</p>
<p>However, if <a class="el" href="group__Theory__API.html#gaa6475baeb444915fa3b2f5c58dc5148a" title="Theory-specific rewrite rules.">rewrite()</a> alone cannot solve the problem, and the <a class="el" href="namespaceSAT.html">SAT</a> solver needs to be envoked, these additional rewrites may ease the job for the <a class="el" href="namespaceSAT.html">SAT</a> solver. </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryBitvector.html#a55e7711ed3e5be41dd7aca955a9ecc7a">CVC3::TheoryBitvector</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00365">365</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

<p>References <a class="el" href="theory_8h_source.html#l00673">CVC3::Theory::reflexivityRule()</a>.</p>

<p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l04029">CVC3::TheoryCore::rewriteLiteral()</a>.</p>

</div>
</div>
<a class="anchor" id="ga30a5750a0c38416c847e411c7400214a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::notifyInconsistent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;&#160;</td>
          <td class="paramname"><em>thm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Notification of conflict. </p>
<p>Decision procedures implement this method when they want to be notified about a conflict.</p>
<p>Note: Used only by quantifier theory</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">thm</td><td>is the theorem of FALSE given to <a class="el" href="classCVC3_1_1Theory.html#a89f8e1e02e22ef524c286ce8b87bdea4" title="Make the context inconsistent; The formula proved by e must FALSE.">setInconsistent()</a> </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryQuant.html#acfc01954af4379d6ee3917afbdb73612">CVC3::TheoryQuant</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00376">376</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

</div>
</div>
<a class="anchor" id="gafb1431aa8258f6663ad948ebb08e5330"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Theory::registerAtom </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">const <a class="el" href="classCVC3_1_1Theorem.html">Theorem</a> &amp;&#160;</td>
          <td class="paramname"><em>thm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryCore.html#ade1177fbf32e95b9433eb608c82857d7">CVC3::TheoryCore</a>.</p>

<p>Definition at line <a class="el" href="theory_8cpp_source.html#l00091">91</a> of file <a class="el" href="theory_8cpp_source.html">theory.cpp</a>.</p>

<p>References <a class="el" href="theory_8h_source.html#l00068">CVC3::Theory::d_theoryCore</a>, and <a class="el" href="theory__core_8cpp_source.html#l03541">CVC3::TheoryCore::registerAtom()</a>.</p>

<p>Referenced by <a class="el" href="search__impl__base_8h_source.html#l00200">CVC3::SearchImplBase::registerAtom()</a>.</p>

</div>
</div>
<a class="anchor" id="gaae6aca3030e9857d149b8ea26c44b535"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CVC3::Theory::registerAtom </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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Theory-specific registration of atoms. </p>
<p>If a theory wants to implement its own theory propagation, it should implement this method and use it to collect all atoms that the core is interested in. If the theory can deduce the atom or its negation, it should do so (using enqueueFact). </p>

<p>Reimplemented in <a class="el" href="classCVC3_1_1TheoryArithNew.html#acf71ca1da6261f1fb8f14522613de497">CVC3::TheoryArithNew</a>, and <a class="el" href="classCVC3_1_1TheoryArithOld.html#ad4d5973db0c0b0d26e358450b0c0a4a1">CVC3::TheoryArithOld</a>.</p>

<p>Definition at line <a class="el" href="theory_8h_source.html#l00387">387</a> of file <a class="el" href="theory_8h_source.html">theory.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu May 16 2013 13:25:16 for CVC3 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.2
</small></address>
</body>
</html>