etc/options
author wenzelm
Wed, 27 Mar 2013 16:38:25 +0100
changeset 51553 63327f679cff
parent 51423 e5f9a6d9ca82
child 51554 041bc3d31f23
permissions -rw-r--r--
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);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48367
680d297ec71b some basic Isabelle options;
wenzelm
parents:
diff changeset
     1
(* :mode=isabelle-options: *)
680d297ec71b some basic Isabelle options;
wenzelm
parents:
diff changeset
     2
49295
2750756db9c5 more precise sections;
wenzelm
parents: 49290
diff changeset
     3
section "Document Preparation"
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
     4
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
     5
option browser_info : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
     6
  -- "generate theory browser information"
48367
680d297ec71b some basic Isabelle options;
wenzelm
parents:
diff changeset
     7
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
     8
option document : string = ""
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
     9
  -- "build document in given format: pdf, dvi, dvi.gz, ps, ps.gz, or false"
48805
c3ea910b3581 explicit document_output directory, without implicit purge of default in ISABELLE_BROWSER_INFO;
wenzelm
parents: 48795
diff changeset
    10
option document_output : string = ""
c3ea910b3581 explicit document_output directory, without implicit purge of default in ISABELLE_BROWSER_INFO;
wenzelm
parents: 48795
diff changeset
    11
  -- "document output directory (default within $ISABELLE_BROWSER_INFO tree)"
c3ea910b3581 explicit document_output directory, without implicit purge of default in ISABELLE_BROWSER_INFO;
wenzelm
parents: 48795
diff changeset
    12
option document_variants : string = "document"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    13
  -- "option alternative document variants (separated by colons)"
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    14
option document_graph : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    15
  -- "generate session graph image for document"
48367
680d297ec71b some basic Isabelle options;
wenzelm
parents:
diff changeset
    16
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    17
option show_question_marks : bool = true
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    18
  -- "show leading question mark of schematic variables"
48486
691d0b44a793 more build options;
wenzelm
parents: 48468
diff changeset
    19
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    20
option names_long : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    21
  -- "show fully qualified names"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    22
option names_short : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    23
  -- "show base names only"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    24
option names_unique : bool = true
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    25
  -- "show partially qualified names, as required for unique name resolution"
48486
691d0b44a793 more build options;
wenzelm
parents: 48468
diff changeset
    26
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    27
option pretty_margin : int = 76
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    28
  -- "right margin / page width of pretty printer in Isabelle/ML"
48527
4ee8d70cd5a3 more build options;
wenzelm
parents: 48520
diff changeset
    29
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    30
option thy_output_display : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    31
  -- "indicate output as multi-line display-style material"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    32
option thy_output_break : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    33
  -- "control line breaks in non-display material"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    34
option thy_output_quotes : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    35
  -- "indicate if the output should be enclosed in double quotes"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    36
option thy_output_indent : int = 0
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    37
  -- "indentation for pretty printing of display material"
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    38
option thy_output_source : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    39
  -- "print original source text rather than internal representation"
48520
6d4ea2efa64b more build options;
wenzelm
parents: 48516
diff changeset
    40
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    41
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    42
option print_mode : string = ""
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    43
  -- "additional print modes for prover output (separated by commas)"
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    44
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    45
49295
2750756db9c5 more precise sections;
wenzelm
parents: 49290
diff changeset
    46
section "Parallel Checking"
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    47
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    48
option threads : int = 0
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    49
  -- "maximum number of worker threads for prover process (0 = hardware max.)"
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    50
option threads_trace : int = 0
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    51
  -- "level of tracing information for multithreading"
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    52
option parallel_proofs : int = 2
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    53
  -- "level of parallel proof checking: 0, 1, 2"
51423
e5f9a6d9ca82 clarified parallel_subproofs_saturation (blind guess) vs. parallel_subproofs_threshold (precient timing estimate);
wenzelm
parents: 51230
diff changeset
    54
option parallel_subproofs_saturation : int = 100
e5f9a6d9ca82 clarified parallel_subproofs_saturation (blind guess) vs. parallel_subproofs_threshold (precient timing estimate);
wenzelm
parents: 51230
diff changeset
    55
  -- "upper bound for forks of nested proofs (multiplied by worker threads)"
e5f9a6d9ca82 clarified parallel_subproofs_saturation (blind guess) vs. parallel_subproofs_threshold (precient timing estimate);
wenzelm
parents: 51230
diff changeset
    56
option parallel_subproofs_threshold : real = 0.01
e5f9a6d9ca82 clarified parallel_subproofs_saturation (blind guess) vs. parallel_subproofs_threshold (precient timing estimate);
wenzelm
parents: 51230
diff changeset
    57
  -- "lower bound of timing estimate for forked nested proofs (seconds)"
51230
19192615911e option parallel_proofs_reuse_timing controls reuse of log information -- since it is not always beneficial for performance;
wenzelm
parents: 51044
diff changeset
    58
option parallel_proofs_reuse_timing : bool = true
19192615911e option parallel_proofs_reuse_timing controls reuse of log information -- since it is not always beneficial for performance;
wenzelm
parents: 51044
diff changeset
    59
  -- "reuse timing information from old log file for parallel proof scheduling"
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    60
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    61
49295
2750756db9c5 more precise sections;
wenzelm
parents: 49290
diff changeset
    62
section "Detail of Proof Recording"
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    63
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    64
option proofs : int = 1
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    65
  -- "level of detail for proof objects: 0, 1, 2"
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    66
option quick_and_dirty : bool = false
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    67
  -- "if true then some tools will OMIT some proofs"
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    68
option skip_proofs : bool = false
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
    69
  -- "skip over proofs (implicit 'sorry')"
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    70
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    71
49295
2750756db9c5 more precise sections;
wenzelm
parents: 49290
diff changeset
    72
section "Global Session Parameters"
49270
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    73
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    74
option condition : string = ""
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    75
  -- "required environment variables for subsequent theories (separated by commas)"
e5d162d15867 some support to organize options in sections;
wenzelm
parents: 48805
diff changeset
    76
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    77
option timing : bool = false
48580
9df76dd45900 some description of main build options;
wenzelm
parents: 48527
diff changeset
    78
  -- "global timing of toplevel command execution and theory processing"
48492
03530cf284ca more build options;
wenzelm
parents: 48486
diff changeset
    79
48795
bece259ee055 clarified format of etc/options: only declarations, not re-definitions;
wenzelm
parents: 48661
diff changeset
    80
option timeout : real = 0
48661
9149ebdd0241 timeout for session build job;
wenzelm
parents: 48634
diff changeset
    81
  -- "timeout for session build job (seconds > 0)"
9149ebdd0241 timeout for session build job;
wenzelm
parents: 48634
diff changeset
    82
49288
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    83
49295
2750756db9c5 more precise sections;
wenzelm
parents: 49290
diff changeset
    84
section "Editor Reactivity"
49288
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    85
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    86
option editor_load_delay : real = 0.5
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    87
  -- "delay for file load operations (new buffers etc.)"
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    88
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    89
option editor_input_delay : real = 0.3
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    90
  -- "delay for user input (text edits, cursor movement etc.)"
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    91
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    92
option editor_output_delay : real = 0.1
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    93
  -- "delay for prover output (markup, common messages etc.)"
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    94
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    95
option editor_update_delay : real = 0.5
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    96
  -- "delay for physical GUI updates"
2c9272cb4568 more options;
wenzelm
parents: 49270
diff changeset
    97
49524
68796a77c42b Thy_Syntax.consolidate_spans is subject to editor_reparse_limit, for improved experience of unbalanced comments etc.;
wenzelm
parents: 49295
diff changeset
    98
option editor_reparse_limit : int = 10000
68796a77c42b Thy_Syntax.consolidate_spans is subject to editor_reparse_limit, for improved experience of unbalanced comments etc.;
wenzelm
parents: 49295
diff changeset
    99
  -- "maximum amount of reparsed text outside perspective"
50119
5c370a036de7 more generous tracing_limit, with explicit system option;
wenzelm
parents: 49524
diff changeset
   100
51044
890f502f0e89 more generous tracing limit, which is relevant for applications where this occurs routinely (e.g. HO unification trace);
wenzelm
parents: 50698
diff changeset
   101
option editor_tracing_messages : int = 1000
50505
33c92722cc3d smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents: 50455
diff changeset
   102
  -- "initial number of tracing messages for each command transaction"
50697
82e9178e6a98 improved Monitor_Dockable, based on ML_Statistics operations;
wenzelm
parents: 50505
diff changeset
   103
82e9178e6a98 improved Monitor_Dockable, based on ML_Statistics operations;
wenzelm
parents: 50505
diff changeset
   104
option editor_chart_delay : real = 3.0
82e9178e6a98 improved Monitor_Dockable, based on ML_Statistics operations;
wenzelm
parents: 50505
diff changeset
   105
  -- "delay for chart repainting"