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