src/HOL/Tools/ATP/atp_problem.ML
changeset 46382 b99ca1a7c63b
parent 46381 ef62c2fafa9e
child 46391 8d8d3c1f1854
equal deleted inserted replaced
46381:ef62c2fafa9e 46382:b99ca1a7c63b
   283      | _ => ty)
   283      | _ => ty)
   284   | flatten_type (ty as AType _) = ty
   284   | flatten_type (ty as AType _) = ty
   285   | flatten_type _ =
   285   | flatten_type _ =
   286     raise Fail "unexpected higher-order type in first-order format"
   286     raise Fail "unexpected higher-order type in first-order format"
   287 
   287 
   288 val dfg_individual_type = "i" (* shouldn't clash *)
   288 val dfg_individual_type = "ii" (* cannot clash *)
   289 
   289 
   290 fun str_for_type format ty =
   290 fun str_for_type format ty =
   291   let
   291   let
   292     val dfg = (format = DFG DFG_Sorted)
   292     val dfg = (format = DFG DFG_Sorted)
   293     fun str _ (AType (s, [])) =
   293     fun str _ (AType (s, [])) =