src/Pure/proofterm.ML
changeset 36732 9c2ee10809b2
parent 36621 2fd4e2c76636
child 36740 6248aa22c694
--- a/src/Pure/proofterm.ML	Fri May 07 17:03:06 2010 +0200
+++ b/src/Pure/proofterm.ML	Fri May 07 19:50:50 2010 +0200
@@ -891,7 +891,7 @@
 fun strip_shyps_proof algebra present witnessed extra_sorts prf =
   let
     fun get S2 (T, S1) = if Sorts.sort_le algebra (S1, S2) then SOME T else NONE;
-    val extra = map (fn S => (TFree (Name.aT, S), S)) extra_sorts;
+    val extra = map (fn S => (TFree ("'dummy", S), S)) extra_sorts;
     val replacements = present @ extra @ witnessed;
     fun replace T =
       if exists (fn (T', _) => T' = T) present then raise Same.SAME