src/HOL/Tools/inductive_realizer.ML
changeset 33171 292970b42770
parent 33040 cffdb7b28498
child 33244 db230399f890
equal deleted inserted replaced
33170:dd6d8d1f70d2 33171:292970b42770
   349         (HOLogic.dest_Trueprop (Logic.strip_assums_concl (hd rintrs)))), nparms));
   349         (HOLogic.dest_Trueprop (Logic.strip_assums_concl (hd rintrs)))), nparms));
   350 
   350 
   351     (** realizability predicate **)
   351     (** realizability predicate **)
   352 
   352 
   353     val (ind_info, thy3') = thy2 |>
   353     val (ind_info, thy3') = thy2 |>
   354       Inductive.add_inductive_global (serial_string ())
   354       Inductive.add_inductive_global (serial ())
   355         {quiet_mode = false, verbose = false, kind = Thm.generatedK, alt_name = Binding.empty,
   355         {quiet_mode = false, verbose = false, kind = Thm.generatedK, alt_name = Binding.empty,
   356           coind = false, no_elim = false, no_ind = false, skip_mono = false, fork_mono = false}
   356           coind = false, no_elim = false, no_ind = false, skip_mono = false, fork_mono = false}
   357         rlzpreds rlzparams (map (fn (rintr, intr) =>
   357         rlzpreds rlzparams (map (fn (rintr, intr) =>
   358           ((Binding.name (Long_Name.base_name (name_of_thm intr)), []),
   358           ((Binding.name (Long_Name.base_name (name_of_thm intr)), []),
   359            subst_atomic rlzpreds' (Logic.unvarify rintr)))
   359            subst_atomic rlzpreds' (Logic.unvarify rintr)))