]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.ml
Fold must use replace with the = equality and not the physical == equality.
[helm.git] / helm / gTopLevel / proofEngine.ml
index 42ee2c1609b9ab6d18a0f8bf30326c5cd326d930..695ef7a7fbe31669813e2b5bc2b9b1ffcd48a78a 100644 (file)
@@ -750,7 +750,7 @@ let fold term =
    (*CSC: ma si potrebbe ovviare al problema. Ma non credo *)
    (*CSC: che si guadagni nulla in fatto di efficienza.    *) 
    let replace = ProofEngineReduction.replace
-    ~equality:(==) ~what:term' ~with_what:term
+    ~equality:(=) ~what:term' ~with_what:term
    in
     let ty' = replace ty in
     let context' =