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
commit8018e923c75eb5504310864f821972f794b7d554 (patch)
tree88a55f7c23fcbbea0ff80e406555292049b48dec /src/print.mli
parent76f9b4cdc5693a6313961e2f91b39ba311857e72 (diff)
New upstream version 8.8.0+1.gbp069dc3bupstream/8.8.0+1.gbp069dc3bupstream
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
+