From: Claudio Sacerdoti Coen Date: Thu, 5 Feb 2004 11:04:43 +0000 (+0000) Subject: Final answer: the local context MUST be normalized w.r.t. the canonical X-Git-Tag: V_0_2_3~53 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=de4ba26867714c8df37c5c02d649b5e8581f00b5;p=helm.git Final answer: the local context MUST be normalized w.r.t. the canonical context before delifting w.r.t. it. Reason: we normalize it only lazily and this is a right place to ``force'' the normalization. --- diff --git a/helm/ocaml/cic_unification/cicMetaSubst.ml b/helm/ocaml/cic_unification/cicMetaSubst.ml index 01b7d4a99..54f13ed11 100644 --- a/helm/ocaml/cic_unification/cicMetaSubst.ml +++ b/helm/ocaml/cic_unification/cicMetaSubst.ml @@ -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