X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2FproofEngineHelpers.mli;h=39fb69b0d1067370a408c62be07cc495331516c1;hb=58c0db9bcf83591115445a538bee028d3260fdf7;hp=1ac3ee707f17c7ef3eca3f7ec284885c9d5107a8;hpb=acc9067d3263ffced81c52539f918d47d418d5c7;p=helm.git diff --git a/helm/software/components/tactics/proofEngineHelpers.mli b/helm/software/components/tactics/proofEngineHelpers.mli index 1ac3ee707..39fb69b0d 100644 --- a/helm/software/components/tactics/proofEngineHelpers.mli +++ b/helm/software/components/tactics/proofEngineHelpers.mli @@ -35,7 +35,7 @@ val subst_meta_in_proof : ProofEngineTypes.proof * Cic.metasenv val subst_meta_and_metasenv_in_proof : ProofEngineTypes.proof -> - int -> (Cic.term -> Cic.term) -> Cic.metasenv -> + int -> Cic.substitution -> Cic.metasenv -> ProofEngineTypes.proof * Cic.metasenv (* returns the list of goals that are in newmetasenv and were not in @@ -106,6 +106,10 @@ val locate_in_conjecture: (* returns the index and the type of a premise in a context *) val lookup_type: Cic.metasenv -> Cic.context -> string -> int * Cic.term +(* orders a metasenv w.r.t. dependency among metas *) +val sort_metasenv: Cic.metasenv -> Cic.metasenv + + (* FG: some helper functions ************************************************) val get_name: Cic.context -> int -> string option @@ -117,6 +121,10 @@ val get_rel: Cic.context -> string -> Cic.term option t and t_i is the premise of t accessed by Rel i in t_0. Performes a whd on the conclusion before giving up. Each t_i is returned with a context c_i in wich it is typed + split_with_normalize (c, t) normalizes t before operating the split + whd is useless here *) val split_with_whd: Cic.context * Cic.term -> (Cic.context * Cic.term) list * int +val split_with_normalize: Cic.context * Cic.term -> + (Cic.context * Cic.term) list * int