]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.ml
* Bug fixed: syntactic equality for CIC term (which was used in the Fold tactic)
[helm.git] / helm / gTopLevel / proofEngine.ml
index 695ef7a7fbe31669813e2b5bc2b9b1ffcd48a78a..f33c69e35918cd64ef4a3b2527230a2490ab6609 100644 (file)
@@ -749,8 +749,10 @@ let fold term =
    (* the type of one metavariable. So we replace it everywhere.   *)
    (*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
+   let replace =
+    ProofEngineReduction.replace
+     ~equality:(ProofEngineReduction.syntactic_equality)
+     ~what:term' ~with_what:term
    in
     let ty' = replace ty in
     let context' =