]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/variousTactics.ml
Proof of adequacy.
[helm.git] / helm / software / components / tactics / variousTactics.ml
index 5563f206b057956509a4e973adfbabda1f907e66..28dc4575d6f9e7ac56ac78ad3e5526883cb55725 100644 (file)
@@ -45,10 +45,10 @@ let assumption_tac =
         (match hd with
              (Some (_, C.Decl t)) when
                fst (R.are_convertible context (S.lift n t) ty 
-                      CicUniv.empty_ugraph) -> n
+                      CicUniv.oblivion_ugraph) -> n
            | (Some (_, C.Def (_,ty'))) when
                fst (R.are_convertible context (S.lift n ty') ty
-                       CicUniv.empty_ugraph) -> n
+                       CicUniv.oblivion_ugraph) -> n
            | _ -> find (n+1) tl
          )
       | [] -> raise (PET.Fail (lazy "Assumption: No such assumption"))
@@ -80,7 +80,7 @@ let generalize_tac
     let uri,metasenv,_subst,pbo,pty, attrs = proof in
     let (_,context,ty) as conjecture = CicUtil.lookup_meta goal metasenv in
     let subst,metasenv,u,selected_hyps,terms_with_context =
-     ProofEngineHelpers.select ~metasenv ~ugraph:CicUniv.empty_ugraph
+     ProofEngineHelpers.select ~metasenv ~ugraph:CicUniv.oblivion_ugraph
       ~conjecture ~pattern in
     let context = CicMetaSubst.apply_subst_context subst context in
     let metasenv = CicMetaSubst.apply_subst_metasenv subst metasenv in