]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/helena/src/basic_rg/brgSubstitution.ml
update in helena
[helm.git] / helm / software / helena / src / basic_rg / brgSubstitution.ml
index 6fd4575dda85daf208689d4fd5191070186f5b10..727524ca70a2088231d7101e6e46e7300a24cecd 100644 (file)
@@ -12,6 +12,8 @@
 module G = Options
 module B = Brg
 
+IFDEF TYPE THEN
+
 let rec icm a = function
    | B.Sort _
    | B.LRef _
@@ -32,7 +34,7 @@ let iter map d =
       | B.GRef _ as t      -> t
       | B.LRef (a, i) as t -> if i < d then t else map d a i
       | B.Cast (w, v)      -> B.Cast (iter_term d w, iter_term d v)
-      | B.Appl (x, w, u)   -> B.Appl (x, iter_term d w, iter_term d u)
+      | B.Appl (a, w, u)   -> B.Appl (a, iter_term d w, iter_term d u)
       | B.Bind (y, b, u)   -> B.Bind (y, iter_bind d b, iter_term (succ d) u)
    in
    iter_term d
@@ -48,3 +50,5 @@ let lift h d t =
 *)
       iter (lift_map h) d t
    end
+
+END