]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicReduction.ml
Use seed to avoid further name clashes.
[helm.git] / helm / software / components / ng_kernel / nCicReduction.ml
index 64133384d5f9a511efa91439f8e3ae970bb53f64..defd12e292c0836dd15afb2331b070c0bac0c9f8 100644 (file)
@@ -419,11 +419,11 @@ module Reduction(RS : Strategy) =
      | (_, _, NCic.Const
             (NReference.Ref (_,_,NReference.Def) as refer), s) as config ->
          let _,_,body,_,_,height = NCicEnvironment.get_checked_def refer in
-         if delta >= height then config else aux (0, [], body, s) 
+         if delta > height then config else aux (0, [], body, s) 
      | (_, _, NCic.Const (NReference.Ref 
                (_,_,NReference.Fix (_,recindex)) as refer),s) as config ->
         let _,_,body,_, _, height = NCicEnvironment.get_checked_fix refer in
-        if delta >= height then config else
+        if delta > height then config else
         (match
           try Some (RS.from_stack (List.nth s recindex))
           with Failure _ -> None