<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CVC3: datatype_theorem_producer.cpp Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CVC3 <span id="projectnumber">2.4.1</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main 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 class="header"> <div class="headertitle"> <div class="title">datatype_theorem_producer.cpp</div> </div> </div> <div class="contents"> <a href="datatype__theorem__producer_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*****************************************************************************/</span><span class="comment"></span> <a name="l00002"></a>00002 <span class="comment">/*!</span> <a name="l00003"></a>00003 <span class="comment"> *\file datatype_theorem_producer.cpp</span> <a name="l00004"></a>00004 <span class="comment"> *\brief TRUSTED implementation of recursive datatype rules</span> <a name="l00005"></a>00005 <span class="comment"> *</span> <a name="l00006"></a>00006 <span class="comment"> * Author: Clark Barrett</span> <a name="l00007"></a>00007 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> * Created: Mon Jan 10 15:43:39 2005</span> <a name="l00009"></a>00009 <span class="comment"> *</span> <a name="l00010"></a>00010 <span class="comment"> * <hr></span> <a name="l00011"></a>00011 <span class="comment"> *</span> <a name="l00012"></a>00012 <span class="comment"> * License to use, copy, modify, sell and/or distribute this software</span> <a name="l00013"></a>00013 <span class="comment"> * and its documentation for any purpose is hereby granted without</span> <a name="l00014"></a>00014 <span class="comment"> * royalty, subject to the terms and conditions defined in the \ref</span> <a name="l00015"></a>00015 <span class="comment"> * LICENSE file provided with this distribution.</span> <a name="l00016"></a>00016 <span class="comment"> * </span> <a name="l00017"></a>00017 <span class="comment"> * <hr></span> <a name="l00018"></a>00018 <span class="comment"> * </span> <a name="l00019"></a>00019 <span class="comment"> */</span> <a name="l00020"></a>00020 <span class="comment">/*****************************************************************************/</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="comment">// This code is trusted</span> <a name="l00024"></a><a class="code" href="datatype__theorem__producer_8cpp.html#a8663c36bbf15bb5a0dcb01b97897fa95">00024</a> <span class="preprocessor">#define _CVC3_TRUSTED_</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="datatype__theorem__producer_8h.html" title="TRUSTED implementation of recursive datatype proof rules.">datatype_theorem_producer.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="theory__datatype_8h.html">theory_datatype.h</a>"</span> <a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="theory__core_8h.html">theory_core.h</a>"</span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="keyword">using namespace </span>std; <a name="l00033"></a>00033 <span class="keyword">using namespace </span>CVC3; <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="comment"></span> <a name="l00036"></a>00036 <span class="comment">////////////////////////////////////////////////////////////////////</span> <a name="l00037"></a>00037 <span class="comment"></span><span class="comment">// TheoryDatatype: trusted method for creating DatatypeTheoremProducer</span><span class="comment"></span> <a name="l00038"></a>00038 <span class="comment">////////////////////////////////////////////////////////////////////</span> <a name="l00039"></a>00039 <span class="comment"></span> <a name="l00040"></a>00040 <a name="l00041"></a>00041 <a class="code" href="classCVC3_1_1DatatypeProofRules.html">DatatypeProofRules</a>* <a name="l00042"></a><a class="code" href="classCVC3_1_1TheoryDatatype.html#a2c187b27067bc4d794cac14046216598">00042</a> TheoryDatatype::createProofRules() { <a name="l00043"></a>00043 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classCVC3_1_1DatatypeTheoremProducer.html">DatatypeTheoremProducer</a>(<span class="keyword">this</span>); <a name="l00044"></a>00044 } <a name="l00045"></a>00045 <a name="l00046"></a>00046 <span class="comment"></span> <a name="l00047"></a>00047 <span class="comment">////////////////////////////////////////////////////////////////////</span> <a name="l00048"></a>00048 <span class="comment"></span><span class="comment">// Proof rules</span><span class="comment"></span> <a name="l00049"></a>00049 <span class="comment">////////////////////////////////////////////////////////////////////</span> <a name="l00050"></a>00050 <span class="comment"></span> <a name="l00051"></a>00051 <a name="l00052"></a><a class="code" href="classCVC3_1_1DatatypeTheoremProducer.html#a7f854db0d043c723aa9d4436064dc4e1">00052</a> <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a> DatatypeTheoremProducer::dummyTheorem(<span class="keyword">const</span> <a class="code" href="classCVC3_1_1CDList.html">CDList<Theorem></a>& facts, <a name="l00053"></a>00053 <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& e) { <a name="l00054"></a>00054 vector<Theorem> thmVec; <a name="l00055"></a>00055 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i < facts.<a class="code" href="classCVC3_1_1CDList.html#adf92d0f391d73e7ac70da57db135af27">size</a>(); ++i) <a name="l00056"></a>00056 thmVec.push_back(facts[i]); <a name="l00057"></a>00057 <a class="code" href="classCVC3_1_1Assumptions.html">Assumptions</a> a(thmVec); <a name="l00058"></a>00058 <a class="code" href="classCVC3_1_1Proof.html">Proof</a> pf; <a name="l00059"></a>00059 <span class="keywordflow">return</span> newTheorem(e, a, pf); <a name="l00060"></a>00060 } <a name="l00061"></a>00061 <a name="l00062"></a>00062 <a name="l00063"></a><a class="code" href="classCVC3_1_1DatatypeTheoremProducer.html#af9bedcb0fceb3b92975fef0e052d5029">00063</a> <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a> DatatypeTheoremProducer::rewriteSelCons(<span class="keyword">const</span> <a class="code" href="classCVC3_1_1CDList.html">CDList<Theorem></a>& facts, <a name="l00064"></a>00064 <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& e) { <a name="l00065"></a>00065 <span class="keywordflow">if</span> (<a class="code" href="theorem__producer_8h.html#a74a97b789e1a9e6c016291960c657445">CHECK_PROOFS</a>) { <a name="l00066"></a>00066 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(<a class="code" href="namespaceCVC3.html#afdcf0b93fc0d1b03a5a14c4988443c7a">isSelector</a>(e), <span class="stringliteral">"Selector expected"</span>); <a name="l00067"></a>00067 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(d_theoryDatatype->canCollapse(e), <span class="stringliteral">"Expected canCollapse"</span>); <a name="l00068"></a>00068 } <a name="l00069"></a>00069 <a class="code" href="classCVC3_1_1Proof.html">Proof</a> pf; <a name="l00070"></a>00070 <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> t; <a name="l00071"></a>00071 <a name="l00072"></a>00072 pair<Expr, unsigned> selectorInfo = <a name="l00073"></a>00073 d_theoryDatatype->getSelectorInfo(e.<a class="code" href="group__ExprPkg.html#ga9f3328fe077191803a780cfd6566ff9b" title="Get expression of operator (for APPLY Exprs only)">getOpExpr</a>()); <a name="l00074"></a>00074 <span class="keywordflow">if</span> (<a class="code" href="namespaceCVC3.html#a91840d293c43120244ce5b5165bdacc4">isConstructor</a>(e[0]) && <a name="l00075"></a>00075 selectorInfo.first == <a class="code" href="namespaceCVC3.html#ac1eec763ed1ae5d0f52c4bed47d6fee5">getConstructor</a>(e[0])) { <a name="l00076"></a>00076 t = e[0][selectorInfo.second]; <a name="l00077"></a>00077 } <a name="l00078"></a>00078 <span class="keywordflow">else</span> { <a name="l00079"></a>00079 <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> selTypeExpr = e.<a class="code" href="group__ExprPkg.html#ga9f3328fe077191803a780cfd6566ff9b" title="Get expression of operator (for APPLY Exprs only)">getOpExpr</a>().<a class="code" href="group__ExprPkg.html#ga42929221eb172250697b72c28af6de07" title="Get the type. Recursively compute if necessary.">getType</a>().<a class="code" href="classCVC3_1_1Type.html#a0bc1eebf8dbd9d2880e1f18d7804e5c2">getExpr</a>(); <a name="l00080"></a>00080 <a class="code" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> type = <a class="code" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a>(selTypeExpr[selTypeExpr.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-1]); <a name="l00081"></a>00081 t = d_theoryDatatype->getConstant(type); <a name="l00082"></a>00082 } <a name="l00083"></a>00083 <a name="l00084"></a>00084 <span class="keywordflow">if</span> (withProof()) pf = newPf(<span class="stringliteral">"rewriteSelCons"</span>, e, t); <a name="l00085"></a>00085 <a name="l00086"></a>00086 <span class="keywordflow">if</span> (!<a class="code" href="namespaceCVC3.html#a91840d293c43120244ce5b5165bdacc4">isConstructor</a>(e[0])) { <a name="l00087"></a>00087 vector<Theorem> thmVec; <a name="l00088"></a>00088 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i < facts.<a class="code" href="classCVC3_1_1CDList.html#adf92d0f391d73e7ac70da57db135af27">size</a>(); ++i) <a name="l00089"></a>00089 thmVec.push_back(facts[i]); <a name="l00090"></a>00090 <a class="code" href="classCVC3_1_1Assumptions.html">Assumptions</a> a(thmVec); <a name="l00091"></a>00091 <span class="keywordflow">return</span> newRWTheorem(e, t, a, pf); <a name="l00092"></a>00092 } <a name="l00093"></a>00093 <span class="keywordflow">else</span> { <a name="l00094"></a>00094 <span class="keywordflow">return</span> newRWTheorem(e, t, Assumptions::emptyAssump(), pf); <a name="l00095"></a>00095 } <a name="l00096"></a>00096 } <a name="l00097"></a>00097 <a name="l00098"></a>00098 <a name="l00099"></a><a class="code" href="classCVC3_1_1DatatypeTheoremProducer.html#a789906697a69645f117c5d4cab0242de">00099</a> <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a> DatatypeTheoremProducer::rewriteTestCons(<span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& e) { <a name="l00100"></a>00100 <span class="keywordflow">if</span> (<a class="code" href="theorem__producer_8h.html#a74a97b789e1a9e6c016291960c657445">CHECK_PROOFS</a>) { <a name="l00101"></a>00101 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(<a class="code" href="namespaceCVC3.html#a8297278831bf83882f7c6a1e3c84fa98">isTester</a>(e), <span class="stringliteral">"Tester expected"</span>); <a name="l00102"></a>00102 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(<a class="code" href="namespaceCVC3.html#a91840d293c43120244ce5b5165bdacc4">isConstructor</a>(e[0]), <span class="stringliteral">"Expected Test(Cons)"</span>); <a name="l00103"></a>00103 } <a name="l00104"></a>00104 <a class="code" href="classCVC3_1_1Proof.html">Proof</a> pf; <a name="l00105"></a>00105 <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> t; <a name="l00106"></a>00106 <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> cons = d_theoryDatatype->getConsForTester(e.<a class="code" href="group__ExprPkg.html#ga9f3328fe077191803a780cfd6566ff9b" title="Get expression of operator (for APPLY Exprs only)">getOpExpr</a>()); <a name="l00107"></a>00107 <span class="keywordflow">if</span> (cons == <a class="code" href="namespaceCVC3.html#ac1eec763ed1ae5d0f52c4bed47d6fee5">getConstructor</a>(e[0])) { <a name="l00108"></a>00108 t = d_theoryDatatype->trueExpr(); <a name="l00109"></a>00109 } <a name="l00110"></a>00110 <span class="keywordflow">else</span> { <a name="l00111"></a>00111 t = d_theoryDatatype->falseExpr(); <a name="l00112"></a>00112 } <a name="l00113"></a>00113 <span class="keywordflow">if</span> (withProof()) pf = newPf(<span class="stringliteral">"rewriteTestCons"</span>, e, t); <a name="l00114"></a>00114 <span class="keywordflow">return</span> newRWTheorem(e, t, Assumptions::emptyAssump(), pf); <a name="l00115"></a>00115 } <a name="l00116"></a>00116 <a name="l00117"></a>00117 <a name="l00118"></a><a class="code" href="classCVC3_1_1DatatypeTheoremProducer.html#a687356f66679a7fb1a0094505b1ece0e">00118</a> <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a> DatatypeTheoremProducer::decompose(<span class="keyword">const</span> <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a>& e) { <a name="l00119"></a>00119 <span class="keywordflow">if</span> (<a class="code" href="theorem__producer_8h.html#a74a97b789e1a9e6c016291960c657445">CHECK_PROOFS</a>) { <a name="l00120"></a>00120 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(e.<a class="code" href="classCVC3_1_1Theorem.html#a362c1d70e03803d804bbe300e5f6dc87">isRewrite</a>(), <span class="stringliteral">"decompose: expected rewrite"</span>); <a name="l00121"></a>00121 } <a name="l00122"></a>00122 <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& lhs = e.<a class="code" href="classCVC3_1_1Theorem.html#a206c04f39fbbcacef2337148675553f4">getLHS</a>(); <a name="l00123"></a>00123 <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& rhs = e.<a class="code" href="classCVC3_1_1Theorem.html#a97d957fcbf9094480851b1d2e5d3729f">getRHS</a>(); <a name="l00124"></a>00124 <span class="keywordflow">if</span>(<a class="code" href="theorem__producer_8h.html#a74a97b789e1a9e6c016291960c657445">CHECK_PROOFS</a>) { <a name="l00125"></a>00125 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(<a class="code" href="namespaceCVC3.html#a91840d293c43120244ce5b5165bdacc4">isConstructor</a>(lhs) && <a class="code" href="namespaceCVC3.html#a91840d293c43120244ce5b5165bdacc4">isConstructor</a>(rhs) && <a name="l00126"></a>00126 lhs.<a class="code" href="group__ExprPkg.html#ga1d6a6b4a9ce81b0dd8fd74870ff4284b">isApply</a>() && rhs.<a class="code" href="group__ExprPkg.html#ga1d6a6b4a9ce81b0dd8fd74870ff4284b">isApply</a>() && <a name="l00127"></a>00127 lhs.<a class="code" href="group__ExprPkg.html#ga9f3328fe077191803a780cfd6566ff9b" title="Get expression of operator (for APPLY Exprs only)">getOpExpr</a>() == rhs.<a class="code" href="group__ExprPkg.html#ga9f3328fe077191803a780cfd6566ff9b" title="Get expression of operator (for APPLY Exprs only)">getOpExpr</a>() && <a name="l00128"></a>00128 lhs.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>() > 0 && lhs.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>() == rhs.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>(), <a name="l00129"></a>00129 <span class="stringliteral">"decompose precondition violated"</span>); <a name="l00130"></a>00130 } <a name="l00131"></a>00131 <a class="code" href="classCVC3_1_1Assumptions.html">Assumptions</a> a(e); <a name="l00132"></a>00132 <a class="code" href="classCVC3_1_1Proof.html">Proof</a> pf; <a name="l00133"></a>00133 <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> res = lhs[0].<a class="code" href="group__ExprPkg.html#gacb48495ca445c895f95d0c3c1ae2070b">eqExpr</a>(rhs[0]); <a name="l00134"></a>00134 <span class="keywordflow">if</span> (lhs.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>() > 1) { <a name="l00135"></a>00135 vector<Expr> args; <a name="l00136"></a>00136 args.push_back(res); <a name="l00137"></a>00137 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 1; i < lhs.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>(); ++i) { <a name="l00138"></a>00138 args.push_back(lhs[i].eqExpr(rhs[i])); <a name="l00139"></a>00139 } <a name="l00140"></a>00140 res = <a class="code" href="namespaceCVC3.html#ad4258158bba138eb54b9080af7f8223a">andExpr</a>(args); <a name="l00141"></a>00141 } <a name="l00142"></a>00142 <span class="keywordflow">if</span> (withProof()) pf = newPf(<span class="stringliteral">"decompose"</span>, e.<a class="code" href="classCVC3_1_1Theorem.html#a2d8352c07a756c3837683a27a1e659ef">getProof</a>()); <a name="l00143"></a>00143 <span class="keywordflow">return</span> newTheorem(res, a, pf); <a name="l00144"></a>00144 } <a name="l00145"></a>00145 <a name="l00146"></a>00146 <a name="l00147"></a><a class="code" href="classCVC3_1_1DatatypeTheoremProducer.html#a4ea6f48ee0df1086af985dad4e330fd5">00147</a> <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a> DatatypeTheoremProducer::noCycle(<span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& e) { <a name="l00148"></a>00148 <span class="keywordflow">if</span> (<a class="code" href="theorem__producer_8h.html#a74a97b789e1a9e6c016291960c657445">CHECK_PROOFS</a>) { <a name="l00149"></a>00149 <a class="code" href="theorem__producer_8h.html#a03dbe872f723d32fd975528f811d646e">CHECK_SOUND</a>(<a class="code" href="namespaceCVC3.html#a91840d293c43120244ce5b5165bdacc4">isConstructor</a>(e) && e.<a class="code" href="group__ExprPkg.html#ga1d6a6b4a9ce81b0dd8fd74870ff4284b">isApply</a>() && e.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>() > 0, <a name="l00150"></a>00150 <span class="stringliteral">"noCycle: expected constructor with children"</span>); <a name="l00151"></a>00151 } <a name="l00152"></a>00152 <a class="code" href="classCVC3_1_1Proof.html">Proof</a> pf; <a name="l00153"></a>00153 <a name="l00154"></a>00154 <a class="code" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> t = e.<a class="code" href="group__ExprPkg.html#ga9f3328fe077191803a780cfd6566ff9b" title="Get expression of operator (for APPLY Exprs only)">getOpExpr</a>().<a class="code" href="group__ExprPkg.html#ga42929221eb172250697b72c28af6de07" title="Get the type. Recursively compute if necessary.">getType</a>(); <a name="l00155"></a>00155 t = t[t.<a class="code" href="classCVC3_1_1Type.html#abd7ab3fcb112e27aa05da8981b56e02c">arity</a>()-1]; <a name="l00156"></a>00156 <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Op.html">Op</a>& reach = d_theoryDatatype->getReachablePredicate(t); <a name="l00157"></a>00157 <a name="l00158"></a>00158 vector<Expr> args; <a name="l00159"></a>00159 args.push_back(!<a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>(reach, e, e)); <a name="l00160"></a>00160 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < e.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>(); ++i) { <a name="l00161"></a>00161 <span class="keywordflow">if</span> (<a class="code" href="namespaceCVC3.html#a88890c6bdae30ff688fd2ea5bd799676">isDatatype</a>(e[i].getType()) && <a name="l00162"></a>00162 d_theoryDatatype->getReachablePredicate(e[i].getType()) == reach) <a name="l00163"></a>00163 args.push_back(<a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>(reach, e, e[i])); <a name="l00164"></a>00164 } <a name="l00165"></a>00165 <a name="l00166"></a>00166 <span class="keywordflow">if</span> (withProof()) pf = newPf(<span class="stringliteral">"noCycle"</span>, e); <a name="l00167"></a>00167 <span class="keywordflow">return</span> newTheorem(<a class="code" href="namespaceCVC3.html#ad4258158bba138eb54b9080af7f8223a">andExpr</a>(args), Assumptions::emptyAssump(), pf); <a name="l00168"></a>00168 } </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>