imitate old "intern" semantics for the sake of outdated/unmaintained code, notably relevant for Simpl;
authorwenzelm
Wed, 01 Apr 2015 21:12:05 +0200
changeset 59900 a5591a15112e
parent 59899 91f4f956b1eb
child 59901 840d03805755
imitate old "intern" semantics for the sake of outdated/unmaintained code, notably relevant for Simpl;
src/HOL/Statespace/state_space.ML
--- a/src/HOL/Statespace/state_space.ML	Wed Apr 01 19:31:28 2015 +0200
+++ b/src/HOL/Statespace/state_space.ML	Wed Apr 01 21:12:05 2015 +0200
@@ -173,7 +173,7 @@
 fun mk_free ctxt name =
   if Variable.is_fixed ctxt name orelse Variable.is_declared ctxt name
   then
-    let val n' = Variable.intern_fixed ctxt name
+    let val n' = Variable.intern_fixed ctxt name |> perhaps Long_Name.dest_hidden;
     in SOME (Free (n', Proof_Context.infer_type ctxt (n', dummyT))) end
   else NONE