]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/proofEngineHelpers.mli
first snapshot of the night-profiling
[helm.git] / helm / ocaml / tactics / proofEngineHelpers.mli
index 5a4f145f995a07c1130f0b05460178fa2dd59f60..5cf58999cfb8dd11a16e68ee1f6dcdb70ac08f46 100644 (file)
@@ -35,3 +35,16 @@ val subst_meta_and_metasenv_in_proof :
   ProofEngineTypes.proof ->
   int -> (Cic.term -> Cic.term) -> Cic.metasenv ->
   ProofEngineTypes.proof * Cic.metasenv
+
+(* returns the list of goals that are in newmetasenv and were not in
+   oldmetasenv *)
+val compare_metasenvs :
+  oldmetasenv:Cic.metasenv -> newmetasenv:Cic.metasenv -> int list
+
+(** Finds the _pointers_ to subterms that are alpha-equivalent to wanted in t.
+ * wanted is properly lifted when binders are crossed *)
+val find_subterms : 
+  eq:(Cic.term -> Cic.term -> bool) ->
+  wanted:Cic.term -> Cic.term -> 
+    Cic.term list
+