]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.ml
- bug fixed: some liftings were missing in the implementation of rewrite
[helm.git] / helm / gTopLevel / proofEngine.ml
index 0e4de4f3bc1d639cadd821eaff0b535f5a1add99..64d68a37e53adc2aa635bd2b77fd31dea6c254c1 100644 (file)
@@ -224,7 +224,8 @@ let fold term =
    (*CSC: che si guadagni nulla in fatto di efficienza.    *) 
    let replace =
     ProofEngineReduction.replace
-     ~equality:(ProofEngineReduction.syntactic_equality)
+     ~equality:
+      (ProofEngineReduction.syntactic_equality ~alpha_equivalence:false)
      ~what:term' ~with_what:term
    in
     let ty' = replace ty in
@@ -273,4 +274,4 @@ let clear hyp = apply_tactic (ProofEngineStructuralRules.clear ~hyp)
 let elim_type term = apply_tactic (Ring.elim_type_tac ~term)
 let ring () = apply_tactic Ring.ring_tac
 let fourier () = apply_tactic FourierR.fourier_tac
-
+let rewrite term = apply_tactic (FourierR.rewrite_tac ~term)