]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/proofEngineReduction.ml
Bug fixed (in Cast).
[helm.git] / helm / ocaml / tactics / proofEngineReduction.ml
index cc5af63ae3558aaa7feb7697d59f3b67b386be84..fca06f6f078301430648759b07c445d5955e6f0f 100644 (file)
@@ -631,7 +631,7 @@ let simpl context =
     | C.Sort _ as t -> t (* l should be empty *)
     | C.Implicit _ as t -> t
     | C.Cast (te,ty) ->
-       C.Cast (reduceaux context l te, reduceaux context l ty)
+       C.Cast (reduceaux context l te, reduceaux context [] ty)
     | C.Prod (name,s,t) ->
        assert (l = []) ;
        C.Prod (name,