]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic/cicInspect.ml
- cicInspect: relevant nodes count updated: letin nodes are not relevant
[helm.git] / helm / software / components / cic / cicInspect.ml
index 2016ed98c845cfb08af0a6750956f9272aa4461a..7186fb1f1585bc901e0c3cc4a8e4f0f8aadee26b 100644 (file)
@@ -134,7 +134,7 @@ let count_nodes ~meta n t =
       | C.Cast (t1, t2) -> aux (aux (offset + n) t2) t1
       | C.Lambda (_, t1, t2)
       | C.Prod (_, t1, t2) -> aux (aux (succ n) t2) t1
-      | C.LetIn (_, t1, ty, t2) -> aux (aux (aux (offset + 1 + n) t2) ty) t1
+      | C.LetIn (_, t1, ty, t2) -> aux (aux (aux (offset + n) t2) ty) t1
       | C.MutCase (_, _, t1, t2, ss) ->
          aux (aux (List.fold_left aux (offset + 1 + n) ss) t2) t1
       | C.Fix (_, ss)                ->