add dev doc

This commit is contained in:
Simon Cruanes 2018-05-09 19:48:25 -05:00
commit 190ee3c503
579 changed files with 1321 additions and 0 deletions

2
highlight.pack.js Normal file

File diff suppressed because one or more lines are too long

18
index.html Normal file
View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>index</title>
<link rel="stylesheet" href="./odoc.css"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
</head>
<body>
<div class="by-name">
<h2>OCaml package documentation</h2>
<ol>
<li><a href="msat_test/index.html">msat_test</a> <span class="version">dev</span></li>
<li><a href="sidekick/index.html">sidekick</a> <span class="version">dev</span></li>
</ol>
</div>
</body>
</html>

263
odoc.css Normal file
View file

@ -0,0 +1,263 @@
@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%% */
/* Reset a few things. */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,
menu,nav,output,ruby,section,summary,time,mark,audio,video
{ margin:0; padding:0; border:0; /* outline: 0; */
font-size:100%; font: inherit; line-height:inherit; vertical-align:baseline;
text-align: inherit; color: inherit; background: transparent; }
table { border-collapse: collapse; border-spacing: 0; }
*, *:before, *:after { box-sizing: border-box; }
body
{ font-family: Helvetica, "DejaVu Sans", Arial, sans-serif;
font-weight: normal;
font-size: 14px;
line-height:20px;
text-align: left;
min-width: 40ex;
max-width: 78ex;
padding: 20px;
margin-left: 60px;
color: #222; background: #FAFAFA; }
/* Basic markup elements */
b, strong { font-weight: bold; }
i, em { font-style: italic; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
sup, sub { font-size : 12px; line-height: 0; margin-left: 0.2ex; }
p, div, img { margin-top: 20px; }
ul, ol
{ margin-top: 10px; margin-bottom: 10px; list-style-position: outside }
ul { list-style-type: square }
ul > li { margin-left: 22px; }
ol > li { margin-left: 27.2px; }
li > *:first-child { margin-top: 0 }
/* Text alignements, this should be forbidden. */
.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }
/* Links and anchors */
a { text-decoration:none; color:#2C5CBD; }
a:hover { box-shadow:0 1px 0 0 #2C5CBD; }
*:target /* Linked highlight */
{ background-color: #FFF8E5;
box-shadow: 0 0 0 2px #FFF8E5, 0 0 0 3px #DDD; }
*:hover > a.anchor {
visibility: visible;
}
a.anchor:before { content: "#" }
a.anchor:hover { box-shadow: none; text-decoration: underline }
a.anchor
{ visibility: hidden; position: absolute; /* top: 0px; */
margin-left: -3ex;
font-weight: normal;
font-style: normal;
padding-right: 1ex; padding-left: 1ex; /* To remain selectable */
color: #AAA; }
.xref-unresolved { box-shadow:0 1px 0 0 red }
/* Section and document divisions.
Until at least 4.03 many of the modules of the stdlib start at .h7,
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; }
h1, h2, .h7
{ font-size: 20px;
line-height: 39px;
padding-top: 10px;
border-top: solid;
border-width: 1px;
border-color: #DDD; }
h3 { font-size: 18px; }
h2 + h3, .h7 + .h8 { margin-top: 10px; }
/* Preformatted and code */
tt, code, pre
{ font-family: Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
monospace;
font-weight: normal;
font-size: 12px; }
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;
background: #F1F1F1; }
h1 tt, h1 code, h2 tt, h2 code, .h7 tt, .h7 code { font-size: 18px }
h3 tt, h3 code { font-size: 16px }
/* Code lexemes */
.keyword { font-weight: bold; }
/* 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;
}
/* Collapsible inlined include and module */
details
{ border-radius: 8px;
border-left: 1.6px solid;
border-color: #FAFAFA /* Background */;
margin-left: -24px;
padding-left: 20.8px;
padding-bottom: 10px; }
details[open] { border-color: #AAA; }
/* Records and variants FIXME */
div.def table { text-indent: 0em; padding:0; margin-left: -2ex; }
td.def { padding-right: 2ex }
.record td.def { padding-left:2ex; }
td.doc *:first-child { margin-top: 0em }
/* @ tags */
ul.at-tag { list-style-type: none; margin-left: 0; padding: 0; }
ul.at-tag li { margin-left:0; padding:0; }
ul.at-tag li p:first-child { margin-top: 0 } /* FIXME remove */
span.at-tag { font-weight: bold }
.at-tag.deprecated { font-weight: normal; color: crimson }
.at-tag.raise { font-weight: bold; }
/* FIXME random other things to review. */
.heading
{ margin-top: 10px;
border-top: solid;
border-width: 1px;
border-color: #DDD;
text-align: right;
font-weight: normal;
font-style: italic; }
.heading + .sig { margin-top: -20px; }
.heading + .parameters { margin-top: -20px; }
/* Odig package index */
.by-name ol, .by-tag ol, .errors ol { list-style-type: none; margin-left:0; }
.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 nav a
{ text-transform: uppercase; font-size: 18px;
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 > 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; }
h1 + .modules, h1 + .sel { margin-top: 10px }
.sel { font-weight: normal; font-style: italic;
font-size:14px; margin-top:20px; }
.sel + .modules { margin-top:10px;
margin-bottom: 20px; margin-left: 1ex; }
.modules { margin:0; }
.modules .module { min-width:8ex; padding-right: 2ex }
.package.info { margin: 0;}
.package.info td:first-child { font-style: italic; padding-right: 2ex; }
.package.info ul { list-style-type: none; display: inline; margin:0; }
.package.info li { display: inline-block; margin:0; margin-right:1ex; }
#info-authors li, #info-maintainers li { display:block; }
/* Mobile adjustements. */
@media only screen and (max-width: 78ex)
{ body { margin: auto; } }
/* Print adjustements. */
@media print
{ 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
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
---------------------------------------------------------------------------*/

View file

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Form (sidekick.CDCL_tseitin.Make.1-A.Form)</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>CDCL_tseitin.Make.1-A.Form</code></h1></header><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>Type of atomic formulas.</p></dd></dl><dl><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><dd><p>Negation of atomic formulas.</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>Print the given formula.</p></dd></dl></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>1-A (sidekick.CDCL_tseitin.Make.1-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>CDCL_tseitin.Make.1-A</code></h1></header><aside><p>Formulas</p><p>This defines what is needed of formulas in order to implement Tseitin's CNF conversion.</p></aside><article id="module-Form"><a href="#module-Form" class="anchor"></a><code><span class="keyword">module </span><a href="Form/index.html">Form</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><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>State</p></dd></dl><dl><dt id="val-fresh"><a href="#val-fresh" class="anchor"></a><code><span class="keyword">val </span>fresh : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="Form/index.html#type-t">Form.t</a></code></dt><dd><p>Generate fresh formulas (that are different from any other).</p></dd></dl></body></html>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CDCL_tseitin (sidekick.CDCL_tseitin)</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>CDCL_tseitin</code></h1><p>Tseitin CNF conversion</p><p>This modules implements Tseitin's Conjunctive Normal Form conversion, i.e. the ability to transform an arbitrary boolean formula into an equi-satisfiable CNF, that can then be fed to a SAT/SMT/McSat solver.</p></header><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> = <a href="../CDCL_tseitin__/Tseitin_intf/index.html#module-type-Arg">CDCL_tseitin__.Tseitin_intf.Arg</a></code></article><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="../CDCL_tseitin__/Tseitin_intf/index.html#module-type-S">CDCL_tseitin__.Tseitin_intf.S</a></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-A/index.html">A</a> : <a href="index.html#module-type-Arg">Arg</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-atom">atom</a><span class="keyword"> = </span><a href="Make/argument-1-A/Form/index.html#type-t">A.Form.t</a><span class="keyword"> and </span><span class="keyword">type </span><a href="Make/index.html#type-fresh_state">fresh_state</a><span class="keyword"> = </span><a href="Make/argument-1-A/index.html#type-t">A.t</a></code></article></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Form (sidekick.CDCL_tseitin.Arg.Form)</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>CDCL_tseitin.Arg.Form</code></h1></header><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>Type of atomic formulas.</p></dd></dl><dl><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><dd><p>Negation of atomic formulas.</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>Print the given formula.</p></dd></dl></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.CDCL_tseitin.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>CDCL_tseitin.Arg</code></h1></header><div class="doc"><p>The implementation of formulas required to implement Tseitin's CNF conversion.</p></div><aside><p>Formulas</p><p>This defines what is needed of formulas in order to implement Tseitin's CNF conversion.</p></aside><article id="module-Form"><a href="#module-Form" class="anchor"></a><code><span class="keyword">module </span><a href="Form/index.html">Form</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><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>State</p></dd></dl><dl><dt id="val-fresh"><a href="#val-fresh" class="anchor"></a><code><span class="keyword">val </span>fresh : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="Form/index.html#type-t">Form.t</a></code></dt><dd><p>Generate fresh formulas (that are different from any other).</p></dd></dl></body></html>

File diff suppressed because one or more lines are too long

View file

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tseitin_intf (sidekick.CDCL_tseitin__.Tseitin_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>CDCL_tseitin__.Tseitin_intf</code></h1></header><aside><p>Interfaces for Tseitin's CNF conversion</p></aside><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-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>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Form (sidekick.CDCL_tseitin__.Tseitin_intf.Arg.Form)</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>CDCL_tseitin__.Tseitin_intf.Arg.Form</code></h1></header><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>Type of atomic formulas.</p></dd></dl><dl><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><dd><p>Negation of atomic formulas.</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>Print the given formula.</p></dd></dl></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.CDCL_tseitin__.Tseitin_intf.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>CDCL_tseitin__.Tseitin_intf.Arg</code></h1></header><aside><p>Formulas</p><p>This defines what is needed of formulas in order to implement Tseitin's CNF conversion.</p></aside><article id="module-Form"><a href="#module-Form" class="anchor"></a><code><span class="keyword">module </span><a href="Form/index.html">Form</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><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>State</p></dd></dl><dl><dt id="val-fresh"><a href="#val-fresh" class="anchor"></a><code><span class="keyword">val </span>fresh : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="Form/index.html#type-t">Form.t</a></code></dt><dd><p>Generate fresh formulas (that are different from any other).</p></dd></dl></body></html>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CDCL_tseitin__ (sidekick.CDCL_tseitin__)</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>CDCL_tseitin__</code></h1></header><article id="module-CDCL_tseitin"><a href="#module-CDCL_tseitin" class="anchor"></a><code><span class="keyword">module </span>CDCL_tseitin = <a href="../CDCL_tseitin/index.html">CDCL_tseitin</a></code></article><article id="module-Tseitin_intf"><a href="#module-Tseitin_intf" class="anchor"></a><code><span class="keyword">module </span><a href="Tseitin_intf/index.html">Tseitin_intf</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CDCL_tseitin__Tseitin_intf (sidekick.CDCL_tseitin__Tseitin_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>CDCL_tseitin__Tseitin_intf</code></h1><p>Interfaces for Tseitin's CNF conversion</p></header><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-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>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Form (sidekick.CDCL_tseitin__Tseitin_intf.Arg.Form)</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>CDCL_tseitin__Tseitin_intf.Arg.Form</code></h1></header><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>Type of atomic formulas.</p></dd></dl><dl><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><dd><p>Negation of atomic formulas.</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>Print the given formula.</p></dd></dl></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (sidekick.CDCL_tseitin__Tseitin_intf.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>CDCL_tseitin__Tseitin_intf.Arg</code></h1></header><aside><p>Formulas</p><p>This defines what is needed of formulas in order to implement Tseitin's CNF conversion.</p></aside><article id="module-Form"><a href="#module-Form" class="anchor"></a><code><span class="keyword">module </span><a href="Form/index.html">Form</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></article><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>State</p></dd></dl><dl><dt id="val-fresh"><a href="#val-fresh" class="anchor"></a><code><span class="keyword">val </span>fresh : <a href="index.html#type-t">t</a> <span>&#8209;&gt;</span> <a href="Form/index.html#type-t">Form.t</a></code></dt><dd><p>Generate fresh formulas (that are different from any other).</p></dd></dl></body></html>

File diff suppressed because one or more lines are too long

View file

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

View file

@ -0,0 +1,2 @@
<!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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +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>

View file

@ -0,0 +1,2 @@
<!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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +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>

View file

@ -0,0 +1,2 @@
<!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>

View file

@ -0,0 +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>

View file

@ -0,0 +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>

View file

@ -0,0 +1,2 @@
<!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>

File diff suppressed because one or more lines are too long

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