fixed intern_skolem: disallow internal names (why didn't anybody notice?!?);
authorwenzelm
Tue, 06 Aug 2002 11:20:47 +0200
changeset 13461 f93f7d766895
parent 13460 ced7a699282b
child 13462 56610e2ba220
fixed intern_skolem: disallow internal names (why didn't anybody notice?!?);
src/Pure/Isar/proof_context.ML
--- a/src/Pure/Isar/proof_context.ML	Tue Aug 06 11:19:52 2002 +0200
+++ b/src/Pure/Isar/proof_context.ML	Tue Aug 06 11:20:47 2002 +0200
@@ -28,7 +28,6 @@
   val cert_typ: context -> typ -> typ
   val cert_typ_no_norm: context -> typ -> typ
   val get_skolem: context -> string -> string
-  val intern_skolem: context -> term -> term
   val extern_skolem: context -> term -> term
   val read_termTs: context -> (string * typ) list -> term list * (indexname * typ) list
   val read_term: context -> string -> term
@@ -444,7 +443,7 @@
 fun intern_skolem ctxt =
   let
     fun intern (t as Free (x, T)) =
-          (case lookup_skolem ctxt (no_skolem true ctxt x) of
+          (case lookup_skolem ctxt (no_skolem false ctxt x) of
             Some x' => Free (x', T)
           | None => t)
       | intern (t $ u) = intern t $ intern u