| author | wenzelm | 
| Tue, 12 Aug 2025 11:32:05 +0200 | |
| changeset 82997 | 947d10dbe353 | 
| parent 82981 | 4629fcbf53e2 | 
| child 83173 | 74f51d5dd7fe | 
| permissions | -rw-r--r-- | 
| 48367 | 1  | 
(* :mode=isabelle-options: *)  | 
2  | 
||
| 49295 | 3  | 
section "Document Preparation"  | 
| 49270 | 4  | 
|
| 77603 | 5  | 
option browser_info : bool = false for build  | 
| 48580 | 6  | 
-- "generate theory browser information"  | 
| 48367 | 7  | 
|
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
8  | 
option document : string = "" (standard "true") for build build_sync  | 
| 73827 | 9  | 
-- "build PDF document (enabled for \"pdf\" or \"true\", disabled for \"\" or \"false\")"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
10  | 
option document_output : string = "" (standard "output") for build build_sync  | 
| 
72578
 
3e8395f9093a
clarified build_doc, based on Present.build_documents;
 
wenzelm 
parents: 
72300 
diff
changeset
 | 
11  | 
-- "document output directory"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
12  | 
option document_echo : bool = false for build build_sync  | 
| 
74732
 
015282fb3e31
clarified messages, depending on option "document_echo";
 
wenzelm 
parents: 
74147 
diff
changeset
 | 
13  | 
-- "inform about document file names during session presentation"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
14  | 
option document_variants : string = "document" for build document build_sync  | 
| 67137 | 15  | 
-- "alternative document variants (separated by colons)"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
16  | 
option document_tags : string = "" for document build_sync  | 
| 67138 | 17  | 
-- "default command tags (separated by commas)"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
18  | 
option document_bibliography : bool = false for document build_sync  | 
| 73743 | 19  | 
-- "explicitly enable use of bibtex (default: according to presence of root.bib)"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
20  | 
option document_build : string = "lualatex" (standard "build") for document build_sync  | 
| 
74827
 
c1b5d6e6ff74
clarified system option standard values: avoid oddities like "isabelle build -o document_output" producing directories named "true";
 
wenzelm 
parents: 
74824 
diff
changeset
 | 
21  | 
-- "document build engine (e.g. build, lualatex, pdflatex)"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
22  | 
option document_logo : string = "" (standard "_") for document build_sync  | 
| 73723 | 23  | 
-- "generate named instance of Isabelle logo (underscore means unnamed variant)"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
24  | 
option document_heading_prefix : string = "isamarkup" (standard) for document build_sync  | 
| 
74824
 
6424f74fd9d4
Latex.Output.latex_heading depends on option document_heading_prefix, e.g. relevant for Dagstuhl LIPIcs which prefers unaliased \section etc.;
 
wenzelm 
parents: 
74733 
diff
changeset
 | 
25  | 
-- "prefix for LaTeX macros generated from 'chapter', 'section' etc."  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
26  | 
option document_comment_latex : bool = false for document build_sync  | 
| 
74840
 
4faf0ec33cbf
option document_comment_latex supports e.g. Dagstuhl LIPIcs;
 
wenzelm 
parents: 
74827 
diff
changeset
 | 
27  | 
-- "use regular LaTeX version of comment.sty, instead of historic plain TeX version"  | 
| 
82138
 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
82043 
diff
changeset
 | 
28  | 
option document_cite_commands : string = "cite,nocite,citet,citep" for document build_sync  | 
| 76986 | 29  | 
-- "antiquotation commands to determine the structure of bibliography"  | 
| 48367 | 30  | 
|
| 77603 | 31  | 
option thy_output_display : bool = false for content  | 
| 48580 | 32  | 
-- "indicate output as multi-line display-style material"  | 
| 77603 | 33  | 
option thy_output_break : bool = false for content  | 
| 48580 | 34  | 
-- "control line breaks in non-display material"  | 
| 77603 | 35  | 
option thy_output_cartouche : bool = false for content  | 
| 70121 | 36  | 
-- "indicate if the output should be delimited as cartouche"  | 
| 77603 | 37  | 
option thy_output_quotes : bool = false for content  | 
| 70121 | 38  | 
-- "indicate if the output should be delimited via double quotes"  | 
| 77603 | 39  | 
option thy_output_margin : int = 76 for content  | 
| 
59175
 
bf465f335e85
system option "pretty_margin" is superseded by "thy_output_margin";
 
wenzelm 
parents: 
58849 
diff
changeset
 | 
40  | 
-- "right margin / page width for printing of display material"  | 
| 77603 | 41  | 
option thy_output_indent : int = 0 for content  | 
| 48580 | 42  | 
-- "indentation for pretty printing of display material"  | 
| 77603 | 43  | 
option thy_output_source : bool = false for content  | 
| 48580 | 44  | 
-- "print original source text rather than internal representation"  | 
| 77603 | 45  | 
option thy_output_source_cartouche : bool = false for content  | 
| 
70122
 
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
 
wenzelm 
parents: 
70121 
diff
changeset
 | 
46  | 
-- "print original source text rather than internal representation, preserve cartouches"  | 
| 77603 | 47  | 
option thy_output_modes : string = "" for content  | 
| 52042 | 48  | 
-- "additional print modes for document output (separated by commas)"  | 
| 49270 | 49  | 
|
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
50  | 
|
| 
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
51  | 
section "Prover Output"  | 
| 
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
52  | 
|
| 77674 | 53  | 
option pide_reports : bool = true for content  | 
54  | 
-- "enable reports of PIDE markup"  | 
|
55  | 
||
| 77603 | 56  | 
option show_types : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
57  | 
-- "show type constraints when printing terms"  | 
| 77603 | 58  | 
option show_sorts : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
59  | 
-- "show sort constraints when printing types"  | 
| 77603 | 60  | 
option show_brackets : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
61  | 
-- "show extra brackets when printing terms/types"  | 
| 77603 | 62  | 
option show_question_marks : bool = true for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
63  | 
-- "show leading question mark of schematic variables"  | 
| 
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
64  | 
|
| 77603 | 65  | 
option show_consts : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
66  | 
-- "show constants with types when printing proof state"  | 
| 77603 | 67  | 
option show_main_goal : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
68  | 
-- "show main goal when printing proof state"  | 
| 77603 | 69  | 
option goals_limit : int = 10 for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
70  | 
-- "maximum number of subgoals to be printed"  | 
| 
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
71  | 
|
| 
82973
 
889d5cdc034b
explicit option "show_results" for persistent messages;
 
wenzelm 
parents: 
82915 
diff
changeset
 | 
72  | 
option show_results : bool = true for content  | 
| 
 
889d5cdc034b
explicit option "show_results" for persistent messages;
 
wenzelm 
parents: 
82915 
diff
changeset
 | 
73  | 
-- "show toplevel results even if outside of interactive mode"  | 
| 77603 | 74  | 
option show_states : bool = false for content  | 
| 
76073
 
951abf9db857
option "show_states" for more verbosity of batch-builds;
 
wenzelm 
parents: 
76068 
diff
changeset
 | 
75  | 
-- "show toplevel states even if outside of interactive mode"  | 
| 
 
951abf9db857
option "show_states" for more verbosity of batch-builds;
 
wenzelm 
parents: 
76068 
diff
changeset
 | 
76  | 
|
| 
 
951abf9db857
option "show_states" for more verbosity of batch-builds;
 
wenzelm 
parents: 
76068 
diff
changeset
 | 
77  | 
|
| 77603 | 78  | 
option names_long : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
79  | 
-- "show fully qualified names"  | 
| 77603 | 80  | 
option names_short : bool = false for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
81  | 
-- "show base names only"  | 
| 77603 | 82  | 
option names_unique : bool = true for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
83  | 
-- "show partially qualified names, as required for unique name resolution"  | 
| 
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
84  | 
|
| 77603 | 85  | 
option eta_contract : bool = true for content  | 
| 
52043
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
86  | 
-- "print terms in eta-contracted form"  | 
| 
 
286629271d65
more system options as context-sensitive config options;
 
wenzelm 
parents: 
52042 
diff
changeset
 | 
87  | 
|
| 77603 | 88  | 
option print_mode : string = "" for content  | 
| 49270 | 89  | 
-- "additional print modes for prover output (separated by commas)"  | 
90  | 
||
91  | 
||
| 73387 | 92  | 
section "Parallel Processing and Timing"  | 
| 49270 | 93  | 
|
| 77603 | 94  | 
public option threads : int = 0 for build  | 
| 79652 | 95  | 
-- "maximum number of worker threads for prover process (0 = guess from hardware)"  | 
| 
56734
 
6ca87a061740
suppress potential dangerous option (see 1baa5d19ac44);
 
wenzelm 
parents: 
56613 
diff
changeset
 | 
96  | 
option threads_trace : int = 0  | 
| 49270 | 97  | 
-- "level of tracing information for multithreading"  | 
| 
59468
 
fe6651760643
explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
 
wenzelm 
parents: 
59446 
diff
changeset
 | 
98  | 
option threads_stack_limit : real = 0.25  | 
| 
 
fe6651760643
explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
 
wenzelm 
parents: 
59446 
diff
changeset
 | 
99  | 
-- "maximum stack size for worker threads (in giga words, 0 = unlimited)"  | 
| 62790 | 100  | 
|
| 77603 | 101  | 
public option parallel_limit : int = 0 for build  | 
| 
68130
 
6fb85346cb79
clarified future scheduling parameters, with support for parallel_limit;
 
wenzelm 
parents: 
67743 
diff
changeset
 | 
102  | 
-- "approximative limit for parallel tasks (0 = unlimited)"  | 
| 77603 | 103  | 
public option parallel_print : bool = true for build  | 
| 
56875
 
f6259d6fb565
explicit option parallel_print to downgrade parallel scheduling, which might occasionally help for big and heavy "scripts";
 
wenzelm 
parents: 
56734 
diff
changeset
 | 
104  | 
-- "parallel and asynchronous printing of results"  | 
| 77603 | 105  | 
public option parallel_proofs : int = 1 for build  | 
| 49270 | 106  | 
-- "level of parallel proof checking: 0, 1, 2"  | 
| 77603 | 107  | 
option parallel_subproofs_threshold : real = 0.01 for build  | 
| 
51423
 
e5f9a6d9ca82
clarified parallel_subproofs_saturation (blind guess) vs. parallel_subproofs_threshold (precient timing estimate);
 
wenzelm 
parents: 
51230 
diff
changeset
 | 
108  | 
-- "lower bound of timing estimate for forked nested proofs (seconds)"  | 
| 49270 | 109  | 
|
| 77603 | 110  | 
option command_timing_threshold : real = 0.1 for build  | 
| 
62793
 
f235646b1b73
less bulky timing information, e.g. HOL 56913 ~> 672;
 
wenzelm 
parents: 
62790 
diff
changeset
 | 
111  | 
-- "default threshold for persistent command timing (seconds)"  | 
| 
 
f235646b1b73
less bulky timing information, e.g. HOL 56913 ~> 672;
 
wenzelm 
parents: 
62790 
diff
changeset
 | 
112  | 
|
| 77603 | 113  | 
public option timeout_scale : real = 1.0 for build  | 
| 73387 | 114  | 
-- "scale factor for timeout in Isabelle/ML and session build"  | 
115  | 
||
| 
78018
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
116  | 
option context_data_timing : bool = false for build  | 
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
117  | 
-- "timing for context data operations"  | 
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
118  | 
|
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
119  | 
option context_theory_tracing : bool = false for build  | 
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
120  | 
-- "tracing of persistent theory values within ML heap"  | 
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
121  | 
|
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
122  | 
option context_proof_tracing : bool = false for build  | 
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
123  | 
-- "tracing of persistent Proof.context values within ML heap"  | 
| 
 
dfa44d85d751
proper system options to control context tracing/timing;
 
wenzelm 
parents: 
77715 
diff
changeset
 | 
124  | 
|
| 49270 | 125  | 
|
| 
82677
 
c603d41dc183
support for Thy_Info.get_theories_segments, depending on system option "record_theories";
 
wenzelm 
parents: 
82138 
diff
changeset
 | 
126  | 
section "Detail of Theory and Proof Processing"  | 
| 
 
c603d41dc183
support for Thy_Info.get_theories_segments, depending on system option "record_theories";
 
wenzelm 
parents: 
82138 
diff
changeset
 | 
127  | 
|
| 
 
c603d41dc183
support for Thy_Info.get_theories_segments, depending on system option "record_theories";
 
wenzelm 
parents: 
82138 
diff
changeset
 | 
128  | 
option record_theories : bool = false for content  | 
| 
 
c603d41dc183
support for Thy_Info.get_theories_segments, depending on system option "record_theories";
 
wenzelm 
parents: 
82138 
diff
changeset
 | 
129  | 
-- "record intermediate theory commands and results"  | 
| 49270 | 130  | 
|
| 77603 | 131  | 
option record_proofs : int = -1 for content  | 
| 
65448
 
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
 
wenzelm 
parents: 
65264 
diff
changeset
 | 
132  | 
-- "set level of proofterm recording: 0, 1, 2, negative means unchanged"  | 
| 77603 | 133  | 
option quick_and_dirty : bool = false for content  | 
| 49270 | 134  | 
-- "if true then some tools will OMIT some proofs"  | 
| 77603 | 135  | 
option skip_proofs : bool = false for content  | 
| 
51553
 
63327f679cff
more ambitious Goal.skip_proofs: covers Goal.prove forms as well, and do not insist in quick_and_dirty (for the sake of Isabelle/jEdit);
 
wenzelm 
parents: 
51423 
diff
changeset
 | 
136  | 
-- "skip over proofs (implicit 'sorry')"  | 
| 77603 | 137  | 
option strict_facts : bool = false for content  | 
| 68661 | 138  | 
-- "force lazy facts when defined in context"  | 
| 49270 | 139  | 
|
140  | 
||
| 49295 | 141  | 
section "Global Session Parameters"  | 
| 49270 | 142  | 
|
| 78431 | 143  | 
option context : string = "" for content  | 
144  | 
-- "free-form information for session content (to be interpreted in Isabelle/ML)"  | 
|
145  | 
||
| 77603 | 146  | 
option condition : string = "" for content  | 
| 49270 | 147  | 
-- "required environment variables for subsequent theories (separated by commas)"  | 
148  | 
||
| 77603 | 149  | 
option timeout : real = 0 for build  | 
| 48661 | 150  | 
-- "timeout for session build job (seconds > 0)"  | 
151  | 
||
| 
79894
 
3acbfeec4a95
more synced options (following 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
79886 
diff
changeset
 | 
152  | 
option timeout_build : bool = true for build build_sync  | 
| 73701 | 153  | 
-- "observe timeout for session build"  | 
154  | 
||
| 77483 | 155  | 
option process_policy : string = ""  | 
156  | 
-- "command prefix for underlying process, notably ML with NUMA policy"  | 
|
157  | 
||
| 77603 | 158  | 
option process_output_tail : int = 40 for build  | 
| 
62409
 
e391528eff3b
proper option process_output_tail, more generous default;
 
wenzelm 
parents: 
62115 
diff
changeset
 | 
159  | 
-- "build process output tail shown to user (in lines, 0 = unlimited)"  | 
| 
51962
 
016cb7d8f297
limit build process output, to avoid bombing Isabelle/Scala process by ill-behaved jobs (e.g. Containers in AFP/9025435b29cf);
 
wenzelm 
parents: 
51960 
diff
changeset
 | 
160  | 
|
| 77603 | 161  | 
option profiling : string = "" (standard "time") for build  | 
| 76041 | 162  | 
-- "ML profiling (possible values: time, time_thread, allocations)"  | 
| 64308 | 163  | 
|
| 82997 | 164  | 
option profiling_dir : string = ""  | 
| 82981 | 165  | 
-- "auxiliary directory for \"isabelle profiling\" tool"  | 
| 
82979
 
98faa43a2505
prefer system options, which are easier to change on the spot;
 
wenzelm 
parents: 
82973 
diff
changeset
 | 
166  | 
|
| 77603 | 167  | 
option system_log : string = "" (standard "-") for build  | 
| 
74827
 
c1b5d6e6ff74
clarified system option standard values: avoid oddities like "isabelle build -o document_output" producing directories named "true";
 
wenzelm 
parents: 
74824 
diff
changeset
 | 
168  | 
-- "output for system messages (log file or \"-\" for console progress)"  | 
| 
73777
 
52e43a93d51f
clarified system_log: make this work independently of the particular "isabelle build" command-line (e.g. "isabelle mirabelle");
 
wenzelm 
parents: 
73743 
diff
changeset
 | 
169  | 
|
| 77603 | 170  | 
option system_heaps : bool = false for build  | 
| 
69854
 
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
 
wenzelm 
parents: 
69755 
diff
changeset
 | 
171  | 
-- "store session heaps in $ISABELLE_HEAPS_SYSTEM, not $ISABELLE_HEAPS"  | 
| 
 
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
 
wenzelm 
parents: 
69755 
diff
changeset
 | 
172  | 
|
| 
56279
 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 
wenzelm 
parents: 
56265 
diff
changeset
 | 
173  | 
|
| 
 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 
wenzelm 
parents: 
56265 
diff
changeset
 | 
174  | 
section "ML System"  | 
| 
 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 
wenzelm 
parents: 
56265 
diff
changeset
 | 
175  | 
|
| 77603 | 176  | 
option ML_print_depth : int = 20 for content  | 
| 62711 | 177  | 
-- "ML print depth for toplevel pretty-printing"  | 
178  | 
||
| 
56279
 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 
wenzelm 
parents: 
56265 
diff
changeset
 | 
179  | 
public option ML_exception_trace : bool = false  | 
| 
 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 
wenzelm 
parents: 
56265 
diff
changeset
 | 
180  | 
-- "ML exception trace for toplevel command execution"  | 
| 
56265
 
785569927666
discontinued Toplevel.debug in favour of system option "exception_trace";
 
wenzelm 
parents: 
55672 
diff
changeset
 | 
181  | 
|
| 62498 | 182  | 
public option ML_exception_debugger : bool = false  | 
183  | 
-- "ML debugger exception trace for toplevel command execution"  | 
|
184  | 
||
| 60730 | 185  | 
public option ML_debugger : bool = false  | 
186  | 
-- "ML debugger instrumentation for newly compiled code"  | 
|
187  | 
||
| 82729 | 188  | 
public option ML_platform : string = "" for build build_sync  | 
189  | 
-- "explicit ML platform identifier"  | 
|
190  | 
||
| 
79526
 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79487 
diff
changeset
 | 
191  | 
public option ML_system_64 : bool = false for build build_sync  | 
| 76276 | 192  | 
-- "prefer native 64bit platform (change requires restart)"  | 
| 
61158
 
ea6a4c8bc722
convenient change of ML system architecture via system option ML_preference_64, which is grepped off-line from stored preferences during bootstrap;
 
wenzelm 
parents: 
60889 
diff
changeset
 | 
193  | 
|
| 
78309
 
fc6246225283
revert ineffective b04ac8a017b2: etc/settings of polyml components needs to be changed as well;
 
wenzelm 
parents: 
78306 
diff
changeset
 | 
194  | 
public option ML_system_apple : bool = true for build  | 
| 
76275
 
b446004b2464
support for system option ML_system_apple: emulated x86_64 Poly/ML is sometimes more stable than native ARM64;
 
wenzelm 
parents: 
76212 
diff
changeset
 | 
195  | 
-- "prefer native Apple/ARM64 platform (change requires restart)"  | 
| 
 
b446004b2464
support for system option ML_system_apple: emulated x86_64 Poly/ML is sometimes more stable than native ARM64;
 
wenzelm 
parents: 
76212 
diff
changeset
 | 
196  | 
|
| 49288 | 197  | 
|
| 
77330
 
47eb96592aa2
support alternative build engines, via system option "build_engine";
 
wenzelm 
parents: 
77149 
diff
changeset
 | 
198  | 
section "Build Process"  | 
| 71675 | 199  | 
|
| 
77675
 
9e5f8f6e58a0
more thorough treatment of build prefs, guarded by system option "build_through": avoid accidental rebuild of HOL etc.;
 
wenzelm 
parents: 
77674 
diff
changeset
 | 
200  | 
option build_thorough : bool = false  | 
| 
 
9e5f8f6e58a0
more thorough treatment of build prefs, guarded by system option "build_through": avoid accidental rebuild of HOL etc.;
 
wenzelm 
parents: 
77674 
diff
changeset
 | 
201  | 
-- "observe dependencies on options with tag 'content' or 'document'"  | 
| 
 
9e5f8f6e58a0
more thorough treatment of build prefs, guarded by system option "build_through": avoid accidental rebuild of HOL etc.;
 
wenzelm 
parents: 
77674 
diff
changeset
 | 
202  | 
|
| 
77384
 
ef6673859c38
option build_hostname allows to change hostname easily;
 
wenzelm 
parents: 
77372 
diff
changeset
 | 
203  | 
option build_hostname : string = ""  | 
| 
 
ef6673859c38
option build_hostname allows to change hostname easily;
 
wenzelm 
parents: 
77372 
diff
changeset
 | 
204  | 
-- "alternative hostname for build process (default $ISABELLE_HOSTNAME)"  | 
| 
 
ef6673859c38
option build_hostname allows to change hostname easily;
 
wenzelm 
parents: 
77372 
diff
changeset
 | 
205  | 
|
| 
79526
 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79487 
diff
changeset
 | 
206  | 
option build_engine : string = "" for build_sync  | 
| 
77330
 
47eb96592aa2
support alternative build engines, via system option "build_engine";
 
wenzelm 
parents: 
77149 
diff
changeset
 | 
207  | 
-- "alternative session build engine"  | 
| 
 
47eb96592aa2
support alternative build engines, via system option "build_engine";
 
wenzelm 
parents: 
77149 
diff
changeset
 | 
208  | 
|
| 
79526
 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79487 
diff
changeset
 | 
209  | 
option build_database : bool = false for build_sync  | 
| 77372 | 210  | 
-- "expose state of build process via central database"  | 
211  | 
||
| 
79894
 
3acbfeec4a95
more synced options (following 6e5397fcc41b);
 
Fabian Huch <huch@in.tum.de> 
parents: 
79886 
diff
changeset
 | 
212  | 
option build_database_slice : real = 300 for build_sync  | 
| 78188 | 213  | 
-- "slice size in MiB for ML heap stored within database"  | 
214  | 
||
| 
78406
 
2ece6509ad6f
clarified options: accommodate potentially slow database connection;
 
wenzelm 
parents: 
78404 
diff
changeset
 | 
215  | 
option build_delay : real = 0.2  | 
| 78409 | 216  | 
-- "delay build process main loop (local)"  | 
| 78364 | 217  | 
|
| 
79886
 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 
wenzelm 
parents: 
79883 
diff
changeset
 | 
218  | 
option build_delay_master : real = 1.0  | 
| 
 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 
wenzelm 
parents: 
79883 
diff
changeset
 | 
219  | 
-- "delay build process main loop (cluster master)"  | 
| 
 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 
wenzelm 
parents: 
79883 
diff
changeset
 | 
220  | 
|
| 
 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 
wenzelm 
parents: 
79883 
diff
changeset
 | 
221  | 
option build_delay_worker : real = 0.5  | 
| 
 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 
wenzelm 
parents: 
79883 
diff
changeset
 | 
222  | 
-- "delay build process main loop (cluster worker)"  | 
| 
78406
 
2ece6509ad6f
clarified options: accommodate potentially slow database connection;
 
wenzelm 
parents: 
78404 
diff
changeset
 | 
223  | 
|
| 
79883
 
6fa259b24deb
proper system option, instead of hardwired default;
 
wenzelm 
parents: 
79814 
diff
changeset
 | 
224  | 
option build_cluster_expire : int = 50  | 
| 
 
6fa259b24deb
proper system option, instead of hardwired default;
 
wenzelm 
parents: 
79814 
diff
changeset
 | 
225  | 
-- "enforce database synchronization after given number of delay loops"  | 
| 
 
6fa259b24deb
proper system option, instead of hardwired default;
 
wenzelm 
parents: 
79814 
diff
changeset
 | 
226  | 
|
| 
78440
 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 
wenzelm 
parents: 
78431 
diff
changeset
 | 
227  | 
option build_cluster_root : string = "$USER_HOME/.isabelle/build_cluster"  | 
| 
 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 
wenzelm 
parents: 
78431 
diff
changeset
 | 
228  | 
-- "root directory for remote build cluster sessions"  | 
| 
 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 
wenzelm 
parents: 
78431 
diff
changeset
 | 
229  | 
|
| 
 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 
wenzelm 
parents: 
78431 
diff
changeset
 | 
230  | 
option build_cluster_identifier : string = "build_cluster"  | 
| 
 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 
wenzelm 
parents: 
78431 
diff
changeset
 | 
231  | 
-- "ISABELLE_IDENTIFIER for remote build cluster sessions"  | 
| 
 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 
wenzelm 
parents: 
78431 
diff
changeset
 | 
232  | 
|
| 
79948
 
8fe1ed4b5705
option for benchmark session;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79928 
diff
changeset
 | 
233  | 
option build_benchmark_session : string = "FOLP-ex"  | 
| 
 
8fe1ed4b5705
option for benchmark session;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79928 
diff
changeset
 | 
234  | 
-- "representative benchmark session with short build time and requirements"  | 
| 
 
8fe1ed4b5705
option for benchmark session;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79928 
diff
changeset
 | 
235  | 
|
| 
79915
 
40d2f9ce29fc
allow read/write of schedule in build (read via option, write from tool);
 
Fabian Huch <huch@in.tum.de> 
parents: 
79912 
diff
changeset
 | 
236  | 
option build_schedule : string = ""  | 
| 
 
40d2f9ce29fc
allow read/write of schedule in build (read via option, write from tool);
 
Fabian Huch <huch@in.tum.de> 
parents: 
79912 
diff
changeset
 | 
237  | 
-- "path to pre-computed schedule"  | 
| 
 
40d2f9ce29fc
allow read/write of schedule in build (read via option, write from tool);
 
Fabian Huch <huch@in.tum.de> 
parents: 
79912 
diff
changeset
 | 
238  | 
|
| 
79928
 
cdc87eed26c7
allow specifying initial schedule;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79915 
diff
changeset
 | 
239  | 
option build_schedule_initial : string = ""  | 
| 
 
cdc87eed26c7
allow specifying initial schedule;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79915 
diff
changeset
 | 
240  | 
-- "path to initial pre-computed schedule (may be overwritten during build)"  | 
| 
 
cdc87eed26c7
allow specifying initial schedule;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79915 
diff
changeset
 | 
241  | 
|
| 
79289
 
7c1faa16554b
add delay and limit options for when schedule is considered outdated;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79067 
diff
changeset
 | 
242  | 
option build_schedule_outdated_delay : real = 300.0  | 
| 
 
7c1faa16554b
add delay and limit options for when schedule is considered outdated;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79067 
diff
changeset
 | 
243  | 
-- "delay schedule generation loop"  | 
| 
 
7c1faa16554b
add delay and limit options for when schedule is considered outdated;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79067 
diff
changeset
 | 
244  | 
|
| 
80471
 
12901c03b416
remove inactive (e.g., crashed) hosts from scheduling;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80470 
diff
changeset
 | 
245  | 
option build_schedule_inactive_delay : real = 300.0  | 
| 
 
12901c03b416
remove inactive (e.g., crashed) hosts from scheduling;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80470 
diff
changeset
 | 
246  | 
-- "delay removing inactive hosts"  | 
| 
 
12901c03b416
remove inactive (e.g., crashed) hosts from scheduling;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80470 
diff
changeset
 | 
247  | 
|
| 
81820
 
11c3f6d4e7e6
build schedule: limit history length;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81715 
diff
changeset
 | 
248  | 
option build_schedule_history : int = 150  | 
| 
 
11c3f6d4e7e6
build schedule: limit history length;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81715 
diff
changeset
 | 
249  | 
-- "length of history relevant for scheduling (in days)"  | 
| 
 
11c3f6d4e7e6
build schedule: limit history length;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81715 
diff
changeset
 | 
250  | 
|
| 71675 | 251  | 
|
| 80246 | 252  | 
section "Build Manager"  | 
253  | 
||
| 82042 | 254  | 
option build_manager_group : string = "isabelle"  | 
255  | 
-- "common group for users on build manager system"  | 
|
256  | 
||
| 80246 | 257  | 
option build_manager_dir : string = "/srv/build"  | 
258  | 
-- "directory for submissions on build server"  | 
|
259  | 
||
| 
82043
 
65ac068f9d17
use ssh host for default address;
 
Fabian Huch <huch@in.tum.de> 
parents: 
82042 
diff
changeset
 | 
260  | 
option build_manager_address : string = ""  | 
| 
 
65ac068f9d17
use ssh host for default address;
 
Fabian Huch <huch@in.tum.de> 
parents: 
82042 
diff
changeset
 | 
261  | 
-- "explicit web address for build server"  | 
| 80246 | 262  | 
|
263  | 
option build_manager_identifier : string = "build_manager"  | 
|
264  | 
-- "isabelle identifier for build manager processes"  | 
|
265  | 
||
| 
80281
 
17d2f775907a
add cluster/hosts configurations to build manager: allows running jobs in parallel on distinct hardware;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80253 
diff
changeset
 | 
266  | 
option build_manager_cluster : string = "cluster.default"  | 
| 80470 | 267  | 
-- "cluster for user-submitted tasks"  | 
| 
80281
 
17d2f775907a
add cluster/hosts configurations to build manager: allows running jobs in parallel on distinct hardware;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80253 
diff
changeset
 | 
268  | 
|
| 
80469
 
a3bae6dd7344
add timeout to build manager tasks/jobs (e.g. for cluster builds that don't terminate after error on host);
 
Fabian Huch <huch@in.tum.de> 
parents: 
80459 
diff
changeset
 | 
269  | 
option build_manager_timeout : real = 28800  | 
| 
 
a3bae6dd7344
add timeout to build manager tasks/jobs (e.g. for cluster builds that don't terminate after error on host);
 
Fabian Huch <huch@in.tum.de> 
parents: 
80459 
diff
changeset
 | 
270  | 
-- "timeout for user-submitted tasks (seconds > 0)"  | 
| 
 
a3bae6dd7344
add timeout to build manager tasks/jobs (e.g. for cluster builds that don't terminate after error on host);
 
Fabian Huch <huch@in.tum.de> 
parents: 
80459 
diff
changeset
 | 
271  | 
|
| 
80645
 
a1dce0cc6c26
build_manager: terminate processes if cancelling does not work;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80471 
diff
changeset
 | 
272  | 
option build_manager_cancel_timeout : real = 180.0  | 
| 
 
a1dce0cc6c26
build_manager: terminate processes if cancelling does not work;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80471 
diff
changeset
 | 
273  | 
-- "timeout for graceful cancelling (seconds > 0)"  | 
| 
 
a1dce0cc6c26
build_manager: terminate processes if cancelling does not work;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80471 
diff
changeset
 | 
274  | 
|
| 80246 | 275  | 
option build_manager_delay : real = 1.0  | 
276  | 
-- "delay build manager loop"  | 
|
277  | 
||
278  | 
option build_manager_poll_delay : real = 60.0  | 
|
279  | 
-- "delay build manager poll loop"  | 
|
280  | 
||
| 
80406
 
d85ad13d8cf3
extra timer delay, to limit db transactions;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80281 
diff
changeset
 | 
281  | 
option build_manager_timer_delay : real = 10.0  | 
| 
 
d85ad13d8cf3
extra timer delay, to limit db transactions;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80281 
diff
changeset
 | 
282  | 
-- "delay build manager timer loop"  | 
| 
 
d85ad13d8cf3
extra timer delay, to limit db transactions;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80281 
diff
changeset
 | 
283  | 
|
| 80246 | 284  | 
option build_manager_ci_jobs : string = "benchmark"  | 
285  | 
-- "ci jobs that should be executed on repository changes"  | 
|
286  | 
||
287  | 
||
| 69520 | 288  | 
section "Editor Session"  | 
| 49288 | 289  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
52043 
diff
changeset
 | 
290  | 
public option editor_load_delay : real = 0.5  | 
| 49288 | 291  | 
-- "delay for file load operations (new buffers etc.)"  | 
292  | 
||
| 72933 | 293  | 
public option editor_input_delay : real = 0.2  | 
| 49288 | 294  | 
-- "delay for user input (text edits, cursor movement etc.)"  | 
295  | 
||
| 
64524
 
e6a3c55b929b
explicit option editor_generated_input_delay, which is more aggressive by default;
 
wenzelm 
parents: 
64325 
diff
changeset
 | 
296  | 
public option editor_generated_input_delay : real = 1.0  | 
| 
 
e6a3c55b929b
explicit option editor_generated_input_delay, which is more aggressive by default;
 
wenzelm 
parents: 
64325 
diff
changeset
 | 
297  | 
-- "delay for machine-generated input that may outperform user edits"  | 
| 
 
e6a3c55b929b
explicit option editor_generated_input_delay, which is more aggressive by default;
 
wenzelm 
parents: 
64325 
diff
changeset
 | 
298  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
52043 
diff
changeset
 | 
299  | 
public option editor_output_delay : real = 0.1  | 
| 49288 | 300  | 
-- "delay for prover output (markup, common messages etc.)"  | 
301  | 
||
| 76474 | 302  | 
public option editor_consolidate_delay : real = 1.0  | 
| 
66379
 
6392766f3c25
maintain "consolidated" status of theory nodes, which means all evals are finished (but not necessarily prints nor imports);
 
wenzelm 
parents: 
66160 
diff
changeset
 | 
303  | 
-- "delay to consolidate status of command evaluation (execution forks)"  | 
| 
 
6392766f3c25
maintain "consolidated" status of theory nodes, which means all evals are finished (but not necessarily prints nor imports);
 
wenzelm 
parents: 
66160 
diff
changeset
 | 
304  | 
|
| 
62115
 
57895801cb57
prune old versions more often, to reduce overall heap requirements;
 
wenzelm 
parents: 
61873 
diff
changeset
 | 
305  | 
public option editor_prune_delay : real = 15  | 
| 
57867
 
abae8aff6262
added system option editor_output_delay: lower value might help big sessions under low-memory situations;
 
wenzelm 
parents: 
56875 
diff
changeset
 | 
306  | 
-- "delay to prune history (delete old versions)"  | 
| 
 
abae8aff6262
added system option editor_output_delay: lower value might help big sessions under low-memory situations;
 
wenzelm 
parents: 
56875 
diff
changeset
 | 
307  | 
|
| 
65264
 
7e6ecd04b5fe
dynamic session_options for tuning parameters and initial prover options;
 
wenzelm 
parents: 
65141 
diff
changeset
 | 
308  | 
option editor_prune_size : int = 0  | 
| 
 
7e6ecd04b5fe
dynamic session_options for tuning parameters and initial prover options;
 
wenzelm 
parents: 
65141 
diff
changeset
 | 
309  | 
-- "retained size of pruned history (delete old versions)"  | 
| 
 
7e6ecd04b5fe
dynamic session_options for tuning parameters and initial prover options;
 
wenzelm 
parents: 
65141 
diff
changeset
 | 
310  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
52043 
diff
changeset
 | 
311  | 
public option editor_update_delay : real = 0.5  | 
| 49288 | 312  | 
-- "delay for physical GUI updates"  | 
313  | 
||
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
52043 
diff
changeset
 | 
314  | 
public option editor_reparse_limit : int = 10000  | 
| 
49524
 
68796a77c42b
Thy_Syntax.consolidate_spans is subject to editor_reparse_limit, for improved experience of unbalanced comments etc.;
 
wenzelm 
parents: 
49295 
diff
changeset
 | 
315  | 
-- "maximum amount of reparsed text outside perspective"  | 
| 
50119
 
5c370a036de7
more generous tracing_limit, with explicit system option;
 
wenzelm 
parents: 
49524 
diff
changeset
 | 
316  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
52043 
diff
changeset
 | 
317  | 
public option editor_tracing_messages : int = 1000  | 
| 
69103
 
814a1ab42d70
unbounded tracing for proper termination, e.g. relevant for theory Sequents.Hard_Quantifiers;
 
wenzelm 
parents: 
68661 
diff
changeset
 | 
318  | 
-- "initial number of tracing messages for each command transaction (0: unbounded)"  | 
| 
50697
 
82e9178e6a98
improved Monitor_Dockable, based on ML_Statistics operations;
 
wenzelm 
parents: 
50505 
diff
changeset
 | 
319  | 
|
| 
52065
 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 
wenzelm 
parents: 
52043 
diff
changeset
 | 
320  | 
public option editor_chart_delay : real = 3.0  | 
| 
50697
 
82e9178e6a98
improved Monitor_Dockable, based on ML_Statistics operations;
 
wenzelm 
parents: 
50505 
diff
changeset
 | 
321  | 
-- "delay for chart repainting"  | 
| 52702 | 322  | 
|
| 
52807
 
b859a180936b
simplified flag for continuous checking: avoid GUI complexity and slow checking of all theories (including prints);
 
wenzelm 
parents: 
52798 
diff
changeset
 | 
323  | 
public option editor_continuous_checking : bool = true  | 
| 
 
b859a180936b
simplified flag for continuous checking: avoid GUI complexity and slow checking of all theories (including prints);
 
wenzelm 
parents: 
52798 
diff
changeset
 | 
324  | 
-- "continuous checking of proof document (visible and required parts)"  | 
| 
 
b859a180936b
simplified flag for continuous checking: avoid GUI complexity and slow checking of all theories (including prints);
 
wenzelm 
parents: 
52798 
diff
changeset
 | 
325  | 
|
| 61604 | 326  | 
public option editor_output_state : bool = false  | 
| 61213 | 327  | 
-- "implicit output of proof state"  | 
328  | 
||
| 
81296
 
59994f7feace
GUI option "editor_auto_hovering" for Output panel;
 
wenzelm 
parents: 
81224 
diff
changeset
 | 
329  | 
public option editor_auto_hovering : bool = true  | 
| 
 
59994f7feace
GUI option "editor_auto_hovering" for Output panel;
 
wenzelm 
parents: 
81224 
diff
changeset
 | 
330  | 
-- "automatic mouse hovering without keyboard modifier"  | 
| 
 
59994f7feace
GUI option "editor_auto_hovering" for Output panel;
 
wenzelm 
parents: 
81224 
diff
changeset
 | 
331  | 
|
| 
76578
 
06b001094ddb
more uniform session selectors, with persistent options;
 
wenzelm 
parents: 
76474 
diff
changeset
 | 
332  | 
public option editor_document_session : string = ""  | 
| 
 
06b001094ddb
more uniform session selectors, with persistent options;
 
wenzelm 
parents: 
76474 
diff
changeset
 | 
333  | 
-- "session for interactive document preparation"  | 
| 
 
06b001094ddb
more uniform session selectors, with persistent options;
 
wenzelm 
parents: 
76474 
diff
changeset
 | 
334  | 
|
| 
77149
 
3991a35cd740
automatically build document when selected theories are finished;
 
wenzelm 
parents: 
76986 
diff
changeset
 | 
335  | 
public option editor_document_auto : bool = false  | 
| 
 
3991a35cd740
automatically build document when selected theories are finished;
 
wenzelm 
parents: 
76986 
diff
changeset
 | 
336  | 
-- "automatically build document when selected theories are finished"  | 
| 
 
3991a35cd740
automatically build document when selected theories are finished;
 
wenzelm 
parents: 
76986 
diff
changeset
 | 
337  | 
|
| 
 
3991a35cd740
automatically build document when selected theories are finished;
 
wenzelm 
parents: 
76986 
diff
changeset
 | 
338  | 
public option editor_document_delay : real = 2.0  | 
| 
 
3991a35cd740
automatically build document when selected theories are finished;
 
wenzelm 
parents: 
76986 
diff
changeset
 | 
339  | 
-- "delay for document auto build"  | 
| 
 
3991a35cd740
automatically build document when selected theories are finished;
 
wenzelm 
parents: 
76986 
diff
changeset
 | 
340  | 
|
| 
52798
 
9d3c9862d1dd
recovered delay for Document.start_execution (see also 627fb639a2d9), which potentially improves throughput when many consecutive edits arrive;
 
wenzelm 
parents: 
52779 
diff
changeset
 | 
341  | 
option editor_execution_delay : real = 0.02  | 
| 
 
9d3c9862d1dd
recovered delay for Document.start_execution (see also 627fb639a2d9), which potentially improves throughput when many consecutive edits arrive;
 
wenzelm 
parents: 
52779 
diff
changeset
 | 
342  | 
-- "delay for start of execution process after document update (seconds)"  | 
| 
 
9d3c9862d1dd
recovered delay for Document.start_execution (see also 627fb639a2d9), which potentially improves throughput when many consecutive edits arrive;
 
wenzelm 
parents: 
52779 
diff
changeset
 | 
343  | 
|
| 57974 | 344  | 
option editor_syslog_limit : int = 100  | 
345  | 
-- "maximum amount of buffered syslog messages"  | 
|
346  | 
||
| 52702 | 347  | 
|
| 69520 | 348  | 
section "Headless Session"  | 
349  | 
||
| 
79067
 
212c94edae2b
more reactive headless server, in contrast to 15656ad28691 (when "isabelle dump" was important to export AFP content);
 
wenzelm 
parents: 
78914 
diff
changeset
 | 
350  | 
option headless_consolidate_delay : real = 2.0  | 
| 70787 | 351  | 
-- "delay to consolidate status of command evaluation (execution forks)"  | 
352  | 
||
| 
79067
 
212c94edae2b
more reactive headless server, in contrast to 15656ad28691 (when "isabelle dump" was important to export AFP content);
 
wenzelm 
parents: 
78914 
diff
changeset
 | 
353  | 
option headless_prune_delay : real = 30  | 
| 70787 | 354  | 
-- "delay to prune history (delete old versions)"  | 
355  | 
||
| 69520 | 356  | 
option headless_check_delay : real = 0.5  | 
357  | 
-- "delay for theory status check during PIDE processing (seconds)"  | 
|
358  | 
||
359  | 
option headless_check_limit : int = 0  | 
|
360  | 
-- "maximum number of theory status checks (0 = unlimited)"  | 
|
361  | 
||
362  | 
option headless_nodes_status_delay : real = -1  | 
|
363  | 
-- "delay for overall nodes status check during PIDE processing (seconds, disabled for < 0)"  | 
|
364  | 
||
365  | 
option headless_watchdog_timeout : real = 600  | 
|
366  | 
-- "watchdog timeout for PIDE processing of broken theories (seconds, 0 = disabled)"  | 
|
367  | 
||
368  | 
option headless_commit_cleanup_delay : real = 60  | 
|
369  | 
-- "delay for cleanup of already imported theories (seconds, 0 = disabled)"  | 
|
370  | 
||
| 70801 | 371  | 
option headless_load_limit : real = 5.0  | 
| 77709 | 372  | 
-- "limit in MiB for loaded theory files (0 = unlimited)"  | 
| 
70772
 
030a6baa5cb2
support headless_load_limit for more scalable load process;
 
wenzelm 
parents: 
70634 
diff
changeset
 | 
373  | 
|
| 69520 | 374  | 
|
| 52702 | 375  | 
section "Miscellaneous Tools"  | 
376  | 
||
377  | 
public option find_theorems_limit : int = 40  | 
|
378  | 
-- "limit of displayed results"  | 
|
379  | 
||
| 56613 | 380  | 
public option find_theorems_tactic_limit : int = 5  | 
| 52702 | 381  | 
-- "limit of tactic search for 'solves' criterion"  | 
382  | 
||
| 
55672
 
5e25cc741ab9
support for completion within the formal context;
 
wenzelm 
parents: 
53189 
diff
changeset
 | 
383  | 
|
| 
 
5e25cc741ab9
support for completion within the formal context;
 
wenzelm 
parents: 
53189 
diff
changeset
 | 
384  | 
section "Completion"  | 
| 
 
5e25cc741ab9
support for completion within the formal context;
 
wenzelm 
parents: 
53189 
diff
changeset
 | 
385  | 
|
| 
 
5e25cc741ab9
support for completion within the formal context;
 
wenzelm 
parents: 
53189 
diff
changeset
 | 
386  | 
public option completion_limit : int = 40  | 
| 
 
5e25cc741ab9
support for completion within the formal context;
 
wenzelm 
parents: 
53189 
diff
changeset
 | 
387  | 
-- "limit for completion within the formal context"  | 
| 64130 | 388  | 
|
| 66158 | 389  | 
public option completion_path_ignore : string = "*~:*.marks:*.orig:*.rej:.DS_Store"  | 
390  | 
-- "glob patterns to ignore in file-system path completion (separated by colons)"  | 
|
391  | 
||
| 64130 | 392  | 
|
| 65141 | 393  | 
section "Spell Checker"  | 
394  | 
||
| 77606 | 395  | 
public option spell_checker : bool = true  | 
| 65141 | 396  | 
-- "enable spell-checker for prose words within document text, comments etc."  | 
397  | 
||
| 77606 | 398  | 
public option spell_checker_dictionary : string = "en"  | 
| 65141 | 399  | 
-- "spell-checker dictionary name"  | 
400  | 
||
| 77606 | 401  | 
public option spell_checker_include : string = "words,comment,comment1,comment2,comment3,ML_comment,SML_comment"  | 
| 
67395
 
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
 
wenzelm 
parents: 
67273 
diff
changeset
 | 
402  | 
-- "included markup elements for spell-checker (separated by commas)"  | 
| 
 
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
 
wenzelm 
parents: 
67273 
diff
changeset
 | 
403  | 
|
| 77606 | 404  | 
public option spell_checker_exclude : string = "document_marker,antiquoted,raw_text"  | 
| 
67395
 
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
 
wenzelm 
parents: 
67273 
diff
changeset
 | 
405  | 
-- "excluded markup elements for spell-checker (separated by commas)"  | 
| 65141 | 406  | 
|
407  | 
||
| 76190 | 408  | 
section "Secure Shell (OpenSSH)"  | 
| 64130 | 409  | 
|
| 76190 | 410  | 
public option ssh_batch_mode : bool = true  | 
| 76168 | 411  | 
-- "enable SSH batch mode (no user interaction)"  | 
412  | 
||
| 76190 | 413  | 
public option ssh_multiplexing : bool = true  | 
| 
76148
 
769ebb139a32
support port forwarding without multiplexing (for the sake of Windows);
 
wenzelm 
parents: 
76126 
diff
changeset
 | 
414  | 
-- "enable multiplexing of SSH sessions (ignored on Windows)"  | 
| 
 
769ebb139a32
support port forwarding without multiplexing (for the sake of Windows);
 
wenzelm 
parents: 
76126 
diff
changeset
 | 
415  | 
|
| 76190 | 416  | 
public option ssh_compression : bool = true  | 
| 64130 | 417  | 
-- "enable SSH compression"  | 
418  | 
||
| 76190 | 419  | 
public option ssh_alive_interval : real = 30  | 
| 76167 | 420  | 
-- "time interval to keep SSH server connection alive (seconds, ignore value < 0)"  | 
| 65595 | 421  | 
|
| 76190 | 422  | 
public option ssh_alive_count_max : int = 3  | 
| 76167 | 423  | 
-- "maximum number of messages to keep SSH server connection alive (ignore value < 0)"  | 
| 
67273
 
c573cfb2c407
more robust connection: prefer ServerAliveCountMax=3 (ssh default) instead of 1 (jsch default);
 
wenzelm 
parents: 
67194 
diff
changeset
 | 
424  | 
|
| 65595 | 425  | 
|
| 80459 | 426  | 
section "Phabricator / Phorge"  | 
| 
71422
 
5d5be87330b5
allow to override repository versions at runtime;
 
wenzelm 
parents: 
71068 
diff
changeset
 | 
427  | 
|
| 81715 | 428  | 
option phabricator_version_arcanist : string = "04e3e250f7da6a55c908d373a0df9949eeea6d7b"  | 
| 
71422
 
5d5be87330b5
allow to override repository versions at runtime;
 
wenzelm 
parents: 
71068 
diff
changeset
 | 
429  | 
-- "repository version for arcanist"  | 
| 
 
5d5be87330b5
allow to override repository versions at runtime;
 
wenzelm 
parents: 
71068 
diff
changeset
 | 
430  | 
|
| 81715 | 431  | 
option phabricator_version_phabricator : string = "b02615bd5027ee51ac68d48a0a64306b75285789"  | 
| 
71422
 
5d5be87330b5
allow to override repository versions at runtime;
 
wenzelm 
parents: 
71068 
diff
changeset
 | 
432  | 
-- "repository version for phabricator"  | 
| 
 
5d5be87330b5
allow to override repository versions at runtime;
 
wenzelm 
parents: 
71068 
diff
changeset
 | 
433  | 
|
| 
 
5d5be87330b5
allow to override repository versions at runtime;
 
wenzelm 
parents: 
71068 
diff
changeset
 | 
434  | 
|
| 68221 | 435  | 
section "Theory Export"  | 
| 68154 | 436  | 
|
| 77603 | 437  | 
option export_theory : bool = false for content  | 
| 70396 | 438  | 
-- "export theory content to Isabelle/Scala"  | 
439  | 
||
| 77603 | 440  | 
option export_standard_proofs : bool = false for content  | 
| 
70914
 
05c4c6a99b3f
option to export standardized proof terms (not scalable);
 
wenzelm 
parents: 
70801 
diff
changeset
 | 
441  | 
-- "export standardized proof terms to Isabelle/Scala (not scalable)"  | 
| 
 
05c4c6a99b3f
option to export standardized proof terms (not scalable);
 
wenzelm 
parents: 
70801 
diff
changeset
 | 
442  | 
|
| 77603 | 443  | 
option export_proofs : bool = false for content  | 
| 70396 | 444  | 
-- "export proof terms to Isabelle/Scala"  | 
445  | 
||
| 77603 | 446  | 
option prune_proofs : bool = false for content  | 
| 70396 | 447  | 
-- "prune proof terms after export (do not store in Isabelle/ML)"  | 
| 68154 | 448  | 
|
449  | 
||
| 
69586
 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 
wenzelm 
parents: 
69572 
diff
changeset
 | 
450  | 
section "Theory update"  | 
| 
 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 
wenzelm 
parents: 
69572 
diff
changeset
 | 
451  | 
|
| 77603 | 452  | 
option update_inner_syntax_cartouches : bool = false for content update  | 
| 
69589
 
e15f053a42d8
support for isabelle update -u inner_syntax_cartouches;
 
wenzelm 
parents: 
69586 
diff
changeset
 | 
453  | 
-- "update inner syntax (types, terms, etc.) to use cartouches"  | 
| 
 
e15f053a42d8
support for isabelle update -u inner_syntax_cartouches;
 
wenzelm 
parents: 
69586 
diff
changeset
 | 
454  | 
|
| 77603 | 455  | 
option update_mixfix_cartouches : bool = false for content update  | 
| 
69586
 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 
wenzelm 
parents: 
69572 
diff
changeset
 | 
456  | 
-- "update mixfix templates to use cartouches instead of double quotes"  | 
| 
 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 
wenzelm 
parents: 
69572 
diff
changeset
 | 
457  | 
|
| 77603 | 458  | 
option update_control_cartouches : bool = false for content update  | 
| 
69592
 
a80d8ec6c998
support for isabelle update -u control_cartouches;
 
wenzelm 
parents: 
69589 
diff
changeset
 | 
459  | 
-- "update antiquotations to use control symbol with cartouche argument"  | 
| 
 
a80d8ec6c998
support for isabelle update -u control_cartouches;
 
wenzelm 
parents: 
69589 
diff
changeset
 | 
460  | 
|
| 77603 | 461  | 
option update_path_cartouches : bool = false for content update  | 
| 69603 | 462  | 
-- "update file-system paths to use cartouches"  | 
463  | 
||
| 77603 | 464  | 
option update_cite : bool = false for content update  | 
| 76972 | 465  | 
-- "update cite commands and antiquotations"  | 
466  | 
||
| 
69586
 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 
wenzelm 
parents: 
69572 
diff
changeset
 | 
467  | 
|
| 68221 | 468  | 
section "Build Database"  | 
469  | 
||
| 
79526
 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 
Fabian Huch <huch@in.tum.de> 
parents: 
79487 
diff
changeset
 | 
470  | 
option build_database_server : bool = false for connection build_sync  | 
| 77603 | 471  | 
option build_database_user : string = "" for connection  | 
472  | 
option build_database_password : string = "" for connection  | 
|
473  | 
option build_database_name : string = "" for connection  | 
|
474  | 
option build_database_host : string = "" for connection  | 
|
475  | 
option build_database_port : int = 0 for connection  | 
|
476  | 
option build_database_ssh_host : string = "" for connection  | 
|
477  | 
option build_database_ssh_user : string = "" for connection  | 
|
478  | 
option build_database_ssh_port : int = 0 for connection  | 
|
| 68221 | 479  | 
|
480  | 
||
| 65595 | 481  | 
section "Build Log Database"  | 
482  | 
||
| 77603 | 483  | 
option build_log_database_user : string = "" for connection  | 
484  | 
option build_log_database_password : string = "" for connection  | 
|
485  | 
option build_log_database_name : string = "" for connection  | 
|
486  | 
option build_log_database_host : string = "" for connection  | 
|
487  | 
option build_log_database_port : int = 0 for connection  | 
|
488  | 
option build_log_ssh_host : string = "" for connection  | 
|
489  | 
option build_log_ssh_user : string = "" for connection  | 
|
490  | 
option build_log_ssh_port : int = 0 for connection  | 
|
| 79813 | 491  | 
|
492  | 
option build_log_history : int = 30  | 
|
493  | 
-- "length of relevant history (in days)"  | 
|
| 
69572
 
09a6a7c04b45
more robust system channel via options that are private to the user;
 
wenzelm 
parents: 
69520 
diff
changeset
 | 
494  | 
|
| 79814 | 495  | 
option build_log_verbose : bool = false for build_sync  | 
496  | 
-- "extra verbosity for build log database"  | 
|
497  | 
||
| 
69572
 
09a6a7c04b45
more robust system channel via options that are private to the user;
 
wenzelm 
parents: 
69520 
diff
changeset
 | 
498  | 
|
| 80246 | 499  | 
section "Build Manager SSH"  | 
500  | 
||
501  | 
option build_manager_ssh_host : string = "build.proof.cit.tum.de" for connection  | 
|
| 
82915
 
b7422567c507
tuned doc: display build manager SSH options;
 
Fabian Huch <huch@in.tum.de> 
parents: 
82729 
diff
changeset
 | 
502  | 
-- "SSH host name for build manager"  | 
| 82042 | 503  | 
option build_manager_ssh_port : int = 0 for connection  | 
| 
82915
 
b7422567c507
tuned doc: display build manager SSH options;
 
Fabian Huch <huch@in.tum.de> 
parents: 
82729 
diff
changeset
 | 
504  | 
-- "explicit SSH port"  | 
| 80246 | 505  | 
option build_manager_ssh_user : string = "" for connection  | 
| 
82915
 
b7422567c507
tuned doc: display build manager SSH options;
 
Fabian Huch <huch@in.tum.de> 
parents: 
82729 
diff
changeset
 | 
506  | 
-- "explicit SSH user"  | 
| 
80252
 
96543177ab7e
build manager: manage directories/permissions, to minimize local administration;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80246 
diff
changeset
 | 
507  | 
|
| 
82040
 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81820 
diff
changeset
 | 
508  | 
option build_manager_cluster_ssh_host : string = "localhost" for connection  | 
| 
 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81820 
diff
changeset
 | 
509  | 
option build_manager_cluster_ssh_user : string = "" for connection  | 
| 
 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81820 
diff
changeset
 | 
510  | 
option build_manager_cluster_ssh_port : int = 0 for connection  | 
| 
 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 
Fabian Huch <huch@in.tum.de> 
parents: 
81820 
diff
changeset
 | 
511  | 
|
| 80246 | 512  | 
|
513  | 
section "Build Manager Database"  | 
|
514  | 
||
515  | 
option build_manager_database_user : string = "isabelle" for connection  | 
|
516  | 
option build_manager_database_password : string = "" for connection  | 
|
517  | 
option build_manager_database_name : string = "isabelle_build_manager" for connection  | 
|
518  | 
option build_manager_database_host : string = "localhost" for connection  | 
|
519  | 
option build_manager_database_port : int = 5432 for connection  | 
|
520  | 
option build_manager_database_ssh_host : string = "" for connection  | 
|
521  | 
option build_manager_database_ssh_user : string = "" for connection  | 
|
522  | 
option build_manager_database_ssh_port : int = 0 for connection  | 
|
523  | 
||
524  | 
||
| 
69572
 
09a6a7c04b45
more robust system channel via options that are private to the user;
 
wenzelm 
parents: 
69520 
diff
changeset
 | 
525  | 
section "Isabelle/Scala/ML system channel"  | 
| 
 
09a6a7c04b45
more robust system channel via options that are private to the user;
 
wenzelm 
parents: 
69520 
diff
changeset
 | 
526  | 
|
| 77603 | 527  | 
option system_channel_address : string = "" for connection  | 
528  | 
option system_channel_password : string = "" for connection  | 
|
| 
74147
 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 
wenzelm 
parents: 
74138 
diff
changeset
 | 
529  | 
|
| 
 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 
wenzelm 
parents: 
74138 
diff
changeset
 | 
530  | 
|
| 
 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 
wenzelm 
parents: 
74138 
diff
changeset
 | 
531  | 
section "Bash process execution server"  | 
| 
 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 
wenzelm 
parents: 
74138 
diff
changeset
 | 
532  | 
|
| 77603 | 533  | 
option bash_process_debugging : bool = false for connection  | 
534  | 
option bash_process_address : string = "" for connection  | 
|
535  | 
option bash_process_password : string = "" for connection  | 
|
| 
78821
 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 
Fabian Huch <huch@in.tum.de> 
parents: 
78511 
diff
changeset
 | 
536  | 
|
| 
 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 
Fabian Huch <huch@in.tum.de> 
parents: 
78511 
diff
changeset
 | 
537  | 
|
| 
 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 
Fabian Huch <huch@in.tum.de> 
parents: 
78511 
diff
changeset
 | 
538  | 
section "Continuous integration"  | 
| 
 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 
Fabian Huch <huch@in.tum.de> 
parents: 
78511 
diff
changeset
 | 
539  | 
|
| 
 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 
Fabian Huch <huch@in.tum.de> 
parents: 
78511 
diff
changeset
 | 
540  | 
option ci_mail_user : string = "" for connection  | 
| 
 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 
Fabian Huch <huch@in.tum.de> 
parents: 
78511 
diff
changeset
 | 
541  | 
option ci_mail_password : string = "" for connection  | 
| 81288 | 542  | 
option ci_mail_sender : string = "ci@proof.cit.tum.de" for connection  | 
543  | 
option ci_mail_smtp_host : string = "mail.cit.tum.de" for connection  | 
|
544  | 
option ci_mail_smtp_port : int = 465 for connection  | 
|
| 
80411
 
a9fce67fb8b2
overhauled ci_build: clarified, removed unused, removed implicit Jenkins assumptions;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80406 
diff
changeset
 | 
545  | 
|
| 81224 | 546  | 
option ci_mail_from : string = "ci@proof.cit.tum.de"  | 
| 
80411
 
a9fce67fb8b2
overhauled ci_build: clarified, removed unused, removed implicit Jenkins assumptions;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80406 
diff
changeset
 | 
547  | 
-- "mail address for build failure notifications"  | 
| 81224 | 548  | 
|
| 81288 | 549  | 
option ci_mail_to : string = "isabelle-ci@mailman46.in.tum.de"  | 
| 
80411
 
a9fce67fb8b2
overhauled ci_build: clarified, removed unused, removed implicit Jenkins assumptions;
 
Fabian Huch <huch@in.tum.de> 
parents: 
80406 
diff
changeset
 | 
550  | 
-- "recipient address for build failure notifications"  |