src/HOL/Tools/Predicate_Compile/pred_compile_quickcheck.ML
changeset 33139 9c01ee6f8ee9
parent 33138 e2e23987c59a
child 33140 83951822bfd0
equal deleted inserted replaced
33138:e2e23987c59a 33139:9c01ee6f8ee9
    63     val _ = tracing (Display.string_of_thm ctxt' intro)
    63     val _ = tracing (Display.string_of_thm ctxt' intro)
    64     val thy'' = thy'
    64     val thy'' = thy'
    65       |> Context.theory_map (Predicate_Compile_Preproc_Const_Defs.add_thm intro)
    65       |> Context.theory_map (Predicate_Compile_Preproc_Const_Defs.add_thm intro)
    66       |> Predicate_Compile.preprocess Predicate_Compile_Aux.default_options full_constname
    66       |> Predicate_Compile.preprocess Predicate_Compile_Aux.default_options full_constname
    67       |> Predicate_Compile_Core.add_equations Predicate_Compile_Aux.default_options [full_constname]
    67       |> Predicate_Compile_Core.add_equations Predicate_Compile_Aux.default_options [full_constname]
    68       |> Predicate_Compile_Core.add_depth_limited_equations Predicate_Compile_Aux.default_options [full_constname]
    68       (*  |> Predicate_Compile_Core.add_depth_limited_equations Predicate_Compile_Aux.default_options [full_constname]*)
    69       |> Predicate_Compile_Core.add_quickcheck_equations Predicate_Compile_Aux.default_options [full_constname]
    69       |> Predicate_Compile_Core.add_quickcheck_equations Predicate_Compile_Aux.default_options [full_constname]
    70     val depth_limited_modes = Predicate_Compile_Core.depth_limited_modes_of thy'' full_constname
    70     val depth_limited_modes = Predicate_Compile_Core.depth_limited_modes_of thy'' full_constname
    71     val modes = Predicate_Compile_Core.generator_modes_of thy'' full_constname  
    71     val modes = Predicate_Compile_Core.generator_modes_of thy'' full_constname  
    72     val prog =
    72     val prog =
    73       if member (op =) modes ([], []) then
    73       if member (op =) modes ([], []) then