src/HOL/Tools/ATP/atp_problem_generate.ML
changeset 72915 e05b77e1ab21
parent 72914 224eacc4d579
child 72916 999b07bfd886
equal deleted inserted replaced
72914:224eacc4d579 72915:e05b77e1ab21
   652           (case (poly, level) of
   652           (case (poly, level) of
   653             (_, Nonmono_Types _) => raise Same.SAME
   653             (_, Nonmono_Types _) => raise Same.SAME
   654           | (_, Undercover_Types) => raise Same.SAME
   654           | (_, Undercover_Types) => raise Same.SAME
   655           | (Mangled_Monomorphic, _) =>
   655           | (Mangled_Monomorphic, _) =>
   656             if is_type_level_uniform level then
   656             if is_type_level_uniform level then
   657               Native (Higher_Order THF_With_Choice, Without_FOOL, Mangled_Monomorphic, level)
   657               Native (Higher_Order THF_With_Choice, fool, Mangled_Monomorphic, level)
   658             else
   658             else
   659               raise Same.SAME
   659               raise Same.SAME
   660            | (poly as Raw_Polymorphic _, All_Types) =>
   660            | (poly as Raw_Polymorphic _, All_Types) =>
   661              Native (Higher_Order THF_With_Choice, Without_FOOL, poly, All_Types)
   661              Native (Higher_Order THF_With_Choice, fool, poly, All_Types)
   662            | _ => raise Same.SAME))
   662            | _ => raise Same.SAME))
   663       end
   663       end
   664 
   664 
   665     fun nonnative_of_string core =
   665     fun nonnative_of_string core =
   666       (case (core, poly, level) of
   666       (case (core, poly, level) of