explicit transfer avoids spurious merge problems
authorhaftmann
Wed, 09 Sep 2009 12:27:12 +0200
changeset 32545 8631b421ffc3
parent 32516 a579bc82e932
child 32546 d68b7c181211
explicit transfer avoids spurious merge problems
src/Tools/Code/code_thingol.ML
--- a/src/Tools/Code/code_thingol.ML	Thu Sep 03 22:48:18 2009 +0200
+++ b/src/Tools/Code/code_thingol.ML	Wed Sep 09 12:27:12 2009 +0200
@@ -429,7 +429,7 @@
 
 fun desymbolize_all_vars thy = desymbolize_tvars thy #> map (desymbolize_vars thy);
 
-fun clean_thms thy = same_arity thy #> desymbolize_all_vars thy;
+fun clean_thms thy = map (Thm.transfer thy) #> same_arity thy #> desymbolize_all_vars thy;
 
 
 (** statements, abstract programs **)