]> matita.cs.unibo.it Git - helm.git/commitdiff
ProofEngineHelpers.mk_fresh_name now used in place of "dummy_for_rewrite".
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Jan 2003 17:09:47 +0000 (17:09 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Jan 2003 17:09:47 +0000 (17:09 +0000)
helm/ocaml/tactics/equalityTactics.ml

index 4ff71c792a2af0f030b43102724c0f6d3d896d85..36704b441fdaee9f76d8603abfc1d47b5c008b39 100644 (file)
@@ -58,9 +58,9 @@ let rewrite_tac ~term:equality ~status:(proof,goal) =
        ~equality:ProofEngineReduction.alpha_equivalence
        ~what:t1' ~with_what:(C.Rel 1) ~where:gty'
      in
-      C.Lambda (C.Name "dummy_for_rewrite", ty, gty'')
+      C.Lambda
+       (ProofEngineHelpers.mk_fresh_name context C.Anonymous ty, ty, gty'')
     in
-prerr_endline ("#### Sintetizzato: " ^ CicPp.ppterm pred);
     let fresh_meta = ProofEngineHelpers.new_meta proof in
     let irl =
      ProofEngineHelpers.identity_relocation_list_for_metavariable context in
@@ -120,9 +120,9 @@ let rewrite_back_tac ~term:equality ~status:(proof,goal) =
        ~equality:ProofEngineReduction.alpha_equivalence
        ~what:t1' ~with_what:(C.Rel 1) ~where:gty'
      in
-      C.Lambda (C.Name "dummy_for_rewrite", ty, gty'')
+      C.Lambda
+       (ProofEngineHelpers.mk_fresh_name context C.Anonymous ty, ty, gty'')
     in
-prerr_endline ("#### Sintetizzato: " ^ CicPp.ppterm pred);
     let fresh_meta = ProofEngineHelpers.new_meta proof in
     let irl =
      ProofEngineHelpers.identity_relocation_list_for_metavariable context in