UNPKG

@ciao-lang/ts-ciao-interface

Version:

Simple Ciao interface for node.

202 lines 51.4 kB
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="theme-color" content="#273f79"/><link rel="stylesheet" href="lpdoc.css" type="text/css"/><script type="text/javascript" src="lpdoc.js"></script><title>plai_db (library) &mdash; The CiaoPP Program Processor v1.5</title></head><body><div class="lpdoc-page fixleftbar"><a href="#" id="sidebar-toggle-button" class="lpdoc-navbutton"><span id="sidebar-button-arrow">&#9776;</span></a><div id="sidebar" class="lpdoc-sidebar"><div style="height: 40px; margin-left: auto; margin-right: auto"><img src="ciao-logo_autofig.png" width=auto height=100%></div><div class="lpdoc-nav"><span class="lpdoc-on-right"><a class="lpdoc-navbutton" href="Plai1.html">&#x2191;</a><a class="lpdoc-navbutton" href="TypeWidening.html">&#x2190;</a><a class="lpdoc-navbutton" href="Trust.html">&#x2192;</a><a class="lpdoc-navbutton" href="ciaopp_ref_mansearch.html">&#x1F50D;</a></span><span><a href="ciaopp_ref_manfulltoc.html">TOC</a></span></div><hr></hr><ul class="lpdoc-itemize-sectpath"><li><a href="ciaopp_ref_man.html">The CiaoPP Program Processor</a> &raquo;<br/> </li><li><a href="part_internals.html">PART IV - CiaoPP Internals</a> &raquo;<br/> </li><li><a href="Plai1.html">The Abstract Interpretation Component -PLAI</a> &raquo;<br/> </li><li><a href=""><strong>plai_db (library)</strong></a></li></ul><hr></hr><em>ON THIS PAGE</em><ul><li><a href="#Usage and interface">Usage and interface</a></li><li><a href="#Documentation on exports">Documentation on exports</a></li><li><a href="#Documentation on imports">Documentation on imports</a></li></ul></div><div class="lpdoc-main"><div id=""><h1>plai_db (library)</h1><a class="lpdoc-idx-anchor" href="ciaopp_ref_mansearch.html#plai_db"></a><div id="Usage and interface"><h2>Usage and interface</h2><div class="lpdoc-cartouche"><ul><li><strong>Library usage:</strong><br/><tt>:- use_module(ciaopp(plai/plai_db)).</tt><li><strong>Exports:</strong><br/><ul class="lpdoc-itemize-minus"><li><em>Predicates:</em><br/><a class="lpdoc-idx-anchor" id="0" href="#complete/7"><tt>complete/7</tt></a>, <a class="lpdoc-idx-anchor" id="1" href="#lub_complete/6"><tt>lub_complete/6</tt></a>, <a class="lpdoc-idx-anchor" id="2" href="#memo_call/5"><tt>memo_call/5</tt></a>, <a class="lpdoc-idx-anchor" id="3" href="#memo_table/6"><tt>memo_table/6</tt></a>, <a class="lpdoc-idx-anchor" id="4" href="#memo_lub/5"><tt>memo_lub/5</tt></a>, <a class="lpdoc-idx-anchor" id="5" href="#pragma/5"><tt>pragma/5</tt></a>, <a class="lpdoc-idx-anchor" id="6" href="#complete_parent/2"><tt>complete_parent/2</tt></a>, <a class="lpdoc-idx-anchor" id="7" href="#cleanup_plai_db/1"><tt>cleanup_plai_db/1</tt></a>, <a class="lpdoc-idx-anchor" id="8" href="#invalid_call/6"><tt>invalid_call/6</tt></a>, <a class="lpdoc-idx-anchor" id="9" href="#raw_success/6"><tt>raw_success/6</tt></a>, <a class="lpdoc-idx-anchor" id="10" href="#get_parent_key/4"><tt>get_parent_key/4</tt></a>, <a class="lpdoc-idx-anchor" id="11" href="#get_complete/8"><tt>get_complete/8</tt></a>, <a class="lpdoc-idx-anchor" id="12" href="#get_memo_table/7"><tt>get_memo_table/7</tt></a>, <a class="lpdoc-idx-anchor" id="13" href="#get_raw_success/7"><tt>get_raw_success/7</tt></a>, <a class="lpdoc-idx-anchor" id="14" href="#add_parent_complete/5"><tt>add_parent_complete/5</tt></a>, <a class="lpdoc-idx-anchor" id="15" href="#del_parent_complete/6"><tt>del_parent_complete/6</tt></a>, <a class="lpdoc-idx-anchor" id="16" href="#patch_parents/6"><tt>patch_parents/6</tt></a>, <a class="lpdoc-idx-anchor" id="17" href="#merge_parents/3"><tt>merge_parents/3</tt></a>, <a class="lpdoc-idx-anchor" id="18" href="#del_parent/4"><tt>del_parent/4</tt></a>, <a class="lpdoc-idx-anchor" id="19" href="#update_complete_id/4"><tt>update_complete_id/4</tt></a>, <a class="lpdoc-idx-anchor" id="20" href="#delete_complete/3"><tt>delete_complete/3</tt></a>, <a class="lpdoc-idx-anchor" id="21" href="#remove_extra_info_complete/3"><tt>remove_extra_info_complete/3</tt></a>, <a class="lpdoc-idx-anchor" id="22" href="#delete_plai_db_one_clause/4"><tt>delete_plai_db_one_clause/4</tt></a>, <a class="lpdoc-idx-anchor" id="23" href="#complete_key_from_id/3"><tt>complete_key_from_id/3</tt></a>, <a class="lpdoc-idx-anchor" id="24" href="#erase_previous_memo_tables_and_parents/4"><tt>erase_previous_memo_tables_and_parents/4</tt></a>, <a class="lpdoc-idx-anchor" id="25" href="#erase_last_memo_table/3"><tt>erase_last_memo_table/3</tt></a>, <a class="lpdoc-idx-anchor" id="26" href="#erase_previous_memo_lubs/2"><tt>erase_previous_memo_lubs/2</tt></a>, <a class="lpdoc-idx-anchor" id="27" href="#erase_previous_parents_info/5"><tt>erase_previous_parents_info/5</tt></a>, <a class="lpdoc-idx-anchor" id="28" href="#init_rev_idx/1"><tt>init_rev_idx/1</tt></a>, <a class="lpdoc-idx-anchor" id="29" href="#clean_rev_idx/1"><tt>clean_rev_idx/1</tt></a>, <a class="lpdoc-idx-anchor" id="30" href="#complete_id_key/3"><tt>complete_id_key/3</tt></a>, <a class="lpdoc-idx-anchor" id="31" href="#memo_table_id_key/3"><tt>memo_table_id_key/3</tt></a>, <a class="lpdoc-idx-anchor" id="32" href="#add_invalid_call/6"><tt>add_invalid_call/6</tt></a>, <a class="lpdoc-idx-anchor" id="33" href="#store_raw_success/6"><tt>store_raw_success/6</tt></a>, <a class="lpdoc-idx-anchor" id="34" href="#get_raw_success/6"><tt>get_raw_success/6</tt></a>. <li><em>Regular Types:</em><br/><a class="lpdoc-idx-anchor" id="35" href="#plai_db_id/1"><tt>plai_db_id/1</tt></a>. </ul></ul></div></div><div id="Documentation on exports"><h2>Documentation on exports</h2><div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="complete/7" href="ciaopp_ref_mansearch.html#complete/7">complete/7</a></div><div class="lpdoc-deftext"><span class="lpdoc-usage-decl"><tt>complete(SgKey,AbsInt,Sg,Proj,Prime,Id,Parents)</tt> </span><p>The predicate <span class="lpdoc-var">SgKey</span> has a variant success pattern <a class="lpdoc-idx-anchor" id="36" href="ciaopp_ref_mansearch.html#(Sg,Proj,Prime)"><tt>(Sg,Proj,Prime)</tt></a> on the domain <span class="lpdoc-var">AbsInt</span>. The and-or graph node is <span class="lpdoc-var">Id</span>, and is called from the program points in list <span class="lpdoc-var">Parents</span>.<p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>complete(SgKey,AbsInt,Sg,Proj,Prime,Id,Parents)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold upon exit:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="37" href="program_keys.html#predkey/1"><tt>predkey/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is an atom that uniquely identifies a program predicate. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="38" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="39" href="basic_props.html#term/1"><tt>term/1</tt></a>)</span><span><span class="lpdoc-var">Sg</span> is any term. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="40" href="basic_props.html#term/1"><tt>term/1</tt></a>)</span><span><span class="lpdoc-var">Proj</span> is any term. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="41" href="basic_props.html#list/2"><tt>list/2</tt></a>)</span><span><span class="lpdoc-var">Prime</span> is a list of <span class="lpdoc-var">term</span>s. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="42" href="basic_props.html#int/1"><tt>int/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is an integer. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="44" href="ciaopp_ref_mansearch.html#parents_complete/1"><tt>parents_complete/1</tt></a>)</span><span><a class="lpdoc-idx-anchor" id="43" href="ciaopp_ref_mansearch.html#parents_complete(Parents)"><tt>parents_complete(Parents)</tt></a> </span> </ul> The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="lub_complete/6" href="ciaopp_ref_mansearch.html#lub_complete/6">lub_complete/6</a></div><div class="lpdoc-deftext"><span class="lpdoc-usage-decl"><tt>lub_complete(SgKey,AbsInt,Lub,Sg,Proj,Prime)</tt> </span><p>The predicate <span class="lpdoc-var">SgKey</span> has in all variants success pattern <a class="lpdoc-idx-anchor" id="45" href="ciaopp_ref_mansearch.html#(Sg,Proj,Prime)"><tt>(Sg,Proj,Prime)</tt></a> on the domain <span class="lpdoc-var">AbsInt</span>. If <span class="lpdoc-var">Lub</span> is yes, <span class="lpdoc-var">Proj</span> and <span class="lpdoc-var">Prime</span> are substitutions, if <span class="lpdoc-var">Lub</span> is no, they are lists of substitutions. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="memo_call/5" href="ciaopp_ref_mansearch.html#memo_call/5">memo_call/5</a></div><div class="lpdoc-deftext">No further documentation available for this predicate. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="memo_table/6" href="ciaopp_ref_mansearch.html#memo_table/6">memo_table/6</a></div><div class="lpdoc-deftext"><span class="lpdoc-usage-decl"><tt>memo_table(LitKey,AbsInt,Id,Child,Vars_u,Call)</tt> </span><p>Before calling the goal at program point <span class="lpdoc-var">PointKey</span>, there is a variant in which <span class="lpdoc-var">Call</span> on the domain <span class="lpdoc-var">AbsInt</span> holds upon the program clause variables <span class="lpdoc-var">Vars_u</span>. These variables need be sorted conveniently so that <span class="lpdoc-var">Call</span> makes sense. The and-or graph node that causes this is <span class="lpdoc-var">Id</span> and the call originated to the goal at this program point generates and-or graph node <span class="lpdoc-var">Child</span>.<p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>memo_table(LitKey,AbsInt,Id,Child,Vars_u,Call)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold upon exit:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="46" href="program_keys.html#litkey/1"><tt>litkey/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is an atom that uniquely identifies a program point of a program clause body literal. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="47" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="48" href="basic_props.html#int/1"><tt>int/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is an integer. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="49" href="basic_props.html#int/1"><tt>int/1</tt></a>)</span><span><span class="lpdoc-var">Child</span> is an integer. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="50" href="basic_props.html#term/1"><tt>term/1</tt></a>)</span><span><span class="lpdoc-var">Vars_u</span> is any term. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="51" href="basic_props.html#list/2"><tt>list/2</tt></a>)</span><span><span class="lpdoc-var">Call</span> is a list of <span class="lpdoc-var">term</span>s. </span> </ul> The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="memo_lub/5" href="ciaopp_ref_mansearch.html#memo_lub/5">memo_lub/5</a></div><div class="lpdoc-deftext"><span class="lpdoc-usage-decl"><tt>memo_lub(PointKey,AbsInt,Lub,Vars_u,Call)</tt> </span><p>Before calling the goal at program point <span class="lpdoc-var">PointKey</span>, in all variants <span class="lpdoc-var">Call</span> on the domain <span class="lpdoc-var">AbsInt</span> holds upon the program clause variables <span class="lpdoc-var">Vars_u</span>. If <span class="lpdoc-var">Lub</span> is yes, <span class="lpdoc-var">Call</span> is a substitution, if If <span class="lpdoc-var">Lub</span> is no, <span class="lpdoc-var">Call</span> is a list of substitutions. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="pragma/5" href="ciaopp_ref_mansearch.html#pragma/5">pragma/5</a></div><div class="lpdoc-deftext">No further documentation available for this predicate. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="complete_parent/2" href="ciaopp_ref_mansearch.html#complete_parent/2">complete_parent/2</a></div><div class="lpdoc-deftext"><span class="lpdoc-usage-decl"><tt>complete_parent(Id,Parents)</tt> </span><p>Used to keep the trace of the parents in the and-or graph for the dd/di fixpoints. The parents are used to choose previous aproximations to apply the widening operators on calls The and-or graph node is <span class="lpdoc-var">Id</span>, and <span class="lpdoc-var">Parents</span> is a list of couples of graph node and program points. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="cleanup_plai_db/1" href="ciaopp_ref_mansearch.html#cleanup_plai_db/1">cleanup_plai_db/1</a></div><div class="lpdoc-deftext"><span class="lpdoc-usage-decl"><tt>cleanup_plai_db(AbsInt)</tt> </span><p>Erases all data in this module for the analysis domain <span class="lpdoc-var">AbsInt</span>.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="invalid_call/6" href="ciaopp_ref_mansearch.html#invalid_call/6">invalid_call/6</a></div><div class="lpdoc-deftext">No further documentation available for this predicate. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="raw_success/6" href="ciaopp_ref_mansearch.html#raw_success/6">raw_success/6</a></div><div class="lpdoc-deftext">No further documentation available for this predicate. The predicate is of type <em>data</em>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="get_parent_key/4" href="ciaopp_ref_mansearch.html#get_parent_key/4">get_parent_key/4</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>get_parent_key(LitKey,Id,AbsInt,CKey)</tt> </span><p><span class="lpdoc-var">CKey</span> is the key that corresponds to <span class="lpdoc-var">Id</span>, it may not correspong to the decoding LitKey because of how meta_calls are indexed in the fixpoints</p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold upon exit:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="52" href="program_keys.html#litkey/1"><tt>litkey/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is an atom that uniquely identifies a program point of a program clause body literal. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="53" href="basic_props.html#int/1"><tt>int/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is an integer. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="54" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="55" href="program_keys.html#predkey/1"><tt>predkey/1</tt></a>)</span><span><span class="lpdoc-var">CKey</span> is an atom that uniquely identifies a program predicate. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="get_complete/8" href="ciaopp_ref_mansearch.html#get_complete/8">get_complete/8</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>get_complete(SgKey,AbsInt,Sg,Proj,Prime,Id,Ps,Ref)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="56" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="57" href="program_keys.html#predkey/1"><tt>predkey/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is an atom that uniquely identifies a program predicate. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="58" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="60" href="#plai_db_id/1"><tt>plai_db_id/1</tt></a>)</span><span><a class="lpdoc-idx-anchor" id="59" href="ciaopp_ref_mansearch.html#plai_db_id(Id)"><tt>plai_db_id(Id)</tt></a> </span> <li><em>The following properties should hold globally:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="61" href="native_props_nfdet_doc.html#is_det/1"><tt>is_det/1</tt></a>)</span><span>All calls of the form <span class="lpdoc-var">get_complete(SgKey,AbsInt,Sg,Proj,Prime,Id,Ps,Ref)</span> are deterministic. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="get_memo_table/7" href="ciaopp_ref_mansearch.html#get_memo_table/7">get_memo_table/7</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>get_memo_table(LitKey,AbsInt,Id,Child,Vars,Call,Ref)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="62" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="63" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="64" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="65" href="program_keys.html#litkey/1"><tt>litkey/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is an atom that uniquely identifies a program point of a program clause body literal. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="66" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="68" href="#plai_db_id/1"><tt>plai_db_id/1</tt></a>)</span><span><a class="lpdoc-idx-anchor" id="67" href="ciaopp_ref_mansearch.html#plai_db_id(Id)"><tt>plai_db_id(Id)</tt></a> </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="get_raw_success/7" href="ciaopp_ref_mansearch.html#get_raw_success/7">get_raw_success/7</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>get_raw_success(ClKey,AbsInt,Id,Sg,Proj,Prime,Ref)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="69" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="70" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="71" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="72" href="program_keys.html#litkey/1"><tt>litkey/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is an atom that uniquely identifies a program point of a program clause body literal. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="73" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="75" href="#plai_db_id/1"><tt>plai_db_id/1</tt></a>)</span><span><a class="lpdoc-idx-anchor" id="74" href="ciaopp_ref_mansearch.html#plai_db_id(Id)"><tt>plai_db_id(Id)</tt></a> </span> <li><em>The following properties should hold upon exit:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="76" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Sg</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="77" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Proj</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="78" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Prime</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="79" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Ref</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="add_parent_complete/5" href="ciaopp_ref_mansearch.html#add_parent_complete/5">add_parent_complete/5</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>add_parent_complete(SgKey,AbsInt,Id,PId,LitKey)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="80" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="81" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="82" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="83" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">PId</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="84" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="del_parent_complete/6" href="ciaopp_ref_mansearch.html#del_parent_complete/6">del_parent_complete/6</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>del_parent_complete(SgKey,AbsInt,Id,PId,LitKey,NPs)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="85" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="86" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="87" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="88" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">PId</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="89" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="90" href="ciaopp_ref_mansearch.html#var/1"><tt>var/1</tt></a>)</span><span><span class="lpdoc-var">NPs</span> is a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="patch_parents/6" href="ciaopp_ref_mansearch.html#patch_parents/6">patch_parents/6</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>patch_parents(Ref,Memo,Key,Id,NewFs,Fs)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="91" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Ref</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="92" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Memo</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="93" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Key</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="94" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="95" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Fs</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="96" href="basic_props.html#list/1"><tt>list/1</tt></a>)</span><span><span class="lpdoc-var">Fs</span> is a list. </span> <li><em>The following properties should hold globally:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="97" href="native_props_nfdet_doc.html#not_fails/1"><tt>not_fails/1</tt></a>)</span><span>All the calls of the form <span class="lpdoc-var">patch_parents(Ref,Memo,Key,Id,NewFs,Fs)</span> do not fail. </span> </ul> <em>Meta-predicate</em> with arguments: <tt>patch_parents(?,fact,?,?,?,?)</tt>.<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="merge_parents/3" href="ciaopp_ref_mansearch.html#merge_parents/3">merge_parents/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="del_parent/4" href="ciaopp_ref_mansearch.html#del_parent/4">del_parent/4</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="update_complete_id/4" href="ciaopp_ref_mansearch.html#update_complete_id/4">update_complete_id/4</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="delete_complete/3" href="ciaopp_ref_mansearch.html#delete_complete/3">delete_complete/3</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>delete_complete(SgKey,AbsInt,Id)</tt> </span><p>Deletes the information of the complete with <span class="lpdoc-var">Id</span>. This predicate does not delete recursively following its parents.</p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="98" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="99" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="100" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="101" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="102" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="104" href="#plai_db_id/1"><tt>plai_db_id/1</tt></a>)</span><span><a class="lpdoc-idx-anchor" id="103" href="ciaopp_ref_mansearch.html#plai_db_id(Id)"><tt>plai_db_id(Id)</tt></a> </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="remove_extra_info_complete/3" href="ciaopp_ref_mansearch.html#remove_extra_info_complete/3">remove_extra_info_complete/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="delete_plai_db_one_clause/4" href="ciaopp_ref_mansearch.html#delete_plai_db_one_clause/4">delete_plai_db_one_clause/4</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>delete_plai_db_one_clause(PredKey,ClKey,Id,AbsInt)</tt> </span><p>Removes from plai_db the information relative to the clause <span class="lpdoc-var">ClKey</span> of complete <span class="lpdoc-var">Id</span> for the domain <span class="lpdoc-var">AbsInt</span></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="105" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">PredKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="106" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="107" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="108" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="109" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">PredKey</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="110" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="112" href="#plai_db_id/1"><tt>plai_db_id/1</tt></a>)</span><span><a class="lpdoc-idx-anchor" id="111" href="ciaopp_ref_mansearch.html#plai_db_id(Id)"><tt>plai_db_id(Id)</tt></a> </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="113" href="basic_props.html#atm/1"><tt>atm/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is an atom. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="complete_key_from_id/3" href="ciaopp_ref_mansearch.html#complete_key_from_id/3">complete_key_from_id/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="erase_previous_memo_tables_and_parents/4" href="ciaopp_ref_mansearch.html#erase_previous_memo_tables_and_parents/4">erase_previous_memo_tables_and_parents/4</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>erase_previous_memo_tables_and_parents(Body,AbsInt,ClKey,Id)</tt> </span><p>We use <span class="lpdoc-var">Body</span> to erase all the memo_tables and all the pointers in the dependency graph that are not longer valid</p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="114" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Body</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="115" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="116" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="117" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="erase_last_memo_table/3" href="ciaopp_ref_mansearch.html#erase_last_memo_table/3">erase_last_memo_table/3</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>erase_last_memo_table(AbsInt,ClKey,Id)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="118" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="119" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="120" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span> <li><em>The following properties should hold globally:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="121" href="native_props_nfdet_doc.html#not_fails/1"><tt>not_fails/1</tt></a>)</span><span>All the calls of the form <span class="lpdoc-var">erase_last_memo_table(AbsInt,ClKey,Id)</span> do not fail. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="erase_previous_memo_lubs/2" href="ciaopp_ref_mansearch.html#erase_previous_memo_lubs/2">erase_previous_memo_lubs/2</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>erase_previous_memo_lubs(Body,ClKey)</tt> </span><p>This predicate traverses <span class="lpdoc-var">Body</span> and removes the existing memo_lubs. When <span class="lpdoc-var">Body</span> is finished, we also remove the memo-lub for the end of the clause using <span class="lpdoc-var">ClKey</span>.</p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="122" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Body</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="123" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="erase_previous_parents_info/5" href="ciaopp_ref_mansearch.html#erase_previous_parents_info/5">erase_previous_parents_info/5</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>erase_previous_parents_info(Id,Goal,AbsInt,Key,NewN)</tt> </span><p><span class="lpdoc-var">Id</span> is the node identifier of the complete that has this <span class="lpdoc-var">Goal</span> in its list of parents. If Id is no then nothing needs to be done (it is a builtin)</p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="124" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="125" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Goal</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="126" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="127" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Key</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="128" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">NewN</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="init_rev_idx/1" href="ciaopp_ref_mansearch.html#init_rev_idx/1">init_rev_idx/1</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="clean_rev_idx/1" href="ciaopp_ref_mansearch.html#clean_rev_idx/1">clean_rev_idx/1</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="complete_id_key/3" href="ciaopp_ref_mansearch.html#complete_id_key/3">complete_id_key/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="memo_table_id_key/3" href="ciaopp_ref_mansearch.html#memo_table_id_key/3">memo_table_id_key/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="add_invalid_call/6" href="ciaopp_ref_mansearch.html#add_invalid_call/6">add_invalid_call/6</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>add_invalid_call(SgKey,AbsInt,LitKey,Id,Sg,Proj)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="129" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">SgKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="130" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="131" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">LitKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="132" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="133" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Sg</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="134" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Proj</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="store_raw_success/6" href="ciaopp_ref_mansearch.html#store_raw_success/6">store_raw_success/6</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>store_raw_success(ClKey,AbsInt,Id,Sg,Proj,LPrime)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="135" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="136" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="137" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="138" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Sg</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="139" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Proj</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="140" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">LPrime</span> is currently a term which is not a free variable. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="get_raw_success/6" href="ciaopp_ref_mansearch.html#get_raw_success/6">get_raw_success/6</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>get_raw_success(ClKey,AbsInt,Id,Sg,Proj,LPrime)</tt> </span><p></p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="141" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">ClKey</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="142" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">AbsInt</span> is currently a term which is not a free variable. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="143" href="ciaopp_ref_mansearch.html#nonvar/1"><tt>nonvar/1</tt></a>)</span><span><span class="lpdoc-var">Id</span> is currently a term which is not a free variable. </span> <li><em>The following properties should hold upon exit:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="144" href="basic_props.html#list/1"><tt>list/1</tt></a>)</span><span><span class="lpdoc-var">LPrime</span> is a list. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">REGTYPE</span><a class="lpdoc-idx-anchor" id="plai_db_id/1" href="ciaopp_ref_mansearch.html#plai_db_id/1">plai_db_id/1</a></div><div class="lpdoc-deftext">A regular type, defined as follows:<pre class="lpdoc-codeblock">plai_db_id(no). plai_db_id(X) :- int(X). </pre> </div></div><p> </div><div id="Documentation on imports"><h2>Documentation on imports</h2>This module has the following direct dependencies:<ul class="lpdoc-itemize-minus"><li><em>Application modules:</em><br/><a class="lpdoc-idx-anchor" id="145" href="ciaopp_ref_mansearch.html#transform"><tt>transform</tt></a>. <li><em>System library modules:</em><br/><a class="lpdoc-idx-anchor" id="146" href="ciaopp_ref_mansearch.html#datafacts_rt"><tt>datafacts_rt</tt></a>, <a class="lpdoc-idx-anchor" id="147" href="ciaopp_ref_mansearch.html#native_props"><tt>native_props</tt></a>, <a class="lpdoc-idx-anchor" id="148" href="program_keys.html"><tt>program_keys</tt></a>. <li><em>Internal (engine) modules:</em><br/><a class="lpdoc-idx-anchor" id="149" href="ciaopp_ref_mansearch.html#term_basic"><tt>term_basic</tt></a>, <a class="lpdoc-idx-anchor" id="150" href="ciaopp_ref_mansearch.html#arithmetic"><tt>arithmetic</tt></a>, <a class="lpdoc-idx-anchor" id="151" href="ciaopp_ref_mansearch.html#atomic_basic"><tt>atomic_basic</tt></a>, <a class="lpdoc-idx-anchor" id="152" href="ciaopp_ref_mansearch.html#basiccontrol"><tt>basiccontrol</tt></a>, <a class="lpdoc-idx-anchor" id="153" href="ciaopp_ref_mansearch.html#exceptions"><tt>exceptions</tt></a>, <a class="lpdoc-idx-anchor" id="154" href="ciaopp_ref_mansearch.html#term_compare"><tt>term_compare</tt></a>, <a class="lpdoc-idx-anchor" id="155" href="ciaopp_ref_mansearch.html#term_typing"><tt>term_typing</tt></a