src/HOL/Statespace/state_space.ML
changeset 63402 f199837304d7
parent 62969 9f394a16c557
child 66334 b210ae666a42
equal deleted inserted replaced
63400:249fa34faba2 63402:f199837304d7
   296 fun inject_name T = injectN ^"_"^encode_type T;
   296 fun inject_name T = injectN ^"_"^encode_type T;
   297 
   297 
   298 
   298 
   299 fun add_declaration name decl thy =
   299 fun add_declaration name decl thy =
   300   thy
   300   thy
   301   |> Named_Target.init name
   301   |> Named_Target.init NONE name
   302   |> (fn lthy => Local_Theory.declaration {syntax = false, pervasive = false} (decl lthy) lthy)
   302   |> (fn lthy => Local_Theory.declaration {syntax = false, pervasive = false} (decl lthy) lthy)
   303   |> Local_Theory.exit_global;
   303   |> Local_Theory.exit_global;
   304 
   304 
   305 fun parent_components thy (Ts, pname, renaming) =
   305 fun parent_components thy (Ts, pname, renaming) =
   306   let
   306   let