--- a/src/HOL/Tools/Sledgehammer/sledgehammer_commands.ML Sun Jul 01 20:29:23 2018 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_commands.ML Mon Jul 02 10:02:44 2018 +0200
@@ -175,7 +175,9 @@
(* The first ATP of the list is used by Auto Sledgehammer. *)
fun default_provers_param_value mode ctxt =
- [cvc4N, z3N, spassN, eN, vampireN, veritN, e_sineN]
+ [cvc4N] @
+ (if is_vampire_noncommercial_license_accepted () = SOME false then [] else [vampireN]) @
+ [z3N, eN, spassN, veritN, e_sineN]
|> map_filter (remotify_prover_if_not_installed ctxt)
(* In "try" mode, leave at least one thread to another slow tool (e.g. Nitpick) *)
|> take (Multithreading.max_threads () - (if mode = Try then 1 else 0))