<!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: theory_core.cpp File Reference</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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_8629bd54a978340ee7f07fcae6292575.html">theory_core</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">theory_core.cpp File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <locale></code><br/> <code>#include <cctype></code><br/> <code>#include <ctime></code><br/> <code>#include "<a class="el" href="command__line__flags_8h_source.html">command_line_flags.h</a>"</code><br/> <code>#include "<a class="el" href="expr_8h_source.html">expr.h</a>"</code><br/> <code>#include "<a class="el" href="notifylist_8h_source.html">notifylist.h</a>"</code><br/> <code>#include "<a class="el" href="pretty__printer_8h_source.html">pretty_printer.h</a>"</code><br/> <code>#include "<a class="el" href="common__proof__rules_8h_source.html">common_proof_rules.h</a>"</code><br/> <code>#include "<a class="el" href="parser__exception_8h_source.html">parser_exception.h</a>"</code><br/> <code>#include "<a class="el" href="typecheck__exception_8h_source.html">typecheck_exception.h</a>"</code><br/> <code>#include "<a class="el" href="smtlib__exception_8h_source.html">smtlib_exception.h</a>"</code><br/> <code>#include "<a class="el" href="eval__exception_8h_source.html">eval_exception.h</a>"</code><br/> <code>#include "<a class="el" href="theory__core_8h_source.html">theory_core.h</a>"</code><br/> <code>#include "<a class="el" href="expr__transform_8h_source.html">expr_transform.h</a>"</code><br/> <code>#include "<a class="el" href="core__proof__rules_8h_source.html">core_proof_rules.h</a>"</code><br/> <code>#include "<a class="el" href="theorem__manager_8h_source.html">theorem_manager.h</a>"</code><br/> <code>#include "<a class="el" href="translator_8h_source.html">translator.h</a>"</code><br/> <code>#include "<a class="el" href="theory__arith_8h_source.html">theory_arith.h</a>"</code><br/> </div> <p><a href="theory__core_8cpp_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1PrettyPrinterCore.html">CVC3::PrettyPrinterCore</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Implementation of <a class="el" href="classCVC3_1_1PrettyPrinter.html" title="Abstract API to a pretty-printer for Expr.">PrettyPrinter</a> class. <a href="classCVC3_1_1PrettyPrinterCore.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1TypeComputerCore.html">CVC3::TypeComputerCore</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespaceCVC3"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCVC3.html">CVC3</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a21ad0da40be88420726d4ec28277850e"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCVC3.html#a21ad0da40be88420726d4ec28277850e">CVC3::operator<<</a> (std::ostream &os, const <a class="el" href="classCVC3_1_1NotifyList.html">NotifyList</a> &l)</td></tr> <tr class="memdesc:a21ad0da40be88420726d4ec28277850e"><td class="mdescLeft"> </td><td class="mdescRight">Printing <a class="el" href="classCVC3_1_1NotifyList.html">NotifyList</a> class. <a href="#a21ad0da40be88420726d4ec28277850e"></a><br/></td></tr> <tr class="separator:a21ad0da40be88420726d4ec28277850e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b3324b963e5932e3f2bcf87ab8bccce"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="theory__core_8cpp.html#a0b3324b963e5932e3f2bcf87ab8bccce">containsRec</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &def, <a class="el" href="classCVC3_1_1ExprHashMap.html">ExprHashMap</a>< bool > &defs, <a class="el" href="classCVC3_1_1ExprHashMap.html">ExprHashMap</a>< bool > &visited)</td></tr> <tr class="separator:a0b3324b963e5932e3f2bcf87ab8bccce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2258b7f4ecf463bd111b1b28fc19b2e0"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="theory__core_8cpp.html#a2258b7f4ecf463bd111b1b28fc19b2e0">contains</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &def, <a class="el" href="classCVC3_1_1ExprHashMap.html">ExprHashMap</a>< bool > &defs)</td></tr> <tr class="separator:a2258b7f4ecf463bd111b1b28fc19b2e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa90a34222cde2484b538f04c1564d0a9"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="theory__core_8cpp.html#aa90a34222cde2484b538f04c1564d0a9">hasBoundVarRec</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e)</td></tr> <tr class="separator:aa90a34222cde2484b538f04c1564d0a9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab6d95f0854054aa5776599ae613043b6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="theory__core_8cpp.html#ab6d95f0854054aa5776599ae613043b6">IF_DEBUG</a> (static bool hasBoundVar(const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e){e.getEM() ->clearFlags();return <a class="el" href="theory__core_8cpp.html#aa90a34222cde2484b538f04c1564d0a9">hasBoundVarRec</a>(e);}) void <a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a></td></tr> <tr class="separator:ab6d95f0854054aa5776599ae613043b6"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Author: Clark Barrett, Vijay Ganesh (CNF converter)</p> <p>Created: Thu Jan 30 16:57:52 2003</p> <hr/> <p>License to use, copy, modify, sell and/or distribute this software and its documentation for any purpose is hereby granted without royalty, subject to the terms and conditions defined in the <a class="el" href="LICENSE.html">LICENSE</a> file provided with this distribution.</p> <hr/> <p>Definition in file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> </div><h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="a0b3324b963e5932e3f2bcf87ab8bccce"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool containsRec </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>def</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classCVC3_1_1ExprHashMap.html">ExprHashMap</a>< bool > & </td> <td class="paramname"><em>defs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classCVC3_1_1ExprHashMap.html">ExprHashMap</a>< bool > & </td> <td class="paramname"><em>visited</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l02033">2033</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> <p>References <a class="el" href="expr_8h_source.html#l01211">CVC3::Expr::begin()</a>, <a class="el" href="expr__map_8h_source.html#l00326">CVC3::ExprHashMap< Data >::end()</a>, <a class="el" href="expr_8h_source.html#l01217">CVC3::Expr::end()</a>, <a class="el" href="expr__map_8h_source.html#l00329">CVC3::ExprHashMap< Data >::find()</a>, <a class="el" href="expr_8h_source.html#l01069">CVC3::Expr::getBody()</a>, and <a class="el" href="expr_8h_source.html#l01007">CVC3::Expr::isClosure()</a>.</p> <p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l02050">contains()</a>.</p> </div> </div> <a class="anchor" id="a2258b7f4ecf463bd111b1b28fc19b2e0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool contains </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>def</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classCVC3_1_1ExprHashMap.html">ExprHashMap</a>< bool > & </td> <td class="paramname"><em>defs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l02050">2050</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> <p>References <a class="el" href="theory__core_8cpp_source.html#l02033">containsRec()</a>.</p> <p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l02055">CVC3::TheoryCore::print()</a>.</p> </div> </div> <a class="anchor" id="aa90a34222cde2484b538f04c1564d0a9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool hasBoundVarRec </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l04192">4192</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.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#l00164">BOUND_VAR</a>, <a class="el" href="expr_8h_source.html#l01390">CVC3::Expr::getFlag()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01008">CVC3::Expr::isQuantifier()</a>, and <a class="el" href="expr_8h_source.html#l01395">CVC3::Expr::setFlag()</a>.</p> <p>Referenced by <a class="el" href="theory__core_8cpp_source.html#l04204">IF_DEBUG()</a>.</p> </div> </div> <a class="anchor" id="ab6d95f0854054aa5776599ae613043b6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">IF_DEBUG </td> <td>(</td> <td class="paramtype">static bool hasBoundVar(const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e){e.getEM() ->clearFlags();return <a class="el" href="theory__core_8cpp.html#aa90a34222cde2484b538f04c1564d0a9">hasBoundVarRec</a>(e);} </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l04204">4204</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> <p>References <a class="el" href="expr__manager_8h_source.html#l00272">CVC3::ExprManager::clearFlags()</a>, <a class="el" href="expr_8h_source.html#l01156">CVC3::Expr::getEM()</a>, and <a class="el" href="theory__core_8cpp_source.html#l04192">hasBoundVarRec()</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  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.2 </small></address> </body> </html>