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