sidekick/dev/sidekick-base/Sidekick_base/Form/index.html
2021-11-29 00:14:38 +00:00

2 lines
No EOL
16 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Form (sidekick-base.Sidekick_base.Form)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../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">sidekick-base</a> &#x00BB; <a href="../index.html">Sidekick_base</a> &#x00BB; Form</nav><header class="odoc-preamble"><h1>Module <code><span>Sidekick_base.Form</span></code></h1><p>Formulas (boolean terms).</p><p>This module defines function symbols, constants, and views to manipulate boolean formulas in <a href="../index.html"><code>Sidekick_base</code></a>. This is useful to have the ability to use boolean connectives instead of being limited to clauses; by using <a href="../../../sidekick/Sidekick_th_bool_static/index.html"><code>Sidekick_th_bool_static</code></a>, the formulas are turned into clauses automatically for you.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module" id="module-T" class="anchored"><a href="#module-T" class="anchor"></a><code><span><span class="keyword">module</span> </span><span>T</span><span> = <a href="../Base_types/Term/index.html">Base_types.Term</a></span></code></div></div><div class="odoc-spec"><div class="spec module" id="module-Ty" class="anchored"><a href="#module-Ty" class="anchor"></a><code><span><span class="keyword">module</span> </span><span>Ty</span><span> = <a href="../Base_types/Ty/index.html">Base_types.Ty</a></span></code></div></div><div class="odoc-spec"><div class="spec module" id="module-Fun" class="anchored"><a href="#module-Fun" class="anchor"></a><code><span><span class="keyword">module</span> </span><span>Fun</span><span> = <a href="../Base_types/Fun/index.html">Base_types.Fun</a></span></code></div></div><div class="odoc-spec"><div class="spec module" id="module-Value" class="anchored"><a href="#module-Value" class="anchor"></a><code><span><span class="keyword">module</span> </span><span>Value</span><span> = <a href="../Base_types/Value/index.html">Base_types.Value</a></span></code></div></div><div class="odoc-spec"><div class="spec exception" id="exception-Not_a_th_term" class="anchored"><a href="#exception-Not_a_th_term" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Not_a_th_term</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-id_and" class="anchored"><a href="#val-id_and" class="anchor"></a><code><span><span class="keyword">val</span> id_and : <a href="../ID/index.html#type-t">ID.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-id_or" class="anchored"><a href="#val-id_or" class="anchor"></a><code><span><span class="keyword">val</span> id_or : <a href="../ID/index.html#type-t">ID.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-id_imply" class="anchored"><a href="#val-id_imply" class="anchor"></a><code><span><span class="keyword">val</span> id_imply : <a href="../ID/index.html#type-t">ID.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-view_id" class="anchored"><a href="#val-view_id" class="anchor"></a><code><span><span class="keyword">val</span> view_id : <span><a href="../ID/index.html#type-t">ID.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span><span class="type-var">'a</span> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-t">Sidekick_util.IArray.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span>(<span class="type-var">'a</span>, <span><span class="type-var">'a</span> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-iter">Sidekick_util.IArray.iter</a></span>)</span> <a href="../../../sidekick/Sidekick_th_bool_static/index.html#type-bool_view">Sidekick_th_bool_static.bool_view</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-view_as_bool" class="anchored"><a href="#val-view_as_bool" class="anchor"></a><code><span><span class="keyword">val</span> view_as_bool : <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span>(<a href="../Base_types/Term/index.html#type-t">T.t</a>, <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-iter">Sidekick_util.IArray.iter</a></span>)</span> <a href="../../../sidekick/Sidekick_th_bool_static/index.html#type-bool_view">Sidekick_th_bool_static.bool_view</a></span></span></code></div></div><div class="odoc-spec"><div class="spec module" id="module-Funs" class="anchored"><a href="#module-Funs" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="Funs/index.html">Funs</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-as_id" class="anchored"><a href="#val-as_id" class="anchor"></a><code><span><span class="keyword">val</span> as_id : <span><a href="../ID/index.html#type-t">ID.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-t">Sidekick_util.IArray.t</a></span> option</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-flatten_id" class="anchored"><a href="#val-flatten_id" class="anchor"></a><code><span><span class="keyword">val</span> flatten_id : <span><a href="../ID/index.html#type-t">ID.t</a> <span class="arrow">&#45;&gt;</span></span> <span>bool <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> list</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-and_l" class="anchored"><a href="#val-and_l" class="anchor"></a><code><span><span class="keyword">val</span> and_l : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> list</span> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-or_l" class="anchored"><a href="#val-or_l" class="anchor"></a><code><span><span class="keyword">val</span> or_l : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> list</span> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-and_" class="anchored"><a href="#val-and_" class="anchor"></a><code><span><span class="keyword">val</span> and_ : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-or_" class="anchored"><a href="#val-or_" class="anchor"></a><code><span><span class="keyword">val</span> or_ : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-and_a" class="anchored"><a href="#val-and_a" class="anchor"></a><code><span><span class="keyword">val</span> and_a : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-t">Sidekick_util.IArray.t</a></span> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-or_a" class="anchored"><a href="#val-or_a" class="anchor"></a><code><span><span class="keyword">val</span> or_a : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-t">Sidekick_util.IArray.t</a></span> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-eq" class="anchored"><a href="#val-eq" class="anchor"></a><code><span><span class="keyword">val</span> eq : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-not_" class="anchored"><a href="#val-not_" class="anchor"></a><code><span><span class="keyword">val</span> not_ : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-ite" class="anchored"><a href="#val-ite" class="anchor"></a><code><span><span class="keyword">val</span> ite : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-equiv" class="anchored"><a href="#val-equiv" class="anchor"></a><code><span><span class="keyword">val</span> equiv : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-neq" class="anchored"><a href="#val-neq" class="anchor"></a><code><span><span class="keyword">val</span> neq : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-imply_a" class="anchored"><a href="#val-imply_a" class="anchor"></a><code><span><span class="keyword">val</span> imply_a : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-t">Sidekick_util.IArray.t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-imply_l" class="anchored"><a href="#val-imply_l" class="anchor"></a><code><span><span class="keyword">val</span> imply_l : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> list</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-imply" class="anchored"><a href="#val-imply" class="anchor"></a><code><span><span class="keyword">val</span> imply : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-xor" class="anchored"><a href="#val-xor" class="anchor"></a><code><span><span class="keyword">val</span> xor : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-distinct_l" class="anchored"><a href="#val-distinct_l" class="anchor"></a><code><span><span class="keyword">val</span> distinct_l : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Base_types/Term/index.html#type-t">T.t</a> <span class="xref-unresolved">CCList</span>.t</span> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-mk_bool" class="anchored"><a href="#val-mk_bool" class="anchor"></a><code><span><span class="keyword">val</span> mk_bool : <span><a href="../Base_types/Term/index.html#type-store">T.store</a> <span class="arrow">&#45;&gt;</span></span> <span><span><span>(<a href="../Base_types/Term/index.html#type-t">T.t</a>, <span><a href="../Base_types/Term/index.html#type-t">T.t</a> <a href="../../../sidekick/Sidekick_util/IArray/index.html#type-t">Sidekick_util.IArray.t</a></span>)</span> <a href="../../../sidekick/Sidekick_th_bool_static/index.html#type-bool_view">Sidekick_th_bool_static.bool_view</a></span> <span class="arrow">&#45;&gt;</span></span> <a href="../Base_types/Term/index.html#type-t">T.t</a></span></code></div></div><div class="odoc-spec"><div class="spec module" id="module-Gensym" class="anchored"><a href="#module-Gensym" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="Gensym/index.html">Gensym</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-check_congruence_classes" class="anchored"><a href="#val-check_congruence_classes" class="anchor"></a><code><span><span class="keyword">val</span> check_congruence_classes : bool</span></code></div></div></div></body></html>