src/HOL/Tools/Sledgehammer/sledgehammer_fact_minimizer.ML
changeset 36382 b90fc0d75bca
parent 36378 f32c567dbcaa
child 36393 be73a2b2443b
equal deleted inserted replaced
36381:f4d84d84a01a 36382:b90fc0d75bca
   121         (NONE, "Failure: No proof was found with the current time limit. You \
   121         (NONE, "Failure: No proof was found with the current time limit. You \
   122                \can increase the time limit using the \"timeout\" \
   122                \can increase the time limit using the \"timeout\" \
   123                \option (e.g., \"timeout = " ^
   123                \option (e.g., \"timeout = " ^
   124                string_of_int (10 + msecs div 1000) ^ " s\").")
   124                string_of_int (10 + msecs div 1000) ^ " s\").")
   125     | {message, ...} => (NONE, "ATP error: " ^ message))
   125     | {message, ...} => (NONE, "ATP error: " ^ message))
   126     handle Sledgehammer_HOL_Clause.TRIVIAL =>
   126     handle Sledgehammer_HOL_Clause.TRIVIAL => (SOME [], metis_line i n [])
   127         (SOME [], metis_line i n [])
   127          | ERROR msg => (NONE, "Error: " ^ msg)
   128       | ERROR msg => (NONE, "Error: " ^ msg)
       
   129   end
   128   end
   130 
   129 
   131 end;
   130 end;