]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/proofEngineTypes.ml
- destruct: core of subst tactic implemented,
[helm.git] / components / tactics / proofEngineTypes.ml
index abe460775b935a5271a6cda8a5deb8e1ac5a879f..93436e799586b899ecd4ffe6a7ebb098e8e3f5b0 100644 (file)
@@ -76,13 +76,15 @@ type ('term, 'lazy_term) pattern =
 
 type lazy_pattern = (Cic.term, Cic.lazy_term) pattern
 
+let hole = Cic.Implicit (Some `Hole)
+
 let conclusion_pattern t =
   let t' = 
     match t with
     | None -> None
     | Some t -> Some (const_lazy_term t)
   in
-  t',[],Some (Cic.Implicit (Some `Hole))
+  t',[], Some hole
 
   (** tactic failure *)
 exception Fail of string Lazy.t