etc/options
author wenzelm
Tue Jun 05 16:12:26 2018 +0200 (15 months ago)
changeset 68381 2fd3a6d6ba2e
parent 68352 38272f9481c2
child 68491 f0f83ce0badd
permissions -rw-r--r--
less wasteful consolidation, based on PIDE front-end state and recent changes;
     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 
    96 
    97 section "Global Session Parameters"
    98 
    99 option condition : string = ""
   100   -- "required environment variables for subsequent theories (separated by commas)"
   101 
   102 option timeout : real = 0
   103   -- "timeout for session build job (seconds > 0)"
   104 
   105 option timeout_scale : real = 1.0
   106   -- "scale factor for session timeout"
   107 
   108 option process_output_limit : int = 100
   109   -- "build process output limit (in million characters, 0 = unlimited)"
   110 
   111 option process_output_tail : int = 40
   112   -- "build process output tail shown to user (in lines, 0 = unlimited)"
   113 
   114 option checkpoint : bool = false
   115   -- "checkpoint for theories during build process (heap compression)"
   116 
   117 option profiling : string = ""
   118   -- "ML profiling (possible values: time, allocations)"
   119 
   120 
   121 section "ML System"
   122 
   123 option ML_print_depth : int = 20
   124   -- "ML print depth for toplevel pretty-printing"
   125 
   126 public option ML_exception_trace : bool = false
   127   -- "ML exception trace for toplevel command execution"
   128 
   129 public option ML_exception_debugger : bool = false
   130   -- "ML debugger exception trace for toplevel command execution"
   131 
   132 public option ML_debugger : bool = false
   133   -- "ML debugger instrumentation for newly compiled code"
   134 
   135 public option ML_statistics : bool = true
   136   -- "ML run-time system statistics"
   137 
   138 public option ML_system_64 : bool = false
   139   -- "ML system for 64bit platform is used if possible (change requires restart)"
   140 
   141 public option ML_process_policy : string = ""
   142   -- "ML process command prefix (process policy)"
   143 
   144 
   145 section "Editor Reactivity"
   146 
   147 public option editor_load_delay : real = 0.5
   148   -- "delay for file load operations (new buffers etc.)"
   149 
   150 public option editor_input_delay : real = 0.3
   151   -- "delay for user input (text edits, cursor movement etc.)"
   152 
   153 public option editor_generated_input_delay : real = 1.0
   154   -- "delay for machine-generated input that may outperform user edits"
   155 
   156 public option editor_output_delay : real = 0.1
   157   -- "delay for prover output (markup, common messages etc.)"
   158 
   159 public option editor_consolidate_delay : real = 2.0
   160   -- "delay to consolidate status of command evaluation (execution forks)"
   161 
   162 public option editor_prune_delay : real = 15
   163   -- "delay to prune history (delete old versions)"
   164 
   165 option editor_prune_size : int = 0
   166   -- "retained size of pruned history (delete old versions)"
   167 
   168 public option editor_update_delay : real = 0.5
   169   -- "delay for physical GUI updates"
   170 
   171 public option editor_reparse_limit : int = 10000
   172   -- "maximum amount of reparsed text outside perspective"
   173 
   174 public option editor_tracing_messages : int = 1000
   175   -- "initial number of tracing messages for each command transaction"
   176 
   177 public option editor_chart_delay : real = 3.0
   178   -- "delay for chart repainting"
   179 
   180 public option editor_continuous_checking : bool = true
   181   -- "continuous checking of proof document (visible and required parts)"
   182 
   183 public option editor_output_state : bool = false
   184   -- "implicit output of proof state"
   185 
   186 option editor_execution_delay : real = 0.02
   187   -- "delay for start of execution process after document update (seconds)"
   188 
   189 option editor_syslog_limit : int = 100
   190   -- "maximum amount of buffered syslog messages"
   191 
   192 public option editor_presentation : bool = false
   193   -- "dynamic presentation while editing"
   194 
   195 
   196 section "Miscellaneous Tools"
   197 
   198 public option find_theorems_limit : int = 40
   199   -- "limit of displayed results"
   200 
   201 public option find_theorems_tactic_limit : int = 5
   202   -- "limit of tactic search for 'solves' criterion"
   203 
   204 
   205 section "Completion"
   206 
   207 public option completion_limit : int = 40
   208   -- "limit for completion within the formal context"
   209 
   210 public option completion_path_ignore : string = "*~:*.marks:*.orig:*.rej:.DS_Store"
   211   -- "glob patterns to ignore in file-system path completion (separated by colons)"
   212 
   213 
   214 section "Spell Checker"
   215 
   216 public option spell_checker : bool = true
   217   -- "enable spell-checker for prose words within document text, comments etc."
   218 
   219 public option spell_checker_dictionary : string = "en"
   220   -- "spell-checker dictionary name"
   221 
   222 public option spell_checker_include : string = "words,comment,inner_comment,ML_comment,SML_comment"
   223   -- "included markup elements for spell-checker (separated by commas)"
   224 
   225 public option spell_checker_exclude : string = "no_words,antiquoted"
   226   -- "excluded markup elements for spell-checker (separated by commas)"
   227 
   228 
   229 section "Secure Shell"
   230 
   231 option ssh_config_dir : string = "~/.ssh"
   232   -- "SSH configuration directory"
   233 
   234 option ssh_config_file : string = "~/.ssh/config"
   235   -- "main SSH configuration file"
   236 
   237 option ssh_identity_files : string = "~/.ssh/id_dsa:~/.ssh/id_ecdsa:~/.ssh/id_rsa"
   238   -- "possible SSH identity files (separated by colons)"
   239 
   240 option ssh_compression : bool = true
   241   -- "enable SSH compression"
   242 
   243 option ssh_connect_timeout : real = 60
   244   -- "SSH connection timeout (seconds)"
   245 
   246 option ssh_alive_interval : real = 30
   247   -- "time interval to keep SSH server connection alive (seconds)"
   248 
   249 option ssh_alive_count_max : int = 3
   250   -- "maximum number of messages to keep SSH server connection alive"
   251 
   252 
   253 section "Theory Export"
   254 
   255 option export_theory : bool = false
   256 
   257 
   258 section "Build Database"
   259 
   260 option build_database_server : bool = false
   261 option build_database_user : string = ""
   262 option build_database_password : string = ""
   263 option build_database_name : string = ""
   264 option build_database_host : string = ""
   265 option build_database_port : int = 0
   266 option build_database_ssh_host : string = ""
   267 option build_database_ssh_user : string = ""
   268 option build_database_ssh_port : int = 0
   269 
   270 
   271 section "Build Log Database"
   272 
   273 option build_log_database_user : string = ""
   274 option build_log_database_password : string = ""
   275 option build_log_database_name : string = ""
   276 option build_log_database_host : string = ""
   277 option build_log_database_port : int = 0
   278 option build_log_ssh_host : string = ""
   279 option build_log_ssh_user : string = ""
   280 option build_log_ssh_port : int = 0
   281 option build_log_history : int = 30  -- "length of relevant history (in days)"
   282 option build_log_transaction_size : int = 1  -- "number of log files for each db update"