etc/options
author wenzelm
Wed Dec 03 20:45:20 2014 +0100 (2014-12-03)
changeset 59085 08a6901eb035
parent 58849 ef7700ecce83
child 59175 bf465f335e85
permissions -rw-r--r--
clarified define_command: send tokens more directly, without requiring keywords in ML;
     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   -- "option alternative document variants (separated by colons)"
    14 option document_graph : bool = false
    15   -- "generate session graph image for document"
    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_indent : int = 0
    24   -- "indentation for pretty printing of display material"
    25 option thy_output_source : bool = false
    26   -- "print original source text rather than internal representation"
    27 option thy_output_modes : string = ""
    28   -- "additional print modes for document output (separated by commas)"
    29 
    30 
    31 section "Prover Output"
    32 
    33 option show_types : bool = false
    34   -- "show type constraints when printing terms"
    35 option show_sorts : bool = false
    36   -- "show sort constraints when printing types"
    37 option show_brackets : bool = false
    38   -- "show extra brackets when printing terms/types"
    39 option show_question_marks : bool = true
    40   -- "show leading question mark of schematic variables"
    41 
    42 option show_consts : bool = false
    43   -- "show constants with types when printing proof state"
    44 option show_main_goal : bool = false
    45   -- "show main goal when printing proof state"
    46 option goals_limit : int = 10
    47   -- "maximum number of subgoals to be printed"
    48 
    49 option names_long : bool = false
    50   -- "show fully qualified names"
    51 option names_short : bool = false
    52   -- "show base names only"
    53 option names_unique : bool = true
    54   -- "show partially qualified names, as required for unique name resolution"
    55 
    56 option eta_contract : bool = true
    57   -- "print terms in eta-contracted form"
    58 
    59 option pretty_margin : int = 76
    60   -- "right margin / page width of pretty printer in Isabelle/ML"
    61 
    62 option print_mode : string = ""
    63   -- "additional print modes for prover output (separated by commas)"
    64 
    65 
    66 section "Parallel Processing"
    67 
    68 public option threads : int = 0
    69   -- "maximum number of worker threads for prover process (0 = hardware max.)"
    70 option threads_trace : int = 0
    71   -- "level of tracing information for multithreading"
    72 public option parallel_print : bool = true
    73   -- "parallel and asynchronous printing of results"
    74 public option parallel_proofs : int = 2
    75   -- "level of parallel proof checking: 0, 1, 2"
    76 option parallel_subproofs_threshold : real = 0.01
    77   -- "lower bound of timing estimate for forked nested proofs (seconds)"
    78 
    79 
    80 section "Detail of Proof Checking"
    81 
    82 option quick_and_dirty : bool = false
    83   -- "if true then some tools will OMIT some proofs"
    84 option skip_proofs : bool = false
    85   -- "skip over proofs (implicit 'sorry')"
    86 
    87 
    88 section "Global Session Parameters"
    89 
    90 option condition : string = ""
    91   -- "required environment variables for subsequent theories (separated by commas)"
    92 
    93 option timeout : real = 0
    94   -- "timeout for session build job (seconds > 0)"
    95 
    96 option process_output_limit : int = 100
    97   -- "build process output limit in million characters (0 = unlimited)"
    98 
    99 
   100 section "ML System"
   101 
   102 public option ML_exception_trace : bool = false
   103   -- "ML exception trace for toplevel command execution"
   104 
   105 
   106 section "Editor Reactivity"
   107 
   108 public option editor_load_delay : real = 0.5
   109   -- "delay for file load operations (new buffers etc.)"
   110 
   111 public option editor_input_delay : real = 0.3
   112   -- "delay for user input (text edits, cursor movement etc.)"
   113 
   114 public option editor_output_delay : real = 0.1
   115   -- "delay for prover output (markup, common messages etc.)"
   116 
   117 public option editor_prune_delay : real = 60.0
   118   -- "delay to prune history (delete old versions)"
   119 
   120 public option editor_update_delay : real = 0.5
   121   -- "delay for physical GUI updates"
   122 
   123 public option editor_reparse_limit : int = 10000
   124   -- "maximum amount of reparsed text outside perspective"
   125 
   126 public option editor_tracing_messages : int = 1000
   127   -- "initial number of tracing messages for each command transaction"
   128 
   129 public option editor_chart_delay : real = 3.0
   130   -- "delay for chart repainting"
   131 
   132 public option editor_continuous_checking : bool = true
   133   -- "continuous checking of proof document (visible and required parts)"
   134 
   135 option editor_execution_delay : real = 0.02
   136   -- "delay for start of execution process after document update (seconds)"
   137 
   138 option editor_syslog_limit : int = 100
   139   -- "maximum amount of buffered syslog messages"
   140 
   141 
   142 section "Miscellaneous Tools"
   143 
   144 public option find_theorems_limit : int = 40
   145   -- "limit of displayed results"
   146 
   147 public option find_theorems_tactic_limit : int = 5
   148   -- "limit of tactic search for 'solves' criterion"
   149 
   150 
   151 section "Completion"
   152 
   153 public option completion_limit : int = 40
   154   -- "limit for completion within the formal context"
   155