Sophie

Sophie

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

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CVC3: search.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&#160;<span id="projectnumber">2.4.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">search.cpp</div>  </div>
</div>
<div class="contents">
<a href="search_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 search.cpp</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Author: Clark Barrett, Vijay Ganesh (CNF Converter)</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * Created: Fri Jan 17 14:19:54 2003</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * &lt;hr&gt;</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * License to use, copy, modify, sell and/or distribute this software</span>
<a name="l00012"></a>00012 <span class="comment"> * and its documentation for any purpose is hereby granted without</span>
<a name="l00013"></a>00013 <span class="comment"> * royalty, subject to the terms and conditions defined in the \ref</span>
<a name="l00014"></a>00014 <span class="comment"> * LICENSE file provided with this distribution.</span>
<a name="l00015"></a>00015 <span class="comment"> *</span>
<a name="l00016"></a>00016 <span class="comment"> * &lt;hr&gt;</span>
<a name="l00017"></a>00017 <span class="comment"> *</span>
<a name="l00018"></a>00018 <span class="comment"> */</span>
<a name="l00019"></a>00019 <span class="comment">/*****************************************************************************/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="search_8h.html" title="Abstract API to the proof search engine.">search.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="search__rules_8h.html" title="Abstract proof rules interface to the simple search engine.">search_rules.h</a>&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="theory__core_8h.html">theory_core.h</a>&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="eval__exception_8h.html">eval_exception.h</a>&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="theorem__manager_8h.html">theorem_manager.h</a>&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="command__line__flags_8h.html">command_line_flags.h</a>&quot;</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keyword">using namespace </span>CVC3;
<a name="l00031"></a>00031 <span class="keyword">using namespace </span>std;
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="comment"></span>
<a name="l00034"></a>00034 <span class="comment">//! Constructor</span>
<a name="l00035"></a><a class="code" href="group__SE.html#ga2763859e03e0a91877d91e20a3d26a7a">00035</a> <span class="comment"></span><a class="code" href="group__SE.html#ga2763859e03e0a91877d91e20a3d26a7a" title="Constructor.">SearchEngine::SearchEngine</a>(<a class="code" href="classCVC3_1_1TheoryCore.html" title="This theory handles the built-in logical connectives plus equality. It also handles the registration ...">TheoryCore</a>* core)
<a name="l00036"></a>00036   : d_core(core),
<a name="l00037"></a>00037     d_commonRules(core-&gt;getTM()-&gt;getRules())
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 
<a name="l00040"></a>00040   <span class="keyword">const</span> <a class="code" href="classCVC3_1_1CLFlags.html">CLFlags</a>&amp; flg  = (core-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#af3077cff0601b8ae28e420ef5ce2ea37">getTM</a>()-&gt;<a class="code" href="classCVC3_1_1TheoremManager.html#aac1a2b8c8dbec2d6e92c08fb0eaf2ec7">getFlags</a>());
<a name="l00041"></a>00041   <span class="keywordflow">if</span> (flg[<span class="stringliteral">&quot;lfsc-mode&quot;</span>].getInt()!= 0){
<a name="l00042"></a>00042     <a class="code" href="group__SE.html#ga879b68112123e2b4ae7175d85a03bfec" title="Proof rules for the search engine.">d_rules</a> = <a class="code" href="group__SE.html#ga11dd236b3ba4ca5faad7563dfe6f3d72" title="Create the trusted component.">createRules</a>(<span class="keyword">this</span>);
<a name="l00043"></a>00043 
<a name="l00044"></a>00044   }
<a name="l00045"></a>00045   <span class="keywordflow">else</span>
<a name="l00046"></a>00046     <a class="code" href="group__SE.html#ga879b68112123e2b4ae7175d85a03bfec" title="Proof rules for the search engine.">d_rules</a> = <a class="code" href="group__SE.html#ga11dd236b3ba4ca5faad7563dfe6f3d72" title="Create the trusted component.">createRules</a>();
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 }
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="comment"></span>
<a name="l00051"></a>00051 <span class="comment">//! Destructor</span>
<a name="l00052"></a><a class="code" href="group__SE.html#ga863ab87efd742b9a8f20b87774ab570f">00052</a> <span class="comment"></span><a class="code" href="group__SE.html#ga863ab87efd742b9a8f20b87774ab570f" title="Destructor.">SearchEngine::~SearchEngine</a>()
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054   <span class="keyword">delete</span> <a class="code" href="group__SE.html#ga879b68112123e2b4ae7175d85a03bfec" title="Proof rules for the search engine.">d_rules</a>;
<a name="l00055"></a>00055 }
<a name="l00056"></a>00056 
<a name="l00057"></a><a class="code" href="group__SE.html#ga44f1c2fefc202249cd2cda55d7712bdf">00057</a> <span class="keywordtype">bool</span> <a class="code" href="group__SE.html#ga44f1c2fefc202249cd2cda55d7712bdf" title="Try to build a concrete Model (assign values to variables), should only be called after a query which...">SearchEngine::tryModelGeneration</a>(<a class="code" href="classCVC3_1_1Theorem.html">Theorem</a>&amp; thm) {
<a name="l00058"></a>00058 
<a name="l00059"></a>00059   <span class="keywordflow">if</span>(!<a class="code" href="group__SE.html#ga9757a6fd272ea550d0e910d20bd7d00b" title="Returns the result of the most recent valid theorem.">lastThm</a>().isNull()) <span class="keywordflow">throw</span> <a class="code" href="classCVC3_1_1EvalException.html">EvalException</a>(<span class="stringliteral">&quot;Method tryModelGenereation() (or command COUNTERMODEL)\n must be called only after failed QUERY&quot;</span>);
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   <span class="comment">// Save the scope level, to recover on errors</span>
<a name="l00062"></a>00062   <a class="code" href="group__SE.html#gadea197447ea40330f3b0739aa944c800" title="Push a checkpoint.">push</a>();
<a name="l00063"></a>00063   <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a21441c74132e9fcfb53d2b33bd8c622a" title="Split compound vars into basic type variables.">collectBasicVars</a>();
<a name="l00064"></a>00064   <span class="keywordtype">bool</span> success = <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a6822c229c357d1afcda22bc073d45142" title="Calls for other theories to add facts to refine a coutnerexample.">refineCounterExample</a>(thm);
<a name="l00065"></a>00065   <span class="keywordflow">if</span> (!success) {
<a name="l00066"></a>00066     <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00067"></a>00067     <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00068"></a>00068   }
<a name="l00069"></a>00069 
<a name="l00070"></a>00070   <a class="code" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498b">QueryResult</a> qres = <a class="code" href="group__SE.html#ga34a9133f5342719526863d24cd1a0fcc" title="Checks the validity of a formula in the current context.">checkValid</a>(<a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1Theory.html#a0bbf7c5b6079fc99a0f759e5809fe6f5" title="Return FALSE Expr.">falseExpr</a>(), thm);
<a name="l00071"></a>00071   <span class="keywordflow">if</span>(qres == <a class="code" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498ba24f8f4860dbe6fd65883a9d7cbd2f576">VALID</a>) {
<a name="l00072"></a>00072     <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00073"></a>00073     <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00074"></a>00074   }
<a name="l00075"></a>00075 
<a name="l00076"></a>00076   success = <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a6b5123c9d923a076385aa83a0fa37cf5" title="Calls theory specific computeModel, results are placed in map.">buildModel</a>(thm);
<a name="l00077"></a>00077   <span class="keywordflow">if</span> (!success) {
<a name="l00078"></a>00078       <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00079"></a>00079       <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00080"></a>00080   }
<a name="l00081"></a>00081 
<a name="l00082"></a>00082   qres = <a class="code" href="group__SE.html#ga34a9133f5342719526863d24cd1a0fcc" title="Checks the validity of a formula in the current context.">checkValid</a>(<a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1Theory.html#a0bbf7c5b6079fc99a0f759e5809fe6f5" title="Return FALSE Expr.">falseExpr</a>(), thm);
<a name="l00083"></a>00083   <span class="keywordflow">if</span>(qres == <a class="code" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498ba24f8f4860dbe6fd65883a9d7cbd2f576">VALID</a>) {
<a name="l00084"></a>00084       <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00085"></a>00085       <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00086"></a>00086   }
<a name="l00087"></a>00087 
<a name="l00088"></a>00088   <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090 
<a name="l00091"></a><a class="code" href="group__SE.html#gae2a1cd46200160ac5855d7cd5f65517c">00091</a> <span class="keywordtype">void</span> <a class="code" href="group__SE.html#gae2a1cd46200160ac5855d7cd5f65517c" title="Build a concrete Model (assign values to variables), should only be called after a query which return...">SearchEngine::getConcreteModel</a>(<a class="code" href="classCVC3_1_1ExprMap.html">ExprMap&lt;Expr&gt;</a>&amp; m)
<a name="l00092"></a>00092 {
<a name="l00093"></a>00093   <a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba7fa27e82c6c4f69434225ed81e5d151e">TRACE</a>(<span class="stringliteral">&quot;model&quot;</span> ,  <span class="stringliteral">&quot;Building a concrete model&quot;</span>, <span class="stringliteral">&quot;&quot;</span>, <span class="stringliteral">&quot;{&quot;</span>);
<a name="l00094"></a>00094   <span class="keywordflow">if</span>(!<a class="code" href="group__SE.html#ga9757a6fd272ea550d0e910d20bd7d00b" title="Returns the result of the most recent valid theorem.">lastThm</a>().isNull())
<a name="l00095"></a>00095     <span class="keywordflow">throw</span> <a class="code" href="classCVC3_1_1EvalException.html">EvalException</a>
<a name="l00096"></a>00096       (<span class="stringliteral">&quot;Method getConcreteModel() (or command COUNTERMODEL)\n&quot;</span>
<a name="l00097"></a>00097        <span class="stringliteral">&quot; must be called only after failed QUERY&quot;</span>);
<a name="l00098"></a>00098   <span class="comment">// Save the scope level, to recover on errors</span>
<a name="l00099"></a>00099   <a class="code" href="group__SE.html#gadea197447ea40330f3b0739aa944c800" title="Push a checkpoint.">push</a>();
<a name="l00100"></a>00100   <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a21441c74132e9fcfb53d2b33bd8c622a" title="Split compound vars into basic type variables.">collectBasicVars</a>();
<a name="l00101"></a>00101   <span class="keywordflow">try</span> {
<a name="l00102"></a>00102     <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a6822c229c357d1afcda22bc073d45142" title="Calls for other theories to add facts to refine a coutnerexample.">refineCounterExample</a>();
<a name="l00103"></a>00103   } <span class="keywordflow">catch</span>(<a class="code" href="classCVC3_1_1Exception.html">Exception</a>&amp; e) {
<a name="l00104"></a>00104     <span class="comment">// Clean up and re-throw the exception</span>
<a name="l00105"></a>00105     <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00106"></a>00106     <span class="keywordflow">throw</span> e;
<a name="l00107"></a>00107   }
<a name="l00108"></a>00108   <a class="code" href="classCVC3_1_1Theorem.html">Theorem</a> thm;
<a name="l00109"></a>00109   <a class="code" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498b">QueryResult</a> qres = <a class="code" href="group__SE.html#ga34a9133f5342719526863d24cd1a0fcc" title="Checks the validity of a formula in the current context.">checkValid</a>(<a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1Theory.html#a0bbf7c5b6079fc99a0f759e5809fe6f5" title="Return FALSE Expr.">falseExpr</a>(), thm);
<a name="l00110"></a>00110   <span class="keywordflow">if</span>(qres == <a class="code" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498ba24f8f4860dbe6fd65883a9d7cbd2f576">VALID</a>) {
<a name="l00111"></a>00111     vector&lt;Expr&gt; assump;
<a name="l00112"></a>00112     <a class="code" href="group__SE.html#ga3167148206cca25a3434cb8bb15c69fe" title="Get all assumptions made in this and all previous contexts.">getAssumptions</a>(assump);
<a name="l00113"></a>00113     <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a5c7d2aa7db5db78829b8558d28560ddf" title="Get the proof of inconsistency for the current context.">inconsistentThm</a>().<a class="code" href="classCVC3_1_1Theorem.html#a524b4dafa4fb8f14742baa856612d92b">getLeafAssumptions</a>(assump);
<a name="l00114"></a>00114     <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> a = <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>(<a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba60238049e233c8d68fc58e4d5ceb55e2">RAW_LIST</a>, assump, <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1Theory.html#abc2e30308c9e1f3cf752cfe8d939df1e" title="Access to ExprManager.">getEM</a>());
<a name="l00115"></a>00115     <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00116"></a>00116     <span class="keywordflow">throw</span> <a class="code" href="classCVC3_1_1Exception.html">Exception</a>
<a name="l00117"></a>00117       (<span class="stringliteral">&quot;Model Creation failed after refining counterexample\n&quot;</span>
<a name="l00118"></a>00118        <span class="stringliteral">&quot;due to the following assumptions:\n &quot;</span>
<a name="l00119"></a>00119        +a.<a class="code" href="group__ExprPkg.html#gaf3028bb1619f8cc69b66ec712e1adb54" title="Print the expression to a string.">toString</a>()
<a name="l00120"></a>00120        +<span class="stringliteral">&quot;\n\nYou might be using an incomplete fragment of the theory&quot;</span>);
<a name="l00121"></a>00121   }
<a name="l00122"></a>00122 <span class="comment">//   else if (qres != INVALID) {</span>
<a name="l00123"></a>00123 <span class="comment">//     throw EvalException</span>
<a name="l00124"></a>00124 <span class="comment">//       (&quot;Unable to build concrete model&quot;);</span>
<a name="l00125"></a>00125 <span class="comment">//   }</span>
<a name="l00126"></a>00126   <span class="keywordflow">try</span> {
<a name="l00127"></a>00127     <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1TheoryCore.html#a6b5123c9d923a076385aa83a0fa37cf5" title="Calls theory specific computeModel, results are placed in map.">buildModel</a>(m);
<a name="l00128"></a>00128   } <span class="keywordflow">catch</span>(<a class="code" href="classCVC3_1_1Exception.html">Exception</a>&amp; e) {
<a name="l00129"></a>00129     <span class="comment">// Clean up and re-throw the exception</span>
<a name="l00130"></a>00130     <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00131"></a>00131     <span class="keywordflow">throw</span> e;
<a name="l00132"></a>00132   }
<a name="l00133"></a>00133   qres = <a class="code" href="group__SE.html#ga34a9133f5342719526863d24cd1a0fcc" title="Checks the validity of a formula in the current context.">checkValid</a>(<a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1Theory.html#a0bbf7c5b6079fc99a0f759e5809fe6f5" title="Return FALSE Expr.">falseExpr</a>(), thm);
<a name="l00134"></a>00134   <span class="keywordflow">if</span>(qres == <a class="code" href="namespaceCVC3.html#a060d21b3207cc3471e24f8dbcff3498ba24f8f4860dbe6fd65883a9d7cbd2f576">VALID</a>) {
<a name="l00135"></a>00135     vector&lt;Expr&gt; assump;
<a name="l00136"></a>00136     <a class="code" href="group__SE.html#ga3167148206cca25a3434cb8bb15c69fe" title="Get all assumptions made in this and all previous contexts.">getAssumptions</a>(assump);
<a name="l00137"></a>00137     <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> a = <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>(<a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba60238049e233c8d68fc58e4d5ceb55e2">RAW_LIST</a>, assump, <a class="code" href="group__SE.html#ga3772c6af7eac91b9ed7fc278edf5ef90" title="Access to theory reasoning.">d_core</a>-&gt;<a class="code" href="classCVC3_1_1Theory.html#abc2e30308c9e1f3cf752cfe8d939df1e" title="Access to ExprManager.">getEM</a>());
<a name="l00138"></a>00138     <a class="code" href="group__SE.html#ga2c7fa9d3a42a543ff23891110ad673e5" title="Restore last checkpoint.">pop</a>();
<a name="l00139"></a>00139     <span class="keywordflow">throw</span> <a class="code" href="classCVC3_1_1Exception.html">Exception</a>
<a name="l00140"></a>00140       (<span class="stringliteral">&quot;Model Creation failed due to the following assumptions:\n&quot;</span>
<a name="l00141"></a>00141        +a.<a class="code" href="group__ExprPkg.html#gaf3028bb1619f8cc69b66ec712e1adb54" title="Print the expression to a string.">toString</a>()
<a name="l00142"></a>00142        +<span class="stringliteral">&quot;\n\nYou might be using an incomplete fragment of the theory&quot;</span>);
<a name="l00143"></a>00143   }
<a name="l00144"></a>00144 <span class="comment">//   else if (qres != INVALID) {</span>
<a name="l00145"></a>00145 <span class="comment">//     throw EvalException</span>
<a name="l00146"></a>00146 <span class="comment">//       (&quot;Unable to build concrete model&quot;);</span>
<a name="l00147"></a>00147 <span class="comment">//   }</span>
<a name="l00148"></a>00148   <a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba7fa27e82c6c4f69434225ed81e5d151e">TRACE</a>(<span class="stringliteral">&quot;model&quot;</span> ,  <span class="stringliteral">&quot;Building a concrete model&quot;</span>, <span class="stringliteral">&quot;&quot;</span>, <span class="stringliteral">&quot;}&quot;</span>);
<a name="l00149"></a>00149 }
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>