NEWS
author wenzelm
Fri, 06 Dec 2013 23:36:28 +0100
changeset 54688 47e61b768814
parent 54683 cf48ddc266e5
child 54702 3daeba5130f0
permissions -rw-r--r--
NEWS;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5363
0cf15843b82f isatool install;
wenzelm
parents: 5332
diff changeset
     1
Isabelle NEWS -- history user-relevant changes
0cf15843b82f isatool install;
wenzelm
parents: 5332
diff changeset
     2
==============================================
2553
ed941505cab7 Isabelle NEWS -- history of user-visible changes;
wenzelm
parents:
diff changeset
     3
54055
5bf55a713232 back to post-release mode -- after fork point;
wenzelm
parents: 54049
diff changeset
     4
New in this Isabelle version
5bf55a713232 back to post-release mode -- after fork point;
wenzelm
parents: 54049
diff changeset
     5
----------------------------
5bf55a713232 back to post-release mode -- after fork point;
wenzelm
parents: 54049
diff changeset
     6
54533
wenzelm
parents: 54502
diff changeset
     7
*** Prover IDE -- Isabelle/Scala/jEdit ***
wenzelm
parents: 54502
diff changeset
     8
wenzelm
parents: 54502
diff changeset
     9
* Auxiliary files ('ML_file' etc.) are managed by the Prover IDE.
wenzelm
parents: 54502
diff changeset
    10
Open text buffers take precedence over copies within the file-system.
wenzelm
parents: 54502
diff changeset
    11
54688
wenzelm
parents: 54683
diff changeset
    12
* Document panel: simplied interaction where every single mouse click
wenzelm
parents: 54683
diff changeset
    13
(re)opens document via desktop environment or as jEdit buffer.
wenzelm
parents: 54683
diff changeset
    14
54533
wenzelm
parents: 54502
diff changeset
    15
54227
63b441f49645 moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
haftmann
parents: 54055
diff changeset
    16
*** HOL ***
63b441f49645 moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
haftmann
parents: 54055
diff changeset
    17
54295
45a5523d4a63 qualifed popular user space names
haftmann
parents: 54264
diff changeset
    18
* Qualified constant names Wellfounded.acc, Wellfounded.accp.
45a5523d4a63 qualifed popular user space names
haftmann
parents: 54264
diff changeset
    19
INCOMPATIBILITY.
45a5523d4a63 qualifed popular user space names
haftmann
parents: 54264
diff changeset
    20
54228
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    21
* Fact generalization and consolidation:
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    22
    neq_one_mod_two, mod_2_not_eq_zero_eq_one_int ~> not_mod_2_eq_0_eq_1
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    23
INCOMPATIBILITY.
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    24
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    25
* Purely algebraic definition of even.  Fact generalization and consolidation:
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    26
    nat_even_iff_2_dvd, int_even_iff_2_dvd ~> even_iff_2_dvd
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    27
    even_zero_(nat|int) ~> even_zero
229282d53781 purely algebraic foundation for even/odd
haftmann
parents: 54227
diff changeset
    28
INCOMPATIBILITY.
54055
5bf55a713232 back to post-release mode -- after fork point;
wenzelm
parents: 54049
diff changeset
    29
54489
03ff4d1e6784 eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents: 54449
diff changeset
    30
* Abolished neg_numeral.
03ff4d1e6784 eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents: 54449
diff changeset
    31
  * Canonical representation for minus one is "- 1".
03ff4d1e6784 eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents: 54449
diff changeset
    32
  * Canonical representation for other negative numbers is "- (numeral _)".
54502
e7c9a14632d0 more correct NEWS
haftmann
parents: 54489
diff changeset
    33
  * When devising rule sets for number calculation, consider the
54587
19cd731eb745 even more precise NEWS
haftmann
parents: 54533
diff changeset
    34
    following canonical cases: 0, 1, numeral _, - 1, - numeral _.
19cd731eb745 even more precise NEWS
haftmann
parents: 54533
diff changeset
    35
  * HOLogic.dest_number also recognizes numerals in non-canonical forms
19cd731eb745 even more precise NEWS
haftmann
parents: 54533
diff changeset
    36
    like "numeral One", "- numeral One", "- 0" and even "- … - _".
54489
03ff4d1e6784 eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents: 54449
diff changeset
    37
  * Syntax for negative numerals is mere input syntax.
03ff4d1e6784 eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents: 54449
diff changeset
    38
INCOMPATBILITY.
03ff4d1e6784 eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents: 54449
diff changeset
    39
54230
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    40
* Elimination of fact duplicates:
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    41
    equals_zero_I ~> minus_unique
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    42
    diff_eq_0_iff_eq ~> right_minus_eq
54588
traytel
parents: 54587
diff changeset
    43
    nat_infinite ~> infinite_UNIV_nat
traytel
parents: 54587
diff changeset
    44
    int_infinite ~> infinite_UNIV_int
54230
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    45
INCOMPATIBILITY.
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    46
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    47
* Fact name consolidation:
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    48
    diff_def, diff_minus, ab_diff_minus ~> diff_conv_add_uminus
54250
7d2544dd3988 fact generalization and name consolidation
haftmann
parents: 54230
diff changeset
    49
    minus_le_self_iff ~> neg_less_eq_nonneg
7d2544dd3988 fact generalization and name consolidation
haftmann
parents: 54230
diff changeset
    50
    le_minus_self_iff ~> less_eq_neg_nonpos
7d2544dd3988 fact generalization and name consolidation
haftmann
parents: 54230
diff changeset
    51
    neg_less_nonneg ~> neg_less_pos
7d2544dd3988 fact generalization and name consolidation
haftmann
parents: 54230
diff changeset
    52
    less_minus_self_iff ~> less_neg_neg [simp]
54230
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    53
INCOMPATIBILITY.
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    54
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    55
* More simplification rules on unary and binary minus:
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    56
add_diff_cancel, add_diff_cancel_left, add_le_same_cancel1,
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    57
add_le_same_cancel2, add_less_same_cancel1, add_less_same_cancel2,
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    58
add_minus_cancel, diff_add_cancel, le_add_same_cancel1,
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    59
le_add_same_cancel2, less_add_same_cancel1, less_add_same_cancel2,
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    60
minus_add_cancel, uminus_add_conv_diff.  These correspondingly
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    61
have been taken away from fact collections algebra_simps and
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    62
field_simps.  INCOMPATIBILITY.
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    63
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    64
To restore proofs, the following patterns are helpful:
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    65
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    66
a) Arbitrary failing proof not involving "diff_def":
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    67
Consider simplification with algebra_simps or field_simps.
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    68
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    69
b) Lifting rules from addition to subtraction:
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    70
Try with "using <rule for addition> of [… "- _" …]" by simp".
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    71
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    72
c) Simplification with "diff_def": just drop "diff_def".
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    73
Consider simplification with algebra_simps or field_simps;
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    74
or the brute way with
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    75
"simp add: diff_conv_add_uminus del: add_uminus_conv_diff".
b1d955791529 more simplification rules on unary and binary minus
haftmann
parents: 54228
diff changeset
    76
54264
hoelzl
parents: 54250
diff changeset
    77
* SUP and INF generalized to conditionally_complete_lattice
hoelzl
parents: 54250
diff changeset
    78
hoelzl
parents: 54250
diff changeset
    79
* Theory Lubs moved HOL image to HOL-Library. It is replaced by
hoelzl
parents: 54250
diff changeset
    80
Conditionally_Complete_Lattices.   INCOMPATIBILITY.
hoelzl
parents: 54250
diff changeset
    81
hoelzl
parents: 54250
diff changeset
    82
* Introduce bdd_above and bdd_below in Conditionally_Complete_Lattices, use them
hoelzl
parents: 54250
diff changeset
    83
instead of explicitly stating boundedness of sets.
hoelzl
parents: 54250
diff changeset
    84
54631
Andreas Lochbihler
parents: 54588
diff changeset
    85
* ccpo.admissible quantifies only over non-empty chains to allow
Andreas Lochbihler
parents: 54588
diff changeset
    86
more syntax-directed proof rules; the case of the empty chain
Andreas Lochbihler
parents: 54588
diff changeset
    87
shows up as additional case in fixpoint induction proofs.
Andreas Lochbihler
parents: 54588
diff changeset
    88
INCOMPATIBILITY
54264
hoelzl
parents: 54250
diff changeset
    89
54672
748778ac0ab8 relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents: 54671
diff changeset
    90
* Nitpick:
748778ac0ab8 relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents: 54671
diff changeset
    91
  - Fixed soundness bug whereby mutually recursive datatypes could take
748778ac0ab8 relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents: 54671
diff changeset
    92
    infinite values.
748778ac0ab8 relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents: 54671
diff changeset
    93
748778ac0ab8 relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents: 54671
diff changeset
    94
54449
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
    95
*** ML ***
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
    96
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
    97
* Toplevel function "use" refers to raw ML bootstrap environment,
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
    98
without Isar context nor antiquotations.  Potential INCOMPATIBILITY.
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
    99
Note that 'ML_file' is the canonical command to load ML files into the
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
   100
formal context.
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
   101
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
   102
54683
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   103
*** System ***
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   104
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   105
* Simplified "isabelle display" tool.  Settings variables DVI_VIEWER
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   106
and PDF_VIEWER now refer to the actual programs, not shell
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   107
command-lines.  Discontinued option -c: invocation may be asynchronous
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   108
via desktop environment, without any special precautions.  Potential
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   109
INCOMPATIBILITY with ambitious private settings.
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   110
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   111
* Improved 'display_drafts' concerning desktop integration and
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   112
repeated invocation in PIDE front-end: re-use single file
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   113
$ISABELLE_HOME_USER/tmp/drafts.pdf and corresponding views.
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   114
cf48ddc266e5 clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents: 54672
diff changeset
   115
54449
f3cfe882f9af toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents: 54384
diff changeset
   116
54639
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   117
New in Isabelle2013-2 (December 2013)
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   118
-------------------------------------
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   119
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   120
*** Prover IDE -- Isabelle/Scala/jEdit ***
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   121
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   122
* More robust editing of running commands with internal forks,
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   123
e.g. non-terminating 'by' steps.
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   124
54641
wenzelm
parents: 54639
diff changeset
   125
* More relaxed Sledgehammer panel: avoid repeated application of query
wenzelm
parents: 54639
diff changeset
   126
after edits surrounding the command location.
wenzelm
parents: 54639
diff changeset
   127
54648
wenzelm
parents: 54641
diff changeset
   128
* More status information about commands that are interrupted
wenzelm
parents: 54641
diff changeset
   129
accidentally (via physical event or Poly/ML runtime system signal,
wenzelm
parents: 54641
diff changeset
   130
e.g. out-of-memory).
wenzelm
parents: 54641
diff changeset
   131
54653
wenzelm
parents: 54648
diff changeset
   132
wenzelm
parents: 54648
diff changeset
   133
*** System ***
wenzelm
parents: 54648
diff changeset
   134
wenzelm
parents: 54648
diff changeset
   135
* More robust termination of external processes managed by
54664
wenzelm
parents: 54653
diff changeset
   136
Isabelle/ML: support cancellation of tasks within the range of
wenzelm
parents: 54653
diff changeset
   137
milliseconds, as required for PIDE document editing with automatically
wenzelm
parents: 54653
diff changeset
   138
tried tools (e.g. Sledgehammer).
54653
wenzelm
parents: 54648
diff changeset
   139
54648
wenzelm
parents: 54641
diff changeset
   140
* Reactivated Isabelle/Scala kill command for external processes on
wenzelm
parents: 54641
diff changeset
   141
Mac OS X, which was accidentally broken in Isabelle2013-1 due to a
wenzelm
parents: 54641
diff changeset
   142
workaround for some Debian/Ubuntu Linux versions from 2013.
wenzelm
parents: 54641
diff changeset
   143
54639
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   144
5adc68deb322 updated to Isabelle2013-2;
wenzelm
parents: 54378
diff changeset
   145
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   146
New in Isabelle2013-1 (November 2013)
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   147
-------------------------------------
50994
aafd4270b4d4 back to post-release mode -- after fork point;
wenzelm
parents: 50993
diff changeset
   148
51293
05b1bbae748d discontinued obsolete 'uses' within theory header;
wenzelm
parents: 51238
diff changeset
   149
*** General ***
05b1bbae748d discontinued obsolete 'uses' within theory header;
wenzelm
parents: 51238
diff changeset
   150
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   151
* Discontinued obsolete 'uses' within theory header.  Note that
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   152
commands like 'ML_file' work without separate declaration of file
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   153
dependencies.  Minor INCOMPATIBILITY.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   154
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   155
* Discontinued redundant 'use' command, which was superseded by
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   156
'ML_file' in Isabelle2013.  Minor INCOMPATIBILITY.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   157
53016
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   158
* Simplified subscripts within identifiers, using plain \<^sub>
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   159
instead of the second copy \<^isub> and \<^isup>.  Superscripts are
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   160
only for literal tokens within notation; explicit mixfix annotations
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   161
for consts or fixed variables may be used as fall-back for unusual
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   162
names.  Obsolete \<twosuperior> has been expanded to \<^sup>2 in
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   163
Isabelle/HOL.  INCOMPATIBILITY, use "isabelle update_sub_sup" to
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   164
standardize symbols as a starting point for further manual cleanup.
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   165
The ML reference variable "legacy_isub_isup" may be set as temporary
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   166
workaround, to make the prover accept a subset of the old identifier
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   167
syntax.
fa9c38891cf2 disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents: 52949
diff changeset
   168
53021
d0fa3f446b9d discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents: 53016
diff changeset
   169
* Document antiquotations: term style "isub" has been renamed to
d0fa3f446b9d discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents: 53016
diff changeset
   170
"sub".  Minor INCOMPATIBILITY.
d0fa3f446b9d discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents: 53016
diff changeset
   171
52487
48bc24467008 backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents: 52470
diff changeset
   172
* Uniform management of "quick_and_dirty" as system option (see also
48bc24467008 backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents: 52470
diff changeset
   173
"isabelle options"), configuration option within the context (see also
48bc24467008 backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents: 52470
diff changeset
   174
Config.get in Isabelle/ML), and attribute in Isabelle/Isar.  Minor
48bc24467008 backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents: 52470
diff changeset
   175
INCOMPATIBILITY, need to use more official Isabelle means to access
48bc24467008 backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents: 52470
diff changeset
   176
quick_and_dirty, instead of historical poking into mutable reference.
52059
2f970c7f722b proper option quick_and_dirty;
wenzelm
parents: 52054
diff changeset
   177
52060
179236c82c2a renamed 'print_configs' to 'print_options';
wenzelm
parents: 52059
diff changeset
   178
* Renamed command 'print_configs' to 'print_options'.  Minor
179236c82c2a renamed 'print_configs' to 'print_options';
wenzelm
parents: 52059
diff changeset
   179
INCOMPATIBILITY.
179236c82c2a renamed 'print_configs' to 'print_options';
wenzelm
parents: 52059
diff changeset
   180
52430
289e36c2870a proper diagnostic command 'print_state';
wenzelm
parents: 52415
diff changeset
   181
* Proper diagnostic command 'print_state'.  Old 'pr' (with its
289e36c2870a proper diagnostic command 'print_state';
wenzelm
parents: 52415
diff changeset
   182
implicit change of some global references) is retained for now as
289e36c2870a proper diagnostic command 'print_state';
wenzelm
parents: 52415
diff changeset
   183
control command, e.g. for ProofGeneral 3.7.x.
289e36c2870a proper diagnostic command 'print_state';
wenzelm
parents: 52415
diff changeset
   184
52549
802576856527 discontinued command 'print_drafts';
wenzelm
parents: 52539
diff changeset
   185
* Discontinued 'print_drafts' command with its old-fashioned PS output
802576856527 discontinued command 'print_drafts';
wenzelm
parents: 52539
diff changeset
   186
and Unix command-line print spooling.  Minor INCOMPATIBILITY: use
802576856527 discontinued command 'print_drafts';
wenzelm
parents: 52539
diff changeset
   187
'display_drafts' instead and print via the regular document viewer.
802576856527 discontinued command 'print_drafts';
wenzelm
parents: 52539
diff changeset
   188
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   189
* Updated and extended "isar-ref" and "implementation" manual,
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   190
eliminated old "ref" manual.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   191
51293
05b1bbae748d discontinued obsolete 'uses' within theory header;
wenzelm
parents: 51238
diff changeset
   192
51533
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51517
diff changeset
   193
*** Prover IDE -- Isabelle/Scala/jEdit ***
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51517
diff changeset
   194
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   195
* New manual "jedit" for Isabelle/jEdit, see isabelle doc or
53852
wenzelm
parents: 53803
diff changeset
   196
Documentation panel.
wenzelm
parents: 53803
diff changeset
   197
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   198
* Dockable window "Documentation" provides access to Isabelle
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   199
documentation.
52646
wenzelm
parents: 52550
diff changeset
   200
52949
wenzelm
parents: 52896
diff changeset
   201
* Dockable window "Find" provides query operations for formal entities
wenzelm
parents: 52896
diff changeset
   202
(GUI front-end to 'find_theorems' command).
wenzelm
parents: 52896
diff changeset
   203
53050
wenzelm
parents: 53021
diff changeset
   204
* Dockable window "Sledgehammer" manages asynchronous / parallel
wenzelm
parents: 53021
diff changeset
   205
sledgehammer runs over existing document sources, independently of
wenzelm
parents: 53021
diff changeset
   206
normal editing and checking process.
wenzelm
parents: 53021
diff changeset
   207
51533
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51517
diff changeset
   208
* Dockable window "Timing" provides an overview of relevant command
54332
wenzelm
parents: 54319
diff changeset
   209
timing information, depending on option jedit_timing_threshold.  The
wenzelm
parents: 54319
diff changeset
   210
same timing information is shown in the extended tooltip of the
wenzelm
parents: 54319
diff changeset
   211
command keyword, when hovering the mouse over it while the CONTROL or
wenzelm
parents: 54319
diff changeset
   212
COMMAND modifier is pressed.
51533
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51517
diff changeset
   213
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   214
* Improved dockable window "Theories": Continuous checking of proof
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   215
document (visible and required parts) may be controlled explicitly,
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   216
using check box or shortcut "C+e ENTER".  Individual theory nodes may
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   217
be marked explicitly as required and checked in full, using check box
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   218
or shortcut "C+e SPACE".
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   219
54305
wenzelm
parents: 54049
diff changeset
   220
* Improved completion mechanism, which is now managed by the
wenzelm
parents: 54049
diff changeset
   221
Isabelle/jEdit plugin instead of SideKick.  Refined table of Isabelle
wenzelm
parents: 54049
diff changeset
   222
symbol abbreviations (see $ISABELLE_HOME/etc/symbols).
wenzelm
parents: 54049
diff changeset
   223
54319
wenzelm
parents: 54305
diff changeset
   224
* Standard jEdit keyboard shortcut C+b complete-word is remapped to
wenzelm
parents: 54305
diff changeset
   225
isabelle.complete for explicit completion in Isabelle sources.
wenzelm
parents: 54305
diff changeset
   226
INCOMPATIBILITY wrt. jEdit defaults, may have to invent new shortcuts
wenzelm
parents: 54305
diff changeset
   227
to resolve conflict.
wenzelm
parents: 54305
diff changeset
   228
54305
wenzelm
parents: 54049
diff changeset
   229
* Improved support of various "minor modes" for Isabelle NEWS,
wenzelm
parents: 54049
diff changeset
   230
options, session ROOT etc., with completion and SideKick tree view.
wenzelm
parents: 54049
diff changeset
   231
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   232
* Strictly monotonic document update, without premature cancellation of
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   233
running transactions that are still needed: avoid reset/restart of
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   234
such command executions while editing.
53271
0460d6962ced GTK+ works better due to avoidance of default list view popups;
wenzelm
parents: 53251
diff changeset
   235
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   236
* Support for asynchronous print functions, as overlay to existing
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   237
document content.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   238
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   239
* Support for automatic tools in HOL, which try to prove or disprove
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   240
toplevel theorem statements.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   241
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   242
* Action isabelle.reset-font-size resets main text area font size
54365
5d45c985974a no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents: 54351
diff changeset
   243
according to Isabelle/Scala plugin option "jedit_font_reset_size" (see
5d45c985974a no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents: 54351
diff changeset
   244
also "Plugin Options / Isabelle / General").  It can be bound to some
5d45c985974a no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents: 54351
diff changeset
   245
keyboard shortcut by the user (e.g. C+0 and/or C+NUMPAD0).
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   246
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   247
* File specifications in jEdit (e.g. file browser) may refer to
54351
5cbe32533cdb more on file-system access;
wenzelm
parents: 54332
diff changeset
   248
$ISABELLE_HOME and $ISABELLE_HOME_USER on all platforms.  Discontinued
5cbe32533cdb more on file-system access;
wenzelm
parents: 54332
diff changeset
   249
obsolete $ISABELLE_HOME_WINDOWS variable.
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   250
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   251
* Improved support for Linux look-and-feel "GTK+", see also "Utilities
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   252
/ Global Options / Appearance".
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   253
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   254
* Improved support of native Mac OS X functionality via "MacOSX"
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   255
plugin, which is now enabled by default.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   256
51533
3f6280aedbcc dockable window for timing information;
wenzelm
parents: 51517
diff changeset
   257
51313
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   258
*** Pure ***
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   259
54049
566b769c3477 Streamlined locales reference material.
ballarin
parents: 54033
diff changeset
   260
* Commands 'interpretation' and 'sublocale' are now target-sensitive.
566b769c3477 Streamlined locales reference material.
ballarin
parents: 54033
diff changeset
   261
In particular, 'interpretation' allows for non-persistent
566b769c3477 Streamlined locales reference material.
ballarin
parents: 54033
diff changeset
   262
interpretation within "context ... begin ... end" blocks offering a
566b769c3477 Streamlined locales reference material.
ballarin
parents: 54033
diff changeset
   263
light-weight alternative to 'sublocale'.  See "isar-ref" manual for
566b769c3477 Streamlined locales reference material.
ballarin
parents: 54033
diff changeset
   264
details.
51747
e4b5bebe5235 documentation and NEWS
haftmann
parents: 51732
diff changeset
   265
51565
5e9fdbdf88ce Improvements to the print_dependencies command.
ballarin
parents: 51553
diff changeset
   266
* Improved locales diagnostic command 'print_dependencies'.
5e9fdbdf88ce Improvements to the print_dependencies command.
ballarin
parents: 51553
diff changeset
   267
51313
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   268
* Discontinued obsolete 'axioms' command, which has been marked as
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   269
legacy since Isabelle2009-2.  INCOMPATIBILITY, use 'axiomatization'
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   270
instead, while observing its uniform scope for polymorphism.
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   271
51316
dfe469293eb4 discontinued empty name bindings in 'axiomatization';
wenzelm
parents: 51313
diff changeset
   272
* Discontinued empty name bindings in 'axiomatization'.
dfe469293eb4 discontinued empty name bindings in 'axiomatization';
wenzelm
parents: 51313
diff changeset
   273
INCOMPATIBILITY.
dfe469293eb4 discontinued empty name bindings in 'axiomatization';
wenzelm
parents: 51313
diff changeset
   274
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   275
* System option "proofs" has been discontinued.  Instead the global
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   276
state of Proofterm.proofs is persistently compiled into logic images
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   277
as required, notably HOL-Proofs.  Users no longer need to change
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   278
Proofterm.proofs dynamically.  Minor INCOMPATIBILITY.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   279
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   280
* Syntax translation functions (print_translation etc.) always depend
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   281
on Proof.context.  Discontinued former "(advanced)" option -- this is
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   282
now the default.  Minor INCOMPATIBILITY.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   283
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   284
* Former global reference trace_unify_fail is now available as
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   285
configuration option "unify_trace_failure" (global context only).
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   286
52463
c45a6939217f updated documentation;
wenzelm
parents: 52445
diff changeset
   287
* SELECT_GOAL now retains the syntactic context of the overall goal
c45a6939217f updated documentation;
wenzelm
parents: 52445
diff changeset
   288
state (schematic variables etc.).  Potential INCOMPATIBILITY in rare
c45a6939217f updated documentation;
wenzelm
parents: 52445
diff changeset
   289
situations.
c45a6939217f updated documentation;
wenzelm
parents: 52445
diff changeset
   290
51313
102a0a0718c5 discontinued obsolete 'axioms' command;
wenzelm
parents: 51295
diff changeset
   291
51002
496013a6eb38 remove unnecessary assumption from real_normed_vector
hoelzl
parents: 50994
diff changeset
   292
*** HOL ***
496013a6eb38 remove unnecessary assumption from real_normed_vector
hoelzl
parents: 50994
diff changeset
   293
54032
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   294
* Stronger precedence of syntax for big intersection and union on
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   295
sets, in accordance with corresponding lattice operations.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   296
INCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   297
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   298
* Notation "{p:A. P}" now allows tuple patterns as well.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   299
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   300
* Nested case expressions are now translated in a separate check phase
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   301
rather than during parsing. The data for case combinators is separated
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   302
from the datatype package. The declaration attribute
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   303
"case_translation" can be used to register new case combinators:
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   304
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   305
  declare [[case_translation case_combinator constructor1 ... constructorN]]
52637
1501ebe39711 attribute "code" declares concrete and abstract code equations uniformly; added explicit "code equation" instead
haftmann
parents: 52550
diff changeset
   306
52435
6646bb548c6b migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier
haftmann
parents: 52430
diff changeset
   307
* Code generator:
53160
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   308
  - 'code_printing' unifies 'code_const' / 'code_type' / 'code_class' /
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   309
    'code_instance'.
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   310
  - 'code_identifier' declares name hints for arbitrary identifiers in
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   311
    generated code, subsuming 'code_modulename'.
53983
wenzelm
parents: 53981
diff changeset
   312
wenzelm
parents: 53981
diff changeset
   313
See the isar-ref manual for syntax diagrams, and the HOL theories for
wenzelm
parents: 53981
diff changeset
   314
examples.
52435
6646bb548c6b migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier
haftmann
parents: 52430
diff changeset
   315
54032
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   316
* Attibute 'code': 'code' now declares concrete and abstract code
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   317
equations uniformly.  Use explicit 'code equation' and 'code abstract'
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   318
to distinguish both when desired.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   319
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   320
* Discontinued theories Code_Integer and Efficient_Nat by a more
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   321
fine-grain stack of theories Code_Target_Int, Code_Binary_Nat,
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   322
Code_Target_Nat and Code_Target_Numeral.  See the tutorial on code
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   323
generation for details.  INCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   324
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   325
* Numeric types are mapped by default to target language numerals:
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   326
natural (replaces former code_numeral) and integer (replaces former
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   327
code_int).  Conversions are available as integer_of_natural /
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   328
natural_of_integer / integer_of_nat / nat_of_integer (in HOL) and
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   329
Code_Numeral.integer_of_natural / Code_Numeral.natural_of_integer (in
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   330
ML).  INCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   331
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   332
* Function package: For mutually recursive functions f and g, separate
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   333
cases rules f.cases and g.cases are generated instead of unusable
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   334
f_g.cases which exposed internal sum types. Potential INCOMPATIBILITY,
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   335
in the case that the unusable rule was used nevertheless.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   336
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   337
* Function package: For each function f, new rules f.elims are
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   338
generated, which eliminate equalities of the form "f x = t".
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   339
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   340
* New command 'fun_cases' derives ad-hoc elimination rules for
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   341
function equations as simplified instances of f.elims, analogous to
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   342
inductive_cases.  See ~~/src/HOL/ex/Fundefs.thy for some examples.
53307
221ff2b39a35 updated news/contributors with BNF stuff
blanchet
parents: 53293
diff changeset
   343
54021
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   344
* Lifting:
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   345
  - parametrized correspondence relations are now supported:
54378
72254819befd tuned whitespace;
wenzelm
parents: 54365
diff changeset
   346
    + parametricity theorems for the raw term can be specified in
54021
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   347
      the command lift_definition, which allow us to generate stronger
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   348
      transfer rules
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   349
    + setup_lifting generates stronger transfer rules if parametric
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   350
      correspondence relation can be generated
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   351
    + various new properties of the relator must be specified to support
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   352
      parametricity
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   353
    + parametricity theorem for the Quotient relation can be specified
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   354
  - setup_lifting generates domain rules for the Transfer package
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   355
  - stronger reflexivity prover of respectfulness theorems for type
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   356
    copies
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   357
  - ===> and --> are now local. The symbols can be introduced
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   358
    by interpreting the locale lifting_syntax (typically in an
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   359
    anonymous context)
54378
72254819befd tuned whitespace;
wenzelm
parents: 54365
diff changeset
   360
  - Lifting/Transfer relevant parts of Library/Quotient_* are now in
54021
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   361
    Main. Potential INCOMPATIBILITY
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   362
  - new commands for restoring and deleting Lifting/Transfer context:
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   363
    lifting_forget, lifting_update
54378
72254819befd tuned whitespace;
wenzelm
parents: 54365
diff changeset
   364
  - the command print_quotmaps was renamed to print_quot_maps.
54021
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   365
    INCOMPATIBILITY
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   366
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   367
* Transfer:
54378
72254819befd tuned whitespace;
wenzelm
parents: 54365
diff changeset
   368
  - better support for domains in Transfer: replace Domainp T
54021
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   369
    by the actual invariant in a transferred goal
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   370
  - transfer rules can have as assumptions other transfer rules
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   371
  - Experimental support for transferring from the raw level to the
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   372
    abstract level: Transfer.transferred attribute
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   373
  - Attribute version of the transfer method: untransferred attribute
8089e82833b6 NEWS and CONTRIBUTORS
kuncar
parents: 54010
diff changeset
   374
52286
8170e5327c02 make reification part of HOL
haftmann
parents: 52266
diff changeset
   375
* Reification and reflection:
53160
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   376
  - Reification is now directly available in HOL-Main in structure
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   377
    "Reification".
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   378
  - Reflection now handles multiple lists with variables also.
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   379
  - The whole reflection stack has been decomposed into conversions.
52286
8170e5327c02 make reification part of HOL
haftmann
parents: 52266
diff changeset
   380
INCOMPATIBILITY.
8170e5327c02 make reification part of HOL
haftmann
parents: 52266
diff changeset
   381
51489
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   382
* Revised devices for recursive definitions over finite sets:
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   383
  - Only one fundamental fold combinator on finite set remains:
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   384
    Finite_Set.fold :: ('a => 'b => 'b) => 'b => 'a set => 'b
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   385
    This is now identity on infinite sets.
52745
821ce370b7fc avoid predefined symbols -- allow editing with Isabelle/jEdit in isabelle-news mode;
wenzelm
parents: 52743
diff changeset
   386
  - Locales ("mini packages") for fundamental definitions with
51489
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   387
    Finite_Set.fold: folding, folding_idem.
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   388
  - Locales comm_monoid_set, semilattice_order_set and
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   389
    semilattice_neutr_order_set for big operators on sets.
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   390
    See theory Big_Operators for canonical examples.
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   391
    Note that foundational constants comm_monoid_set.F and
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   392
    semilattice_set.F correspond to former combinators fold_image
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   393
    and fold1 respectively.  These are now gone.  You may use
51490
7edcc0618dae spelling
haftmann
parents: 51489
diff changeset
   394
    those foundational constants as substitutes, but it is
53983
wenzelm
parents: 53981
diff changeset
   395
    preferable to interpret the above locales accordingly.
51489
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   396
  - Dropped class ab_semigroup_idem_mult (special case of lattice,
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   397
    no longer needed in connection with Finite_Set.fold etc.)
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   398
  - Fact renames:
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   399
      card.union_inter ~> card_Un_Int [symmetric]
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   400
      card.union_disjoint ~> card_Un_disjoint
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   401
INCOMPATIBILITY.
f738e6dbd844 fundamental revision of big operators on sets
haftmann
parents: 51487
diff changeset
   402
51487
f4bfdee99304 locales for abstract orders
haftmann
parents: 51417
diff changeset
   403
* Locale hierarchy for abstract orderings and (semi)lattices.
f4bfdee99304 locales for abstract orders
haftmann
parents: 51417
diff changeset
   404
53526
wenzelm
parents: 53398
diff changeset
   405
* Complete_Partial_Order.admissible is defined outside the type class
wenzelm
parents: 53398
diff changeset
   406
ccpo, but with mandatory prefix ccpo. Admissibility theorems lose the
wenzelm
parents: 53398
diff changeset
   407
class predicate assumption or sort constraint when possible.
53362
Andreas Lochbihler
parents: 53342
diff changeset
   408
INCOMPATIBILITY.
Andreas Lochbihler
parents: 53342
diff changeset
   409
53160
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   410
* Introduce type class "conditionally_complete_lattice": Like a
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   411
complete lattice but does not assume the existence of the top and
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   412
bottom elements.  Allows to generalize some lemmas about reals and
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   413
extended reals.  Removed SupInf and replaced it by the instantiation
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   414
of conditionally_complete_lattice for real. Renamed lemmas about
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   415
conditionally-complete lattice from Sup_... to cSup_... and from
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   416
Inf_...  to cInf_... to avoid hidding of similar complete lattice
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   417
lemmas.
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   418
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   419
* Introduce type class linear_continuum as combination of
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   420
conditionally-complete lattices and inner dense linorders which have
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   421
more than one element.  INCOMPATIBILITY.
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   422
53983
wenzelm
parents: 53981
diff changeset
   423
* Introduced type classes order_top and order_bot. The old classes top
wenzelm
parents: 53981
diff changeset
   424
and bot only contain the syntax without assumptions.  INCOMPATIBILITY:
wenzelm
parents: 53981
diff changeset
   425
Rename bot -> order_bot, top -> order_top
53683
e6adad558def order_bot, order_top
lammich <lammich@in.tum.de>
parents: 53681
diff changeset
   426
53160
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   427
* Introduce type classes "no_top" and "no_bot" for orderings without
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   428
top and bottom elements.
51732
hoelzl
parents: 51717
diff changeset
   429
hoelzl
parents: 51717
diff changeset
   430
* Split dense_linorder into inner_dense_order and no_top, no_bot.
hoelzl
parents: 51717
diff changeset
   431
hoelzl
parents: 51717
diff changeset
   432
* Complex_Main: Unify and move various concepts from
53160
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   433
HOL-Multivariate_Analysis to HOL-Complex_Main.
51732
hoelzl
parents: 51717
diff changeset
   434
53983
wenzelm
parents: 53981
diff changeset
   435
 - Introduce type class (lin)order_topology and
wenzelm
parents: 53981
diff changeset
   436
   linear_continuum_topology.  Allows to generalize theorems about
wenzelm
parents: 53981
diff changeset
   437
   limits and order.  Instances are reals and extended reals.
51732
hoelzl
parents: 51717
diff changeset
   438
hoelzl
parents: 51717
diff changeset
   439
 - continuous and continuos_on from Multivariate_Analysis:
53983
wenzelm
parents: 53981
diff changeset
   440
   "continuous" is the continuity of a function at a filter.  "isCont"
wenzelm
parents: 53981
diff changeset
   441
   is now an abbrevitation: "isCont x f == continuous (at _) f".
wenzelm
parents: 53981
diff changeset
   442
wenzelm
parents: 53981
diff changeset
   443
   Generalized continuity lemmas from isCont to continuous on an
wenzelm
parents: 53981
diff changeset
   444
   arbitrary filter.
wenzelm
parents: 53981
diff changeset
   445
wenzelm
parents: 53981
diff changeset
   446
 - compact from Multivariate_Analysis. Use Bolzano's lemma to prove
wenzelm
parents: 53981
diff changeset
   447
   compactness of closed intervals on reals. Continuous functions
wenzelm
parents: 53981
diff changeset
   448
   attain infimum and supremum on compact sets. The inverse of a
wenzelm
parents: 53981
diff changeset
   449
   continuous function is continuous, when the function is continuous
wenzelm
parents: 53981
diff changeset
   450
   on a compact set.
51732
hoelzl
parents: 51717
diff changeset
   451
hoelzl
parents: 51717
diff changeset
   452
 - connected from Multivariate_Analysis. Use it to prove the
51775
408d937c9486 revert #916271d52466; add non-topological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents: 51774
diff changeset
   453
   intermediate value theorem. Show connectedness of intervals on
408d937c9486 revert #916271d52466; add non-topological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents: 51774
diff changeset
   454
   linear_continuum_topology).
51732
hoelzl
parents: 51717
diff changeset
   455
hoelzl
parents: 51717
diff changeset
   456
 - first_countable_topology from Multivariate_Analysis. Is used to
53983
wenzelm
parents: 53981
diff changeset
   457
   show equivalence of properties on the neighbourhood filter of x and
wenzelm
parents: 53981
diff changeset
   458
   on all sequences converging to x.
wenzelm
parents: 53981
diff changeset
   459
wenzelm
parents: 53981
diff changeset
   460
 - FDERIV: Definition of has_derivative moved to Deriv.thy. Moved
wenzelm
parents: 53981
diff changeset
   461
   theorems from Library/FDERIV.thy to Deriv.thy and base the
wenzelm
parents: 53981
diff changeset
   462
   definition of DERIV on FDERIV. Add variants of DERIV and FDERIV
wenzelm
parents: 53981
diff changeset
   463
   which are restricted to sets, i.e. to represent derivatives from
wenzelm
parents: 53981
diff changeset
   464
   left or right.
51732
hoelzl
parents: 51717
diff changeset
   465
hoelzl
parents: 51717
diff changeset
   466
 - Removed the within-filter. It is replaced by the principal filter:
hoelzl
parents: 51717
diff changeset
   467
hoelzl
parents: 51717
diff changeset
   468
     F within X = inf F (principal X)
hoelzl
parents: 51717
diff changeset
   469
hoelzl
parents: 51717
diff changeset
   470
 - Introduce "at x within U" as a single constant, "at x" is now an
hoelzl
parents: 51717
diff changeset
   471
   abbreviation for "at x within UNIV"
hoelzl
parents: 51717
diff changeset
   472
53983
wenzelm
parents: 53981
diff changeset
   473
 - Introduce named theorem collections tendsto_intros,
wenzelm
parents: 53981
diff changeset
   474
   continuous_intros, continuous_on_intros and FDERIV_intros. Theorems
wenzelm
parents: 53981
diff changeset
   475
   in tendsto_intros (or FDERIV_intros) are also available as
wenzelm
parents: 53981
diff changeset
   476
   tendsto_eq_intros (or FDERIV_eq_intros) where the right-hand side
wenzelm
parents: 53981
diff changeset
   477
   is replaced by a congruence rule. This allows to apply them as
wenzelm
parents: 53981
diff changeset
   478
   intro rules and then proving equivalence by the simplifier.
51732
hoelzl
parents: 51717
diff changeset
   479
hoelzl
parents: 51717
diff changeset
   480
 - Restructured theories in HOL-Complex_Main:
hoelzl
parents: 51717
diff changeset
   481
hoelzl
parents: 51717
diff changeset
   482
   + Moved RealDef and RComplete into Real
hoelzl
parents: 51717
diff changeset
   483
hoelzl
parents: 51717
diff changeset
   484
   + Introduced Topological_Spaces and moved theorems about
hoelzl
parents: 51717
diff changeset
   485
     topological spaces, filters, limits and continuity to it
hoelzl
parents: 51717
diff changeset
   486
hoelzl
parents: 51717
diff changeset
   487
   + Renamed RealVector to Real_Vector_Spaces
hoelzl
parents: 51717
diff changeset
   488
53983
wenzelm
parents: 53981
diff changeset
   489
   + Split Lim, SEQ, Series into Topological_Spaces,
wenzelm
parents: 53981
diff changeset
   490
     Real_Vector_Spaces, and Limits
51732
hoelzl
parents: 51717
diff changeset
   491
hoelzl
parents: 51717
diff changeset
   492
   + Moved Ln and Log to Transcendental
hoelzl
parents: 51717
diff changeset
   493
hoelzl
parents: 51717
diff changeset
   494
   + Moved theorems about continuity from Deriv to Topological_Spaces
hoelzl
parents: 51717
diff changeset
   495
hoelzl
parents: 51717
diff changeset
   496
 - Remove various auxiliary lemmas.
hoelzl
parents: 51717
diff changeset
   497
hoelzl
parents: 51717
diff changeset
   498
INCOMPATIBILITY.
51002
496013a6eb38 remove unnecessary assumption from real_normed_vector
hoelzl
parents: 50994
diff changeset
   499
53738
9868e6d4733f updated NEWS
blanchet
parents: 53728
diff changeset
   500
* Nitpick:
53803
b6a947a2c615 document "spy"
blanchet
parents: 53801
diff changeset
   501
  - Added option "spy"
53738
9868e6d4733f updated NEWS
blanchet
parents: 53728
diff changeset
   502
  - Reduce incidence of "too high arity" errors
9868e6d4733f updated NEWS
blanchet
parents: 53728
diff changeset
   503
51137
077456580eca updated news
blanchet
parents: 51115
diff changeset
   504
* Sledgehammer:
077456580eca updated news
blanchet
parents: 51115
diff changeset
   505
  - Renamed option:
077456580eca updated news
blanchet
parents: 51115
diff changeset
   506
      isar_shrink ~> isar_compress
53738
9868e6d4733f updated NEWS
blanchet
parents: 53728
diff changeset
   507
    INCOMPATIBILITY.
53801
342e371395c6 document "spy" option
blanchet
parents: 53766
diff changeset
   508
  - Added options "isar_try0", "spy"
53728
2a25bcd8bf78 updated NEWS and CONTRIBUTORS
blanchet
parents: 53709
diff changeset
   509
  - Better support for "isar_proofs"
53766
b260a0ce7482 updated NEWS
blanchet
parents: 53738
diff changeset
   510
  - MaSh has been fined-tuned and now runs as a local server
51137
077456580eca updated news
blanchet
parents: 51115
diff changeset
   511
54032
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   512
* Improved support for ad hoc overloading of constants (see also
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   513
isar-ref manual and ~~/src/HOL/ex/Adhoc_Overloading_Examples.thy).
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   514
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   515
* Library/Polynomial.thy:
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   516
  - Use lifting for primitive definitions.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   517
  - Explicit conversions from and to lists of coefficients, used for
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   518
    generated code.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   519
  - Replaced recursion operator poly_rec by fold_coeffs.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   520
  - Prefer pre-existing gcd operation for gcd.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   521
  - Fact renames:
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   522
    poly_eq_iff ~> poly_eq_poly_eq_iff
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   523
    poly_ext ~> poly_eqI
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   524
    expand_poly_eq ~> poly_eq_iff
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   525
IMCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   526
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   527
* New Library/Simps_Case_Conv.thy: Provides commands simps_of_case and
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   528
case_of_simps to convert function definitions between a list of
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   529
equations with patterns on the lhs and a single equation with case
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   530
expressions on the rhs. See also Ex/Simps_Case_Conv_Examples.thy.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   531
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   532
* New Library/FSet.thy: type of finite sets defined as a subtype of
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   533
sets defined by Lifting/Transfer.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   534
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   535
* Discontinued theory src/HOL/Library/Eval_Witness.  INCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   536
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   537
* Consolidation of library theories on product orders:
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   538
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   539
    Product_Lattice ~> Product_Order -- pointwise order on products
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   540
    Product_ord ~> Product_Lexorder -- lexicographic order on products
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   541
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   542
INCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   543
53160
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   544
* Imperative-HOL: The MREC combinator is considered legacy and no
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   545
longer included by default. INCOMPATIBILITY, use partial_function
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   546
instead, or import theory Legacy_Mrec as a fallback.
317077e35b0e tuned -- some reformatting;
wenzelm
parents: 53109
diff changeset
   547
53983
wenzelm
parents: 53981
diff changeset
   548
* HOL-Algebra: Discontinued theories ~~/src/HOL/Algebra/abstract and
wenzelm
parents: 53981
diff changeset
   549
~~/src/HOL/Algebra/poly.  Existing theories should be based on
wenzelm
parents: 53981
diff changeset
   550
~~/src/HOL/Library/Polynomial instead.  The latter provides
wenzelm
parents: 53981
diff changeset
   551
integration with HOL's type classes for rings.  INCOMPATIBILITY.
51517
7957d26c3334 Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents: 51490
diff changeset
   552
54033
wenzelm
parents: 54032
diff changeset
   553
* HOL-BNF:
54032
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   554
  - Various improvements to BNF-based (co)datatype package, including
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   555
    new commands "primrec_new", "primcorec", and
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   556
    "datatype_new_compat", as well as documentation. See
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   557
    "datatypes.pdf" for details.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   558
  - New "coinduction" method to avoid some boilerplate (compared to
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   559
    coinduct).
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   560
  - Renamed keywords:
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   561
    data ~> datatype_new
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   562
    codata ~> codatatype
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   563
    bnf_def ~> bnf
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   564
  - Renamed many generated theorems, including
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   565
    discs ~> disc
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   566
    map_comp' ~> map_comp
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   567
    map_id' ~> map_id
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   568
    sels ~> sel
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   569
    set_map' ~> set_map
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   570
    sets ~> set
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   571
IMCOMPATIBILITY.
67ed9e57dd03 misc tuning for release;
wenzelm
parents: 54029
diff changeset
   572
51517
7957d26c3334 Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents: 51490
diff changeset
   573
51551
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   574
*** ML ***
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   575
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   576
* Spec_Check is a Quickcheck tool for Isabelle/ML.  The ML function
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   577
"check_property" allows to check specifications of the form "ALL x y
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   578
z. prop x y z".  See also ~~/src/Tools/Spec_Check/ with its
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   579
Examples.thy in particular.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   580
53709
84522727f9d3 improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents: 53683
diff changeset
   581
* Improved printing of exception trace in Poly/ML 5.5.1, with regular
84522727f9d3 improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents: 53683
diff changeset
   582
tracing output in the command transaction context instead of physical
84522727f9d3 improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents: 53683
diff changeset
   583
stdout.  See also Toplevel.debug, Toplevel.debugging and
84522727f9d3 improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents: 53683
diff changeset
   584
ML_Compiler.exn_trace.
84522727f9d3 improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents: 53683
diff changeset
   585
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   586
* ML type "theory" is now immutable, without any special treatment of
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   587
drafts or linear updates (which could lead to "stale theory" errors in
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   588
the past).  Discontinued obsolete operations like Theory.copy,
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   589
Theory.checkpoint, and the auxiliary type theory_ref.  Minor
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   590
INCOMPATIBILITY.
53164
beb4ee344c22 clarified position of Spec_Check for Isabelle/ML -- it is unrelated to Isabelle/HOL;
wenzelm
parents: 53162
diff changeset
   591
51551
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   592
* More uniform naming of goal functions for skipped proofs:
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   593
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   594
    Skip_Proof.prove  ~>  Goal.prove_sorry
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   595
    Skip_Proof.prove_global  ~>  Goal.prove_sorry_global
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   596
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   597
Minor INCOMPATIBILITY.
51703
f2e92fc0c8aa modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents: 51689
diff changeset
   598
51717
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   599
* Simplifier tactics and tools use proper Proof.context instead of
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   600
historic type simpset.  Old-style declarations like addsimps,
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   601
addsimprocs etc. operate directly on Proof.context.  Raw type simpset
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   602
retains its use as snapshot of the main Simplifier context, using
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   603
simpset_of and put_simpset on Proof.context.  INCOMPATIBILITY -- port
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   604
old tools by making them depend on (ctxt : Proof.context) instead of
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   605
(ss : simpset), then turn (simpset_of ctxt) into ctxt.
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   606
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   607
* Modifiers for classical wrappers (e.g. addWrapper, delWrapper)
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   608
operate on Proof.context instead of claset, for uniformity with addIs,
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   609
addEs, addDs etc. Note that claset_of and put_claset allow to manage
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   610
clasets separately from the context.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   611
51717
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   612
* Discontinued obsolete ML antiquotations @{claset} and @{simpset}.
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   613
INCOMPATIBILITY, use @{context} instead.
9e7d1c139569 simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents: 51703
diff changeset
   614
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   615
* Antiquotation @{theory_context A} is similar to @{theory A}, but
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   616
presents the result as initial Proof.context.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   617
51551
88d1d19fb74f tuned signature and module arrangement;
wenzelm
parents: 51533
diff changeset
   618
51398
c3d02b3518c2 discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents: 51382
diff changeset
   619
*** System ***
c3d02b3518c2 discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents: 51382
diff changeset
   620
52052
892061142ba6 discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents: 51775
diff changeset
   621
* Discontinued obsolete isabelle usedir, mkdir, make -- superseded by
892061142ba6 discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents: 51775
diff changeset
   622
"isabelle build" in Isabelle2013.  INCOMPATIBILITY.
51398
c3d02b3518c2 discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents: 51382
diff changeset
   623
52054
eaf17514aabd discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents: 52053
diff changeset
   624
* Discontinued obsolete isabelle-process options -f and -u (former
eaf17514aabd discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents: 52053
diff changeset
   625
administrative aliases of option -e).  Minor INCOMPATIBILITY.
eaf17514aabd discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents: 52053
diff changeset
   626
52550
09e52d4a850a discontinued obsolete "isabelle print";
wenzelm
parents: 52549
diff changeset
   627
* Discontinued obsolete isabelle print tool, and PRINT_COMMAND
09e52d4a850a discontinued obsolete "isabelle print";
wenzelm
parents: 52549
diff changeset
   628
settings variable.
09e52d4a850a discontinued obsolete "isabelle print";
wenzelm
parents: 52549
diff changeset
   629
52746
eec610972763 discontinued historic document formats;
wenzelm
parents: 52745
diff changeset
   630
* Discontinued ISABELLE_DOC_FORMAT settings variable and historic
eec610972763 discontinued historic document formats;
wenzelm
parents: 52745
diff changeset
   631
document formats: dvi.gz, ps, ps.gz -- the default document format is
eec610972763 discontinued historic document formats;
wenzelm
parents: 52745
diff changeset
   632
always pdf.
52743
a7d69a11f395 discontinued ISABELLE_DOC_FORMAT;
wenzelm
parents: 52653
diff changeset
   633
52053
wenzelm
parents: 52052
diff changeset
   634
* Isabelle settings variable ISABELLE_BUILD_JAVA_OPTIONS allows to
wenzelm
parents: 52052
diff changeset
   635
specify global resources of the JVM process run by isabelle build.
wenzelm
parents: 52052
diff changeset
   636
52116
abf9fcfa65cf added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents: 52060
diff changeset
   637
* Toplevel executable $ISABELLE_HOME/bin/isabelle_scala_script allows
abf9fcfa65cf added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents: 52060
diff changeset
   638
to run Isabelle/Scala source files as standalone programs.
abf9fcfa65cf added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents: 52060
diff changeset
   639
52439
4cf3f6153eb8 improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents: 52435
diff changeset
   640
* Improved "isabelle keywords" tool (for old-style ProofGeneral
4cf3f6153eb8 improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents: 52435
diff changeset
   641
keyword tables): use Isabelle/Scala operations, which inspect outer
4cf3f6153eb8 improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents: 52435
diff changeset
   642
syntax without requiring to build sessions first.
4cf3f6153eb8 improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents: 52435
diff changeset
   643
53971
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   644
* Sessions may be organized via 'chapter' specifications in the ROOT
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   645
file, which determines a two-level hierarchy of browser info.  The old
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   646
tree-like organization via implicit sub-session relation (with its
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   647
tendency towards erratic fluctuation of URLs) has been discontinued.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   648
The default chapter is called "Unsorted".  Potential INCOMPATIBILITY
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   649
for HTML presentation of theories.
c4156b37627f misc tuning for release;
wenzelm
parents: 53968
diff changeset
   650
51398
c3d02b3518c2 discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents: 51382
diff changeset
   651
c3d02b3518c2 discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents: 51382
diff changeset
   652
50993
2c3d0cb151c0 updated for release;
wenzelm
parents: 50991
diff changeset
   653
New in Isabelle2013 (February 2013)
2c3d0cb151c0 updated for release;
wenzelm
parents: 50991
diff changeset
   654
-----------------------------------
47887
4e9c06c194d9 back to post-release mode -- after fork point;
wenzelm
parents: 47856
diff changeset
   655
47967
c422128d3889 discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents: 47958
diff changeset
   656
*** General ***
c422128d3889 discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents: 47958
diff changeset
   657
50126
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   658
* Theorem status about oracles and unfinished/failed future proofs is
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   659
no longer printed by default, since it is incompatible with
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   660
incremental / parallel checking of the persistent document model.  ML
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   661
function Thm.peek_status may be used to inspect a snapshot of the
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   662
ongoing evaluation process.  Note that in batch mode --- notably
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   663
isabelle build --- the system ensures that future proofs of all
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   664
accessible theorems in the theory context are finished (as before).
3dec88149176 theorem status about oracles/futures is no longer printed by default;
wenzelm
parents: 50119
diff changeset
   665
49699
1301ed115729 some documentation of show_markup;
wenzelm
parents: 49647
diff changeset
   666
* Configuration option show_markup controls direct inlining of markup
1301ed115729 some documentation of show_markup;
wenzelm
parents: 49647
diff changeset
   667
into the printed representation of formal entities --- notably type
1301ed115729 some documentation of show_markup;
wenzelm
parents: 49647
diff changeset
   668
and sort constraints.  This enables Prover IDE users to retrieve that
1301ed115729 some documentation of show_markup;
wenzelm
parents: 49647
diff changeset
   669
information via tooltips in the output window, for example.
1301ed115729 some documentation of show_markup;
wenzelm
parents: 49647
diff changeset
   670
48890
d72ca5742f80 'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents: 48844
diff changeset
   671
* Command 'ML_file' evaluates ML text from a file directly within the
d72ca5742f80 'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents: 48844
diff changeset
   672
theory, without any predeclaration via 'uses' in the theory header.
d72ca5742f80 'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents: 48844
diff changeset
   673
49243
ded41f584938 more explicit indication of legacy features;
wenzelm
parents: 49190
diff changeset
   674
* Old command 'use' command and corresponding keyword 'uses' in the
ded41f584938 more explicit indication of legacy features;
wenzelm
parents: 49190
diff changeset
   675
theory header are legacy features and will be discontinued soon.
ded41f584938 more explicit indication of legacy features;
wenzelm
parents: 49190
diff changeset
   676
Tools that load their additional source files may imitate the
ded41f584938 more explicit indication of legacy features;
wenzelm
parents: 49190
diff changeset
   677
'ML_file' implementation, such that the system can take care of
ded41f584938 more explicit indication of legacy features;
wenzelm
parents: 49190
diff changeset
   678
dependencies properly.
ded41f584938 more explicit indication of legacy features;
wenzelm
parents: 49190
diff changeset
   679
47967
c422128d3889 discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents: 47958
diff changeset
   680
* Discontinued obsolete method fastsimp / tactic fast_simp_tac, which
c422128d3889 discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents: 47958
diff changeset
   681
is called fastforce / fast_force_tac already since Isabelle2011-1.
c422128d3889 discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents: 47958
diff changeset
   682
50110
wenzelm
parents: 50034
diff changeset
   683
* Updated and extended "isar-ref" and "implementation" manual, reduced
wenzelm
parents: 50034
diff changeset
   684
remaining material in old "ref" manual.
48120
9fe0e71052a0 updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents: 48111
diff changeset
   685
51050
wenzelm
parents: 50993
diff changeset
   686
* Improved support for auxiliary contexts that indicate block structure
wenzelm
parents: 50993
diff changeset
   687
for specifications.  Nesting of "context fixes ... context assumes ..."
49841
18cb42182d3e more NEWS;
wenzelm
parents: 49836
diff changeset
   688
and "class ... context ...".
18cb42182d3e more NEWS;
wenzelm
parents: 49836
diff changeset
   689
50772
6973b3f41334 allow negative argument in "consumes" source format;
wenzelm
parents: 50731
diff changeset
   690
* Attribute "consumes" allows a negative value as well, which is
50778
15dc91cf4750 tune spelling;
wenzelm
parents: 50772
diff changeset
   691
interpreted relatively to the total number of premises of the rule in
50772
6973b3f41334 allow negative argument in "consumes" source format;
wenzelm
parents: 50731
diff changeset
   692
the target context.  This form of declaration is stable when exported
6973b3f41334 allow negative argument in "consumes" source format;
wenzelm
parents: 50731
diff changeset
   693
from a nested 'context' with additional assumptions.  It is the
6973b3f41334 allow negative argument in "consumes" source format;
wenzelm
parents: 50731
diff changeset
   694
preferred form for definitional packages, notably cases/rules produced
6973b3f41334 allow negative argument in "consumes" source format;
wenzelm
parents: 50731
diff changeset
   695
in HOL/inductive and HOL/function.
6973b3f41334 allow negative argument in "consumes" source format;
wenzelm
parents: 50731
diff changeset
   696
49869
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
   697
* More informative error messages for Isar proof commands involving
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
   698
lazy enumerations (method applications etc.).
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
   699
50213
7b73c0509835 refined outer syntax 'help' command;
wenzelm
parents: 50198
diff changeset
   700
* Refined 'help' command to retrieve outer syntax commands according
7b73c0509835 refined outer syntax 'help' command;
wenzelm
parents: 50198
diff changeset
   701
to name patterns (with clickable results).
7b73c0509835 refined outer syntax 'help' command;
wenzelm
parents: 50198
diff changeset
   702
47967
c422128d3889 discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents: 47958
diff changeset
   703
49968
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   704
*** Prover IDE -- Isabelle/Scala/jEdit ***
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   705
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   706
* Parallel terminal proofs ('by') are enabled by default, likewise
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   707
proofs that are built into packages like 'datatype', 'function'.  This
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   708
allows to "run ahead" checking the theory specifications on the
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   709
surface, while the prover is still crunching on internal
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   710
justifications.  Unfinished / cancelled proofs are restarted as
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   711
required to complete full proof checking eventually.
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   712
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   713
* Improved output panel with tooltips, hyperlinks etc. based on the
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   714
same Rich_Text_Area as regular Isabelle/jEdit buffers.  Activation of
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   715
tooltips leads to some window that supports the same recursively,
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   716
which can lead to stacks of tooltips as the semantic document content
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   717
is explored.  ESCAPE closes the whole stack, individual windows may be
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   718
closed separately, or detached to become independent jEdit dockables.
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   719
50717
30bcdd5c8e78 more NEWS;
wenzelm
parents: 50716
diff changeset
   720
* Improved support for commands that produce graph output: the text
30bcdd5c8e78 more NEWS;
wenzelm
parents: 50716
diff changeset
   721
message contains a clickable area to open a new instance of the graph
30bcdd5c8e78 more NEWS;
wenzelm
parents: 50716
diff changeset
   722
browser on demand.
30bcdd5c8e78 more NEWS;
wenzelm
parents: 50716
diff changeset
   723
49968
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   724
* More robust incremental parsing of outer syntax (partial comments,
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   725
malformed symbols).  Changing the balance of open/close quotes and
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   726
comment delimiters works more conveniently with unfinished situations
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   727
that frequently occur in user interaction.
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   728
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   729
* More efficient painting and improved reactivity when editing large
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   730
files.  More scalable management of formal document content.
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   731
50505
33c92722cc3d smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents: 50455
diff changeset
   732
* Smarter handling of tracing messages: prover process pauses after
33c92722cc3d smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents: 50455
diff changeset
   733
certain number of messages per command transaction, with some user
33c92722cc3d smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents: 50455
diff changeset
   734
dialog to stop or continue.  This avoids swamping the front-end with
50119
5c370a036de7 more generous tracing_limit, with explicit system option;
wenzelm
parents: 50118
diff changeset
   735
potentially infinite message streams.
49968
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   736
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   737
* More plugin options and preferences, based on Isabelle/Scala.  The
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   738
jEdit plugin option panel provides access to some Isabelle/Scala
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   739
options, including tuning parameters for editor reactivity and color
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   740
schemes.
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   741
50184
5a16f42a9b44 more NEWS/CONTRIBUTORS;
wenzelm
parents: 50183
diff changeset
   742
* Dockable window "Symbols" provides some editing support for Isabelle
5a16f42a9b44 more NEWS/CONTRIBUTORS;
wenzelm
parents: 50183
diff changeset
   743
symbols.
5a16f42a9b44 more NEWS/CONTRIBUTORS;
wenzelm
parents: 50183
diff changeset
   744
51082
55b82b1417d1 updated PIDE notes;
wenzelm
parents: 51063
diff changeset
   745
* Dockable window "Monitor" shows ML runtime statistics.  Note that
55b82b1417d1 updated PIDE notes;
wenzelm
parents: 51063
diff changeset
   746
continuous display of the chart slows down the system.
50701
054f6bf349d2 NEWS: ML runtime statistics;
wenzelm
parents: 50646
diff changeset
   747
50183
2b3e24e1c9e7 improved editing support for control styles;
wenzelm
parents: 50182
diff changeset
   748
* Improved editing support for control styles: subscript, superscript,
2b3e24e1c9e7 improved editing support for control styles;
wenzelm
parents: 50182
diff changeset
   749
bold, reset of style -- operating on single symbols or text
50198
0c7b351a6871 added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents: 50184
diff changeset
   750
selections.  Cf. keyboard shortcuts C+e DOWN/UP/RIGHT/LEFT.
0c7b351a6871 added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents: 50184
diff changeset
   751
0c7b351a6871 added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents: 50184
diff changeset
   752
* Actions isabelle.increase-font-size and isabelle.decrease-font-size
0c7b351a6871 added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents: 50184
diff changeset
   753
adjust the main text area font size, and its derivatives for output,
50836
c95af99e003b more NEWS;
wenzelm
parents: 50778
diff changeset
   754
tooltips etc.  Cf. keyboard shortcuts C-PLUS and C-MINUS, which often
c95af99e003b more NEWS;
wenzelm
parents: 50778
diff changeset
   755
need to be adapted to local keyboard layouts.
50183
2b3e24e1c9e7 improved editing support for control styles;
wenzelm
parents: 50182
diff changeset
   756
50730
883963f45ac9 more reactive completion popup by default;
wenzelm
parents: 50717
diff changeset
   757
* More reactive completion popup by default: use \t (TAB) instead of
883963f45ac9 more reactive completion popup by default;
wenzelm
parents: 50717
diff changeset
   758
\n (NEWLINE) to minimize intrusion into regular flow of editing.  See
883963f45ac9 more reactive completion popup by default;
wenzelm
parents: 50717
diff changeset
   759
also "Plugin Options / SideKick / General / Code Completion Options".
883963f45ac9 more reactive completion popup by default;
wenzelm
parents: 50717
diff changeset
   760
50406
c28753665b8e documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents: 50232
diff changeset
   761
* Implicit check and build dialog of the specified logic session
c28753665b8e documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents: 50232
diff changeset
   762
image.  For example, HOL, HOLCF, HOL-Nominal can be produced on
c28753665b8e documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents: 50232
diff changeset
   763
demand, without bundling big platform-dependent heap images in the
c28753665b8e documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents: 50232
diff changeset
   764
Isabelle distribution.
c28753665b8e documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents: 50232
diff changeset
   765
49968
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   766
* Uniform Java 7 platform on Linux, Mac OS X, Windows: recent updates
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   767
from Oracle provide better multi-platform experience.  This version is
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   768
now bundled exclusively with Isabelle.
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   769
d9e08e2555f9 more detailed Prover IDE NEWS;
wenzelm
parents: 49963
diff changeset
   770
48205
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   771
*** Pure ***
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   772
48431
6efff142bb54 restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents: 48428
diff changeset
   773
* Code generation for Haskell: restrict unqualified imports from
6efff142bb54 restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents: 48428
diff changeset
   774
Haskell Prelude to a small set of fundamental operations.
6efff142bb54 restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents: 48428
diff changeset
   775
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   776
* Command 'export_code': relative file names are interpreted
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   777
relatively to master directory of current theory rather than the
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   778
rather arbitrary current working directory.  INCOMPATIBILITY.
48371
3a5a5a992519 export code relatively to master directory
haftmann
parents: 48317
diff changeset
   779
48205
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   780
* Discontinued obsolete attribute "COMP".  Potential INCOMPATIBILITY,
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   781
use regular rule composition via "OF" / "THEN", or explicit proof
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   782
structure instead.  Note that Isabelle/ML provides a variety of
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   783
operators like COMP, INCR_COMP, COMP_INCR, which need to be applied
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   784
with some care where this is really required.
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   785
48792
4aa5b965f70e support for 'typ' with explicit sort constraint;
wenzelm
parents: 48736
diff changeset
   786
* Command 'typ' supports an additional variant with explicit sort
4aa5b965f70e support for 'typ' with explicit sort constraint;
wenzelm
parents: 48736
diff changeset
   787
constraint, to infer and check the most general type conforming to a
51063
wenzelm
parents: 51056
diff changeset
   788
given sort.  Example (in HOL):
48792
4aa5b965f70e support for 'typ' with explicit sort constraint;
wenzelm
parents: 48736
diff changeset
   789
4aa5b965f70e support for 'typ' with explicit sort constraint;
wenzelm
parents: 48736
diff changeset
   790
  typ "_ * _ * bool * unit" :: finite
4aa5b965f70e support for 'typ' with explicit sort constraint;
wenzelm
parents: 48736
diff changeset
   791
50716
e04c44dc11fc document 'locale_deps';
wenzelm
parents: 50701
diff changeset
   792
* Command 'locale_deps' visualizes all locales and their relations as
e04c44dc11fc document 'locale_deps';
wenzelm
parents: 50701
diff changeset
   793
a Hasse diagram.
e04c44dc11fc document 'locale_deps';
wenzelm
parents: 50701
diff changeset
   794
48205
09c2a3d9aa22 discontinued obsolete attribute "COMP";
wenzelm
parents: 48171
diff changeset
   795
48013
44de84112a67 added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents: 47979
diff changeset
   796
*** HOL ***
44de84112a67 added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents: 47979
diff changeset
   797
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   798
* Sledgehammer:
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   799
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   800
  - Added MaSh relevance filter based on machine-learning; see the
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   801
    Sledgehammer manual for details.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   802
  - Polished Isar proofs generated with "isar_proofs" option.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   803
  - Rationalized type encodings ("type_enc" option).
50720
834847691d99 updated docs
blanchet
parents: 50717
diff changeset
   804
  - Renamed "kill_provers" subcommand to "kill_all".
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   805
  - Renamed options:
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   806
      isar_proof ~> isar_proofs
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   807
      isar_shrink_factor ~> isar_shrink
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   808
      max_relevant ~> max_facts
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   809
      relevance_thresholds ~> fact_thresholds
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   810
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   811
* Quickcheck: added an optimisation for equality premises.  It is
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   812
switched on by default, and can be switched off by setting the
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   813
configuration quickcheck_optimise_equality to false.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   814
50878
kuncar
parents: 50836
diff changeset
   815
* Quotient: only one quotient can be defined by quotient_type
kuncar
parents: 50836
diff changeset
   816
INCOMPATIBILITY.
kuncar
parents: 50836
diff changeset
   817
kuncar
parents: 50836
diff changeset
   818
* Lifting:
kuncar
parents: 50836
diff changeset
   819
  - generation of an abstraction function equation in lift_definition
kuncar
parents: 50836
diff changeset
   820
  - quot_del attribute
kuncar
parents: 50836
diff changeset
   821
  - renamed no_abs_code -> no_code (INCOMPATIBILITY.)
kuncar
parents: 50836
diff changeset
   822
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   823
* Simproc "finite_Collect" rewrites set comprehensions into pointfree
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   824
expressions.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   825
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   826
* Preprocessing of the code generator rewrites set comprehensions into
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   827
pointfree expressions.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   828
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   829
* The SMT solver Z3 has now by default a restricted set of directly
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   830
supported features. For the full set of features (div/mod, nonlinear
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   831
arithmetic, datatypes/records) with potential proof reconstruction
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   832
failures, enable the configuration option "z3_with_extensions".  Minor
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   833
INCOMPATIBILITY.
49948
744934b818c7 moved quite generic material from theory Enum to more appropriate places
haftmann
parents: 49918
diff changeset
   834
49836
c13b39542972 simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents: 49822
diff changeset
   835
* Simplified 'typedef' specifications: historical options for implicit
c13b39542972 simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents: 49822
diff changeset
   836
set definition and alternative name have been discontinued.  The
c13b39542972 simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents: 49822
diff changeset
   837
former behavior of "typedef (open) t = A" is now the default, but
c13b39542972 simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents: 49822
diff changeset
   838
written just "typedef t = A".  INCOMPATIBILITY, need to adapt theories
c13b39542972 simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents: 49822
diff changeset
   839
accordingly.
c13b39542972 simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents: 49822
diff changeset
   840
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   841
* Removed constant "chars"; prefer "Enum.enum" on type "char"
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   842
directly.  INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   843
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   844
* Moved operation product, sublists and n_lists from theory Enum to
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   845
List.  INCOMPATIBILITY.
49822
0cfc1651be25 simplified construction of fold combinator on multisets;
haftmann
parents: 49770
diff changeset
   846
49739
13aa6d8268ec consolidated names of theorems on composition;
haftmann
parents: 49738
diff changeset
   847
* Theorem UN_o generalized to SUP_comp.  INCOMPATIBILITY.
13aa6d8268ec consolidated names of theorems on composition;
haftmann
parents: 49738
diff changeset
   848
49738
1e1611fd32df corrected NEWS
haftmann
parents: 49699
diff changeset
   849
* Class "comm_monoid_diff" formalises properties of bounded
49388
1ffd5a055acf typeclass formalising bounded subtraction
haftmann
parents: 49365
diff changeset
   850
subtraction, with natural numbers and multisets as typical instances.
1ffd5a055acf typeclass formalising bounded subtraction
haftmann
parents: 49365
diff changeset
   851
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   852
* Added combinator "Option.these" with type "'a option set => 'a set".
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   853
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   854
* Theory "Transitive_Closure": renamed lemmas
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   855
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   856
  reflcl_tranclp -> reflclp_tranclp
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   857
  rtranclp_reflcl -> rtranclp_reflclp
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   858
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   859
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   860
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   861
* Theory "Rings": renamed lemmas (in class semiring)
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   862
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   863
  left_distrib ~> distrib_right
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   864
  right_distrib ~> distrib_left
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   865
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   866
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   867
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   868
* Generalized the definition of limits:
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   869
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   870
  - Introduced the predicate filterlim (LIM x F. f x :> G) which
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   871
    expresses that when the input values x converge to F then the
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   872
    output f x converges to G.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   873
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   874
  - Added filters for convergence to positive (at_top) and negative
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   875
    infinity (at_bot).
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   876
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   877
  - Moved infinity in the norm (at_infinity) from
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   878
    Multivariate_Analysis to Complex_Main.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   879
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   880
  - Removed real_tendsto_inf, it is superseded by "LIM x F. f x :>
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   881
    at_top".
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   882
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   883
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   884
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   885
* Theory "Library/Option_ord" provides instantiation of option type to
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   886
lattice type classes.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   887
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   888
* Theory "Library/Multiset": renamed
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   889
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   890
    constant fold_mset ~> Multiset.fold
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   891
    fact fold_mset_commute ~> fold_mset_comm
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   892
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   893
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   894
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   895
* Renamed theory Library/List_Prefix to Library/Sublist, with related
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   896
changes as follows.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   897
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   898
  - Renamed constants (and related lemmas)
49145
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   899
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   900
      prefix ~> prefixeq
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   901
      strict_prefix ~> prefix
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   902
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   903
  - Replaced constant "postfix" by "suffixeq" with swapped argument
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   904
    order (i.e., "postfix xs ys" is now "suffixeq ys xs") and dropped
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   905
    old infix syntax "xs >>= ys"; use "suffixeq ys xs" instead.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   906
    Renamed lemmas accordingly.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   907
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   908
  - Added constant "list_hembeq" for homeomorphic embedding on
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   909
    lists. Added abbreviation "sublisteq" for special case
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   910
    "list_hembeq (op =)".
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   911
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   912
  - Theory Library/Sublist no longer provides "order" and "bot" type
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   913
    class instances for the prefix order (merely corresponding locale
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   914
    interpretations). The type class instances are now in theory
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   915
    Library/Prefix_Order.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   916
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   917
  - The sublist relation of theory Library/Sublist_Order is now based
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   918
    on "Sublist.sublisteq".  Renamed lemmas accordingly:
50516
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   919
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   920
      le_list_append_le_same_iff ~> Sublist.sublisteq_append_le_same_iff
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   921
      le_list_append_mono ~> Sublist.list_hembeq_append_mono
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   922
      le_list_below_empty ~> Sublist.list_hembeq_Nil, Sublist.list_hembeq_Nil2
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   923
      le_list_Cons_EX ~> Sublist.list_hembeq_ConsD
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   924
      le_list_drop_Cons2 ~> Sublist.sublisteq_Cons2'
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   925
      le_list_drop_Cons_neq ~> Sublist.sublisteq_Cons2_neq
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   926
      le_list_drop_Cons ~> Sublist.sublisteq_Cons'
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   927
      le_list_drop_many ~> Sublist.sublisteq_drop_many
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   928
      le_list_filter_left ~> Sublist.sublisteq_filter_left
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   929
      le_list_rev_drop_many ~> Sublist.sublisteq_rev_drop_many
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   930
      le_list_rev_take_iff ~> Sublist.sublisteq_append
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   931
      le_list_same_length ~> Sublist.sublisteq_same_length
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   932
      le_list_take_many_iff ~> Sublist.sublisteq_append'
49145
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   933
      less_eq_list.drop ~> less_eq_list_drop
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   934
      less_eq_list.induct ~> less_eq_list_induct
50516
ed6b40d15d1c renamed "emb" to "list_hembeq";
Christian Sternagel
parents: 50455
diff changeset
   935
      not_le_list_length ~> Sublist.not_sublisteq_length
49145
0ee5983e3d59 NEWS; CONTRIBUTORS
Christian Sternagel
parents: 49072
diff changeset
   936
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   937
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   938
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   939
* New theory Library/Countable_Set.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   940
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   941
* Theory Library/Debug and Library/Parallel provide debugging and
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   942
parallel execution for code generated towards Isabelle/ML.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   943
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   944
* Theory Library/FuncSet: Extended support for Pi and extensional and
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   945
introduce the extensional dependent function space "PiE". Replaced
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   946
extensional_funcset by an abbreviation, and renamed lemmas from
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   947
extensional_funcset to PiE as follows:
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   948
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   949
  extensional_empty  ~>  PiE_empty
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   950
  extensional_funcset_empty_domain  ~>  PiE_empty_domain
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   951
  extensional_funcset_empty_range  ~>  PiE_empty_range
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   952
  extensional_funcset_arb  ~>  PiE_arb
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   953
  extensional_funcset_mem  ~>  PiE_mem
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   954
  extensional_funcset_extend_domainI  ~>  PiE_fun_upd
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   955
  extensional_funcset_restrict_domain  ~>  fun_upd_in_PiE
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   956
  extensional_funcset_extend_domain_eq  ~>  PiE_insert_eq
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   957
  card_extensional_funcset  ~>  card_PiE
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   958
  finite_extensional_funcset  ~>  finite_PiE
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   959
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   960
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   961
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   962
* Theory Library/FinFun: theory of almost everywhere constant
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   963
functions (supersedes the AFP entry "Code Generation for Functions as
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   964
Data").
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   965
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   966
* Theory Library/Phantom: generic phantom type to make a type
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   967
parameter appear in a constant's type.  This alternative to adding
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   968
TYPE('a) as another parameter avoids unnecessary closures in generated
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   969
code.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   970
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   971
* Theory Library/RBT_Impl: efficient construction of red-black trees
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   972
from sorted associative lists. Merging two trees with rbt_union may
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   973
return a structurally different tree than before.  Potential
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   974
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   975
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   976
* Theory Library/IArray: immutable arrays with code generation.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   977
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   978
* Theory Library/Finite_Lattice: theory of finite lattices.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   979
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   980
* HOL/Multivariate_Analysis: replaced
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   981
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   982
  "basis :: 'a::euclidean_space => nat => real"
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   983
  "\<Chi>\<Chi> :: (nat => real) => 'a::euclidean_space"
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   984
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   985
on euclidean spaces by using the inner product "_ \<bullet> _" with
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   986
vectors from the Basis set: "\<Chi>\<Chi> i. f i" is superseded by
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   987
"SUM i : Basis. f i * r i".
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   988
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   989
  With this change the following constants are also changed or removed:
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   990
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   991
    DIM('a) :: nat  ~>  card (Basis :: 'a set)   (is an abbreviation)
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   992
    a $$ i  ~>  inner a i  (where i : Basis)
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   993
    cart_base i  removed
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
   994
    \<pi>, \<pi>'  removed
50526
899c9c4e4a4c Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents: 50525
diff changeset
   995
899c9c4e4a4c Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents: 50525
diff changeset
   996
  Theorems about these constants where removed.
899c9c4e4a4c Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents: 50525
diff changeset
   997
899c9c4e4a4c Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents: 50525
diff changeset
   998
  Renamed lemmas:
899c9c4e4a4c Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents: 50525
diff changeset
   999
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1000
    component_le_norm  ~>  Basis_le_norm
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1001
    euclidean_eq  ~>  euclidean_eq_iff
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1002
    differential_zero_maxmin_component  ~>  differential_zero_maxmin_cart
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1003
    euclidean_simps  ~>  inner_simps
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1004
    independent_basis  ~>  independent_Basis
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1005
    span_basis  ~>  span_Basis
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1006
    in_span_basis  ~>  in_span_Basis
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1007
    norm_bound_component_le  ~>  norm_boound_Basis_le
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1008
    norm_bound_component_lt  ~>  norm_boound_Basis_lt
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1009
    component_le_infnorm  ~>  Basis_le_infnorm
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1010
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1011
INCOMPATIBILITY.
50526
899c9c4e4a4c Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents: 50525
diff changeset
  1012
50141
15523888c11b NEWS: document changes in HOL-Probability
hoelzl
parents: 50140
diff changeset
  1013
* HOL/Probability:
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1014
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1015
  - Added simproc "measurable" to automatically prove measurability.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1016
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1017
  - Added induction rules for sigma sets with disjoint union
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1018
    (sigma_sets_induct_disjoint) and for Borel-measurable functions
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1019
    (borel_measurable_induct).
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1020
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1021
  - Added the Daniell-Kolmogorov theorem (the existence the limit of a
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1022
    projective family).
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1023
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1024
* HOL/Cardinals: Theories of ordinals and cardinals (supersedes the
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1025
AFP entry "Ordinals_and_Cardinals").
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1026
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1027
* HOL/BNF: New (co)datatype package based on bounded natural functors
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1028
with support for mixed, nested recursion and interesting non-free
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1029
datatypes.
48094
c3d4f4d9e54c updated NEWS
blanchet
parents: 48069
diff changeset
  1030
50991
b3c6c9ef11b8 misc tuning for release;
wenzelm
parents: 50878
diff changeset
  1031
* HOL/Finite_Set and Relation: added new set and relation operations
50878
kuncar
parents: 50836
diff changeset
  1032
expressed by Finite_Set.fold.
kuncar
parents: 50836
diff changeset
  1033
kuncar
parents: 50836
diff changeset
  1034
* New theory HOL/Library/RBT_Set: implementation of sets by red-black
kuncar
parents: 50836
diff changeset
  1035
trees for the code generator.
kuncar
parents: 50836
diff changeset
  1036
kuncar
parents: 50836
diff changeset
  1037
* HOL/Library/RBT and HOL/Library/Mapping have been converted to
kuncar
parents: 50836
diff changeset
  1038
Lifting/Transfer.
kuncar
parents: 50836
diff changeset
  1039
possible INCOMPATIBILITY.
kuncar
parents: 50836
diff changeset
  1040
kuncar
parents: 50836
diff changeset
  1041
* HOL/Set: renamed Set.project -> Set.filter
kuncar
parents: 50836
diff changeset
  1042
INCOMPATIBILITY.
kuncar
parents: 50836
diff changeset
  1043
48120
9fe0e71052a0 updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents: 48111
diff changeset
  1044
48206
wenzelm
parents: 48205
diff changeset
  1045
*** Document preparation ***
wenzelm
parents: 48205
diff changeset
  1046
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1047
* Dropped legacy antiquotations "term_style" and "thm_style", since
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1048
styles may be given as arguments to "term" and "thm" already.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1049
Discontinued legacy styles "prem1" .. "prem19".
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1050
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1051
* Default LaTeX rendering for \<euro> is now based on eurosym package,
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1052
instead of slightly exotic babel/greek.
48206
wenzelm
parents: 48205
diff changeset
  1053
48616
be8002ee43d8 document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents: 48586
diff changeset
  1054
* Document variant NAME may use different LaTeX entry point
be8002ee43d8 document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents: 48586
diff changeset
  1055
document/root_NAME.tex if that file exists, instead of the common
be8002ee43d8 document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents: 48586
diff changeset
  1056
document/root.tex.
be8002ee43d8 document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents: 48586
diff changeset
  1057
48657
63ef2f0cf8bb simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents: 48616
diff changeset
  1058
* Simplified custom document/build script, instead of old-style
63ef2f0cf8bb simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents: 48616
diff changeset
  1059
document/IsaMakefile.  Minor INCOMPATIBILITY.
63ef2f0cf8bb simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents: 48616
diff changeset
  1060
48206
wenzelm
parents: 48205
diff changeset
  1061
48992
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1062
*** ML ***
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1063
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1064
* The default limit for maximum number of worker threads is now 8,
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1065
instead of 4, in correspondence to capabilities of contemporary
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1066
hardware and Poly/ML runtime system.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1067
49869
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
  1068
* Type Seq.results and related operations support embedded error
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
  1069
messages within lazy enumerations, and thus allow to provide
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
  1070
informative errors in the absence of any usable results.
bd370af308f0 support for more informative errors in lazy enumerations;
wenzelm
parents: 49841
diff changeset
  1071
48992
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1072
* Renamed Position.str_of to Position.here to emphasize that this is a
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1073
formal device to inline positions into message text, but not
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1074
necessarily printing visible text.
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1075
0518bf89c777 renamed Position.str_of to Position.here;
wenzelm
parents: 48977
diff changeset
  1076
48206
wenzelm
parents: 48205
diff changeset
  1077
*** System ***
wenzelm
parents: 48205
diff changeset
  1078
48585
a82910dd2270 announce advanced support for Isabelle sessions and build management;
wenzelm
parents: 48574
diff changeset
  1079
* Advanced support for Isabelle sessions and build management, see
a82910dd2270 announce advanced support for Isabelle sessions and build management;
wenzelm
parents: 48574
diff changeset
  1080
"system" manual for the chapter of that name, especially the "isabelle
51056
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1081
build" tool and its examples.  The "isabelle mkroot" tool prepares
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1082
session root directories for use with "isabelle build", similar to
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1083
former "isabelle mkdir" for "isabelle usedir".  Note that this affects
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1084
document preparation as well.  INCOMPATIBILITY, isabelle usedir /
48736
292b97e17fb7 discontinued obsolete "isabelle makeall";
wenzelm
parents: 48722
diff changeset
  1085
mkdir / make are rendered obsolete.
292b97e17fb7 discontinued obsolete "isabelle makeall";
wenzelm
parents: 48722
diff changeset
  1086
51056
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1087
* Discontinued obsolete Isabelle/build script, it is superseded by the
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1088
regular isabelle build tool.  For example:
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1089
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1090
  isabelle build -s -b HOL
fbcc2d314635 clarified NEWS on isabelle build and mkroot;
wenzelm
parents: 51050
diff changeset
  1091
48736
292b97e17fb7 discontinued obsolete "isabelle makeall";
wenzelm
parents: 48722
diff changeset
  1092
* Discontinued obsolete "isabelle makeall".
48585
a82910dd2270 announce advanced support for Isabelle sessions and build management;
wenzelm
parents: 48574
diff changeset
  1093
48722
a5e3ba7cbb2a discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents: 48693
diff changeset
  1094
* Discontinued obsolete IsaMakefile and ROOT.ML files from the
a5e3ba7cbb2a discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents: 48693
diff changeset
  1095
Isabelle distribution, except for rudimentary src/HOL/IsaMakefile that
a5e3ba7cbb2a discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents: 48693
diff changeset
  1096
provides some traditional targets that invoke "isabelle build".  Note
a5e3ba7cbb2a discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents: 48693
diff changeset
  1097
that this is inefficient!  Applications of Isabelle/HOL involving
a5e3ba7cbb2a discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents: 48693
diff changeset
  1098
"isabelle make" should be upgraded to use "isabelle build" directly.
a5e3ba7cbb2a discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents: 48693
diff changeset
  1099
48693
ceeea46bdeba "isabelle options" prints Isabelle system options;
wenzelm
parents: 48683
diff changeset
  1100
* The "isabelle options" tool prints Isabelle system options, as
ceeea46bdeba "isabelle options" prints Isabelle system options;
wenzelm
parents: 48683
diff changeset
  1101
required for "isabelle build", for example.
ceeea46bdeba "isabelle options" prints Isabelle system options;
wenzelm
parents: 48683
diff changeset
  1102
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1103
* The "isabelle logo" tool produces EPS and PDF format simultaneously.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1104
Minor INCOMPATIBILITY in command-line options.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1105
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1106
* The "isabelle install" tool has now a simpler command-line.  Minor
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1107
INCOMPATIBILITY.
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1108
48844
6408fb6f7d81 some explanations on isabelle components;
wenzelm
parents: 48792
diff changeset
  1109
* The "isabelle components" tool helps to resolve add-on components
6408fb6f7d81 some explanations on isabelle components;
wenzelm
parents: 48792
diff changeset
  1110
that are not bundled, or referenced from a bare-bones repository
6408fb6f7d81 some explanations on isabelle components;
wenzelm
parents: 48792
diff changeset
  1111
version of Isabelle.
6408fb6f7d81 some explanations on isabelle components;
wenzelm
parents: 48792
diff changeset
  1112
50646
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1113
* Settings variable ISABELLE_PLATFORM_FAMILY refers to the general
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1114
platform family: "linux", "macos", "windows".
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1115
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1116
* The ML system is configured as regular component, and no longer
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1117
picked up from some surrounding directory.  Potential INCOMPATIBILITY
c02e6a75aa3f misc tuning for release;
wenzelm
parents: 50645
diff changeset
  1118
for home-made settings.
50132
180d086c30dd simplified command line of "isabelle install";
wenzelm
parents: 50126
diff changeset
  1119
50701
054f6bf349d2 NEWS: ML runtime statistics;
wenzelm
parents: 50646
diff changeset
  1120
* Improved ML runtime statistics (heap, threads, future tasks etc.).
054f6bf349d2 NEWS: ML runtime statistics;
wenzelm
parents: 50646
diff changeset
  1121
48206
wenzelm
parents: 48205
diff changeset
  1122
* Discontinued support for Poly/ML 5.2.1, which was the last version
wenzelm
parents: 48205
diff changeset
  1123
without exception positions and advanced ML compiler/toplevel
wenzelm
parents: 48205
diff changeset
  1124
configuration.
wenzelm
parents: 48205
diff changeset
  1125
48574
4af9f3122138 discontinued special treatment of Proof General;
wenzelm
parents: 48431
diff changeset
  1126
* Discontinued special treatment of Proof General -- no longer guess
4af9f3122138 discontinued special treatment of Proof General;
wenzelm
parents: 48431
diff changeset
  1127
PROOFGENERAL_HOME based on accidental file-system layout.  Minor
4af9f3122138 discontinued special treatment of Proof General;
wenzelm
parents: 48431
diff changeset
  1128
INCOMPATIBILITY: provide PROOFGENERAL_HOME and PROOFGENERAL_OPTIONS
4af9f3122138 discontinued special treatment of Proof General;
wenzelm
parents: 48431
diff changeset
  1129
settings manually, or use a Proof General version that has been
4af9f3122138 discontinued special treatment of Proof General;
wenzelm
parents: 48431
diff changeset
  1130
bundled as Isabelle component.
48206
wenzelm
parents: 48205
diff changeset
  1131
50182
30177ec0be36 added ISABELLE_PLATFORM_FAMILY;
wenzelm
parents: 50141
diff changeset
  1132
48120
9fe0e71052a0 updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents: 48111
diff changeset
  1133
47462
8f85051693d1 some updates for release;
wenzelm
parents: 47461
diff changeset
  1134
New in Isabelle2012 (May 2012)
8f85051693d1 some updates for release;
wenzelm
parents: 47461
diff changeset
  1135
------------------------------
45109
20b3377b08d7 back to post-release mode;
wenzelm
parents: 45089
diff changeset
  1136
45593
wenzelm
parents: 45592
diff changeset
  1137
*** General ***
wenzelm
parents: 45592
diff changeset
  1138
45614
wenzelm
parents: 45600
diff changeset
  1139
* Prover IDE (PIDE) improvements:
wenzelm
parents: 45600
diff changeset
  1140
47585
6eb3b3ae4ccb more robust Sledgehammer in Prover IDE;
wenzelm
parents: 47567
diff changeset
  1141
  - more robust Sledgehammer integration (as before the sledgehammer
47806
wenzelm
parents: 47751
diff changeset
  1142
    command-line needs to be typed into the source buffer)
45614
wenzelm
parents: 45600
diff changeset
  1143
  - markup for bound variables
47806
wenzelm
parents: 47751
diff changeset
  1144
  - markup for types of term variables (displayed as tooltips)
46956
9ff441f295c2 Isabelle/jEdit supports user-defined Isar commands within the running session;
wenzelm
parents: 46948
diff changeset
  1145
  - support for user-defined Isar commands within the running session
47158
d317a71f24d5 updated to jedit-4.5.1;
wenzelm
parents: 47142
diff changeset
  1146
  - improved support for Unicode outside original 16bit range
d317a71f24d5 updated to jedit-4.5.1;
wenzelm
parents: 47142
diff changeset
  1147
    e.g. glyph for \<A> (thanks to jEdit 4.5.1)
45614
wenzelm
parents: 45600
diff changeset
  1148
47806
wenzelm
parents: 47751
diff changeset
  1149
* Forward declaration of outer syntax keywords within the theory
wenzelm
parents: 47751
diff changeset
  1150
header -- minor INCOMPATIBILITY for user-defined commands.  Allow new
wenzelm
parents: 47751
diff changeset
  1151
commands to be used in the same theory where defined.
46485
wenzelm
parents: 46483
diff changeset
  1152
47482
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1153
* Auxiliary contexts indicate block structure for specifications with
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1154
additional parameters and assumptions.  Such unnamed contexts may be
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1155
nested within other targets, like 'theory', 'locale', 'class',
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1156
'instantiation' etc.  Results from the local context are generalized
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1157
accordingly and applied to the enclosing target context.  Example:
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1158
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1159
  context
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1160
    fixes x y z :: 'a
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1161
    assumes xy: "x = y" and yz: "y = z"
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1162
  begin
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1163
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1164
  lemma my_trans: "x = z" using xy yz by simp
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1165
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1166
  end
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1167
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1168
  thm my_trans
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1169
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1170
The most basic application is to factor-out context elements of
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1171
several fixes/assumes/shows theorem statements, e.g. see
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1172
~~/src/HOL/Isar_Examples/Group_Context.thy
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1173
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1174
Any other local theory specification element works within the "context
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1175
... begin ... end" block as well.
a83b25e5bad3 some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents: 47464
diff changeset
  1176
47484
e94cc23d434a some coverage of bundled declarations;
wenzelm
parents: 47482
diff changeset
  1177
* Bundled declarations associate attributed fact expressions with a
e94cc23d434a some coverage of bundled declarations;
wenzelm
parents: 47482
diff changeset
  1178
given name in the context.  These may be later included in other
e94cc23d434a some coverage of bundled declarations;
wenzelm
parents: 47482
diff changeset
  1179
contexts.  This allows to manage context extensions casually, without
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1180
the logical dependencies of locales and locale interpretation.  See
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1181
commands 'bundle', 'include', 'including' etc. in the isar-ref manual.
47484
e94cc23d434a some coverage of bundled declarations;
wenzelm
parents: 47482
diff changeset
  1182
47829
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1183
* Commands 'lemmas' and 'theorems' allow local variables using 'for'
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1184
declaration, and results are standardized before being stored.  Thus
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1185
old-style "standard" after instantiation or composition of facts
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1186
becomes obsolete.  Minor INCOMPATIBILITY, due to potential change of
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1187
indices of schematic variables.
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1188
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1189
* Rule attributes in local theory declarations (e.g. locale or class)
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1190
are now statically evaluated: the resulting theorem is stored instead
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1191
of the original expression.  INCOMPATIBILITY in rare situations, where
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1192
the historic accident of dynamic re-evaluation in interpretations
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1193
etc. was exploited.
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1194
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1195
* New tutorial "Programming and Proving in Isabelle/HOL"
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1196
("prog-prove").  It completely supersedes "A Tutorial Introduction to
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1197
Structured Isar Proofs" ("isar-overview"), which has been removed.  It
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1198
also supersedes "Isabelle/HOL, A Proof Assistant for Higher-Order
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1199
Logic" as the recommended beginners tutorial, but does not cover all
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1200
of the material of that old tutorial.
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1201
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1202
* Updated and extended reference manuals: "isar-ref",
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1203
"implementation", "system"; reduced remaining material in old "ref"
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1204
manual.
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1205
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1206
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1207
*** Pure ***
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1208
46976
80123a220219 'definition' no longer exports the foundational "raw_def";
wenzelm
parents: 46966
diff changeset
  1209
* Command 'definition' no longer exports the foundational "raw_def"
80123a220219 'definition' no longer exports the foundational "raw_def";
wenzelm
parents: 46966
diff changeset
  1210
into the user context.  Minor INCOMPATIBILITY, may use the regular
80123a220219 'definition' no longer exports the foundational "raw_def";
wenzelm
parents: 46966
diff changeset
  1211
"def" result with attribute "abs_def" to imitate the old version.
80123a220219 'definition' no longer exports the foundational "raw_def";
wenzelm
parents: 46966
diff changeset
  1212
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1213
* Attribute "abs_def" turns an equation of the form "f x y == t" into
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1214
"f == %x y. t", which ensures that "simp" or "unfold" steps always
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1215
expand it.  This also works for object-logic equality.  (Formerly
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1216
undocumented feature.)
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1217
47856
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1218
* Sort constraints are now propagated in simultaneous statements, just
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1219
like type constraints.  INCOMPATIBILITY in rare situations, where
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1220
distinct sorts used to be assigned accidentally.  For example:
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1221
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1222
  lemma "P (x::'a::foo)" and "Q (y::'a::bar)"  -- "now illegal"
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1223
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1224
  lemma "P (x::'a)" and "Q (y::'a::bar)"
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1225
    -- "now uniform 'a::bar instead of default sort for first occurrence (!)"
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1226
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1227
* Rule composition via attribute "OF" (or ML functions OF/MRS) is more
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1228
tolerant against multiple unifiers, as long as the final result is
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1229
unique.  (As before, rules are composed in canonical right-to-left
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1230
order to accommodate newly introduced premises.)
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1231
47806
wenzelm
parents: 47751
diff changeset
  1232
* Renamed some inner syntax categories:
wenzelm
parents: 47751
diff changeset
  1233
wenzelm
parents: 47751
diff changeset
  1234
    num ~> num_token
wenzelm
parents: 47751
diff changeset
  1235
    xnum ~> xnum_token
wenzelm
parents: 47751
diff changeset
  1236
    xstr ~> str_token
wenzelm
parents: 47751
diff changeset
  1237
wenzelm
parents: 47751
diff changeset
  1238
Minor INCOMPATIBILITY.  Note that in practice "num_const" or
wenzelm
parents: 47751
diff changeset
  1239
"num_position" etc. are mainly used instead (which also include
wenzelm
parents: 47751
diff changeset
  1240
position information via constraints).
wenzelm
parents: 47751
diff changeset
  1241
47829
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1242
* Simplified configuration options for syntax ambiguity: see
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1243
"syntax_ambiguity_warning" and "syntax_ambiguity_limit" in isar-ref
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1244
manual.  Minor INCOMPATIBILITY.
0e36cc70cb3e some re-ordering;
wenzelm
parents: 47827
diff changeset
  1245
47856
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1246
* Discontinued configuration option "syntax_positions": atomic terms
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1247
in parse trees are always annotated by position constraints.
45134
9b02f6665fc8 discontinued obsolete 'types' command;
wenzelm
parents: 45128
diff changeset
  1248
47464
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1249
* Old code generator for SML and its commands 'code_module',
45383
bf6add30ab20 misc tuning;
wenzelm
parents: 45298
diff changeset
  1250
'code_library', 'consts_code', 'types_code' have been discontinued.
46028
9f113cdf3d66 attribute code_abbrev superseedes code_unfold_post
haftmann
parents: 46014
diff changeset
  1251
Use commands of the generic code generator instead.  INCOMPATIBILITY.
45383
bf6add30ab20 misc tuning;
wenzelm
parents: 45298
diff changeset
  1252
47464
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1253
* Redundant attribute "code_inline" has been discontinued. Use
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1254
"code_unfold" instead.  INCOMPATIBILITY.
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1255
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1256
* Dropped attribute "code_unfold_post" in favor of the its dual
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1257
"code_abbrev", which yields a common pattern in definitions like
46028
9f113cdf3d66 attribute code_abbrev superseedes code_unfold_post
haftmann
parents: 46014
diff changeset
  1258
9f113cdf3d66 attribute code_abbrev superseedes code_unfold_post
haftmann
parents: 46014
diff changeset
  1259
  definition [code_abbrev]: "f = t"
9f113cdf3d66 attribute code_abbrev superseedes code_unfold_post
haftmann
parents: 46014
diff changeset
  1260
9f113cdf3d66 attribute code_abbrev superseedes code_unfold_post
haftmann
parents: 46014
diff changeset
  1261
INCOMPATIBILITY.
45383
bf6add30ab20 misc tuning;
wenzelm
parents: 45298
diff changeset
  1262
47856
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1263
* Obsolete 'types' command has been discontinued.  Use 'type_synonym'
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1264
instead.  INCOMPATIBILITY.
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1265
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1266
* Discontinued old "prems" fact, which used to refer to the accidental
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1267
collection of foundational premises in the context (already marked as
57d1df2f2a0f some re-ordering;
wenzelm
parents: 47855
diff changeset
  1268
legacy since Isabelle2011).
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1269
45427
fca432074fb2 sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents: 45398
diff changeset
  1270
45122
49e305100097 Int.thy: discontinued some legacy theorems
huffman
parents: 45109
diff changeset
  1271
*** HOL ***
49e305100097 Int.thy: discontinued some legacy theorems
huffman
parents: 45109
diff changeset
  1272
47464
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1273
* Type 'a set is now a proper type constructor (just as before
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1274
Isabelle2008).  Definitions mem_def and Collect_def have disappeared.
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1275
Non-trivial INCOMPATIBILITY.  For developments keeping predicates and
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1276
sets separate, it is often sufficient to rephrase some set S that has
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1277
been accidentally used as predicates by "%x. x : S", and some
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1278
predicate P that has been accidentally used as set by "{x. P x}".
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1279
Corresponding proofs in a first step should be pruned from any
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1280
tinkering with former theorems mem_def and Collect_def as far as
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1281
possible.
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1282
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1283
For developments which deliberately mix predicates and sets, a
47464
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1284
planning step is necessary to determine what should become a predicate
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1285
and what a set.  It can be helpful to carry out that step in
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1286
Isabelle2011-1 before jumping right into the current release.
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1287
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1288
* Code generation by default implements sets as container type rather
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1289
than predicates.  INCOMPATIBILITY.
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1290
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1291
* New type synonym 'a rel = ('a * 'a) set
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1292
47464
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1293
* The representation of numerals has changed.  Datatype "num"
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1294
represents strictly positive binary numerals, along with functions
b1cd02f2d534 misc tuning for release;
wenzelm
parents: 47463
diff changeset
  1295
"numeral :: num => 'a" and "neg_numeral :: num => 'a" to represent
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1296
positive and negated numeric literals, respectively.  See also
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1297
definitions in ~~/src/HOL/Num.thy.  Potential INCOMPATIBILITY, some
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1298
user theories may require adaptations as follows:
47108
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1299
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1300
  - Theorems with number_ring or number_semiring constraints: These
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1301
    classes are gone; use comm_ring_1 or comm_semiring_1 instead.
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1302
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1303
  - Theories defining numeric types: Remove number, number_semiring,
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1304
    and number_ring instances. Defer all theorems about numerals until
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1305
    after classes one and semigroup_add have been instantiated.
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1306
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1307
  - Numeral-only simp rules: Replace each rule having a "number_of v"
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1308
    pattern with two copies, one for numeral and one for neg_numeral.
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1309
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1310
  - Theorems about subclasses of semiring_1 or ring_1: These classes
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1311
    automatically support numerals now, so more simp rules and
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1312
    simprocs may now apply within the proof.
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1313
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1314
  - Definitions and theorems using old constructors Pls/Min/Bit0/Bit1:
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1315
    Redefine using other integer operations.
2a1953f0d20d merged fork with new numeral representation (see NEWS)
huffman
parents: 47086
diff changeset
  1316
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1317
* Transfer: New package intended to generalize the existing
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1318
"descending" method and related theorem attributes from the Quotient
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1319
package.  (Not all functionality is implemented yet, but future
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1320
development will focus on Transfer as an eventual replacement for the
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1321
corresponding parts of the Quotient package.)
47809
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1322
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1323
  - transfer_rule attribute: Maintains a collection of transfer rules,
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1324
    which relate constants at two different types. Transfer rules may
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1325
    relate different type instances of the same polymorphic constant,
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1326
    or they may relate an operation on a raw type to a corresponding
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1327
    operation on an abstract type (quotient or subtype). For example:
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1328
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1329
    ((A ===> B) ===> list_all2 A ===> list_all2 B) map map
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1330
    (cr_int ===> cr_int ===> cr_int) (%(x,y) (u,v). (x+u, y+v)) plus_int
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1331
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1332
  - transfer method: Replaces a subgoal on abstract types with an
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1333
    equivalent subgoal on the corresponding raw types. Constants are
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1334
    replaced with corresponding ones according to the transfer rules.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1335
    Goals are generalized over all free variables by default; this is
47851
dad2140c2a15 edit NEWS items for transfer/lifting
huffman
parents: 47842
diff changeset
  1336
    necessary for variables whose types change, but can be overridden
47855
1246d847b8c1 some re-ordering;
wenzelm
parents: 47854
diff changeset
  1337
    for specific variables with e.g. "transfer fixing: x y z".  The
47809
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1338
    variant transfer' method allows replacing a subgoal with one that
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1339
    is logically stronger (rather than equivalent).
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1340
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1341
  - relator_eq attribute: Collects identity laws for relators of
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1342
    various type constructors, e.g. "list_all2 (op =) = (op =)".  The
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1343
    transfer method uses these lemmas to infer transfer rules for
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1344
    non-polymorphic constants on the fly.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1345
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1346
  - transfer_prover method: Assists with proving a transfer rule for a
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1347
    new constant, provided the constant is defined in terms of other
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1348
    constants that already have transfer rules. It should be applied
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1349
    after unfolding the constant definitions.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1350
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1351
  - HOL/ex/Transfer_Int_Nat.thy: Example theory demonstrating transfer
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1352
    from type nat to type int.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1353
47851
dad2140c2a15 edit NEWS items for transfer/lifting
huffman
parents: 47842
diff changeset
  1354
* Lifting: New package intended to generalize the quotient_definition
dad2140c2a15 edit NEWS items for transfer/lifting
huffman
parents: 47842
diff changeset
  1355
facility of the Quotient package; designed to work with Transfer.
47809
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1356
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1357
  - lift_definition command: Defines operations on an abstract type in
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1358
    terms of a corresponding operation on a representation
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1359
    type.  Example syntax:
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1360
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1361
    lift_definition dlist_insert :: "'a => 'a dlist => 'a dlist"
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1362
      is List.insert
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1363
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1364
    Users must discharge a respectfulness proof obligation when each
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1365
    constant is defined. (For a type copy, i.e. a typedef with UNIV,
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1366
    the proof is discharged automatically.) The obligation is
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1367
    presented in a user-friendly, readable form; a respectfulness
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1368
    theorem in the standard format and a transfer rule are generated
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1369
    by the package.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1370
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1371
  - Integration with code_abstype: For typedefs (e.g. subtypes
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1372
    corresponding to a datatype invariant, such as dlist),
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1373
    lift_definition generates a code certificate theorem and sets up
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1374
    code generation for each constant.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1375
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1376
  - setup_lifting command: Sets up the Lifting package to work with a
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1377
    user-defined type. The user must provide either a quotient theorem
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1378
    or a type_definition theorem.  The package configures transfer
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1379
    rules for equality and quantifiers on the type, and sets up the
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1380
    lift_definition command to work with the type.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1381
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1382
  - Usage examples: See Quotient_Examples/Lift_DList.thy,
47851
dad2140c2a15 edit NEWS items for transfer/lifting
huffman
parents: 47842
diff changeset
  1383
    Quotient_Examples/Lift_RBT.thy, Quotient_Examples/Lift_FSet.thy,
dad2140c2a15 edit NEWS items for transfer/lifting
huffman
parents: 47842
diff changeset
  1384
    Word/Word.thy and Library/Float.thy.
47809
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1385
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1386
* Quotient package:
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1387
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1388
  - The 'quotient_type' command now supports a 'morphisms' option with
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1389
    rep and abs functions, similar to typedef.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1390
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1391
  - 'quotient_type' sets up new types to work with the Lifting and
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1392
    Transfer packages, as with 'setup_lifting'.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1393
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1394
  - The 'quotient_definition' command now requires the user to prove a
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1395
    respectfulness property at the point where the constant is
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1396
    defined, similar to lift_definition; INCOMPATIBILITY.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1397
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1398
  - Renamed predicate 'Quotient' to 'Quotient3', and renamed theorems
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1399
    accordingly, INCOMPATIBILITY.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1400
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1401
* New diagnostic command 'find_unused_assms' to find potentially
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1402
superfluous assumptions in theorems using Quickcheck.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1403
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1404
* Quickcheck:
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1405
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1406
  - Quickcheck returns variable assignments as counterexamples, which
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1407
    allows to reveal the underspecification of functions under test.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1408
    For example, refuting "hd xs = x", it presents the variable
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1409
    assignment xs = [] and x = a1 as a counterexample, assuming that
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1410
    any property is false whenever "hd []" occurs in it.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1411
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1412
    These counterexample are marked as potentially spurious, as
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1413
    Quickcheck also returns "xs = []" as a counterexample to the
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1414
    obvious theorem "hd xs = hd xs".
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1415
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1416
    After finding a potentially spurious counterexample, Quickcheck
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1417
    continues searching for genuine ones.
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1418
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1419
    By default, Quickcheck shows potentially spurious and genuine
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: 47807
diff changeset
  1420
    counterexamples. The option "genuine_only" sets quickcheck to only
4d8cbea248b0 mention tools and packages earlier;
wenzelm
parents: