define simprocs: do not apply target_morphism prematurely, this is already done in LocalTheory.declaration;
authorwenzelm
Tue, 10 Nov 2009 15:32:43 +0100
changeset 33551 c40ced05b10a
parent 33550 4e1708efa79e
child 33552 506f80a9afe8
define simprocs: do not apply target_morphism prematurely, this is already done in LocalTheory.declaration;
src/Pure/simplifier.ML
--- a/src/Pure/simplifier.ML	Tue Nov 10 14:38:39 2009 +0100
+++ b/src/Pure/simplifier.ML	Tue Nov 10 15:32:43 2009 +0100
@@ -189,8 +189,7 @@
         in Variable.export_terms ctxt' lthy lhss' end
         |> map (Thm.cterm_of (ProofContext.theory_of lthy)),
        proc = proc,
-       identifier = identifier}
-      |> morph_simproc (LocalTheory.target_morphism lthy);
+       identifier = identifier};
   in
     lthy |> LocalTheory.declaration false (fn phi =>
       let