]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/paramodulation/utils.ml
fixed equalities_for_goal
[helm.git] / helm / software / components / tactics / paramodulation / utils.ml
index 8b67ddb05a6a0b05ecee68300a69d29a142e9295..542c2dd77d26e6c6bae42937abd63d9fc2257a72 100644 (file)
@@ -103,6 +103,13 @@ let metas_of_term term =
   aux term
 ;;
 
+let rec remove_local_context =
+  function
+    | Cic.Meta (i,_) -> Cic.Meta (i,[])
+    | Cic.Appl l ->
+       Cic.Appl(List.map remove_local_context l)
+    | t -> t 
+
 
 (************************* rpo ********************************)
 let number = [