update doc

This commit is contained in:
Simon Cruanes 2018-05-09 20:34:17 -05:00
parent 190ee3c503
commit 186f167885
519 changed files with 2151 additions and 582 deletions

2
msat_test/index.html Normal file
View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (msat_test.index)</title><link rel="stylesheet" href="../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="index.html">msat_test</a></span></nav><header></header></body></html>

127
odoc.css
View file

@ -1,7 +1,7 @@
@charset "UTF-8";
/* Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
%%NAME%% %%VERSION%% */
odoc 1.2.0 */
/* Reset a few things. */
@ -21,32 +21,32 @@ table { border-collapse: collapse; border-spacing: 0; }
body
{ font-family: Helvetica, "DejaVu Sans", Arial, sans-serif;
font-weight: normal;
font-size: 14px;
line-height:20px;
font-size: 0.875rem;
line-height:1.25rem;
text-align: left;
min-width: 40ex;
max-width: 78ex;
padding: 20px;
margin-left: 60px;
padding: 1.25rem;
margin-left: 3.75rem;
color: #222; background: #FAFAFA; }
/* Basic markup elements */
b, strong { font-weight: bold; }
i, em { font-style: italic; }
em { font-style: italic; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
sup, sub { font-size : 12px; line-height: 0; margin-left: 0.2ex; }
sup, sub { font-size : 0.75rem; line-height: 0; margin-left: 0.2ex; }
p, div, img { margin-top: 20px; }
p, div, img { margin-top: 1.25rem; }
ul, ol
{ margin-top: 10px; margin-bottom: 10px; list-style-position: outside }
{ margin-top: 0.625rem; margin-bottom: 0.625rem; list-style-position: outside }
ul { list-style-type: square }
ul > li { margin-left: 22px; }
ol > li { margin-left: 27.2px; }
ul > li { margin-left: 1.375rem; }
ol > li { margin-left: 1.7rem; }
li > *:first-child { margin-top: 0 }
/* Text alignements, this should be forbidden. */
@ -63,9 +63,8 @@ a:hover { box-shadow:0 1px 0 0 #2C5CBD; }
{ background-color: #FFF8E5;
box-shadow: 0 0 0 2px #FFF8E5, 0 0 0 3px #DDD; }
*:hover > a.anchor {
visibility: visible;
}
.spec:hover > a.anchor, /* FIXME remove */
.anchored:hover a.anchor { visibility: visible; }
a.anchor:before { content: "#" }
a.anchor:hover { box-shadow: none; text-decoration: underline }
@ -84,21 +83,19 @@ a.anchor
we restart the sequence there like h2 */
h1, h2, h3, h4, h5, h6, .h7, .h8, .h9, .h10
{ font-weight: bold; margin-top: 20px; }
h1 + *, h2 + *, .h7 + * { margin-top: 10px; }
{ font-weight: bold; margin-top: 1.25rem; }
h1 + *, h2 + *, .h7 + * { margin-top: 0.625rem; }
h1, h2, .h7
{ font-size: 20px;
line-height: 39px;
padding-top: 10px;
{ font-size: 1.25rem;
line-height: 2.4375rem; /* 2.5rem - border width */
padding-top: 0.625rem;
border-top: solid;
border-width: 1px;
border-color: #DDD; }
h3 { font-size: 18px; }
h2 + h3, .h7 + .h8 { margin-top: 10px; }
h3, .h8 { font-size: 1.125rem; }
h2 + h3, .h7 + .h8 { margin-top: 0.625rem; }
/* Preformatted and code */
@ -106,18 +103,18 @@ tt, code, pre
{ font-family: Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
monospace;
font-weight: normal;
font-size: 12px; }
font-size: 0.75rem; }
pre
{ padding-left: 4px; padding-right: 4px;
margin-left: -4px; margin-right: -4px;
padding-top: 5px; padding-bottom: 5px;
margin-top: 20px; /* margin-bottom: 0.625rem; */
line-height: 19px;
{ padding-left: 0.25rem; padding-right: 0.25rem;
margin-left: -0.25rem; margin-right: -0.25rem;
padding-top: 0.3125rem; padding-bottom: 0.3125rem;
margin-top: 1.25rem; /* margin-bottom: 0.625rem; */
line-height: 1.1875rem;
background: #F1F1F1; }
h1 tt, h1 code, h2 tt, h2 code, .h7 tt, .h7 code { font-size: 18px }
h3 tt, h3 code { font-size: 16px }
h1 tt, h1 code, h2 tt, h2 code, .h7 tt, .h7 code { font-size: 1.125rem }
h3 tt, h3 code { font-size: 1rem }
/* Code lexemes */
@ -125,33 +122,19 @@ h3 tt, h3 code { font-size: 16px }
/* Module member specification */
div.def { margin-top: 0; text-indent: -2ex; padding-left: 2ex; }
div.def + div.doc { margin-left: 1ex; margin-top: 2.5px }
div.doc > *:first-child { margin-top: 0; }
/* The elements other than heading should be wrapped in <aside> elements. */
heading, body > p, body > ul, body > ol, h3, h4, body > pre {
margin-bottom: 16px;
}
dd {
margin-left: 8px;
margin-bottom: 16px;
}
dd > :first-child {
margin-top: 0;
}
div.def { margin-top: 0rem; text-indent: -2ex; padding-left: 2ex; }
div.def + div.doc { margin-left: 1ex; margin-top: 0.15625rem }
div.doc > *:first-child { margin-top: 0rem; }
/* Collapsible inlined include and module */
details
{ border-radius: 8px;
border-left: 1.6px solid;
{ border-radius: 0.5rem;
border-left: 0.2rem solid;
border-color: #FAFAFA /* Background */;
margin-left: -24px;
padding-left: 20.8px;
padding-bottom: 10px; }
margin-left: -1.5rem;
padding-left: 1.3rem;
padding-bottom: 0.625rem; }
details[open] { border-color: #AAA; }
@ -174,7 +157,7 @@ span.at-tag { font-weight: bold }
/* FIXME random other things to review. */
.heading
{ margin-top: 10px;
{ margin-top: 0.625rem;
border-top: solid;
border-width: 1px;
border-color: #DDD;
@ -182,8 +165,8 @@ span.at-tag { font-weight: bold }
font-weight: normal;
font-style: italic; }
.heading + .sig { margin-top: -20px; }
.heading + .parameters { margin-top: -20px; }
.heading + .sig { margin-top: -1.25rem; }
.heading + .parameters { margin-top: -1.25rem; }
/* Odig package index */
@ -191,28 +174,28 @@ span.at-tag { font-weight: bold }
.by-name ol ol, .by-tag ol ol { margin-top:0; margin-bottom: 0 }
.by-name li, .by-tag li, .errors li { margin-left:0; }
.by-name .version { font-size: 10px; color: #AAA }
.by-name nav { margin-bottom: 10px }
.by-name .version { font-size: 0.625rem; color: #AAA }
.by-name nav { margin-bottom: 0.625rem }
.by-name nav a
{ text-transform: uppercase; font-size: 18px;
{ text-transform: uppercase; font-size: 1.125rem;
margin-right:1ex; color: #222; display: inline-block; }
.by-tag nav a { margin-right:1ex; color: #222; display: inline-block; }
.by-tag > ol > li { margin-top: 10px; }
.by-tag > ol > li { margin-top: 0.625rem; }
.by-tag > ol > li > span,
.by-tag > ol > li > ol,
.by-tag > ol > li > ol > li { display: inline-block; margin-right: 1ex; }
/* Odig package page */
.package nav { display: inline; font-size: 14px; font-weight: normal; }
.package .version { font-size: 14px; }
.package nav { display: inline; font-size: 0.875rem; font-weight: normal; }
.package .version { font-size: 0.875rem; }
h1 + .modules, h1 + .sel { margin-top: 10px }
h1 + .modules, h1 + .sel { margin-top: 0.625rem }
.sel { font-weight: normal; font-style: italic;
font-size:14px; margin-top:20px; }
.sel + .modules { margin-top:10px;
margin-bottom: 20px; margin-left: 1ex; }
font-size:0.875rem; margin-top:1.25rem; }
.sel + .modules { margin-top:0.625rem;
margin-bottom: 1.25rem; margin-left: 1ex; }
.modules { margin:0; }
.modules .module { min-width:8ex; padding-right: 2ex }
@ -234,18 +217,6 @@ h1 + .modules, h1 + .sel { margin-top: 10px }
{ body { color: black; background: white; }
body nav:first-child { visibility: hidden; }}
.hljs-keyword {
font-weight: bold;
}
.hljs-literal {
opacity: 0.8;
}
.hljs-comment {
opacity: 0.5;
}
/*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend_intf (sidekick.Sidekick_backend.Backend_intf)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Backend_intf</code></h1></header><aside><p>Backend interface</p><p>This modules defines the interface of the modules providing export of proofs.</p></aside><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend_intf (sidekick.Sidekick_backend.Backend_intf)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Backend_intf</span></h1></header><p>Backend interface</p><p>This modules defines the interface of the modules providing
export of proofs.</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Backend_intf.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Backend_intf.S</code></h1></header><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Backend_intf.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Backend_intf.S</span></h1></header><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Coq.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq.Make.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Coq.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq.Make.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Coq.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq.Make.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Coq.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq.Make.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Coq.Make.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend.Coq.Make.2-A</code></h1></header><aside><p>Term printing for Coq</p></aside><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The types of hypotheses, lemmas, and assumptions</p></dd></dl><dl><dt id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><code><span class="keyword">val </span>prove_hyp : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><code><span class="keyword">val </span>prove_lemma : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><code><span class="keyword">val </span>prove_assumption : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Proving function for hypotheses, lemmas and assumptions. <code>prove_x fmt name x</code> should prove <code>x</code>, and be such that after executing it, <code>x</code> is among the coq hypotheses under the name <code>name</code>. The hypothesis should be the encoding of the given clause, i.e for a clause <code>a \/ not b \/ c</code>, the proved hypothesis should be: <code> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the one in the atoms array of the clause.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Coq.Make.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend.Coq.Make.2-A</span></h1></header><p>Term printing for Coq</p><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The types of hypotheses, lemmas, and assumptions</p></div></div><div class="spec val" id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_hyp : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_lemma : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_assumption : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Proving function for hypotheses, lemmas and assumptions.
<code class="code">prove_x fmt name x</code> should prove <code class="code">x</code>, and be such that after
executing it, <code class="code">x</code> is among the coq hypotheses under the name <code class="code">name</code>.
The hypothesis should be the encoding of the given clause, i.e
for a clause <code class="code">a \/ not b \/ c</code>, the proved hypothesis should be:
<code class="code"> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the
one in the atoms array of the clause.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Coq.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq.Make</code></h1></header><div class="doc"><p>Base functor to output Coq proofs</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Coq.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq.Make</span></h1></header><div class="doc"><p>Base functor to output Coq proofs</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Coq.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq.Simple.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Coq.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq.Simple.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Coq.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq.Simple.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Coq.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq.Simple.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Coq.Simple.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend.Coq.Simple.2-A</code></h1></header><aside><p>Term printing for Coq</p></aside><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The types of hypotheses, lemmas, and assumptions</p></dd></dl><dl><dt id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><code><span class="keyword">val </span>prove_hyp : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><code><span class="keyword">val </span>prove_lemma : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><code><span class="keyword">val </span>prove_assumption : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Proving function for hypotheses, lemmas and assumptions. <code>prove_x fmt name x</code> should prove <code>x</code>, and be such that after executing it, <code>x</code> is among the coq hypotheses under the name <code>name</code>. The hypothesis should be the encoding of the given clause, i.e for a clause <code>a \/ not b \/ c</code>, the proved hypothesis should be: <code> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the one in the atoms array of the clause.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Coq.Simple.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend.Coq.Simple.2-A</span></h1></header><p>Term printing for Coq</p><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The types of hypotheses, lemmas, and assumptions</p></div></div><div class="spec val" id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_hyp : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_lemma : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_assumption : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Proving function for hypotheses, lemmas and assumptions.
<code class="code">prove_x fmt name x</code> should prove <code class="code">x</code>, and be such that after
executing it, <code class="code">x</code> is among the coq hypotheses under the name <code class="code">name</code>.
The hypothesis should be the encoding of the given clause, i.e
for a clause <code class="code">a \/ not b \/ c</code>, the proved hypothesis should be:
<code class="code"> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the
one in the atoms array of the clause.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend.Coq.Simple)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq.Simple</code></h1></header><div class="doc"><p>Simple functo to output Coq proofs</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend.Coq.Simple)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq.Simple</span></h1></header><div class="doc"><p>Simple functo to output Coq proofs</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,4 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Coq (sidekick.Sidekick_backend.Coq)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Coq</code></h1></header><aside><p>Coq Backend</p><p>This module provides an easy way to produce coq scripts corresponding to the resolution proofs output by the sat solver.</p></aside><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Backend_intf/index.html#module-type-S">Backend_intf.S</a></code></article><article id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-hyp">hyp</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-assumption">assumption</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></article><article id="module-Simple"><a href="#module-Simple" class="anchor"></a><code><span class="keyword">module </span><a href="Simple/index.html">Simple</a> : <span class="keyword">functor</span> (<a href="Simple/argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Simple/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="Simple/argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-lemma">lemma</a> := <a href="Simple/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-assumption">assumption</a> := <a href="Simple/argument-1-S/index.html#type-formula">S.formula</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-t">t</a> := <a href="Simple/argument-1-S/index.html#type-proof">S.proof</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Coq (sidekick.Sidekick_backend.Coq)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Coq</span></h1></header><p>Coq Backend</p><p>This module provides an easy way to produce coq scripts
corresponding to the resolution proofs output by the
sat solver.</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Backend_intf/index.html#module-type-S">Backend_intf.S</a></code></div><div class="doc"><p>Interface for exporting proofs.</p></div></div><div class="spec module-type" id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-hyp">hyp</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-assumption">assumption</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"><p>Base functor to output Coq proofs</p></div></div><div class="spec module" id="module-Simple"><a href="#module-Simple" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Simple/index.html">Simple</a> : <span class="keyword">functor</span> (<a href="Simple/argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Simple/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="Simple/argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-lemma">lemma</a> := <a href="Simple/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-assumption">assumption</a> := <a href="Simple/argument-1-S/index.html#type-formula">S.formula</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-t">t</a> := <a href="Simple/argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"><p>Simple functo to output Coq proofs</p></div></div></body></html>

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend.Coq.Arg)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Coq.Arg</code></h1></header><aside><p>Term printing for Coq</p></aside><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The types of hypotheses, lemmas, and assumptions</p></dd></dl><dl><dt id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><code><span class="keyword">val </span>prove_hyp : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><code><span class="keyword">val </span>prove_lemma : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><code><span class="keyword">val </span>prove_assumption : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Proving function for hypotheses, lemmas and assumptions. <code>prove_x fmt name x</code> should prove <code>x</code>, and be such that after executing it, <code>x</code> is among the coq hypotheses under the name <code>name</code>. The hypothesis should be the encoding of the given clause, i.e for a clause <code>a \/ not b \/ c</code>, the proved hypothesis should be: <code> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the one in the atoms array of the clause.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend.Coq.Arg)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Coq.Arg</span></h1></header><p>Term printing for Coq</p><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The types of hypotheses, lemmas, and assumptions</p></div></div><div class="spec val" id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_hyp : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_lemma : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_assumption : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Proving function for hypotheses, lemmas and assumptions.
<code class="code">prove_x fmt name x</code> should prove <code class="code">x</code>, and be such that after
executing it, <code class="code">x</code> is among the coq hypotheses under the name <code class="code">name</code>.
The hypothesis should be the encoding of the given clause, i.e
for a clause <code class="code">a \/ not b \/ c</code>, the proved hypothesis should be:
<code class="code"> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the
one in the atoms array of the clause.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Coq.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Coq.S</code></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Coq.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Coq.S</span></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dedukti.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dedukti.Make.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dedukti.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dedukti.Make.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dedukti.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dedukti.Make.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dedukti.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dedukti.Make.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Dedukti.Make.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend.Dedukti.Make.2-A</code></h1></header><dl><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-proof"><a href="#type-proof" class="anchor"></a><code><span class="keyword">type </span>proof</code><code></code><code></code></dt><dt id="type-formula"><a href="#type-formula" class="anchor"></a><code><span class="keyword">type </span>formula</code><code></code><code></code></dt></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove"><a href="#val-prove" class="anchor"></a><code><span class="keyword">val </span>prove : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-context"><a href="#val-context" class="anchor"></a><code><span class="keyword">val </span>context : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Dedukti.Make.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend.Dedukti.Make.2-A</span></h1></header><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-proof"><a href="#type-proof" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>proof</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-formula"><a href="#type-formula" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>formula</code><code></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove"><a href="#val-prove" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-context"><a href="#val-context" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>context : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Dedukti.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dedukti.Make</code></h1></header><div class="doc"><p>Functor to generate a backend to output proofs for the dedukti type checker.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-formula">formula</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-proof">proof</a> := <a href="argument-1-S/index.html#type-proof">S.proof</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Dedukti.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dedukti.Make</span></h1></header><div class="doc"><p>Functor to generate a backend to output proofs for the dedukti type checker.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-formula">formula</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-proof">proof</a> := <a href="argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Dedukti (sidekick.Sidekick_backend.Dedukti)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dedukti</code></h1></header><aside><p>Deduki backend for proofs</p><p>Work in progress...</p></aside><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Backend_intf/index.html#module-type-S">Backend_intf.S</a></code></article><article id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-formula">formula</a> := <a href="Make/argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-proof">proof</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Dedukti (sidekick.Sidekick_backend.Dedukti)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dedukti</span></h1></header><p>Deduki backend for proofs</p><p>Work in progress...</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Backend_intf/index.html#module-type-S">Backend_intf.S</a></code></div><div class="doc"></div></div><div class="spec module-type" id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-formula">formula</a> := <a href="Make/argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-proof">proof</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"><p>Functor to generate a backend to output proofs for the dedukti type checker.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend.Dedukti.Arg)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Dedukti.Arg</code></h1></header><dl><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-proof"><a href="#type-proof" class="anchor"></a><code><span class="keyword">type </span>proof</code><code></code><code></code></dt><dt id="type-formula"><a href="#type-formula" class="anchor"></a><code><span class="keyword">type </span>formula</code><code></code><code></code></dt></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove"><a href="#val-prove" class="anchor"></a><code><span class="keyword">val </span>prove : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-context"><a href="#val-context" class="anchor"></a><code><span class="keyword">val </span>context : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend.Dedukti.Arg)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Dedukti.Arg</span></h1></header><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-proof"><a href="#type-proof" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>proof</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-formula"><a href="#type-formula" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>formula</code><code></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove"><a href="#val-prove" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-context"><a href="#val-context" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>context : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Dedukti.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Dedukti.S</code></h1></header><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Dedukti.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Dedukti.S</span></h1></header><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Formula (sidekick.Sidekick_backend.Dimacs.Make.1-St.Formula)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dimacs.Make.1-St.Formula</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-formula">formula</a></code><code></code></dt></dl><dl><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-hash"><a href="#val-hash" class="anchor"></a><code><span class="keyword">val </span>hash : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat/Solver_types_intf/index.html#type-printer">Sidekick_sat.Solver_types_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Formula (sidekick.Sidekick_backend.Dimacs.Make.1-St.Formula)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dimacs.Make.1-St.Formula</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-formula">formula</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-hash"><a href="#val-hash" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hash : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat/Solver_types_intf/index.html#type-printer">Sidekick_sat.Solver_types_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,4 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Var (sidekick.Sidekick_backend.Dimacs.Make.1-St.Var)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dimacs.Make.1-St.Var</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-var">var</a></code><code></code></dt></dl><dl><dt id="val-dummy"><a href="#val-dummy" class="anchor"></a><code><span class="keyword">val </span>dummy : <a href="index.html#type-t">t</a></code></dt><dt id="val-pos"><a href="#val-pos" class="anchor"></a><code><span class="keyword">val </span>pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></dt><dt id="val-level"><a href="#val-level" class="anchor"></a><code><span class="keyword">val </span>level : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-idx"><a href="#val-idx" class="anchor"></a><code><span class="keyword">val </span>idx : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-reason"><a href="#val-reason" class="anchor"></a><code><span class="keyword">val </span>reason : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-reason">reason</a> option</code></dt><dt id="val-weight"><a href="#val-weight" class="anchor"></a><code><span class="keyword">val </span>weight : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> float</code></dt><dt id="val-set_level"><a href="#val-set_level" class="anchor"></a><code><span class="keyword">val </span>set_level : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int <span>&#8209;&gt;</span> unit</code></dt><dt id="val-set_idx"><a href="#val-set_idx" class="anchor"></a><code><span class="keyword">val </span>set_idx : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int <span>&#8209;&gt;</span> unit</code></dt><dt id="val-set_weight"><a href="#val-set_weight" class="anchor"></a><code><span class="keyword">val </span>set_weight : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> float <span>&#8209;&gt;</span> unit</code></dt><dt id="val-in_heap"><a href="#val-in_heap" class="anchor"></a><code><span class="keyword">val </span>in_heap : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-make"><a href="#val-make" class="anchor"></a><code><span class="keyword">val </span>make : <a href="../index.html#type-state">state</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><a href="../../../../../Sidekick_sat/Theory_intf/index.html#type-negated">Sidekick_sat.Theory_intf.negated</a></code></dt><dd><p>Returns the variable linked with the given formula, and whether the atom associated with the formula is <code>var.pa</code> or <code>var.na</code></p></dd></dl><dl><dt id="val-seen_both"><a href="#val-seen_both" class="anchor"></a><code><span class="keyword">val </span>seen_both : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dd><p>both atoms have been seen?</p></dd></dl><dl><dt id="val-clear"><a href="#val-clear" class="anchor"></a><code><span class="keyword">val </span>clear : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Clear the 'seen' field of the variable.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Var (sidekick.Sidekick_backend.Dimacs.Make.1-St.Var)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dimacs.Make.1-St.Var</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-var">var</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-dummy"><a href="#val-dummy" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>dummy : <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pos"><a href="#val-pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></div><div class="doc"></div></div><div class="spec val" id="val-level"><a href="#val-level" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>level : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-idx"><a href="#val-idx" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>idx : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-reason"><a href="#val-reason" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>reason : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-reason">reason</a> option</code></div><div class="doc"></div></div><div class="spec val" id="val-weight"><a href="#val-weight" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>weight : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> float</code></div><div class="doc"></div></div><div class="spec val" id="val-set_level"><a href="#val-set_level" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_level : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-set_idx"><a href="#val-set_idx" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_idx : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-set_weight"><a href="#val-set_weight" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_weight : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> float <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-in_heap"><a href="#val-in_heap" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>in_heap : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-make"><a href="#val-make" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>make : <a href="../index.html#type-state">state</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><a href="../../../../../Sidekick_sat/Theory_intf/index.html#type-negated">Sidekick_sat.Theory_intf.negated</a></code></div><div class="doc"><p>Returns the variable linked with the given formula,
and whether the atom associated with the formula
is <code class="code">var.pa</code> or <code class="code">var.na</code></p></div></div><div class="spec val" id="val-seen_both"><a href="#val-seen_both" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>seen_both : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"><p>both atoms have been seen?</p></div></div><div class="spec val" id="val-clear"><a href="#val-clear" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>clear : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Clear the 'seen' field of the variable.</p></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Dimacs.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dimacs.Make</code></h1></header><div class="doc"><p>Functor to create a module for exporting probems to the dimacs (&amp; iCNF) formats.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-1-St/index.html">St</a> : <a href="../../../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a></code></dl><h3 class="heading">Signature</h3><dl><dt id="type-st"><a href="#type-st" class="anchor"></a><code><span class="keyword">type </span>st</code><code><span class="keyword"> = </span><a href="argument-1-St/index.html#type-t">St.t</a></code><code></code></dt><dt id="type-clause"><a href="#type-clause" class="anchor"></a><code><span class="keyword">type </span>clause</code><code></code><code></code></dt><dd><p>The type of clauses</p></dd></dl><dl><dt id="val-export"><a href="#val-export" class="anchor"></a><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span>&#8209;&gt;</span> Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><code><span class="keyword">val </span>export_icnf : Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Dimacs.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dimacs.Make</span></h1></header><div class="doc"><p>Functor to create a module for exporting probems to the dimacs (&amp; iCNF) formats.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-1-St"><a href="#argument-1-St" class="anchor"></a><div class="def argument"><code><a href="argument-1-St/index.html">St</a> : <a href="../../../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><div class="spec type" id="type-st"><a href="#type-st" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>st</code><code><span class="keyword"> = </span><a href="argument-1-St/index.html#type-t">St.t</a></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-clause"><a href="#type-clause" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>clause</code><code></code><code></code></div><div class="doc"><p>The type of clauses</p></div></div><div class="spec val" id="val-export"><a href="#val-export" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span class="keyword">&#8209;&gt;</span> Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.</p></div></div><div class="spec val" id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export_icnf : Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.
This function may be called multiple times in order to add
new clauses (and new local hyps) to the problem.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Dimacs (sidekick.Sidekick_backend.Dimacs)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dimacs</code></h1></header><aside><p>Dimacs backend for problems</p><p>This module provides functiosn to export problems to the dimacs and iCNF formats.</p></aside><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-St/index.html">St</a> : <a href="../../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-clause">clause</a> := <a href="Make/argument-1-St/index.html#type-clause">St.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-st">st</a><span class="keyword"> = </span><a href="Make/argument-1-St/index.html#type-t">St.t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Dimacs (sidekick.Sidekick_backend.Dimacs)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dimacs</span></h1></header><p>Dimacs backend for problems</p><p>This module provides functiosn to export problems to the dimacs and
iCNF formats.</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-St/index.html">St</a> : <a href="../../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-clause">clause</a> := <a href="Make/argument-1-St/index.html#type-clause">St.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-st">st</a><span class="keyword"> = </span><a href="Make/argument-1-St/index.html#type-t">St.t</a></code></div><div class="doc"><p>Functor to create a module for exporting probems to the dimacs (&amp; iCNF) formats.</p></div></div></body></html>

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Dimacs.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Dimacs.S</code></h1></header><dl><dt id="type-st"><a href="#type-st" class="anchor"></a><code><span class="keyword">type </span>st</code><code></code><code></code></dt><dt id="type-clause"><a href="#type-clause" class="anchor"></a><code><span class="keyword">type </span>clause</code><code></code><code></code></dt><dd><p>The type of clauses</p></dd></dl><dl><dt id="val-export"><a href="#val-export" class="anchor"></a><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span>&#8209;&gt;</span> Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><code><span class="keyword">val </span>export_icnf : Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Dimacs.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Dimacs.S</span></h1></header><div class="spec type" id="type-st"><a href="#type-st" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>st</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-clause"><a href="#type-clause" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>clause</code><code></code><code></code></div><div class="doc"><p>The type of clauses</p></div></div><div class="spec val" id="val-export"><a href="#val-export" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span class="keyword">&#8209;&gt;</span> Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.</p></div></div><div class="spec val" id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export_icnf : Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.
This function may be called multiple times in order to add
new clauses (and new local hyps) to the problem.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dot.Default.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Default.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dot.Default.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Default.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dot.Default.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Default.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dot.Default.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Default.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,10 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Default (sidekick.Sidekick_backend.Dot.Default)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Default</code></h1></header><div class="doc"><p>Provides a reasonnable default to instantiate the <code>Make</code> functor, assuming the original printing functions are compatible with DOT html labels.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Default (sidekick.Sidekick_backend.Dot.Default)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Default</span></h1></header><div class="doc"><p>Provides a reasonnable default to instantiate the <code class="code">Make</code> functor, assuming
the original printing functions are compatible with DOT html labels.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dot.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Make.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dot.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Make.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dot.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Make.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dot.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Make.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Dot.Make.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend.Dot.Make.2-A</code></h1></header><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Dot.Make.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend.Dot.Make.2-A</span></h1></header><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Dot.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Make</code></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-atom">S.atom</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend.Dot.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Make</span></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-atom">S.atom</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dot.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Simple.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend.Dot.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Simple.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dot.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Simple.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend.Dot.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Simple.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Dot.Simple.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend.Dot.Simple.2-A</code></h1></header><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend.Dot.Simple.2-A)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend.Dot.Simple.2-A</span></h1></header><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend.Dot.Simple)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend.Dot.Simple</code></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format. The substitution of the hyp type is non-destructive due to a restriction of destructive substitutions on earlier versions of ocaml.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend.Dot.Simple)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend.Dot.Simple</span></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format.
The substitution of the hyp type is non-destructive due to a restriction
of destructive substitutions on earlier versions of ocaml.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend.Dot.Arg)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Dot.Arg</code></h1></header><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend.Dot.Arg)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Dot.Arg</span></h1></header><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Dot.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend.Dot.S</code></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend.Dot.S)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend.Dot.S</span></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend (sidekick.Sidekick_backend)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend</code></h1></header><article id="module-Backend_intf"><a href="#module-Backend_intf" class="anchor"></a><code><span class="keyword">module </span><a href="Backend_intf/index.html">Backend_intf</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Coq"><a href="#module-Coq" class="anchor"></a><code><span class="keyword">module </span><a href="Coq/index.html">Coq</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Dedukti"><a href="#module-Dedukti" class="anchor"></a><code><span class="keyword">module </span><a href="Dedukti/index.html">Dedukti</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Dimacs"><a href="#module-Dimacs" class="anchor"></a><code><span class="keyword">module </span><a href="Dimacs/index.html">Dimacs</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Dot"><a href="#module-Dot" class="anchor"></a><code><span class="keyword">module </span><a href="Dot/index.html">Dot</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend (sidekick.Sidekick_backend)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend</span></h1></header><div class="spec module" id="module-Backend_intf"><a href="#module-Backend_intf" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Backend_intf/index.html">Backend_intf</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Coq"><a href="#module-Coq" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Coq/index.html">Coq</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Dedukti"><a href="#module-Dedukti" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Dedukti/index.html">Dedukti</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Dimacs"><a href="#module-Dimacs" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Dimacs/index.html">Dimacs</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Dot"><a href="#module-Dot" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Dot/index.html">Dot</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Backend_intf (sidekick.Sidekick_backend__Backend_intf)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Backend_intf</code></h1><p>Backend interface</p><p>This modules defines the interface of the modules providing export of proofs.</p></header><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Backend_intf (sidekick.Sidekick_backend__Backend_intf)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Backend_intf</span></h1></header><p>Backend interface</p><p>This modules defines the interface of the modules providing
export of proofs.</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Backend_intf.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Backend_intf.S</code></h1></header><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Backend_intf.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Backend_intf.S</span></h1></header><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Coq.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq.Make.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Coq.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq.Make.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Coq.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq.Make.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Coq.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq.Make.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Coq.Make.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend__Coq.Make.2-A</code></h1></header><aside><p>Term printing for Coq</p></aside><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The types of hypotheses, lemmas, and assumptions</p></dd></dl><dl><dt id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><code><span class="keyword">val </span>prove_hyp : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><code><span class="keyword">val </span>prove_lemma : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><code><span class="keyword">val </span>prove_assumption : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Proving function for hypotheses, lemmas and assumptions. <code>prove_x fmt name x</code> should prove <code>x</code>, and be such that after executing it, <code>x</code> is among the coq hypotheses under the name <code>name</code>. The hypothesis should be the encoding of the given clause, i.e for a clause <code>a \/ not b \/ c</code>, the proved hypothesis should be: <code> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the one in the atoms array of the clause.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Coq.Make.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend__Coq.Make.2-A</span></h1></header><p>Term printing for Coq</p><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The types of hypotheses, lemmas, and assumptions</p></div></div><div class="spec val" id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_hyp : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_lemma : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_assumption : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Proving function for hypotheses, lemmas and assumptions.
<code class="code">prove_x fmt name x</code> should prove <code class="code">x</code>, and be such that after
executing it, <code class="code">x</code> is among the coq hypotheses under the name <code class="code">name</code>.
The hypothesis should be the encoding of the given clause, i.e
for a clause <code class="code">a \/ not b \/ c</code>, the proved hypothesis should be:
<code class="code"> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the
one in the atoms array of the clause.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Coq.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq.Make</code></h1></header><div class="doc"><p>Base functor to output Coq proofs</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Coq.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq.Make</span></h1></header><div class="doc"><p>Base functor to output Coq proofs</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Coq.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq.Simple.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Coq.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq.Simple.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Coq.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq.Simple.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Coq.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq.Simple.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Coq.Simple.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend__Coq.Simple.2-A</code></h1></header><aside><p>Term printing for Coq</p></aside><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The types of hypotheses, lemmas, and assumptions</p></dd></dl><dl><dt id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><code><span class="keyword">val </span>prove_hyp : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><code><span class="keyword">val </span>prove_lemma : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><code><span class="keyword">val </span>prove_assumption : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Proving function for hypotheses, lemmas and assumptions. <code>prove_x fmt name x</code> should prove <code>x</code>, and be such that after executing it, <code>x</code> is among the coq hypotheses under the name <code>name</code>. The hypothesis should be the encoding of the given clause, i.e for a clause <code>a \/ not b \/ c</code>, the proved hypothesis should be: <code> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the one in the atoms array of the clause.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Coq.Simple.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend__Coq.Simple.2-A</span></h1></header><p>Term printing for Coq</p><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The types of hypotheses, lemmas, and assumptions</p></div></div><div class="spec val" id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_hyp : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_lemma : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_assumption : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Proving function for hypotheses, lemmas and assumptions.
<code class="code">prove_x fmt name x</code> should prove <code class="code">x</code>, and be such that after
executing it, <code class="code">x</code> is among the coq hypotheses under the name <code class="code">name</code>.
The hypothesis should be the encoding of the given clause, i.e
for a clause <code class="code">a \/ not b \/ c</code>, the proved hypothesis should be:
<code class="code"> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the
one in the atoms array of the clause.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend__Coq.Simple)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq.Simple</code></h1></header><div class="doc"><p>Simple functo to output Coq proofs</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend__Coq.Simple)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq.Simple</span></h1></header><div class="doc"><p>Simple functo to output Coq proofs</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,4 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Coq (sidekick.Sidekick_backend__Coq)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Coq</code></h1><p>Coq Backend</p><p>This module provides an easy way to produce coq scripts corresponding to the resolution proofs output by the sat solver.</p></header><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Sidekick_backend/Backend_intf/index.html#module-type-S">Sidekick_backend.Backend_intf.S</a></code></article><article id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-hyp">hyp</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-assumption">assumption</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></article><article id="module-Simple"><a href="#module-Simple" class="anchor"></a><code><span class="keyword">module </span><a href="Simple/index.html">Simple</a> : <span class="keyword">functor</span> (<a href="Simple/argument-1-S/index.html">S</a> : <a href="../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Simple/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="Simple/argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-lemma">lemma</a> := <a href="Simple/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-assumption">assumption</a> := <a href="Simple/argument-1-S/index.html#type-formula">S.formula</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-t">t</a> := <a href="Simple/argument-1-S/index.html#type-proof">S.proof</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Coq (sidekick.Sidekick_backend__Coq)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Coq</span></h1></header><p>Coq Backend</p><p>This module provides an easy way to produce coq scripts
corresponding to the resolution proofs output by the
sat solver.</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Sidekick_backend/Backend_intf/index.html#module-type-S">Sidekick_backend.Backend_intf.S</a></code></div><div class="doc"><p>Interface for exporting proofs.</p></div></div><div class="spec module-type" id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-hyp">hyp</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-assumption">assumption</a> := <a href="Make/argument-1-S/index.html#type-clause">S.clause</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"><p>Base functor to output Coq proofs</p></div></div><div class="spec module" id="module-Simple"><a href="#module-Simple" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Simple/index.html">Simple</a> : <span class="keyword">functor</span> (<a href="Simple/argument-1-S/index.html">S</a> : <a href="../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Simple/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="Simple/argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-lemma">lemma</a> := <a href="Simple/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Simple/index.html#type-assumption">assumption</a> := <a href="Simple/argument-1-S/index.html#type-formula">S.formula</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Simple/index.html#type-t">t</a> := <a href="Simple/argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"><p>Simple functo to output Coq proofs</p></div></div></body></html>

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend__Coq.Arg)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Coq.Arg</code></h1></header><aside><p>Term printing for Coq</p></aside><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The types of hypotheses, lemmas, and assumptions</p></dd></dl><dl><dt id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><code><span class="keyword">val </span>prove_hyp : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><code><span class="keyword">val </span>prove_lemma : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><code><span class="keyword">val </span>prove_assumption : Format.formatter <span>&#8209;&gt;</span> string <span>&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Proving function for hypotheses, lemmas and assumptions. <code>prove_x fmt name x</code> should prove <code>x</code>, and be such that after executing it, <code>x</code> is among the coq hypotheses under the name <code>name</code>. The hypothesis should be the encoding of the given clause, i.e for a clause <code>a \/ not b \/ c</code>, the proved hypothesis should be: <code> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the one in the atoms array of the clause.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend__Coq.Arg)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Coq.Arg</span></h1></header><p>Term printing for Coq</p><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The types of hypotheses, lemmas, and assumptions</p></div></div><div class="spec val" id="val-prove_hyp"><a href="#val-prove_hyp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_hyp : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_lemma"><a href="#val-prove_lemma" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_lemma : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove_assumption"><a href="#val-prove_assumption" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove_assumption : Format.formatter <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Proving function for hypotheses, lemmas and assumptions.
<code class="code">prove_x fmt name x</code> should prove <code class="code">x</code>, and be such that after
executing it, <code class="code">x</code> is among the coq hypotheses under the name <code class="code">name</code>.
The hypothesis should be the encoding of the given clause, i.e
for a clause <code class="code">a \/ not b \/ c</code>, the proved hypothesis should be:
<code class="code"> ~ a -&gt; ~ ~ b -&gt; ~ c -&gt; False </code>, keeping the same order as the
one in the atoms array of the clause.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Coq.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Coq.S</code></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Coq.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Coq.S</span></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dedukti.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dedukti.Make.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dedukti.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dedukti.Make.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dedukti.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dedukti.Make.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dedukti.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dedukti.Make.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Dedukti.Make.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend__Dedukti.Make.2-A</code></h1></header><dl><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-proof"><a href="#type-proof" class="anchor"></a><code><span class="keyword">type </span>proof</code><code></code><code></code></dt><dt id="type-formula"><a href="#type-formula" class="anchor"></a><code><span class="keyword">type </span>formula</code><code></code><code></code></dt></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove"><a href="#val-prove" class="anchor"></a><code><span class="keyword">val </span>prove : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-context"><a href="#val-context" class="anchor"></a><code><span class="keyword">val </span>context : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Dedukti.Make.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend__Dedukti.Make.2-A</span></h1></header><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-proof"><a href="#type-proof" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>proof</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-formula"><a href="#type-formula" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>formula</code><code></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove"><a href="#val-prove" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-context"><a href="#val-context" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>context : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Dedukti.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dedukti.Make</code></h1></header><div class="doc"><p>Functor to generate a backend to output proofs for the dedukti type checker.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-formula">formula</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-proof">proof</a> := <a href="argument-1-S/index.html#type-proof">S.proof</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Dedukti.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dedukti.Make</span></h1></header><div class="doc"><p>Functor to generate a backend to output proofs for the dedukti type checker.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-formula">formula</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-proof">proof</a> := <a href="argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Dedukti (sidekick.Sidekick_backend__Dedukti)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dedukti</code></h1><p>Deduki backend for proofs</p><p>Work in progress...</p></header><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Sidekick_backend/Backend_intf/index.html#module-type-S">Sidekick_backend.Backend_intf.S</a></code></article><article id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-formula">formula</a> := <a href="Make/argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-proof">proof</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Dedukti (sidekick.Sidekick_backend__Dedukti)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dedukti</span></h1></header><p>Deduki backend for proofs</p><p>Work in progress...</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> = <a href="../Sidekick_backend/Backend_intf/index.html#module-type-S">Sidekick_backend.Backend_intf.S</a></code></div><div class="doc"></div></div><div class="spec module-type" id="module-type-Arg"><a href="#module-type-Arg" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-Arg/index.html">Arg</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-S/index.html">S</a> : <a href="../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a>) -&gt; <span class="keyword">functor</span> (<a href="Make/argument-2-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-formula">formula</a> := <a href="Make/argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-lemma">lemma</a> := <a href="Make/argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-proof">proof</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-t">t</a> := <a href="Make/argument-1-S/index.html#type-proof">S.proof</a></code></div><div class="doc"><p>Functor to generate a backend to output proofs for the dedukti type checker.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend__Dedukti.Arg)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Dedukti.Arg</code></h1></header><dl><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-proof"><a href="#type-proof" class="anchor"></a><code><span class="keyword">type </span>proof</code><code></code><code></code></dt><dt id="type-formula"><a href="#type-formula" class="anchor"></a><code><span class="keyword">type </span>formula</code><code></code><code></code></dt></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-prove"><a href="#val-prove" class="anchor"></a><code><span class="keyword">val </span>prove : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-context"><a href="#val-context" class="anchor"></a><code><span class="keyword">val </span>context : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend__Dedukti.Arg)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Dedukti.Arg</span></h1></header><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-proof"><a href="#type-proof" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>proof</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-formula"><a href="#type-formula" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>formula</code><code></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-formula">formula</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-prove"><a href="#val-prove" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prove : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-context"><a href="#val-context" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>context : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-proof">proof</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Dedukti.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Dedukti.S</code></h1></header><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Dedukti.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Dedukti.S</span></h1></header><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Formula (sidekick.Sidekick_backend__Dimacs.Make.1-St.Formula)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dimacs.Make.1-St.Formula</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-formula">formula</a></code><code></code></dt></dl><dl><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-hash"><a href="#val-hash" class="anchor"></a><code><span class="keyword">val </span>hash : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat/Solver_types_intf/index.html#type-printer">Sidekick_sat.Solver_types_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Formula (sidekick.Sidekick_backend__Dimacs.Make.1-St.Formula)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dimacs.Make.1-St.Formula</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-formula">formula</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-hash"><a href="#val-hash" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hash : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat/Solver_types_intf/index.html#type-printer">Sidekick_sat.Solver_types_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,4 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Var (sidekick.Sidekick_backend__Dimacs.Make.1-St.Var)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dimacs.Make.1-St.Var</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-var">var</a></code><code></code></dt></dl><dl><dt id="val-dummy"><a href="#val-dummy" class="anchor"></a><code><span class="keyword">val </span>dummy : <a href="index.html#type-t">t</a></code></dt><dt id="val-pos"><a href="#val-pos" class="anchor"></a><code><span class="keyword">val </span>pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></dt><dt id="val-level"><a href="#val-level" class="anchor"></a><code><span class="keyword">val </span>level : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-idx"><a href="#val-idx" class="anchor"></a><code><span class="keyword">val </span>idx : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-reason"><a href="#val-reason" class="anchor"></a><code><span class="keyword">val </span>reason : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-reason">reason</a> option</code></dt><dt id="val-weight"><a href="#val-weight" class="anchor"></a><code><span class="keyword">val </span>weight : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> float</code></dt><dt id="val-set_level"><a href="#val-set_level" class="anchor"></a><code><span class="keyword">val </span>set_level : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int <span>&#8209;&gt;</span> unit</code></dt><dt id="val-set_idx"><a href="#val-set_idx" class="anchor"></a><code><span class="keyword">val </span>set_idx : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int <span>&#8209;&gt;</span> unit</code></dt><dt id="val-set_weight"><a href="#val-set_weight" class="anchor"></a><code><span class="keyword">val </span>set_weight : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> float <span>&#8209;&gt;</span> unit</code></dt><dt id="val-in_heap"><a href="#val-in_heap" class="anchor"></a><code><span class="keyword">val </span>in_heap : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-make"><a href="#val-make" class="anchor"></a><code><span class="keyword">val </span>make : <a href="../index.html#type-state">state</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><a href="../../../../Sidekick_sat/Theory_intf/index.html#type-negated">Sidekick_sat.Theory_intf.negated</a></code></dt><dd><p>Returns the variable linked with the given formula, and whether the atom associated with the formula is <code>var.pa</code> or <code>var.na</code></p></dd></dl><dl><dt id="val-seen_both"><a href="#val-seen_both" class="anchor"></a><code><span class="keyword">val </span>seen_both : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dd><p>both atoms have been seen?</p></dd></dl><dl><dt id="val-clear"><a href="#val-clear" class="anchor"></a><code><span class="keyword">val </span>clear : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Clear the 'seen' field of the variable.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Var (sidekick.Sidekick_backend__Dimacs.Make.1-St.Var)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dimacs.Make.1-St.Var</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-var">var</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-dummy"><a href="#val-dummy" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>dummy : <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pos"><a href="#val-pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a></code></div><div class="doc"></div></div><div class="spec val" id="val-level"><a href="#val-level" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>level : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-idx"><a href="#val-idx" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>idx : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-reason"><a href="#val-reason" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>reason : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-reason">reason</a> option</code></div><div class="doc"></div></div><div class="spec val" id="val-weight"><a href="#val-weight" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>weight : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> float</code></div><div class="doc"></div></div><div class="spec val" id="val-set_level"><a href="#val-set_level" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_level : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-set_idx"><a href="#val-set_idx" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_idx : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-set_weight"><a href="#val-set_weight" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_weight : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> float <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-in_heap"><a href="#val-in_heap" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>in_heap : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-make"><a href="#val-make" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>make : <a href="../index.html#type-state">state</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a><span class="keyword"> * </span><a href="../../../../Sidekick_sat/Theory_intf/index.html#type-negated">Sidekick_sat.Theory_intf.negated</a></code></div><div class="doc"><p>Returns the variable linked with the given formula,
and whether the atom associated with the formula
is <code class="code">var.pa</code> or <code class="code">var.na</code></p></div></div><div class="spec val" id="val-seen_both"><a href="#val-seen_both" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>seen_both : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"><p>both atoms have been seen?</p></div></div><div class="spec val" id="val-clear"><a href="#val-clear" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>clear : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Clear the 'seen' field of the variable.</p></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Dimacs.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dimacs.Make</code></h1></header><div class="doc"><p>Functor to create a module for exporting probems to the dimacs (&amp; iCNF) formats.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-1-St/index.html">St</a> : <a href="../../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a></code></dl><h3 class="heading">Signature</h3><dl><dt id="type-st"><a href="#type-st" class="anchor"></a><code><span class="keyword">type </span>st</code><code><span class="keyword"> = </span><a href="argument-1-St/index.html#type-t">St.t</a></code><code></code></dt><dt id="type-clause"><a href="#type-clause" class="anchor"></a><code><span class="keyword">type </span>clause</code><code></code><code></code></dt><dd><p>The type of clauses</p></dd></dl><dl><dt id="val-export"><a href="#val-export" class="anchor"></a><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span>&#8209;&gt;</span> Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><code><span class="keyword">val </span>export_icnf : Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Dimacs.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dimacs.Make</span></h1></header><div class="doc"><p>Functor to create a module for exporting probems to the dimacs (&amp; iCNF) formats.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-1-St"><a href="#argument-1-St" class="anchor"></a><div class="def argument"><code><a href="argument-1-St/index.html">St</a> : <a href="../../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><div class="spec type" id="type-st"><a href="#type-st" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>st</code><code><span class="keyword"> = </span><a href="argument-1-St/index.html#type-t">St.t</a></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-clause"><a href="#type-clause" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>clause</code><code></code><code></code></div><div class="doc"><p>The type of clauses</p></div></div><div class="spec val" id="val-export"><a href="#val-export" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span class="keyword">&#8209;&gt;</span> Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.</p></div></div><div class="spec val" id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export_icnf : Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.
This function may be called multiple times in order to add
new clauses (and new local hyps) to the problem.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Dimacs (sidekick.Sidekick_backend__Dimacs)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dimacs</code></h1><p>Dimacs backend for problems</p><p>This module provides functiosn to export problems to the dimacs and iCNF formats.</p></header><article id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><article id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-St/index.html">St</a> : <a href="../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-clause">clause</a> := <a href="Make/argument-1-St/index.html#type-clause">St.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-st">st</a><span class="keyword"> = </span><a href="Make/argument-1-St/index.html#type-t">St.t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_backend__Dimacs (sidekick.Sidekick_backend__Dimacs)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dimacs</span></h1></header><p>Dimacs backend for problems</p><p>This module provides functiosn to export problems to the dimacs and
iCNF formats.</p><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><div class="def module-type"><code><span class="keyword">module type </span><a href="module-type-S/index.html">S</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-St/index.html">St</a> : <a href="../Sidekick_sat/Solver_types_intf/index.html#module-type-S">Sidekick_sat.Solver_types_intf.S</a>) -&gt; <a href="index.html#module-type-S">S</a><span class="keyword"> with </span><span class="keyword">type </span><a href="Make/index.html#type-clause">clause</a> := <a href="Make/argument-1-St/index.html#type-clause">St.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-st">st</a><span class="keyword"> = </span><a href="Make/argument-1-St/index.html#type-t">St.t</a></code></div><div class="doc"><p>Functor to create a module for exporting probems to the dimacs (&amp; iCNF) formats.</p></div></div></body></html>

View file

@ -1,2 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Dimacs.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Dimacs.S</code></h1></header><dl><dt id="type-st"><a href="#type-st" class="anchor"></a><code><span class="keyword">type </span>st</code><code></code><code></code></dt><dt id="type-clause"><a href="#type-clause" class="anchor"></a><code><span class="keyword">type </span>clause</code><code></code><code></code></dt><dd><p>The type of clauses</p></dd></dl><dl><dt id="val-export"><a href="#val-export" class="anchor"></a><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span>&#8209;&gt;</span> Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt><dt id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><code><span class="keyword">val </span>export_icnf : Format.formatter <span>&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span>&#8209;&gt;</span> unit</code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Dimacs.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Dimacs.S</span></h1></header><div class="spec type" id="type-st"><a href="#type-st" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>st</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-clause"><a href="#type-clause" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>clause</code><code></code><code></code></div><div class="doc"><p>The type of clauses</p></div></div><div class="spec val" id="val-export"><a href="#val-export" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export : <a href="index.html#type-st">st</a> <span class="keyword">&#8209;&gt;</span> Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.</p></div></div><div class="spec val" id="val-export_icnf"><a href="#val-export_icnf" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>export_icnf : Format.formatter <span class="keyword">&#8209;&gt;</span> hyps:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> history:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> local:<a href="index.html#type-clause">clause</a> <a href="../../Sidekick_util/Vec/index.html#type-t">Sidekick_sat.Vec.t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Export the given clause vectors to the dimacs format.
The arguments should be transmitted directly from the corresponding
function of the module.
This function may be called multiple times in order to add
new clauses (and new local hyps) to the problem.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dot.Default.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Default.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dot.Default.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Default.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dot.Default.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Default.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dot.Default.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Default.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,10 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Default (sidekick.Sidekick_backend__Dot.Default)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Default</code></h1></header><div class="doc"><p>Provides a reasonnable default to instantiate the <code>Make</code> functor, assuming the original printing functions are compatible with DOT html labels.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Default (sidekick.Sidekick_backend__Dot.Default)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Default</span></h1></header><div class="doc"><p>Provides a reasonnable default to instantiate the <code class="code">Make</code> functor, assuming
the original printing functions are compatible with DOT html labels.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dot.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Make.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dot.Make.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Make.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dot.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Make.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dot.Make.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Make.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Dot.Make.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend__Dot.Make.2-A</code></h1></header><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Dot.Make.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend__Dot.Make.2-A</span></h1></header><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Dot.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Make</code></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-atom">S.atom</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (sidekick.Sidekick_backend__Dot.Make)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Make</span></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-atom">S.atom</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a> := <a href="argument-1-S/index.html#type-clause">S.clause</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dot.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Simple.1-S.Atom</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></dt></dl><dl><dt id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> int</code></dt><dt id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> bool</code></dt><dt id="val-lit"><a href="#val-lit" class="anchor"></a><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Atom (sidekick.Sidekick_backend__Dot.Simple.1-S.Atom)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Simple.1-S.Atom</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-atom">atom</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-is_pos"><a href="#val-is_pos" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_pos : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-neg"><a href="#val-neg" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>neg : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-abs"><a href="#val-abs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-compare"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-lit"><a href="#val-lit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lit : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-formula">formula</a></code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"></div></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dot.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Simple.1-S.Clause</code></h1></header><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></dt></dl><dl><dt id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> string</code></dt><dt id="val-atoms"><a href="#val-atoms" class="anchor"></a><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></dt><dt id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></dt><dt id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></dt><dd><p>A nice looking printer for clauses, which sort the atoms before printing.</p></dd></dl><article id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></article></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clause (sidekick.Sidekick_backend__Dot.Simple.1-S.Clause)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Simple.1-S.Clause</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span><a href="../index.html#type-clause">clause</a></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-name"><a href="#val-name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms"><a href="#val-atoms" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> array</code></div><div class="doc"></div></div><div class="spec val" id="val-atoms_l"><a href="#val-atoms_l" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>atoms_l : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="../index.html#type-atom">atom</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#type-t">t</a> <a href="../../../../Sidekick_sat__/Res_intf/index.html#type-printer">Sidekick_sat__.Res_intf.printer</a></code></div><div class="doc"><p>A nice looking printer for clauses, which sort the atoms before printing.</p></div></div><div class="spec module" id="module-Tbl"><a href="#module-Tbl" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>Tbl : Hashtbl.S<span class="keyword"> with </span><span class="keyword">type </span><a href="index.html#module-Tbl">Tbl</a>.key<span class="keyword"> = </span><a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Dot.Simple.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../../index.html">sidekick</a></nav><h1>Parameter <code>Sidekick_backend__Dot.Simple.2-A</code></h1></header><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2-A (sidekick.Sidekick_backend__Dot.Simple.2-A)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Parameter</span> <span class="module-path">Sidekick_backend__Dot.Simple.2-A</span></h1></header><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a> list</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code><span class="keyword"> = </span><a href="../argument-1-S/index.html#type-formula">S.formula</a></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend__Dot.Simple)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module <code>Sidekick_backend__Dot.Simple</code></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format. The substitution of the hyp type is non-destructive due to a restriction of destructive substitutions on earlier versions of ocaml.</p></div><h3 class="heading">Parameters</h3><dl><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a></code><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></dl><h3 class="heading">Signature</h3><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Simple (sidekick.Sidekick_backend__Dot.Simple)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_backend__Dot.Simple</span></h1></header><div class="doc"><p>Functor for making a module to export proofs to the DOT format.
The substitution of the hyp type is non-destructive due to a restriction
of destructive substitutions on earlier versions of ocaml.</p></div><h3 class="heading">Parameters</h3><div><div class="spec argument" id="argument-2-A"><a href="#argument-2-A" class="anchor"></a><div class="def argument"><code><a href="argument-2-A/index.html">A</a> : <a href="../index.html#module-type-Arg">Arg</a><span class="keyword"> with </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-atom">atom</a> := <a href="argument-1-S/index.html#type-formula">S.formula</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-hyp">hyp</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a> list<span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-lemma">lemma</a> := <a href="argument-1-S/index.html#type-lemma">S.lemma</a><span class="keyword"> and </span><span class="keyword">type </span><a href="argument-2-A/index.html#type-assumption">assumption</a><span class="keyword"> = </span><a href="argument-1-S/index.html#type-formula">S.formula</a></code></div><div class="doc"></div></div><div class="spec argument" id="argument-1-S"><a href="#argument-1-S" class="anchor"></a><div class="def argument"><code><a href="argument-1-S/index.html">S</a> : <a href="../../Sidekick_sat/Res/index.html#module-type-S">Sidekick_sat.Res.S</a></code></div><div class="doc"></div></div></div><h3 class="heading">Signature</h3><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend__Dot.Arg)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Dot.Arg</code></h1></header><aside><p>Term printing for DOT</p><p>This module defines what functions are required in order to export a proof to the DOT format.</p></aside><dl><dt id="type-atom"><a href="#type-atom" class="anchor"></a><code><span class="keyword">type </span>atom</code><code></code><code></code></dt><dd><p>The type of atomic formuals</p></dd></dl><dl><dt id="type-hyp"><a href="#type-hyp" class="anchor"></a><code><span class="keyword">type </span>hyp</code><code></code><code></code></dt><dt id="type-lemma"><a href="#type-lemma" class="anchor"></a><code><span class="keyword">type </span>lemma</code><code></code><code></code></dt><dt id="type-assumption"><a href="#type-assumption" class="anchor"></a><code><span class="keyword">type </span>assumption</code><code></code><code></code></dt><dd><p>The type of theory-specifi proofs (also called lemmas).</p></dd></dl><dl><dt id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><code><span class="keyword">val </span>print_atom : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>Print the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).</p></dd></dl><dl><dt id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dt id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span>&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span>&#8209;&gt;</span> unit <span>&#8209;&gt;</span> unit) list</code></dt><dd><p>Generate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet <code>(rule, color, l)</code>, such that:</p><ul><li><code>rule</code> is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)</li><li><code>color</code> is a color name (optional) understood by DOT</li><li><code>l</code> is a list of printers that will be called to print some additional information</li></ul></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.Sidekick_backend__Dot.Arg)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Dot.Arg</span></h1></header><p>Term printing for DOT</p><p>This module defines what functions are required in order to export
a proof to the DOT format.</p><div class="spec type" id="type-atom"><a href="#type-atom" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>atom</code><code></code><code></code></div><div class="doc"><p>The type of atomic formuals</p></div></div><div class="spec type" id="type-hyp"><a href="#type-hyp" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>hyp</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-lemma"><a href="#type-lemma" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>lemma</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-assumption"><a href="#type-assumption" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>assumption</code><code></code><code></code></div><div class="doc"><p>The type of theory-specifi proofs (also called lemmas).</p></div></div><div class="spec val" id="val-print_atom"><a href="#val-print_atom" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_atom : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-atom">atom</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print the contents of the given atomic formulas.
WARNING: this function should take care to escape and/or not output special
reserved characters for the dot format (such as quotes and so on).</p></div></div><div class="spec val" id="val-hyp_info"><a href="#val-hyp_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>hyp_info : <a href="index.html#type-hyp">hyp</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-lemma_info"><a href="#val-lemma_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>lemma_info : <a href="index.html#type-lemma">lemma</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"></div></div><div class="spec val" id="val-assumption_info"><a href="#val-assumption_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>assumption_info : <a href="index.html#type-assumption">assumption</a> <span class="keyword">&#8209;&gt;</span> string<span class="keyword"> * </span>string option<span class="keyword"> * </span>(Format.formatter <span class="keyword">&#8209;&gt;</span> unit <span class="keyword">&#8209;&gt;</span> unit) list</code></div><div class="doc"><p>Generate some information about the leafs of the proof tree. Currently this backend
print each lemma/assumption/hypothesis as a single leaf of the proof tree.
These function should return a triplet <code class="code">(rule, color, l)</code>, such that:
</p><ul><li><code class="code">rule</code> is a name for the proof (arbitrary, does not need to be unique, but
should rather be descriptive)</li><li><code class="code">color</code> is a color name (optional) understood by DOT</li><li><code class="code">l</code> is a list of printers that will be called to print some additional information</li></ul></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Dot.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../../index.html">sidekick</a></nav><h1>Module type <code>Sidekick_backend__Dot.S</code></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><aside><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file according to the conventions of a given format.</p></aside><dl><dt id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code><code></code><code></code></dt><dd><p>The type of proofs.</p></dd></dl><dl><dt id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val </span>print : Format.formatter <span>&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> unit</code></dt><dd><p>A function for printing proofs in the desired format.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (sidekick.Sidekick_backend__Dot.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module type</span> <span class="module-path">Sidekick_backend__Dot.S</span></h1></header><div class="doc"><p>Interface for exporting proofs.</p></div><p>Proof exporting</p><p>Currently, exporting a proof means printing it into a file
according to the conventions of a given format.</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>The type of proofs.</p></div></div><div class="spec val" id="val-print"><a href="#val-print" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print : Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>A function for printing proofs in the desired format.</p></div></div></body></html>

View file

@ -1,2 +1,3 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_dimacs (sidekick.Sidekick_dimacs)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><header><nav><a href="../index.html">Up</a> package <a href="../index.html">sidekick</a></nav><h1>Module <code>Sidekick_dimacs</code></h1><h1 id="main-for-dimacs"><a href="#main-for-dimacs" class="anchor"></a>Main for dimacs</h1></header><aside><p>This library provides a parser for DIMACS files, to represent SAT problems.</p><p>http://www.satcompetition.org/2009/format-benchmarks2009.html</p></aside><dl><dt id="type-or_error"><a href="#type-or_error" class="anchor"></a><code><span class="keyword">type </span>'a or_error</code><code><span class="keyword"> = </span>(<span class="type-var">'a</span>, string) CCResult.t</code><code></code></dt></dl><dl><dt id="val-parse"><a href="#val-parse" class="anchor"></a><code><span class="keyword">val </span>parse : string <span>&#8209;&gt;</span> int list list <a href="index.html#type-or_error">or_error</a></code></dt><dd><p>Parse a file into a list of clauses.</p></dd></dl></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Sidekick_dimacs (sidekick.Sidekick_dimacs)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">sidekick</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">Sidekick_dimacs</span></h1></header><h2>Main for dimacs</h2><p>This library provides a parser for DIMACS files, to represent
SAT problems.</p><p>http://www.satcompetition.org/2009/format-benchmarks2009.html</p><div class="spec type" id="type-or_error"><a href="#type-or_error" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>'a or_error</code><code><span class="keyword"> = </span>(<span class="type-var">'a</span>, string) CCResult.t</code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-parse"><a href="#val-parse" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>parse : string <span class="keyword">&#8209;&gt;</span> int list list <a href="index.html#type-or_error">or_error</a></code></div><div class="doc"><p>Parse a file into a list of clauses.</p></div></div></body></html>

Some files were not shown because too many files have changed in this diff Show more