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