src/HOL/Statespace/state_space.ML
changeset 37146 f652333bbf8e
parent 36960 01594f816e3a
child 38350 480b2de9927c
equal deleted inserted replaced
37145:01aa36932739 37146:f652333bbf8e
   437 
   437 
   438       in Context.mapping I upd_prf ctxt end;
   438       in Context.mapping I upd_prf ctxt end;
   439 
   439 
   440    fun string_of_typ T =
   440    fun string_of_typ T =
   441       setmp_CRITICAL show_sorts true
   441       setmp_CRITICAL show_sorts true
   442        (PrintMode.setmp [] (Syntax.string_of_typ (ProofContext.init_global thy))) T;
   442        (Print_Mode.setmp [] (Syntax.string_of_typ (ProofContext.init_global thy))) T;
   443    val fixestate = (case state_type of
   443    val fixestate = (case state_type of
   444          NONE => []
   444          NONE => []
   445        | SOME s =>
   445        | SOME s =>
   446           let
   446           let
   447             val fx = Element.Fixes [(Binding.name s,SOME (string_of_typ stateT),NoSyn)];
   447             val fx = Element.Fixes [(Binding.name s,SOME (string_of_typ stateT),NoSyn)];