From de4ba26867714c8df37c5c02d649b5e8581f00b5 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 5 Feb 2004 11:04:43 +0000 Subject: [PATCH] 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. --- helm/ocaml/cic_unification/cicMetaSubst.ml | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.2