src/HOL/Tools/etc/options
author wenzelm
Mon, 16 Jun 2025 11:00:04 +0200
changeset 82724 eb26ddc6b063
parent 82024 bbda3b4f3c99
permissions -rw-r--r--
merged
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
     1
(* :mode=isabelle-options: *)
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
     2
59753
wenzelm
parents: 57659
diff changeset
     3
section "Automatically tried tools"
52651
5adb5c69af97 initial delay for automatically tried tools;
wenzelm
parents: 52645
diff changeset
     4
5adb5c69af97 initial delay for automatically tried tools;
wenzelm
parents: 52645
diff changeset
     5
public option auto_time_start : real = 1.0
5adb5c69af97 initial delay for automatically tried tools;
wenzelm
parents: 52645
diff changeset
     6
  -- "initial delay for automatically tried tools (seconds)"
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
     7
52645
e8c1c5612677 clarified some default options;
wenzelm
parents: 52639
diff changeset
     8
public option auto_time_limit : real = 2.0
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
     9
  -- "time limit for automatically tried tools (seconds > 0)"
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    10
72988
52ba78df4088 disable auto_nitpick for now: spurious problems with non-termination e.g. in HOL-Hoare examples;
wenzelm
parents: 72299
diff changeset
    11
public option auto_nitpick : bool = false
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    12
  -- "run Nitpick automatically"
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    13
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    14
public option auto_sledgehammer : bool = false
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    15
  -- "run Sledgehammer automatically"
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    16
52717
da7bf8b3d24a clarified option name, with improved sort order wrt. "time" options;
wenzelm
parents: 52651
diff changeset
    17
public option auto_methods : bool = false
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    18
  -- "try standard proof methods automatically"
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    19
52645
e8c1c5612677 clarified some default options;
wenzelm
parents: 52639
diff changeset
    20
public option auto_quickcheck : bool = true
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    21
  -- "run Quickcheck automatically"
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    22
52645
e8c1c5612677 clarified some default options;
wenzelm
parents: 52639
diff changeset
    23
public option auto_solve_direct : bool = true
52639
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    24
  -- "run solve_direct automatically"
df830310e550 system options for Isabelle/HOL proof tools;
wenzelm
parents:
diff changeset
    25
53057
e18a028b345c prefer system option sledgehammer_timeout, with standard GUI in jEdit Plugin Options;
wenzelm
parents: 52717
diff changeset
    26
e18a028b345c prefer system option sledgehammer_timeout, with standard GUI in jEdit Plugin Options;
wenzelm
parents: 52717
diff changeset
    27
section "Miscellaneous Tools"
e18a028b345c prefer system option sledgehammer_timeout, with standard GUI in jEdit Plugin Options;
wenzelm
parents: 52717
diff changeset
    28
82024
bbda3b4f3c99 switch from CVC5 to cvc5, including updates of internal tool references;
wenzelm
parents: 81529
diff changeset
    29
public option sledgehammer_provers : string = "cvc5 verit z3 e spass vampire zipperposition"
60071
323feed18a92 clarified sledgehammer options to approximate old-style diagnostic command;
wenzelm
parents: 59960
diff changeset
    30
  -- "provers for Sledgehammer (separated by blanks)"
56623
4675df68450e more elementary option sledgehammer_provers, avoiding complications of defaults from ML side (NB: guessing at number of cores does not make sense in PIDE);
wenzelm
parents: 55007
diff changeset
    31
53057
e18a028b345c prefer system option sledgehammer_timeout, with standard GUI in jEdit Plugin Options;
wenzelm
parents: 52717
diff changeset
    32
public option sledgehammer_timeout : int = 30
60071
323feed18a92 clarified sledgehammer options to approximate old-style diagnostic command;
wenzelm
parents: 59960
diff changeset
    33
  -- "provers will be interrupted after this time (in seconds)"
53057
e18a028b345c prefer system option sledgehammer_timeout, with standard GUI in jEdit Plugin Options;
wenzelm
parents: 52717
diff changeset
    34
80162
ccd76abeae1b changed URL to SystemOnTPTP at Geoff's request
desharna
parents: 76954
diff changeset
    35
public option SystemOnTPTP : string = "https://tptp.org/cgi-bin/SystemOnTPTPFormReply"
73418
7d7d959547a1 support for SystemOnTPTP in Isabelle/ML and Isabelle/Scala (without perl);
wenzelm
parents: 72988
diff changeset
    36
  -- "URL for SystemOnTPTP service"
7d7d959547a1 support for SystemOnTPTP in Isabelle/ML and Isabelle/Scala (without perl);
wenzelm
parents: 72988
diff changeset
    37
57659
b246943b3aa3 reenabled MaSh for Isabelle2014 release (hopefully)
blanchet
parents: 57566
diff changeset
    38
public option MaSh : string = "sml"
57532
c7dc1f0a2b8a tuned terminology
blanchet
parents: 57462
diff changeset
    39
  -- "machine learning algorithm to use by Sledgehammer (nb_knn, nb, knn, none)"
72196
6dba090358d2 invoke Nitpick/Kodkod via Isabelle/Scala (instead of external process);
wenzelm
parents: 68563
diff changeset
    40
74845
91ee232b4211 clarified default for kodkod_scala;
wenzelm
parents: 74409
diff changeset
    41
public option kodkod_scala : bool = false
72196
6dba090358d2 invoke Nitpick/Kodkod via Isabelle/Scala (instead of external process);
wenzelm
parents: 68563
diff changeset
    42
  -- "invoke Nitpick/Kodkod via Isabelle/Scala (instead of external process)"
72200
edaed30360cc more flexible default for max_threads;
wenzelm
parents: 72196
diff changeset
    43
edaed30360cc more flexible default for max_threads;
wenzelm
parents: 72196
diff changeset
    44
public option kodkod_max_threads : int = 0
edaed30360cc more flexible default for max_threads;
wenzelm
parents: 72196
diff changeset
    45
  -- "default max_threads for Nitpick/Kodkod (0: maximum of Java/Scala platform)"
73691
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    46
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    47
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    48
section "Mirabelle"
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    49
74989
003f378b78a5 added Mirabelle option "-y" for dry run
desharna
parents: 74986
diff changeset
    50
option mirabelle_dry_run : bool = false
003f378b78a5 added Mirabelle option "-y" for dry run
desharna
parents: 74986
diff changeset
    51
  -- "initialize the actions, print on which goals they would be run, and finalize the actions"
003f378b78a5 added Mirabelle option "-y" for dry run
desharna
parents: 74986
diff changeset
    52
73691
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    53
option mirabelle_timeout : real = 30
74077
b93d8c2ebab0 added automatic uniform stride option to Mirabelle
desharna
parents: 73852
diff changeset
    54
  -- "timeout in seconds for each action"
73691
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    55
73797
f7ea394490f5 moved stride option from sledgehammer action to main mirabelle
desharna
parents: 73691
diff changeset
    56
option mirabelle_stride : int = 1
74077
b93d8c2ebab0 added automatic uniform stride option to Mirabelle
desharna
parents: 73852
diff changeset
    57
  -- "run actions on every nth goal (0: uniform distribution)"
73797
f7ea394490f5 moved stride option from sledgehammer action to main mirabelle
desharna
parents: 73691
diff changeset
    58
73852
adb34395b622 added support for unbounded max calls to Mirabelle
desharna
parents: 73847
diff changeset
    59
option mirabelle_max_calls : int = 0
74077
b93d8c2ebab0 added automatic uniform stride option to Mirabelle
desharna
parents: 73852
diff changeset
    60
  -- "max. no. of calls to each action (0: unbounded)"
73847
58f6b41efe88 refactored Mirabelle to produce output in real time
desharna
parents: 73797
diff changeset
    61
74986
fc664e4fbf6d added Mirabelle option -r to randomize the goals before selection
desharna
parents: 74845
diff changeset
    62
option mirabelle_randomize : int = 0
fc664e4fbf6d added Mirabelle option -r to randomize the goals before selection
desharna
parents: 74845
diff changeset
    63
  -- "seed to randomize the goals before selection (0: no randomization)"
fc664e4fbf6d added Mirabelle option -r to randomize the goals before selection
desharna
parents: 74845
diff changeset
    64
74078
a2cbe81e1e32 changed Mirabelle_Sledgehammer keep option from path to boolean
desharna
parents: 74077
diff changeset
    65
option mirabelle_output_dir : string = "mirabelle"
a2cbe81e1e32 changed Mirabelle_Sledgehammer keep option from path to boolean
desharna
parents: 74077
diff changeset
    66
  -- "output directory for log files and generated artefacts"
a2cbe81e1e32 changed Mirabelle_Sledgehammer keep option from path to boolean
desharna
parents: 74077
diff changeset
    67
81528
e4b4141e6954 added parallel_group_size option to Mirabelle
desharna
parents: 76954
diff changeset
    68
option mirabelle_parallel_group_size : int = 0
e4b4141e6954 added parallel_group_size option to Mirabelle
desharna
parents: 76954
diff changeset
    69
  -- "number of actions to perform in parallel (0: unbounded)"
e4b4141e6954 added parallel_group_size option to Mirabelle
desharna
parents: 76954
diff changeset
    70
73691
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    71
option mirabelle_actions : string = ""
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    72
  -- "Mirabelle actions (outer syntax, separated by semicolons)"
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    73
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    74
option mirabelle_theories : string = ""
2f9877db82a1 reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents: 73418
diff changeset
    75
  -- "Mirabelle theories (names with optional line range, separated by commas)"