]> matita.cs.unibo.it Git - helm.git/commitdiff
Big bug spotted and commented: the delift function considers the explicit
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 17 Dec 2003 11:49:58 +0000 (11:49 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 17 Dec 2003 11:49:58 +0000 (11:49 +0000)
substitution over metavariable occurrences as telescopic. Instead it is
simultaneous.

helm/ocaml/cic_unification/cicUnification.ml

index 7221dd0a8366f424669ebba5c874dec9c3959bf0..bc736b260799f548c11c4b82a8861b254a40724f 100644 (file)
@@ -91,6 +91,9 @@ let delift context metasenv l t =
         in
          C.Var (uri,exp_named_subst')
      | C.Meta (i, l1) as t -> 
+(* CSC: BIG BUG HERE! In the explicit substitution l1 = [t1 ; t2],       *)
+(* CSC: it is NOT true that Rel(1) in t2 refers to t1 (i.e. the explicit *)
+(* CSC: substitution is simultaneous, not telescopic. To be fixes ASAP.  *)
         let rec deliftl j =
          function
             [] -> []