--- a/src/HOL/Tools/Sledgehammer/sledgehammer.ML Tue Feb 01 08:59:35 2022 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer.ML Tue Feb 01 09:21:50 2022 +0100
@@ -71,12 +71,12 @@
fun max_outcome outcomes =
let
- val result = find_first (fn (SH_Some _, _) => true | _ => false) outcomes
+ val some = find_first (fn (SH_Some _, _) => true | _ => false) outcomes
val unknown = find_first (fn (SH_Unknown, _) => true | _ => false) outcomes
val timeout = find_first (fn (SH_Timeout, _) => true | _ => false) outcomes
val none = find_first (fn (SH_None, _) => true | _ => false) outcomes
in
- result
+ some
|> alternative snd unknown
|> alternative snd timeout
|> alternative snd none