-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 7ee9629 🚀
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ModelMap (alt-ergo-lib.AltErgoLib.ModelMap)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">alt-ergo-lib</a> » <a href="../index.html">AltErgoLib</a> » ModelMap</nav><header class="odoc-preamble"><h1>Module <code><span>AltErgoLib.ModelMap</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span></code></div><div class="spec-doc"><p>Type of model.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-add"><a href="#val-add" class="anchor"></a><code><span><span class="keyword">val</span> add : <span><a href="../Id/index.html#type-typed">Id.typed</a> <span class="arrow">-></span></span> <span><span><a href="../Expr/index.html#type-t">Expr.t</a> list</span> <span class="arrow">-></span></span> <span><a href="../Expr/index.html#type-t">Expr.t</a> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>add sy args ret mdl</code> adds the binding <code>args -> ret</code> to the partial graph associated with the symbol <code>sy</code>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span><span class="keyword">val</span> empty : <span><span class="label">suspicious</span>:bool <span class="arrow">-></span></span> <span><span><a href="../Id/index.html#type-typed">Id.typed</a> list</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p>An empty model. The <code>suspicious</code> flag is used to remember that this model may be wrong as it involves symbols from theories for which the model generation is known to be incomplete.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-subst"><a href="#val-subst" class="anchor"></a><code><span><span class="keyword">val</span> subst : <span><a href="../Id/index.html#type-t">Id.t</a> <span class="arrow">-></span></span> <span><a href="../Expr/index.html#type-t">Expr.t</a> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>subst id e mdl</code> substitutes all the occurrences of the identifier <code>id</code> in the model <code>mdl</code> by the model term <code>e</code>.</p><p>@Raise Error if the expression <code>e</code> is not a model term or the type of <code>e</code> doesn't agree with some occurrence of <code>id</code> in the model.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span><span class="keyword">val</span> pp : <span><a href="#type-t">t</a> <span class="xref-unresolved">Fmt</span>.t</span></span></code></div><div class="spec-doc"><p><code>pp ppf mdl</code> prints the model <code>mdl</code> on the formatter <code>ppf</code> using the SMT-LIB format.</p></div></div></div></body></html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ModelMap (alt-ergo-lib.AltErgoLib.ModelMap)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">alt-ergo-lib</a> » <a href="../index.html">AltErgoLib</a> » ModelMap</nav><header class="odoc-preamble"><h1>Module <code><span>AltErgoLib.ModelMap</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-M"><a href="#module-M" class="anchor"></a><code><span><span class="keyword">module</span> M</span><span> : <span class="xref-unresolved">Stdlib</span>.Map.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">key</span> = <span><span class="xref-unresolved">AltErgoLib</span>.Expr.t <span class="xref-unresolved">list</span></span></span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-graph"><a href="#type-graph" class="anchor"></a><code><span><span class="keyword">type</span> graph</span><span> = </span></code><ol><li id="type-graph.Free" class="def variant constructor anchored"><a href="#type-graph.Free" class="anchor"></a><code><span>| </span><span><span class="constructor">Free</span> <span class="keyword">of</span> <a href="../Expr/index.html#type-t">Expr.t</a></span></code></li><li id="type-graph.C" class="def variant constructor anchored"><a href="#type-graph.C" class="anchor"></a><code><span>| </span><span><span class="constructor">C</span> <span class="keyword">of</span> <span><a href="../Expr/index.html#type-t">Expr.t</a> <span class="xref-unresolved">M</span>.t</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span></code></div><div class="spec-doc"><p>Type of model.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-add"><a href="#val-add" class="anchor"></a><code><span><span class="keyword">val</span> add : <span><a href="../Id/index.html#type-typed">Id.typed</a> <span class="arrow">-></span></span> <span><span><a href="../Expr/index.html#type-t">Expr.t</a> list</span> <span class="arrow">-></span></span> <span><a href="../Expr/index.html#type-t">Expr.t</a> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>add sy args ret mdl</code> adds the binding <code>args -> ret</code> to the partial graph associated with the symbol <code>sy</code>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span><span class="keyword">val</span> empty : <span><span class="label">suspicious</span>:bool <span class="arrow">-></span></span> <span><span><a href="../Id/index.html#type-typed">Id.typed</a> list</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p>An empty model. The <code>suspicious</code> flag is used to remember that this model may be wrong as it involves symbols from theories for which the model generation is known to be incomplete.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-find"><a href="#val-find" class="anchor"></a><code><span><span class="keyword">val</span> find : <span><a href="../Id/index.html#type-typed">Id.typed</a> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="#type-graph">graph</a></span></code></div><div class="spec-doc"><p><code>find sy mdl</code> returns the graph associated with the symbol <code>sy</code> in the model <code>mdl</code>, raises <code>Not_found</code> if it doesn't exist.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span><span class="keyword">val</span> fold : <span><span>(<span><a href="../Id/index.html#type-typed">Id.typed</a> <span class="arrow">-></span></span> <span><a href="#type-graph">graph</a> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span class="type-var">'a</span>)</span> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span class="type-var">'a</span></span></code></div><div class="spec-doc"><p><code>fold f mdl init</code> folds over the bindings in the model <code>mdl</code> with the function <code>f</code> and with <code>init</code> as a initial value for the accumulator.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-subst"><a href="#val-subst" class="anchor"></a><code><span><span class="keyword">val</span> subst : <span><a href="../Id/index.html#type-t">Id.t</a> <span class="arrow">-></span></span> <span><a href="../Expr/index.html#type-t">Expr.t</a> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>subst id e mdl</code> substitutes all the occurrences of the identifier <code>id</code> in the model <code>mdl</code> by the model term <code>e</code>.</p><p>@Raise Error if the expression <code>e</code> is not a model term or the type of <code>e</code> doesn't agree with some occurrence of <code>id</code> in the model.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span><span class="keyword">val</span> pp : <span><a href="#type-t">t</a> <span class="xref-unresolved">Fmt</span>.t</span></span></code></div><div class="spec-doc"><p><code>pp ppf mdl</code> prints the model <code>mdl</code> on the formatter <code>ppf</code> using the SMT-LIB format.</p></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters