summaryrefslogtreecommitdiff
path: root/AAC_print.mli
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-12-01 13:33:59 +0100
committerGravatar Stephane Glondu <steph@glondu.net>2010-12-01 13:33:59 +0100
commitaa51449cb692a9a1d183b2663679645aba16b036 (patch)
treef32b2fd38d3442e4d583009cb09cbac701c33bc0 /AAC_print.mli
parenta3c2b799e0eceb0896af062887c762c654d2e2f6 (diff)
parent8ab748064ddeec8400859e210bf9963826cba631 (diff)
Merge commit 'upstream/0.2.1'
Diffstat (limited to 'AAC_print.mli')
-rw-r--r--AAC_print.mli23
1 files changed, 23 insertions, 0 deletions
diff --git a/AAC_print.mli b/AAC_print.mli
new file mode 100644
index 0000000..bacd806
--- /dev/null
+++ b/AAC_print.mli
@@ -0,0 +1,23 @@
+(***************************************************************************)
+(* This is part of aac_tactics, it is distributed under the terms of the *)
+(* GNU Lesser General Public License version 3 *)
+(* (see file LICENSE for more details) *)
+(* *)
+(* Copyright 2009-2010: Thomas Braibant, Damien Pous. *)
+(***************************************************************************)
+
+(** Pretty printing functions we use for the aac_instances
+ tactic. *)
+
+
+(** The main printing function. {!print} uses the [Term.rel_context]
+ to rename the variables, and rebuilds raw Coq terms (for the given
+ context, and the terms in the environment). In order to do so, it
+ requires the information gathered by the {!AAC_theory.Trans} module.*)
+val print :
+ AAC_coq.Relation.t ->
+ AAC_theory.Trans.ir ->
+ (int * AAC_matcher.Terms.t * AAC_matcher.Subst.t AAC_search_monad.m) AAC_search_monad.m ->
+ Term.rel_context ->
+ Proof_type.tactic
+