--- a/src/HOL/Tools/Mirabelle/mirabelle.ML Sat Jun 12 12:39:33 2021 +0200
+++ b/src/HOL/Tools/Mirabelle/mirabelle.ML Sat Jun 12 15:37:25 2021 +0200
@@ -209,7 +209,7 @@
|> map_index I
|> maps (fn (n, command) =>
let val (m, k) = Integer.div_mod (n + 1) mirabelle_stride in
- if k = 0 andalso m <= mirabelle_max_calls then
+ if k = 0 andalso (mirabelle_max_calls <= 0 orelse m <= mirabelle_max_calls) then
map (fn context => (context, command)) contexts
else
[]
--- a/src/HOL/Tools/etc/options Sat Jun 12 12:39:33 2021 +0200
+++ b/src/HOL/Tools/etc/options Sat Jun 12 15:37:25 2021 +0200
@@ -56,8 +56,8 @@
option mirabelle_stride : int = 1
-- "default stride for running Mirabelle actions on every nth goal"
-option mirabelle_max_calls : int = 10000000
- -- "default max. no. of calls to each Mirabelle action"
+option mirabelle_max_calls : int = 0
+ -- "default max. no. of calls to each Mirabelle action (0: unbounded)"
option mirabelle_actions : string = ""
-- "Mirabelle actions (outer syntax, separated by semicolons)"