summaryrefslogtreecommitdiff
path: root/src/print.mli
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2019-02-13 20:40:51 -0500
committerGravatar Benjamin Barenblat <bbaren@google.com>2019-02-13 20:40:51 -0500
commit2ee22055c510a56c3d040fe023d0884b183bd68c (patch)
tree595eeed2159e90da8284b9e2d545430a61a60d04 /src/print.mli
parent7ecbed522b4b4a9829eb9bd7b3f36db53788a77c (diff)
parent8018e923c75eb5504310864f821972f794b7d554 (diff)
Updated version 8.8.0+1.gbp069dc3b from 'upstream/8.8.0+1.gbp069dc3b'
Diffstat (limited to 'src/print.mli')
-rw-r--r--src/print.mli23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/print.mli b/src/print.mli
new file mode 100644
index 0000000..5ca6e27
--- /dev/null
+++ b/src/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 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 ->
+ EConstr.rel_context ->
+ Proof_type.tactic
+