]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_unification/cicMetaSubst.ml
Final answer: the local context MUST be normalized w.r.t. the canonical
[helm.git] / helm / ocaml / cic_unification / cicMetaSubst.ml
index 01b7d4a99247d6905665e9d850eb25fefb767d9f..54f13ed1191b87f8c9a505c6dffac48d18e53c75 100644 (file)
@@ -230,7 +230,6 @@ let rec restrict subst to_be_restricted metasenv =
 (*CSC: maybe we should rename delift in abstract, as I did in my dissertation *)
 let delift n subst context metasenv l t =
  let module S = CicSubstitution in
-(* THIS CODE SHOULD NOT BE USEFUL AT ALL
   let l =
    let (_, canonical_context, _) = CicUtil.lookup_meta n metasenv in
    List.map2 (fun ct lt ->
@@ -239,7 +238,6 @@ let delift n subst context metasenv l t =
      | Some _, _ -> lt)
      canonical_context l
   in
-*)
   let to_be_restricted = ref [] in
   let rec deliftaux k =
    let module C = Cic in