From 242e171b023f113228c55ad273797c63becf53e6 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 31 May 2005 15:46:15 +0000 Subject: [PATCH] added comment --- helm/ocaml/tactics/primitiveTactics.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/ocaml/tactics/primitiveTactics.ml b/helm/ocaml/tactics/primitiveTactics.ml index 5b3e47fba..c1823d1c9 100644 --- a/helm/ocaml/tactics/primitiveTactics.ml +++ b/helm/ocaml/tactics/primitiveTactics.ml @@ -201,6 +201,12 @@ let new_metasenv_for_apply newmeta proof context ty = in let s' = CicReduction.normalize ~delta:false context s in res,(newmeta,context,s')::newmetasenv,newargument::arguments,lastmeta + (** NORMALIZE RATIONALE + * we normalize the target only NOW since we may be in this case: + * A1 -> A2 -> T where T = (\lambda x.A3 -> P) k + * and we want a mesasenv with ?1:A1 and ?2:A2 and not + * ?1, ?2, ?3 (that is the one we whould get if we start from the + * beta-normalized A1 -> A2 -> A3 -> P **) | t -> (CicReduction.normalize ~delta:false context t),[],[],newmeta in (* WARNING: here we are using the invariant that above the most *) -- 2.39.2