imitate old "intern" semantics for the sake of outdated/unmaintained code, notably relevant for Simpl;
--- 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