* http://cs.unibo.it/helm/.
*)
-(* mk_fresh_name context name typ *)
-(* returns an identifier which is fresh in the context *)
-(* and that resembles [name] as much as possible. *)
-(* [typ] will be the type of the variable *)
-val mk_fresh_name : ProofEngineTypes.mk_fresh_name_type
-
-(* identity_relocation_list_for_metavariable i canonical_context *)
-(* returns the identity relocation list, which is the list *)
-(* [Rel 1 ; ... ; Rel n] where n = List.length [canonical_context] *)
-val identity_relocation_list_for_metavariable :
- 'a option list -> Cic.term option list
-
(* Returns the first meta whose number is above the *)
(* number of the higher meta. *)
-val new_meta : proof:ProofEngineTypes.proof -> int
+val new_meta_of_proof : proof:ProofEngineTypes.proof -> int
val subst_meta_in_proof :
ProofEngineTypes.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