Sophie

Sophie

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

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: LFSCProof.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">LFSCProof.cpp</div>  </div>
</div>
<div class="contents">
<a href="LFSCProof_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &quot;<a class="code" href="LFSCProof_8h.html">LFSCProof.h</a>&quot;</span>
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="preprocessor">#include &quot;<a class="code" href="LFSCBoolProof_8h.html">LFSCBoolProof.h</a>&quot;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;<a class="code" href="LFSCUtilProof_8h.html">LFSCUtilProof.h</a>&quot;</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="keywordtype">int</span> <a class="code" href="classLFSCProof.html#a3614c6ce131c1d8a0fd2c18610659117">LFSCProof::pf_counter</a> = 0;
<a name="l00007"></a>00007 std::map&lt; LFSCProof*, int &gt; <a class="code" href="classLFSCProof.html#a5f40eaf9f09aa0607f5063e460de1552">LFSCProof::lambdaMap</a>;
<a name="l00008"></a>00008 std::map&lt; LFSCProof*, LFSCProof* &gt; <a class="code" href="classLFSCProof.html#ac8fd8287bbc4d4f0a8f8f456b6dca0a4">LFSCProof::lambdaPrintMap</a>;
<a name="l00009"></a>00009 <span class="keywordtype">int</span> <a class="code" href="classLFSCProof.html#a6ce5b89de4d7cb2731e503272d746199">LFSCProof::lambdaCounter</a> = 1;
<a name="l00010"></a>00010 
<a name="l00011"></a><a class="code" href="classLFSCProof.html#a08258b1a59261c0dd0edcd775a883cfc">00011</a> <a class="code" href="classLFSCProof.html#a08258b1a59261c0dd0edcd775a883cfc">LFSCProof::LFSCProof</a>()
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013   <a class="code" href="classLFSCProof.html#a3614c6ce131c1d8a0fd2c18610659117">pf_counter</a>++;
<a name="l00014"></a>00014   <a class="code" href="classLFSCProof.html#ae133e339354b3013e30d2c3c1fb5e26e">printCounter</a> = 0;
<a name="l00015"></a>00015   <a class="code" href="classLFSCProof.html#a4e612043c9a9fbf3410d56cd2ff78b5e">strLen</a> = -1;
<a name="l00016"></a>00016   <a class="code" href="classLFSCProof.html#a23e3f4b905b79583835415f70576fc76">rplProof</a> = NULL;
<a name="l00017"></a>00017   <a class="code" href="classLFSCProof.html#addc61701b4bbfb7119df3b00667e808a">chOp</a> = -1;
<a name="l00018"></a>00018   <a class="code" href="classLFSCProof.html#acc878f584c9d1c1c59737870fd006e0b">brComputed</a> = <span class="keyword">false</span>;
<a name="l00019"></a>00019   <a class="code" href="classLFSCProof.html#a425fcc2ea8b8801dbd7780ddcc20d624">assumeVar</a> = -1;
<a name="l00020"></a>00020   <a class="code" href="classLFSCProof.html#a3080390335b3e2338814bbfed11356f6">assumeVarUsed</a> = -1;
<a name="l00021"></a>00021 }
<a name="l00022"></a>00022 
<a name="l00023"></a><a class="code" href="classLFSCProof.html#aed472da83c57ed8a1ac6d2a6bc34eeba">00023</a> <span class="keywordtype">void</span> <a class="code" href="classLFSCProof.html#aed472da83c57ed8a1ac6d2a6bc34eeba">LFSCProof::print</a>( std::ostream&amp; s, <span class="keywordtype">int</span> ind ){
<a name="l00024"></a>00024   <a class="code" href="classLFSCProof.html">LFSCProof</a>* p = <a class="code" href="classLFSCProof.html#a23e3f4b905b79583835415f70576fc76">rplProof</a> ? <a class="code" href="classLFSCProof.html#a23e3f4b905b79583835415f70576fc76">rplProof</a> : <a class="code" href="classLFSCProof.html#ac8fd8287bbc4d4f0a8f8f456b6dca0a4">lambdaPrintMap</a>[<span class="keyword">this</span>];
<a name="l00025"></a>00025   <span class="keywordflow">if</span>( p ){
<a name="l00026"></a>00026     p-&gt;<a class="code" href="classLFSCProof.html#aed472da83c57ed8a1ac6d2a6bc34eeba">print</a>( s, ind );
<a name="l00027"></a>00027   }<span class="keywordflow">else</span>{
<a name="l00028"></a>00028     <span class="keywordflow">if</span>( <a class="code" href="classLFSCProof.html#a5f40eaf9f09aa0607f5063e460de1552">lambdaMap</a>.find( <span class="keyword">this</span> )!=<a class="code" href="classLFSCProof.html#a5f40eaf9f09aa0607f5063e460de1552">lambdaMap</a>.end() &amp;&amp; <a class="code" href="classLFSCProof.html#ae133e339354b3013e30d2c3c1fb5e26e">printCounter</a>&gt;0 ){
<a name="l00029"></a>00029       <a class="code" href="classObj.html#a73061d6f7bd3d1bbed9832e93c9a3064">print_warning</a>( <span class="stringliteral">&quot;Warning: printing out lambda abstracted proof more than once&quot;</span>);
<a name="l00030"></a>00030 <span class="preprocessor">#ifdef IGNORE_PRINT_MULTI_LAMBDA</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>      <span class="keywordflow">return</span>;
<a name="l00032"></a>00032 <span class="preprocessor">#endif</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>    }
<a name="l00034"></a>00034     <span class="comment">//if( printCounter&gt;0 ){</span>
<a name="l00035"></a>00035     <span class="comment">//  return;</span>
<a name="l00036"></a>00036     <span class="comment">//}</span>
<a name="l00037"></a>00037     <a class="code" href="classLFSCProof.html#ae133e339354b3013e30d2c3c1fb5e26e">printCounter</a>++;
<a name="l00038"></a>00038     <a class="code" href="classObj.html#af049b39719cf47ab5ecd55ba108b505d">indent</a>( s, ind );
<a name="l00039"></a>00039     <a class="code" href="classLFSCProof.html#a9ad1d738b10d731108f63b9d86796c00">print_pf</a>( s, ind );
<a name="l00040"></a>00040   }
<a name="l00041"></a>00041 }
<a name="l00042"></a>00042 
<a name="l00043"></a><a class="code" href="classLFSCProof.html#ae135f7109d7cc2a9185a48487840b683">00043</a> <span class="keywordtype">void</span> <a class="code" href="classLFSCProof.html#ae135f7109d7cc2a9185a48487840b683">LFSCProof::print_structure</a>( std::ostream&amp; s, <span class="keywordtype">int</span> ind ){
<a name="l00044"></a>00044   <a class="code" href="classLFSCProof.html">LFSCProof</a>* p = <a class="code" href="classLFSCProof.html#a23e3f4b905b79583835415f70576fc76">rplProof</a> ? <a class="code" href="classLFSCProof.html#a23e3f4b905b79583835415f70576fc76">rplProof</a> : <a class="code" href="classLFSCProof.html#ac8fd8287bbc4d4f0a8f8f456b6dca0a4">lambdaPrintMap</a>[<span class="keyword">this</span>];
<a name="l00045"></a>00045   <span class="keywordflow">if</span>( p ){
<a name="l00046"></a>00046     p-&gt;<a class="code" href="classLFSCProof.html#aed472da83c57ed8a1ac6d2a6bc34eeba">print</a>( s, ind );
<a name="l00047"></a>00047   }<span class="keywordflow">else</span>{
<a name="l00048"></a>00048     <a class="code" href="classObj.html#af049b39719cf47ab5ecd55ba108b505d">indent</a>( s, ind );
<a name="l00049"></a>00049     <span class="keywordflow">if</span>( <a class="code" href="classLFSCProof.html#a5f40eaf9f09aa0607f5063e460de1552">lambdaMap</a>.find( <span class="keyword">this</span> )!=<a class="code" href="classLFSCProof.html#a5f40eaf9f09aa0607f5063e460de1552">lambdaMap</a>.end() &amp;&amp; <a class="code" href="classLFSCProof.html#ae133e339354b3013e30d2c3c1fb5e26e">printCounter</a>&gt;0 ){
<a name="l00050"></a>00050       <span class="comment">//just a warning, print it out in ose</span>
<a name="l00051"></a>00051       <a class="code" href="classObj.html#a73061d6f7bd3d1bbed9832e93c9a3064">print_warning</a>( <span class="stringliteral">&quot;ERROR: printing out lambda abstracted proof more than once&quot;</span> );
<a name="l00052"></a>00052 <span class="preprocessor">#ifdef IGNORE_PRINT_MULTI_LAMBDA</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>      <span class="keywordflow">return</span>;
<a name="l00054"></a>00054 <span class="preprocessor">#endif</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span>    }
<a name="l00056"></a>00056     <a class="code" href="classLFSCProof.html#ae133e339354b3013e30d2c3c1fb5e26e">printCounter</a>++;
<a name="l00057"></a>00057     <a class="code" href="classLFSCProof.html#a989d58a3910834809ddbfc89c04f6d87">print_struct</a>( s, ind );
<a name="l00058"></a>00058   }
<a name="l00059"></a>00059 }
<a name="l00060"></a>00060 
<a name="l00061"></a><a class="code" href="classLFSCProof.html#ada9a53bcd04fe712b1fc22f9a0a23ccc">00061</a> <span class="keywordtype">void</span> <a class="code" href="classLFSCProof.html#ada9a53bcd04fe712b1fc22f9a0a23ccc">LFSCProof::fillHoles</a>(){
<a name="l00062"></a>00062   <span class="comment">//if( !is_lambda() ){</span>
<a name="l00063"></a>00063     <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;<a class="code" href="classLFSCProof.html#aedc30ad27db2049d1e6782918bdc2608">getNumChildren</a>(); a++ ){
<a name="l00064"></a>00064       <a class="code" href="classLFSCProof.html#ac60cfef82cf6aaa935668cbfab2ecd10">getChild</a>( a )-&gt;<a class="code" href="classLFSCProof.html#ada9a53bcd04fe712b1fc22f9a0a23ccc">fillHoles</a>();
<a name="l00065"></a>00065     }
<a name="l00066"></a>00066   <span class="comment">//}</span>
<a name="l00067"></a>00067 }
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 <span class="preprocessor">#ifdef OPTIMIZE</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="keywordtype">void</span> LFSCProof::calcL( std::vector&lt; int &gt;&amp; lget, std::vector&lt; int &gt;&amp; lgetu ){
<a name="l00071"></a>00071   <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;<a class="code" href="classLFSCProof.html#aedc30ad27db2049d1e6782918bdc2608">getNumChildren</a>(); a++ ){
<a name="l00072"></a>00072     <a class="code" href="classLFSCProof.html#ac60cfef82cf6aaa935668cbfab2ecd10">getChild</a>( a )-&gt;calcL( lget, lgetu );
<a name="l00073"></a>00073   }
<a name="l00074"></a>00074   <span class="keywordflow">if</span>( <a class="code" href="classLFSCProof.html#a425fcc2ea8b8801dbd7780ddcc20d624">assumeVar</a>!=-1 &amp;&amp; std::find( lget.begin(), lget.end(), <a class="code" href="classLFSCProof.html#a425fcc2ea8b8801dbd7780ddcc20d624">assumeVar</a> )==lget.end() ){
<a name="l00075"></a>00075     lget.push_back( <a class="code" href="classLFSCProof.html#a425fcc2ea8b8801dbd7780ddcc20d624">assumeVar</a> );
<a name="l00076"></a>00076   }
<a name="l00077"></a>00077   <span class="keywordflow">if</span>( <a class="code" href="classLFSCProof.html#a3080390335b3e2338814bbfed11356f6">assumeVarUsed</a>!=-1 &amp;&amp; std::find( lgetu.begin(), lgetu.end(), <a class="code" href="classLFSCProof.html#a3080390335b3e2338814bbfed11356f6">assumeVarUsed</a> )==lgetu.end() ){
<a name="l00078"></a>00078     lgetu.push_back( <a class="code" href="classLFSCProof.html#a3080390335b3e2338814bbfed11356f6">assumeVarUsed</a> );
<a name="l00079"></a>00079   }
<a name="l00080"></a>00080 }
<a name="l00081"></a>00081 <span class="preprocessor">#endif</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span>
<a name="l00083"></a><a class="code" href="classLFSCProof.html#a8bb7d43de0773db524227b1c2af54bb0">00083</a> <span class="keywordtype">int</span> <a class="code" href="classLFSCProof.html#a8bb7d43de0773db524227b1c2af54bb0">LFSCProof::checkOp</a>() {
<a name="l00084"></a>00084   <span class="keywordflow">if</span>( <a class="code" href="classLFSCProof.html#addc61701b4bbfb7119df3b00667e808a">chOp</a>!=-1 )
<a name="l00085"></a>00085     <span class="keywordflow">return</span> <a class="code" href="classLFSCProof.html#addc61701b4bbfb7119df3b00667e808a">chOp</a>;
<a name="l00086"></a>00086   <span class="keywordflow">if</span>( <a class="code" href="classLFSCProof.html#aedc30ad27db2049d1e6782918bdc2608">getNumChildren</a>()==1 )
<a name="l00087"></a>00087     <span class="keywordflow">return</span> <a class="code" href="classLFSCProof.html#ac60cfef82cf6aaa935668cbfab2ecd10">getChild</a>( 0 )-&gt;<a class="code" href="classLFSCProof.html#a8bb7d43de0773db524227b1c2af54bb0">checkOp</a>();
<a name="l00088"></a>00088   <span class="keywordflow">else</span>{
<a name="l00089"></a>00089     <span class="keywordtype">int</span> ret = -1;
<a name="l00090"></a>00090     <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;<a class="code" href="classLFSCProof.html#aedc30ad27db2049d1e6782918bdc2608">getNumChildren</a>(); a++ ){
<a name="l00091"></a>00091       <span class="keywordtype">int</span> o = <a class="code" href="classLFSCProof.html#ac60cfef82cf6aaa935668cbfab2ecd10">getChild</a>( a )-&gt;<a class="code" href="classLFSCProof.html#a8bb7d43de0773db524227b1c2af54bb0">checkOp</a>();
<a name="l00092"></a>00092       <span class="keywordflow">if</span>( a!=-1 ){
<a name="l00093"></a>00093         <span class="keywordflow">if</span>( ret==-1 )
<a name="l00094"></a>00094           ret = a;
<a name="l00095"></a>00095         <span class="keywordflow">else</span>
<a name="l00096"></a>00096           <span class="keywordflow">return</span> -1;
<a name="l00097"></a>00097       }
<a name="l00098"></a>00098     }
<a name="l00099"></a>00099     <span class="comment">//cout &lt;&lt; &quot;fail case &quot; &lt;&lt; getNumChildren() &lt;&lt; std::endl;</span>
<a name="l00100"></a>00100     <span class="keywordflow">return</span> ret;
<a name="l00101"></a>00101   }
<a name="l00102"></a>00102 }
<a name="l00103"></a>00103 
<a name="l00104"></a><a class="code" href="classLFSCProof.html#ab1b22c672f110e3f9abe22b2bf377fb3">00104</a> <a class="code" href="classLFSCProof.html">LFSCProof</a>* <a class="code" href="classLFSCProof.html#ab1b22c672f110e3f9abe22b2bf377fb3">LFSCProof::Make_CNF</a>( <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>&amp; form, <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>&amp; reason, <span class="keywordtype">int</span> pos )
<a name="l00105"></a>00105 {
<a name="l00106"></a>00106   <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> ec = <a class="code" href="classLFSCObj.html#a9d972614227f1b88721d36b33f04750f">cascade_expr</a>( form );
<a name="l00107"></a>00107 <span class="preprocessor">#ifdef PRINT_MAJOR_METHODS</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span>  cout &lt;&lt; <span class="stringliteral">&quot;;[M] CNF &quot;</span> &lt;&lt; reason &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; pos &lt;&lt; <a class="code" href="group__ExprStream__Manip.html#ga05b0ea7353ec24fa8e7e272d7a7875d8" title="Print the end-of-line.">std::endl</a>;
<a name="l00109"></a>00109 <span class="preprocessor">#endif</span>
<a name="l00110"></a>00110 <span class="preprocessor"></span>  <span class="keywordtype">int</span> m = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec );
<a name="l00111"></a>00111   <span class="keywordflow">if</span>( m&gt;0 )
<a name="l00112"></a>00112   {
<a name="l00113"></a>00113     ostringstream os1;
<a name="l00114"></a>00114     ostringstream os2;
<a name="l00115"></a>00115     <a class="code" href="classRefPtr.html">RefPtr&lt; LFSCProof &gt;</a> p;
<a name="l00116"></a>00116     <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#a3ce45729a0273ed5c43dba4b9d439cc1">d_or_final_s</a> )
<a name="l00117"></a>00117     {
<a name="l00118"></a>00118 <span class="preprocessor">#if 0</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span>      <span class="comment">//this is the version that cascades</span>
<a name="l00120"></a>00120       <span class="comment">//make the proof for the or</span>
<a name="l00121"></a>00121       p = <a class="code" href="classLFSCPfVar.html#ac7b68737c0763fbc46619c54bd1df148">LFSCPfVar::Make</a>( <span class="stringliteral">&quot;@v&quot;</span>, <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>(m) );
<a name="l00122"></a>00122       <span class="comment">//clausify the or statement</span>
<a name="l00123"></a>00123       p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( ec, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), true );
<a name="l00124"></a>00124       <span class="comment">//return</span>
<a name="l00125"></a>00125       <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), true );
<a name="l00126"></a>00126 <span class="preprocessor">#else</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span>      <span class="comment">//this is the version that does not expand the last</span>
<a name="l00128"></a>00128       ostringstream oss1, oss2;
<a name="l00129"></a>00129       p = <a class="code" href="classLFSCPfVar.html#ac7b68737c0763fbc46619c54bd1df148">LFSCPfVar::Make</a>( <span class="stringliteral">&quot;@v&quot;</span>, <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>(m) );
<a name="l00130"></a>00130       <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=(form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-2); a&gt;=0; a-- ){
<a name="l00131"></a>00131         <span class="keywordtype">int</span> m1 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( form[a] );
<a name="l00132"></a>00132         oss1 &lt;&lt; <span class="stringliteral">&quot;(or_elim_1 _ _ &quot;</span>;
<a name="l00133"></a>00133         oss1 &lt;&lt; ( m1&lt;0 ? <span class="stringliteral">&quot;(not_not_intro _ &quot;</span> : <span class="stringliteral">&quot;&quot;</span> );
<a name="l00134"></a>00134         oss1 &lt;&lt; <span class="stringliteral">&quot;@v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 );
<a name="l00135"></a>00135         oss1 &lt;&lt; ( m1&lt;0 ? <span class="stringliteral">&quot;) &quot;</span> : <span class="stringliteral">&quot; &quot;</span> );
<a name="l00136"></a>00136         oss2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00137"></a>00137       }
<a name="l00138"></a>00138       p = <a class="code" href="classLFSCProofGeneric.html#a1bf5343c88454d1ffb552a3e2f59ddc8">LFSCProofGeneric::Make</a>( oss1.str(), p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), oss2.str() );
<a name="l00139"></a>00139       <span class="comment">//p = LFSCClausify::Make( form[form.arity()-1], p.get() );</span>
<a name="l00140"></a>00140       p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( form[form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-1] ), p.get() );
<a name="l00141"></a>00141       <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;(form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-1); a++ ){
<a name="l00142"></a>00142         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( form[a] ), p.get(), false );
<a name="l00143"></a>00143       }
<a name="l00144"></a>00144       <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.get() );
<a name="l00145"></a>00145 <span class="preprocessor">#endif</span>
<a name="l00146"></a>00146 <span class="preprocessor"></span>    }
<a name="l00147"></a>00147     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#a8052510576f68336a8a9937f8f8584c1">d_and_final_s</a> )
<a name="l00148"></a>00148     {
<a name="l00149"></a>00149 <span class="preprocessor">#if 1</span>
<a name="l00150"></a>00150 <span class="preprocessor"></span>      <span class="comment">//this is the version that does not expand the last</span>
<a name="l00151"></a>00151       p = <a class="code" href="classLFSCPfVar.html#ac7b68737c0763fbc46619c54bd1df148">LFSCPfVar::Make</a>( <span class="stringliteral">&quot;@v&quot;</span>, <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>(m) );
<a name="l00152"></a>00152       os1 &lt;&lt; <span class="stringliteral">&quot;(contra _ &quot;</span>;
<a name="l00153"></a>00153       <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>(); a++ ){
<a name="l00154"></a>00154         <span class="keywordflow">if</span>( a&lt;(form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-1))
<a name="l00155"></a>00155           os1 &lt;&lt; <span class="stringliteral">&quot;(and_intro _ _ &quot;</span>;
<a name="l00156"></a>00156         os1 &lt;&lt; <span class="stringliteral">&quot;@v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( form[a] ) );
<a name="l00157"></a>00157         <span class="keywordflow">if</span>( a&lt;(form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-1)){
<a name="l00158"></a>00158           os1 &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00159"></a>00159           os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00160"></a>00160         }
<a name="l00161"></a>00161       }
<a name="l00162"></a>00162       os2 &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>(m) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00163"></a>00163       os1 &lt;&lt; os2.str();
<a name="l00164"></a>00164       p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os1.str().c_str() );
<a name="l00165"></a>00165       <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>(); a++ ){
<a name="l00166"></a>00166         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( form[a] ), p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>() );
<a name="l00167"></a>00167       }
<a name="l00168"></a>00168       <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), false );
<a name="l00169"></a>00169 <span class="preprocessor">#else</span>
<a name="l00170"></a>00170 <span class="preprocessor"></span>      <span class="comment">//this is the version that cascades</span>
<a name="l00171"></a>00171       std::vector&lt; Expr &gt; assumes;
<a name="l00172"></a>00172       <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> ce = <a class="code" href="classLFSCObj.html#a9d972614227f1b88721d36b33f04750f">cascade_expr</a>( form );
<a name="l00173"></a>00173       <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> curr = ce;
<a name="l00174"></a>00174       os1 &lt;&lt; <span class="stringliteral">&quot;(contra _ &quot;</span>;
<a name="l00175"></a>00175       <span class="keywordflow">while</span>( curr.<a class="code" href="group__ExprPkg.html#ga7814e4f55f65c7ca860c637413df5f4d">getKind</a>()==<a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba865555c9f2e0458a7078486aa1b3254f">AND</a> ){
<a name="l00176"></a>00176         os1 &lt;&lt; <span class="stringliteral">&quot;(and_intro _ _ &quot;</span>;
<a name="l00177"></a>00177         os1 &lt;&lt; <span class="stringliteral">&quot;@v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( curr[0] ) ) &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00178"></a>00178         os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00179"></a>00179         assumes.push_back( curr[0] );
<a name="l00180"></a>00180         curr = curr[1];
<a name="l00181"></a>00181       }
<a name="l00182"></a>00182       os2 &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>(m) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00183"></a>00183       p = <a class="code" href="classLFSCProofGeneric.html#a1bf5343c88454d1ffb552a3e2f59ddc8">LFSCProofGeneric::Make</a>( os1.str(), p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), os2.str() );
<a name="l00184"></a>00184       <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;(int)assumes.size(); a++ ){
<a name="l00185"></a>00185         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( assumes[a] ), p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>() );
<a name="l00186"></a>00186       }
<a name="l00187"></a>00187       <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), false );
<a name="l00188"></a>00188 <span class="preprocessor">#endif</span>
<a name="l00189"></a>00189 <span class="preprocessor"></span>    }
<a name="l00190"></a>00190     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#ac682735316d59354edaae5db3025ff3e">d_imp_s</a> )
<a name="l00191"></a>00191     {
<a name="l00192"></a>00192       <span class="keywordtype">int</span> m1 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] );
<a name="l00193"></a>00193       <span class="keywordtype">int</span> m2 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[1] );
<a name="l00194"></a>00194       <span class="keywordflow">switch</span>( pos )
<a name="l00195"></a>00195       {
<a name="l00196"></a>00196       <span class="keywordflow">case</span> 0:
<a name="l00197"></a>00197 
<a name="l00198"></a>00198         <span class="keywordflow">break</span>;
<a name="l00199"></a>00199       <span class="keywordflow">case</span> 1:
<a name="l00200"></a>00200 
<a name="l00201"></a>00201         <span class="keywordflow">break</span>;
<a name="l00202"></a>00202       <span class="keywordflow">case</span> 2:
<a name="l00203"></a>00203       {
<a name="l00204"></a>00204         <span class="comment">//make a proof of the RHS</span>
<a name="l00205"></a>00205         ostringstream os;
<a name="l00206"></a>00206         os &lt;&lt; <span class="stringliteral">&quot;(impl_elim _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00207"></a>00207         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00208"></a>00208         <span class="comment">//clausify the RHS</span>
<a name="l00209"></a>00209         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[1], p.get() );     <span class="comment">//cascadeOr?</span>
<a name="l00210"></a>00210         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get() );
<a name="l00211"></a>00211         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get() );
<a name="l00212"></a>00212       }
<a name="l00213"></a>00213         <span class="keywordflow">break</span>;
<a name="l00214"></a>00214       }
<a name="l00215"></a>00215     }
<a name="l00216"></a>00216     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#a5b534911a5916e4d03589364030b0881">d_ite_s</a> )
<a name="l00217"></a>00217     {
<a name="l00218"></a>00218       <span class="keywordtype">int</span> m1 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] );
<a name="l00219"></a>00219       <span class="keywordtype">int</span> m2 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[1] );
<a name="l00220"></a>00220       <span class="keywordflow">switch</span>( pos )
<a name="l00221"></a>00221       {
<a name="l00222"></a>00222       <span class="keywordflow">case</span> 1:
<a name="l00223"></a>00223       {
<a name="l00224"></a>00224         ostringstream os;
<a name="l00225"></a>00225         os &lt;&lt; <span class="stringliteral">&quot;(ite_elim_2&quot;</span> &lt;&lt; (m1&lt;0 ? <span class="stringliteral">&quot;n&quot;</span> : <span class="stringliteral">&quot;&quot;</span> );
<a name="l00226"></a>00226         os &lt;&lt; <span class="stringliteral">&quot; _ _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00227"></a>00227         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00228"></a>00228         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[2], p.get() );
<a name="l00229"></a>00229         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get(), false );
<a name="l00230"></a>00230         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get() );
<a name="l00231"></a>00231       }
<a name="l00232"></a>00232         <span class="keywordflow">break</span>;
<a name="l00233"></a>00233       <span class="keywordflow">case</span> 2:
<a name="l00234"></a>00234       {
<a name="l00235"></a>00235         ostringstream os;
<a name="l00236"></a>00236         os &lt;&lt; <span class="stringliteral">&quot;(not_ite_elim_2 _ _ _ @v&quot;</span> &lt;&lt; (m1&lt;0 ? <span class="stringliteral">&quot;n&quot;</span> : <span class="stringliteral">&quot;&quot;</span> );
<a name="l00237"></a>00237         os &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00238"></a>00238         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00239"></a>00239         <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> e = <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>( <a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba0378ebc895849163b249d0b330257dd6">NOT</a>, form[2] );
<a name="l00240"></a>00240         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( e, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>() );
<a name="l00241"></a>00241         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get(), false );
<a name="l00242"></a>00242         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get(), false );
<a name="l00243"></a>00243       }
<a name="l00244"></a>00244         <span class="keywordflow">break</span>;
<a name="l00245"></a>00245       <span class="keywordflow">case</span> 3:
<a name="l00246"></a>00246       {
<a name="l00247"></a>00247         ostringstream os;
<a name="l00248"></a>00248         os &lt;&lt; <span class="stringliteral">&quot;(not_ite_elim_1 _ _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00249"></a>00249         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00250"></a>00250         <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> e = <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>( <a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba0378ebc895849163b249d0b330257dd6">NOT</a>, form[1] );
<a name="l00251"></a>00251         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( e, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>() );
<a name="l00252"></a>00252         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get() );
<a name="l00253"></a>00253         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get(), false );
<a name="l00254"></a>00254       }
<a name="l00255"></a>00255         <span class="keywordflow">break</span>;
<a name="l00256"></a>00256       <span class="keywordflow">case</span> 4:
<a name="l00257"></a>00257       {
<a name="l00258"></a>00258         ostringstream os;
<a name="l00259"></a>00259         os &lt;&lt; <span class="stringliteral">&quot;(ite_elim_1&quot;</span>;<span class="comment">// &lt;&lt; (m1&lt;0 ? &quot;n&quot; : &quot;&quot; );</span>
<a name="l00260"></a>00260         os &lt;&lt; <span class="stringliteral">&quot;  _ _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00261"></a>00261         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00262"></a>00262         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[1], p.get() );
<a name="l00263"></a>00263         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get() );
<a name="l00264"></a>00264         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get() );
<a name="l00265"></a>00265       }
<a name="l00266"></a>00266         <span class="keywordflow">break</span>;
<a name="l00267"></a>00267       <span class="keywordflow">case</span> 5:
<a name="l00268"></a>00268       {
<a name="l00269"></a>00269         ostringstream os;
<a name="l00270"></a>00270         os &lt;&lt; <span class="stringliteral">&quot;(not_ite_elim_3 _ _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m2 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00271"></a>00271         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00272"></a>00272         <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> e = <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>( <a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba0378ebc895849163b249d0b330257dd6">NOT</a>, form[2] );
<a name="l00273"></a>00273         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( e, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>() );
<a name="l00274"></a>00274         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[1] ), p.get() );
<a name="l00275"></a>00275         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get(), false );
<a name="l00276"></a>00276       }
<a name="l00277"></a>00277         <span class="keywordflow">break</span>;
<a name="l00278"></a>00278       <span class="keywordflow">case</span> 6:
<a name="l00279"></a>00279       {
<a name="l00280"></a>00280         ostringstream os;
<a name="l00281"></a>00281         os &lt;&lt; <span class="stringliteral">&quot;(ite_elim_3&quot;</span>;<span class="comment">// &lt;&lt; (m1&lt;0 ? &quot;n&quot; : &quot;&quot; );</span>
<a name="l00282"></a>00282         os &lt;&lt; <span class="stringliteral">&quot;  _ _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m2 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00283"></a>00283         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00284"></a>00284         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[2], p.get() );
<a name="l00285"></a>00285         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[1] ), p.get(), false );
<a name="l00286"></a>00286         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get() );
<a name="l00287"></a>00287       }
<a name="l00288"></a>00288         <span class="keywordflow">break</span>;
<a name="l00289"></a>00289       }
<a name="l00290"></a>00290     }
<a name="l00291"></a>00291     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#af19867df31a4aa59d558a1e7bb3cf3d4">d_iff_s</a> )
<a name="l00292"></a>00292     {
<a name="l00293"></a>00293       <span class="keywordtype">int</span> m1 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] );
<a name="l00294"></a>00294       <span class="keywordtype">int</span> m2 = <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[1] );
<a name="l00295"></a>00295       <span class="keywordflow">switch</span>( pos )
<a name="l00296"></a>00296       {
<a name="l00297"></a>00297       <span class="keywordflow">case</span> 0:
<a name="l00298"></a>00298       {
<a name="l00299"></a>00299         ostringstream os;
<a name="l00300"></a>00300         os &lt;&lt; <span class="stringliteral">&quot;(not_iff_elim_1 _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00301"></a>00301         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00302"></a>00302         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[1], p.get() );
<a name="l00303"></a>00303         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get(), false );
<a name="l00304"></a>00304         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get(), false );
<a name="l00305"></a>00305       }
<a name="l00306"></a>00306         <span class="keywordflow">break</span>;
<a name="l00307"></a>00307       <span class="keywordflow">case</span> 1:
<a name="l00308"></a>00308       {
<a name="l00309"></a>00309         ostringstream os;
<a name="l00310"></a>00310         os &lt;&lt; <span class="stringliteral">&quot;(not_iff_elim_2 _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot; @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00311"></a>00311         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00312"></a>00312         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</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#aa10c9e8951b8ccf714a59ec321bdac5ba0378ebc895849163b249d0b330257dd6">NOT</a>, form[1] ), p.get() );
<a name="l00313"></a>00313         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get() );
<a name="l00314"></a>00314         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get(), false );
<a name="l00315"></a>00315       }
<a name="l00316"></a>00316         <span class="keywordflow">break</span>;
<a name="l00317"></a>00317       <span class="keywordflow">case</span> 2:
<a name="l00318"></a>00318       {
<a name="l00319"></a>00319         ostringstream os;
<a name="l00320"></a>00320         os &lt;&lt; <span class="stringliteral">&quot;(impl_elim _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m1 ) &lt;&lt; <span class="stringliteral">&quot;(iff_elim_1 _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;))&quot;</span>;
<a name="l00321"></a>00321         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00322"></a>00322         <span class="comment">//clausify the RHS</span>
<a name="l00323"></a>00323         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[1], p.get() );     <span class="comment">//cascadeOr?</span>
<a name="l00324"></a>00324         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[0] ), p.get() );
<a name="l00325"></a>00325         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec ), p.get() );
<a name="l00326"></a>00326       }
<a name="l00327"></a>00327         <span class="keywordflow">break</span>;
<a name="l00328"></a>00328       <span class="keywordflow">case</span> 3:
<a name="l00329"></a>00329       {
<a name="l00330"></a>00330         ostringstream os;
<a name="l00331"></a>00331         os &lt;&lt; <span class="stringliteral">&quot;(impl_elim _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m2 ) &lt;&lt; <span class="stringliteral">&quot;(iff_elim_2 _ _ @v&quot;</span> &lt;&lt; <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) &lt;&lt; <span class="stringliteral">&quot;))&quot;</span>;
<a name="l00332"></a>00332         p = <a class="code" href="classLFSCProofGeneric.html#abf29b3cdedf8439a6ee65ebc137340f5">LFSCProofGeneric::MakeStr</a>( os.str().c_str() );
<a name="l00333"></a>00333         <span class="comment">//clausify the RHS</span>
<a name="l00334"></a>00334         p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[0], p.get() );     <span class="comment">//cascadeOr?</span>
<a name="l00335"></a>00335         p = <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( <a class="code" href="classLFSCObj.html#ab0f17f592443a6a15fe2cb7446308e65">queryM</a>( ec[1] ), p.get() );
<a name="l00336"></a>00336         <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.get() );
<a name="l00337"></a>00337       }
<a name="l00338"></a>00338         <span class="keywordflow">break</span>;
<a name="l00339"></a>00339       }
<a name="l00340"></a>00340     }
<a name="l00341"></a>00341     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#a2508c14b5f7432f7ee0241603d5deb88">d_or_mid_s</a> )
<a name="l00342"></a>00342     {
<a name="l00343"></a>00343       ostringstream os1, os2;
<a name="l00344"></a>00344       <span class="keywordflow">if</span>( form[pos].isNot() )
<a name="l00345"></a>00345         os1 &lt;&lt; <span class="stringliteral">&quot;(not_not_elim _ &quot;</span>;
<a name="l00346"></a>00346       os1 &lt;&lt; <span class="stringliteral">&quot;(or_elim&quot;</span> &lt;&lt; ( (pos==form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()) ? <span class="stringliteral">&quot;_end&quot;</span> : <span class="stringliteral">&quot;&quot;</span> );
<a name="l00347"></a>00347       os1 &lt;&lt; <span class="stringliteral">&quot; _ _ &quot;</span> &lt;&lt; pos &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00348"></a>00348       os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00349"></a>00349       <span class="keywordflow">if</span>( form[pos].isNot() )
<a name="l00350"></a>00350         os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00351"></a>00351       p = <a class="code" href="classLFSCPfVar.html#ac7b68737c0763fbc46619c54bd1df148">LFSCPfVar::Make</a>( <span class="stringliteral">&quot;@v&quot;</span>, <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) );
<a name="l00352"></a>00352       p = <a class="code" href="classLFSCProofGeneric.html#a1bf5343c88454d1ffb552a3e2f59ddc8">LFSCProofGeneric::Make</a>( os1.str(), p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), os2.str() );
<a name="l00353"></a>00353       <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> ea = <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>( <a class="code" href="kinds_8h.html#aa10c9e8951b8ccf714a59ec321bdac5ba0378ebc895849163b249d0b330257dd6">NOT</a>, form[pos] );
<a name="l00354"></a>00354       p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( ea, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>() );
<a name="l00355"></a>00355       <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), false );
<a name="l00356"></a>00356     }
<a name="l00357"></a>00357     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( reason==<a class="code" href="classLFSCObj.html#a155d135b8fbc4eef20388f07ce30453d">d_and_mid_s</a> )
<a name="l00358"></a>00358     {
<a name="l00359"></a>00359       <span class="comment">//make a proof of the pos-th statement</span>
<a name="l00360"></a>00360       p = <a class="code" href="classLFSCPfVar.html#ac7b68737c0763fbc46619c54bd1df148">LFSCPfVar::Make</a>( <span class="stringliteral">&quot;@v&quot;</span>, <a class="code" href="namespaceCVC3.html#a39fc111339d6dffdc98d6a25b68dff0e">abs</a>( m ) );
<a name="l00361"></a>00361       p = <a class="code" href="classLFSCProof.html#a547ec01104eb074ab2eb4f25ea9435e0">LFSCProof::Make_and_elim</a>( form, p.<a class="code" href="classRefPtr.html#a2b987fbb75b20a1da1bd959325635e7e">get</a>(), pos, form[pos] );
<a name="l00362"></a>00362       p = <a class="code" href="classLFSCClausify.html#a976ffe7504641550090b29a9b5cf5732">LFSCClausify::Make</a>( form[pos], p.get() );
<a name="l00363"></a>00363       <span class="keywordflow">return</span> <a class="code" href="classLFSCAssume.html#a1936e5119fa84aec4acc5d8ba83bc30b">LFSCAssume::Make</a>( m, p.get() );
<a name="l00364"></a>00364     }
<a name="l00365"></a>00365   }
<a name="l00366"></a>00366   ostringstream ose;
<a name="l00367"></a>00367   ose &lt;&lt; <span class="stringliteral">&quot;CNF, &quot;</span> &lt;&lt; reason &lt;&lt; <span class="stringliteral">&quot; unknown position = &quot;</span> &lt;&lt; pos &lt;&lt; <a class="code" href="group__ExprStream__Manip.html#ga05b0ea7353ec24fa8e7e272d7a7875d8" title="Print the end-of-line.">std::endl</a>;
<a name="l00368"></a>00368   <a class="code" href="classObj.html#a7a13d6281d09d895f9db31157fe62f0d">print_error</a>( ose.str().c_str(), cout );
<a name="l00369"></a>00369   <span class="keywordflow">return</span> NULL;
<a name="l00370"></a>00370 }
<a name="l00371"></a>00371 
<a name="l00372"></a><a class="code" href="classLFSCProof.html#a95e3c7629c196ed189ad0525304e48cb">00372</a> <a class="code" href="classLFSCProof.html">LFSCProof</a>* <a class="code" href="classLFSCProof.html#a95e3c7629c196ed189ad0525304e48cb">LFSCProof::Make_not_not_elim</a>( <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>&amp; pf, <a class="code" href="classLFSCProof.html">LFSCProof</a>* p )
<a name="l00373"></a>00373 {
<a name="l00374"></a>00374   <span class="keywordflow">if</span>( pf.<a class="code" href="group__ExprPkg.html#ga1a898858ccadce833df5a294c7740f11">isNot</a>() &amp;&amp; pf[0].<a class="code" href="group__ExprPkg.html#ga1a898858ccadce833df5a294c7740f11">isNot</a>() ){
<a name="l00375"></a>00375     p = <a class="code" href="classLFSCProof.html#a95e3c7629c196ed189ad0525304e48cb">Make_not_not_elim</a>( pf[0][0], p );
<a name="l00376"></a>00376     ostringstream os1, os2;
<a name="l00377"></a>00377     os1 &lt;&lt; <span class="stringliteral">&quot;(not_not_elim _ &quot;</span>;
<a name="l00378"></a>00378     os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00379"></a>00379     p = <a class="code" href="classLFSCProofGeneric.html#a1bf5343c88454d1ffb552a3e2f59ddc8">LFSCProofGeneric::Make</a>( os1.str(), p, os2.str() );
<a name="l00380"></a>00380   }
<a name="l00381"></a>00381   <span class="keywordflow">return</span> p;
<a name="l00382"></a>00382 }
<a name="l00383"></a>00383 
<a name="l00384"></a><a class="code" href="classLFSCProof.html#a979135fb775da82a9bf06befd9def730">00384</a> <a class="code" href="classLFSCProof.html">LFSCProof</a>* <a class="code" href="classLFSCProof.html#a979135fb775da82a9bf06befd9def730">LFSCProof::Make_mimic</a>( <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>&amp; pf, <a class="code" href="classLFSCProof.html">LFSCProof</a>* p, <span class="keywordtype">int</span> numHoles )
<a name="l00385"></a>00385 {
<a name="l00386"></a>00386   ostringstream os1, os2;
<a name="l00387"></a>00387   os1 &lt;&lt; <span class="stringliteral">&quot;(&quot;</span>;
<a name="l00388"></a>00388   os1 &lt;&lt; pf[0];
<a name="l00389"></a>00389   <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;numHoles; a++ )
<a name="l00390"></a>00390     os1 &lt;&lt; <span class="stringliteral">&quot; _&quot;</span>;
<a name="l00391"></a>00391   os1 &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00392"></a>00392   os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00393"></a>00393   <span class="keywordflow">return</span> <a class="code" href="classLFSCProofGeneric.html#a1bf5343c88454d1ffb552a3e2f59ddc8">LFSCProofGeneric::Make</a>( os1.str(), p, os2.str() );
<a name="l00394"></a>00394 }
<a name="l00395"></a>00395 
<a name="l00396"></a>00396 <span class="comment">//input should be in non-cascaded form</span>
<a name="l00397"></a><a class="code" href="classLFSCProof.html#a547ec01104eb074ab2eb4f25ea9435e0">00397</a> <a class="code" href="classLFSCProof.html">LFSCProof</a>* <a class="code" href="classLFSCProof.html#a547ec01104eb074ab2eb4f25ea9435e0">LFSCProof::Make_and_elim</a>( <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>&amp; form, <a class="code" href="classLFSCProof.html">LFSCProof</a>* p, <span class="keywordtype">int</span> n,  <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>&amp; expected )
<a name="l00398"></a>00398 {
<a name="l00399"></a>00399   <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> e = <a class="code" href="classLFSCObj.html#a9d972614227f1b88721d36b33f04750f">cascade_expr</a>( form );
<a name="l00400"></a>00400   <span class="keywordflow">for</span>( <span class="keywordtype">int</span> a=0; a&lt;n; a++ ){
<a name="l00401"></a>00401     <span class="keywordflow">if</span>( e.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()==2 ){
<a name="l00402"></a>00402       e = e[1];
<a name="l00403"></a>00403     }<span class="keywordflow">else</span>{
<a name="l00404"></a>00404       <a class="code" href="classObj.html#a7a13d6281d09d895f9db31157fe62f0d">print_error</a>( <span class="stringliteral">&quot;WARNING: and elim out of range&quot;</span>, cout );
<a name="l00405"></a>00405     }
<a name="l00406"></a>00406   }
<a name="l00407"></a>00407   <span class="keywordflow">if</span>( form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()&gt;1 )
<a name="l00408"></a>00408   {
<a name="l00409"></a>00409     ostringstream os1, os2;
<a name="l00410"></a>00410     os1 &lt;&lt; <span class="stringliteral">&quot;(and_elim&quot;</span>;
<a name="l00411"></a>00411     <span class="keywordflow">if</span>( n==form.<a class="code" href="group__ExprPkg.html#ga28b901d05e52a5c646f83a95cc74f94b">arity</a>()-1 )
<a name="l00412"></a>00412       os1 &lt;&lt; <span class="stringliteral">&quot;_end&quot;</span>;
<a name="l00413"></a>00413     os1 &lt;&lt; <span class="stringliteral">&quot; _ _ &quot;</span> &lt;&lt; n &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00414"></a>00414     os2 &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00415"></a>00415     <span class="keywordflow">return</span> <a class="code" href="classLFSCProofGeneric.html#a1bf5343c88454d1ffb552a3e2f59ddc8">LFSCProofGeneric::Make</a>( os1.str(), p, os2.str() );
<a name="l00416"></a>00416   }
<a name="l00417"></a>00417   <span class="keywordflow">else</span>
<a name="l00418"></a>00418   {
<a name="l00419"></a>00419     <span class="keywordflow">return</span> p;
<a name="l00420"></a>00420   }
<a name="l00421"></a>00421 }
<a name="l00422"></a>00422 
</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>