summaryrefslogtreecommitdiff
path: root/print.mli
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2012-09-20 09:41:14 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2012-09-20 09:41:14 +0200
commit7ebd874126a513c29a8b10e7e6ea2c7e745ab33c (patch)
treedd3c16609149d401052607cc734538cec1fc913e /print.mli
parent967ef647c79fa0409671b819a1ab5477419eb762 (diff)
parent8917ab003a9b7f2abf8e399b5e7ad013b31a2e0e (diff)
Merge tag 'upstream/0.3'
Upstream version 0.3
Diffstat (limited to 'print.mli')
-rw-r--r--print.mli23
1 files changed, 23 insertions, 0 deletions
diff --git a/print.mli b/print.mli
new file mode 100644
index 0000000..5b3dc15
--- /dev/null
+++ b/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 {!Theory.Trans} module.*)
+val print :
+ Coq.Relation.t ->
+ Theory.Trans.ir ->
+ (int * Matcher.Terms.t * Matcher.Subst.t Search_monad.m) Search_monad.m ->
+ Term.rel_context ->
+ Proof_type.tactic
+