]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/proofEngineTypes.ml
added goals_of_proof
[helm.git] / helm / ocaml / tactics / proofEngineTypes.ml
index 2e25e4a057389f7149bfa64334bcbefdca615d84..ed4a491e1d98d2ed14c55e1a585365e56c0d2f18 100644 (file)
@@ -95,3 +95,6 @@ let apply_tactic t status =
   (** constraint: the returned value will always be constructed by Cic.Name **)
 type mk_fresh_name_type =
  Cic.metasenv -> Cic.context -> Cic.name -> typ:Cic.term -> Cic.name
+
+let goals_of_proof (_,metasenv,_,_) = List.map (fun (g,_,_) -> g) metasenv
+