etc/options
author wenzelm
Wed Oct 31 15:50:45 2018 +0100 (8 months ago)
changeset 69215 ab94035ba6ea
parent 69103 814a1ab42d70
child 69353 a6e83dcc00e6
permissions -rw-r--r--
tuned;
     1 (* :mode=isabelle-options: *)
     2 
     3 section "Document Preparation"
     4 
     5 option browser_info : bool = false
     6   -- "generate theory browser information"
     7 
     8 option document : string = ""
     9   -- "build document in given format: pdf, dvi, false"
    10 option document_output : string = ""
    11   -- "document output directory (default within $ISABELLE_BROWSER_INFO tree)"
    12 option document_variants : string = "document"
    13   -- "alternative document variants (separated by colons)"
    14 option document_tags : string = ""
    15   -- "default command tags (separated by commas)"
    16 
    17 option thy_output_display : bool = false
    18   -- "indicate output as multi-line display-style material"
    19 option thy_output_break : bool = false
    20   -- "control line breaks in non-display material"
    21 option thy_output_quotes : bool = false
    22   -- "indicate if the output should be enclosed in double quotes"
    23 option thy_output_margin : int = 76
    24   -- "right margin / page width for printing of display material"
    25 option thy_output_indent : int = 0
    26   -- "indentation for pretty printing of display material"
    27 option thy_output_source : bool = false
    28   -- "print original source text rather than internal representation"
    29 option thy_output_modes : string = ""
    30   -- "additional print modes for document output (separated by commas)"
    31 
    32 
    33 section "Prover Output"
    34 
    35 option show_types : bool = false
    36   -- "show type constraints when printing terms"
    37 option show_sorts : bool = false
    38   -- "show sort constraints when printing types"
    39 option show_brackets : bool = false
    40   -- "show extra brackets when printing terms/types"
    41 option show_question_marks : bool = true
    42   -- "show leading question mark of schematic variables"
    43 
    44 option show_consts : bool = false
    45   -- "show constants with types when printing proof state"
    46 option show_main_goal : bool = false
    47   -- "show main goal when printing proof state"
    48 option goals_limit : int = 10
    49   -- "maximum number of subgoals to be printed"
    50 
    51 option names_long : bool = false
    52   -- "show fully qualified names"
    53 option names_short : bool = false
    54   -- "show base names only"
    55 option names_unique : bool = true
    56   -- "show partially qualified names, as required for unique name resolution"
    57 
    58 option eta_contract : bool = true
    59   -- "print terms in eta-contracted form"
    60 
    61 option print_mode : string = ""
    62   -- "additional print modes for prover output (separated by commas)"
    63 
    64 
    65 section "Parallel Processing"
    66 
    67 public option threads : int = 0
    68   -- "maximum number of worker threads for prover process (0 = hardware max.)"
    69 option threads_trace : int = 0
    70   -- "level of tracing information for multithreading"
    71 option threads_stack_limit : real = 0.25
    72   -- "maximum stack size for worker threads (in giga words, 0 = unlimited)"
    73 
    74 public option parallel_limit : int = 0
    75   -- "approximative limit for parallel tasks (0 = unlimited)"
    76 public option parallel_print : bool = true
    77   -- "parallel and asynchronous printing of results"
    78 public option parallel_proofs : int = 1
    79   -- "level of parallel proof checking: 0, 1, 2"
    80 option parallel_subproofs_threshold : real = 0.01
    81   -- "lower bound of timing estimate for forked nested proofs (seconds)"
    82 
    83 option command_timing_threshold : real = 0.1
    84   -- "default threshold for persistent command timing (seconds)"
    85 
    86 
    87 section "Detail of Proof Checking"
    88 
    89 option record_proofs : int = -1
    90   -- "set level of proofterm recording: 0, 1, 2, negative means unchanged"
    91 option quick_and_dirty : bool = false
    92   -- "if true then some tools will OMIT some proofs"
    93 option skip_proofs : bool = false
    94   -- "skip over proofs (implicit 'sorry')"
    95 option strict_facts : bool = false
    96   -- "force lazy facts when defined in context"
    97 
    98 
    99 section "Global Session Parameters"
   100 
   101 option condition : string = ""
   102   -- "required environment variables for subsequent theories (separated by commas)"
   103 
   104 option timeout : real = 0
   105   -- "timeout for session build job (seconds > 0)"
   106 
   107 option timeout_scale : real = 1.0
   108   -- "scale factor for session timeout"
   109 
   110 option process_output_limit : int = 100
   111   -- "build process output limit (in million characters, 0 = unlimited)"
   112 
   113 option process_output_tail : int = 40
   114   -- "build process output tail shown to user (in lines, 0 = unlimited)"
   115 
   116 option checkpoint : bool = false
   117   -- "checkpoint for theories during build process (heap compression)"
   118 
   119 option profiling : string = ""
   120   -- "ML profiling (possible values: time, allocations)"
   121 
   122 
   123 section "ML System"
   124 
   125 option ML_print_depth : int = 20
   126   -- "ML print depth for toplevel pretty-printing"
   127 
   128 public option ML_exception_trace : bool = false
   129   -- "ML exception trace for toplevel command execution"
   130 
   131 public option ML_exception_debugger : bool = false
   132   -- "ML debugger exception trace for toplevel command execution"
   133 
   134 public option ML_debugger : bool = false
   135   -- "ML debugger instrumentation for newly compiled code"
   136 
   137 public option ML_statistics : bool = true
   138   -- "ML run-time system statistics"
   139 
   140 public option ML_system_64 : bool = false
   141   -- "ML system for 64bit platform is used if possible (change requires restart)"
   142 
   143 public option ML_process_policy : string = ""
   144   -- "ML process command prefix (process policy)"
   145 
   146 
   147 section "Editor Reactivity"
   148 
   149 public option editor_load_delay : real = 0.5
   150   -- "delay for file load operations (new buffers etc.)"
   151 
   152 public option editor_input_delay : real = 0.3
   153   -- "delay for user input (text edits, cursor movement etc.)"
   154 
   155 public option editor_generated_input_delay : real = 1.0
   156   -- "delay for machine-generated input that may outperform user edits"
   157 
   158 public option editor_output_delay : real = 0.1
   159   -- "delay for prover output (markup, common messages etc.)"
   160 
   161 public option editor_consolidate_delay : real = 2.0
   162   -- "delay to consolidate status of command evaluation (execution forks)"
   163 
   164 public option editor_prune_delay : real = 15
   165   -- "delay to prune history (delete old versions)"
   166 
   167 option editor_prune_size : int = 0
   168   -- "retained size of pruned history (delete old versions)"
   169 
   170 public option editor_update_delay : real = 0.5
   171   -- "delay for physical GUI updates"
   172 
   173 public option editor_reparse_limit : int = 10000
   174   -- "maximum amount of reparsed text outside perspective"
   175 
   176 public option editor_tracing_messages : int = 1000
   177   -- "initial number of tracing messages for each command transaction (0: unbounded)"
   178 
   179 public option editor_chart_delay : real = 3.0
   180   -- "delay for chart repainting"
   181 
   182 public option editor_continuous_checking : bool = true
   183   -- "continuous checking of proof document (visible and required parts)"
   184 
   185 public option editor_output_state : bool = false
   186   -- "implicit output of proof state"
   187 
   188 option editor_execution_delay : real = 0.02
   189   -- "delay for start of execution process after document update (seconds)"
   190 
   191 option editor_syslog_limit : int = 100
   192   -- "maximum amount of buffered syslog messages"
   193 
   194 public option editor_presentation : bool = false
   195   -- "dynamic presentation while editing"
   196 
   197 
   198 section "Miscellaneous Tools"
   199 
   200 public option find_theorems_limit : int = 40
   201   -- "limit of displayed results"
   202 
   203 public option find_theorems_tactic_limit : int = 5
   204   -- "limit of tactic search for 'solves' criterion"
   205 
   206 
   207 section "Completion"
   208 
   209 public option completion_limit : int = 40
   210   -- "limit for completion within the formal context"
   211 
   212 public option completion_path_ignore : string = "*~:*.marks:*.orig:*.rej:.DS_Store"
   213   -- "glob patterns to ignore in file-system path completion (separated by colons)"
   214 
   215 
   216 section "Spell Checker"
   217 
   218 public option spell_checker : bool = true
   219   -- "enable spell-checker for prose words within document text, comments etc."
   220 
   221 public option spell_checker_dictionary : string = "en"
   222   -- "spell-checker dictionary name"
   223 
   224 public option spell_checker_include : string = "words,comment,inner_comment,ML_comment,SML_comment"
   225   -- "included markup elements for spell-checker (separated by commas)"
   226 
   227 public option spell_checker_exclude : string = "no_words,antiquoted"
   228   -- "excluded markup elements for spell-checker (separated by commas)"
   229 
   230 
   231 section "Secure Shell"
   232 
   233 option ssh_config_dir : string = "~/.ssh"
   234   -- "SSH configuration directory"
   235 
   236 option ssh_config_file : string = "~/.ssh/config"
   237   -- "main SSH configuration file"
   238 
   239 option ssh_identity_files : string = "~/.ssh/id_dsa:~/.ssh/id_ecdsa:~/.ssh/id_rsa"
   240   -- "possible SSH identity files (separated by colons)"
   241 
   242 option ssh_compression : bool = true
   243   -- "enable SSH compression"
   244 
   245 option ssh_connect_timeout : real = 60
   246   -- "SSH connection timeout (seconds)"
   247 
   248 option ssh_alive_interval : real = 30
   249   -- "time interval to keep SSH server connection alive (seconds)"
   250 
   251 option ssh_alive_count_max : int = 3
   252   -- "maximum number of messages to keep SSH server connection alive"
   253 
   254 
   255 section "Theory Export"
   256 
   257 option export_document : bool = false
   258 
   259 option export_theory : bool = false
   260 
   261 
   262 section "Build Database"
   263 
   264 option build_database_server : bool = false
   265 option build_database_user : string = ""
   266 option build_database_password : string = ""
   267 option build_database_name : string = ""
   268 option build_database_host : string = ""
   269 option build_database_port : int = 0
   270 option build_database_ssh_host : string = ""
   271 option build_database_ssh_user : string = ""
   272 option build_database_ssh_port : int = 0
   273 
   274 
   275 section "Build Log Database"
   276 
   277 option build_log_database_user : string = ""
   278 option build_log_database_password : string = ""
   279 option build_log_database_name : string = ""
   280 option build_log_database_host : string = ""
   281 option build_log_database_port : int = 0
   282 option build_log_ssh_host : string = ""
   283 option build_log_ssh_user : string = ""
   284 option build_log_ssh_port : int = 0
   285 option build_log_history : int = 30  -- "length of relevant history (in days)"
   286 option build_log_transaction_size : int = 1  -- "number of log files for each db update"