NEWS
author blanchet
Tue, 20 Jun 2017 14:41:29 +0200
changeset 66135 1451a32479ba
parent 66019 69b5ef78fb07
child 66149 4bf16fb7c14d
permissions -rw-r--r--
SMT news
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57491
9eedaafc05c8 tuned grammar and spelling (cf. 0cf15843b82f);
wenzelm
parents: 57476
diff changeset
     1
Isabelle NEWS -- history of user-relevant changes
9eedaafc05c8 tuned grammar and spelling (cf. 0cf15843b82f);
wenzelm
parents: 57476
diff changeset
     2
=================================================
2553
ed941505cab7 Isabelle NEWS -- history of user-visible changes;
wenzelm
parents:
diff changeset
     3
62114
a7cf464933f7 generate HTML version of NEWS, with proper symbol rendering;
wenzelm
parents: 62111
diff changeset
     4
(Note: Isabelle/jEdit shows a tree-view of the NEWS file in Sidekick.)
60006
wenzelm
parents: 59998
diff changeset
     5
64603
a7f5e59378f7 tuned whitespace;
wenzelm
parents: 64602
diff changeset
     6
64439
2bafda87b524 back to post-release mode -- after fork point;
wenzelm
parents: 64391
diff changeset
     7
New in this Isabelle version
2bafda87b524 back to post-release mode -- after fork point;
wenzelm
parents: 64391
diff changeset
     8
----------------------------
2bafda87b524 back to post-release mode -- after fork point;
wenzelm
parents: 64391
diff changeset
     9
64986
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
    10
*** General ***
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
    11
65504
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    12
* Theory names are qualified by the session name that they belong to.
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    13
This affects imports, but not the theory name space prefix: it remains
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    14
the theory base name as before. In order to import theories from other
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    15
sessions, the ROOT file format provides a new 'sessions' keyword. In
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    16
contrast, a theory that is imported in the old-fashioned manner via an
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    17
explicit file-system path belongs to the current session.
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
    18
65505
741fad555d82 exclude theories from other sessions;
wenzelm
parents: 65504
diff changeset
    19
Theories that are imported from other sessions are excluded from the
741fad555d82 exclude theories from other sessions;
wenzelm
parents: 65504
diff changeset
    20
current session document.
741fad555d82 exclude theories from other sessions;
wenzelm
parents: 65504
diff changeset
    21
65451
wenzelm
parents: 65448
diff changeset
    22
* The main theory entry points for some non-HOL sessions have changed,
wenzelm
parents: 65448
diff changeset
    23
to avoid confusion with the global name "Main" of the session HOL. This
wenzelm
parents: 65448
diff changeset
    24
leads to the follow renamings:
wenzelm
parents: 65448
diff changeset
    25
wenzelm
parents: 65448
diff changeset
    26
  CTT/Main.thy    ~>  CTT/CTT.thy
wenzelm
parents: 65448
diff changeset
    27
  ZF/Main.thy     ~>  ZF/ZF.thy
wenzelm
parents: 65448
diff changeset
    28
  ZF/Main_ZF.thy  ~>  ZF/ZF.thy
wenzelm
parents: 65448
diff changeset
    29
  ZF/Main_ZFC.thy ~>  ZF/ZFC.thy
wenzelm
parents: 65448
diff changeset
    30
  ZF/ZF.thy       ~>  ZF/ZF_Base.thy
wenzelm
parents: 65448
diff changeset
    31
wenzelm
parents: 65448
diff changeset
    32
INCOMPATIBILITY.
wenzelm
parents: 65448
diff changeset
    33
64986
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
    34
* Document antiquotations @{prf} and @{full_prf} output proof terms
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
    35
(again) in the same way as commands 'prf' and 'full_prf'.
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
    36
65055
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    37
* Computations generated by the code generator can be embedded directly
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    38
into ML, alongside with @{code} antiquotations, using the following
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    39
antiquotations:
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    40
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    41
  @{computation ... terms: ... datatypes: ...} :
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    42
    ((term -> term) -> 'ml option -> 'a) -> Proof.context -> term -> 'a
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    43
  @{computation_conv ... terms: ... datatypes: ...} :
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    44
    (Proof.context -> 'ml -> conv) -> Proof.context -> conv
65045
b69ef432438d avoid Unicode that conflicts with Isabelle symbol rendering;
wenzelm
parents: 65042
diff changeset
    45
  @{computation_check terms: ... datatypes: ...} : Proof.context -> conv
65041
2525e680f94f basic documentation for computations
haftmann
parents: 65027
diff changeset
    46
65055
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    47
See src/HOL/ex/Computations.thy,
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    48
src/HOL/Decision_Procs/Commutative_Ring.thy and
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    49
src/HOL/Decision_Procs/Reflective_Field.thy for examples and the
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
    50
tutorial on code generation.
65041
2525e680f94f basic documentation for computations
haftmann
parents: 65027
diff changeset
    51
64986
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
    52
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
    53
*** Prover IDE -- Isabelle/Scala/jEdit ***
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
    54
66019
69b5ef78fb07 HTML preview via builtin HTTP server;
wenzelm
parents: 65956
diff changeset
    55
* Action "isabelle.preview" opens an HTML preview of the current theory
69b5ef78fb07 HTML preview via builtin HTTP server;
wenzelm
parents: 65956
diff changeset
    56
document in the default web browser.
69b5ef78fb07 HTML preview via builtin HTTP server;
wenzelm
parents: 65956
diff changeset
    57
65572
6acb28e5ba41 clarified meaning of "isabelle jedit -R": avoid potential problems with all_known = true;
wenzelm
parents: 65567
diff changeset
    58
* Command-line invocation "isabelle jedit -R -l SESSION" uses the parent
6acb28e5ba41 clarified meaning of "isabelle jedit -R": avoid potential problems with all_known = true;
wenzelm
parents: 65567
diff changeset
    59
image of the SESSION, with qualified theory imports restricted to that
6acb28e5ba41 clarified meaning of "isabelle jedit -R": avoid potential problems with all_known = true;
wenzelm
parents: 65567
diff changeset
    60
portion of the session graph. Moreover, the ROOT entry of the SESSION is
6acb28e5ba41 clarified meaning of "isabelle jedit -R": avoid potential problems with all_known = true;
wenzelm
parents: 65567
diff changeset
    61
opened in the editor.
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
    62
64842
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    63
* The PIDE document model maintains file content independently of the
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    64
status of jEdit editor buffers. Reloading jEdit buffers no longer causes
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    65
changes of formal document content. Theory dependencies are always
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    66
resolved internally, without the need for corresponding editor buffers.
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    67
The system option "jedit_auto_load" has been discontinued: it is
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    68
effectively always enabled.
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
    69
64867
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
    70
* The Theories dockable provides a "Purge" button, in order to restrict
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
    71
the document model to theories that are required for open editor
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
    72
buffers.
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
    73
65329
4f3da52cec02 updated to jedit-5.4.0;
wenzelm
parents: 65170
diff changeset
    74
* Update to jedit-5.4.0.
4f3da52cec02 updated to jedit-5.4.0;
wenzelm
parents: 65170
diff changeset
    75
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
    76
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
    77
*** HOL ***
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
    78
65956
639eb3617a86 reorganised material on sublists
eberlm <eberlm@in.tum.de>
parents: 65841
diff changeset
    79
* "sublist" from theory List renamed to "nths" in analogy with "nth".
639eb3617a86 reorganised material on sublists
eberlm <eberlm@in.tum.de>
parents: 65841
diff changeset
    80
"sublisteq" renamed to "subseq".  Minor INCOMPATIBILITY.
639eb3617a86 reorganised material on sublists
eberlm <eberlm@in.tum.de>
parents: 65841
diff changeset
    81
65552
f533820e7248 theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents: 65544
diff changeset
    82
* Theories "GCD" and "Binomial" are already included in "Main" (instead
65575
wenzelm
parents: 65572
diff changeset
    83
of "Complex_Main").
65552
f533820e7248 theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents: 65544
diff changeset
    84
65396
b42167902f57 moved AFP material to Formal_Power_Series; renamed E/L/F in Formal_Power_Series
eberlm <eberlm@in.tum.de>
parents: 65329
diff changeset
    85
* Constants E/L/F in Library/Formal_Power_Series were renamed to
b42167902f57 moved AFP material to Formal_Power_Series; renamed E/L/F in Formal_Power_Series
eberlm <eberlm@in.tum.de>
parents: 65329
diff changeset
    86
fps_exp/fps_ln/fps_hypergeo to avoid polluting the name space.
b42167902f57 moved AFP material to Formal_Power_Series; renamed E/L/F in Formal_Power_Series
eberlm <eberlm@in.tum.de>
parents: 65329
diff changeset
    87
INCOMPATIBILITY.
b42167902f57 moved AFP material to Formal_Power_Series; renamed E/L/F in Formal_Power_Series
eberlm <eberlm@in.tum.de>
parents: 65329
diff changeset
    88
65465
067210a08a22 more fundamental euler's totient function on nat rather than int;
haftmann
parents: 65451
diff changeset
    89
* Theory Totient in session Number_Theory introduces basic notions
067210a08a22 more fundamental euler's totient function on nat rather than int;
haftmann
parents: 65451
diff changeset
    90
about Euler's totient function previously hidden as solitary example
65728
1019be449dbd NEWS: totient 1 = 1 now
Manuel Eberl <eberlm@in.tum.de>
parents: 65575
diff changeset
    91
in theory Residues. Definition changed so that "totient 1 = 1" in
1019be449dbd NEWS: totient 1 = 1 now
Manuel Eberl <eberlm@in.tum.de>
parents: 65575
diff changeset
    92
agreement with the literature.  Minor INCOMPATIBILITY.
65465
067210a08a22 more fundamental euler's totient function on nat rather than int;
haftmann
parents: 65451
diff changeset
    93
65417
fc41a5650fb1 session containing computational algebra
haftmann
parents: 65396
diff changeset
    94
* Session "Computional_Algebra" covers many previously scattered
fc41a5650fb1 session containing computational algebra
haftmann
parents: 65396
diff changeset
    95
theories, notably Euclidean_Algorithm, Factorial_Ring, Formal_Power_Series,
fc41a5650fb1 session containing computational algebra
haftmann
parents: 65396
diff changeset
    96
Fraction_Field, Fundamental_Theorem_Algebra, Normalized_Fraction,
fc41a5650fb1 session containing computational algebra
haftmann
parents: 65396
diff changeset
    97
Polynomial_FPS, Polynomial, Primes.  Minor INCOMPATIBILITY.
fc41a5650fb1 session containing computational algebra
haftmann
parents: 65396
diff changeset
    98
65170
53675f36820d restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents: 65099
diff changeset
    99
* Constant "surj" is a full input/output abbreviation (again).
53675f36820d restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents: 65099
diff changeset
   100
Minor INCOMPATIBILITY.
53675f36820d restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents: 65099
diff changeset
   101
65050
4538153bcc5c re-established AFP entry for FinFuns as library
haftmann
parents: 65045
diff changeset
   102
* Theory Library/FinFun has been moved to AFP (again).  INCOMPATIBILITY.
4538153bcc5c re-established AFP entry for FinFuns as library
haftmann
parents: 65045
diff changeset
   103
64917
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   104
* Some old and rarely used ASCII replacement syntax has been removed.
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   105
INCOMPATIBILITY, standard syntax with symbols should be used instead.
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   106
The subsequent commands help to reproduce the old forms, e.g. to
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   107
simplify porting old theories:
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   108
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   109
syntax (ASCII)
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   110
  "_PiE" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set"  ("(3PIE _:_./ _)" 10)
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   111
  "_Pi"  :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set"  ("(3PI _:_./ _)" 10)
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   112
  "_lam" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'a \<Rightarrow> 'b \<Rightarrow> ('a \<Rightarrow> 'b)"  ("(3%_:_./ _)" [0,0,3] 3)
5db5b8cf6dc6 removed some old ASCII syntax;
wenzelm
parents: 64900
diff changeset
   113
64632
9df24b8b6c0a dropped aliasses
haftmann
parents: 64603
diff changeset
   114
* Dropped aliasses RangeP, DomainP for Rangep, Domainp respectively.
9df24b8b6c0a dropped aliasses
haftmann
parents: 64603
diff changeset
   115
INCOMPATIBILITY.
9df24b8b6c0a dropped aliasses
haftmann
parents: 64603
diff changeset
   116
65064
a4abec71279a Renamed ii to imaginary_unit in order to free up ii as a variable name. Also replaced some legacy def commands
paulson <lp15@cam.ac.uk>
parents: 65057
diff changeset
   117
* Renamed ii to imaginary_unit in order to free up ii as a variable name.
a4abec71279a Renamed ii to imaginary_unit in order to free up ii as a variable name. Also replaced some legacy def commands
paulson <lp15@cam.ac.uk>
parents: 65057
diff changeset
   118
The syntax \<i> remains available.
a4abec71279a Renamed ii to imaginary_unit in order to free up ii as a variable name. Also replaced some legacy def commands
paulson <lp15@cam.ac.uk>
parents: 65057
diff changeset
   119
INCOMPATIBILITY.
a4abec71279a Renamed ii to imaginary_unit in order to free up ii as a variable name. Also replaced some legacy def commands
paulson <lp15@cam.ac.uk>
parents: 65057
diff changeset
   120
64787
067cacdd1117 tuned NEWS
haftmann
parents: 64786
diff changeset
   121
* Dropped abbreviations transP, antisymP, single_valuedP;
64634
5bd30359e46e proper logical constants
haftmann
parents: 64633
diff changeset
   122
use constants transp, antisymp, single_valuedp instead.
5bd30359e46e proper logical constants
haftmann
parents: 64633
diff changeset
   123
INCOMPATIBILITY.
64633
5ebcf6c525f1 prefer existing logical constant over abbreviation
haftmann
parents: 64632
diff changeset
   124
64785
ae0bbc8e45ad moved euclidean ring to HOL
haftmann
parents: 64634
diff changeset
   125
* Algebraic type class hierarchy of euclidean (semi)rings in HOL:
ae0bbc8e45ad moved euclidean ring to HOL
haftmann
parents: 64634
diff changeset
   126
euclidean_(semi)ring, euclidean_(semi)ring_cancel,
ae0bbc8e45ad moved euclidean ring to HOL
haftmann
parents: 64634
diff changeset
   127
unique_euclidean_(semi)ring; instantiation requires
ae0bbc8e45ad moved euclidean ring to HOL
haftmann
parents: 64634
diff changeset
   128
provision of a euclidean size.
ae0bbc8e45ad moved euclidean ring to HOL
haftmann
parents: 64634
diff changeset
   129
64786
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   130
* Reworking of theory Euclidean_Algorithm in session HOL-Number_Theory:
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   131
  - Euclidean induction is available as rule eucl_induct;
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   132
  - Constants Euclidean_Algorithm.gcd, Euclidean_Algorithm.lcm,
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   133
    Euclidean_Algorithm.Gcd and Euclidean_Algorithm.Lcm allow
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   134
    easy instantiation of euclidean (semi)rings as GCD (semi)rings.
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   135
  - Coefficients obtained by extended euclidean algorithm are
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   136
    available as "bezout_coefficients".
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   137
INCOMPATIBILITY.
340db65fd2c1 reworked to provide auxiliary operations Euclidean_Algorithm.* to instantiate gcd etc. for euclidean rings
haftmann
parents: 64785
diff changeset
   138
64787
067cacdd1117 tuned NEWS
haftmann
parents: 64786
diff changeset
   139
* Named collection mod_simps covers various congruence rules
067cacdd1117 tuned NEWS
haftmann
parents: 64786
diff changeset
   140
concerning mod, replacing former zmod_simps.
067cacdd1117 tuned NEWS
haftmann
parents: 64786
diff changeset
   141
INCOMPATIBILITY.
067cacdd1117 tuned NEWS
haftmann
parents: 64786
diff changeset
   142
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   143
* Swapped orientation of congruence rules mod_add_left_eq,
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   144
mod_add_right_eq, mod_add_eq, mod_mult_left_eq, mod_mult_right_eq,
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   145
mod_mult_eq, mod_minus_eq, mod_diff_left_eq, mod_diff_right_eq,
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   146
mod_diff_eq.  INCOMPATIBILITY.
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   147
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   148
* Generalized some facts:
64876
65a247444100 generalized types in lemmas
blanchet
parents: 64867
diff changeset
   149
    measure_induct_rule
65a247444100 generalized types in lemmas
blanchet
parents: 64867
diff changeset
   150
    measure_induct
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   151
    zminus_zmod ~> mod_minus_eq
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   152
    zdiff_zmod_left ~> mod_diff_left_eq
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   153
    zdiff_zmod_right ~> mod_diff_right_eq
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   154
    zmod_eq_dvd_iff ~> mod_eq_dvd_iff
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   155
INCOMPATIBILITY.
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   156
64532
fc2835a932d9 don't generate 'size_gen_o_map' property if its type variable is too limited anyway to be useful
blanchet
parents: 64529
diff changeset
   157
* (Co)datatype package:
fc2835a932d9 don't generate 'size_gen_o_map' property if its type variable is too limited anyway to be useful
blanchet
parents: 64529
diff changeset
   158
  - The 'size_gen_o_map' lemma is no longer generated for datatypes
fc2835a932d9 don't generate 'size_gen_o_map' property if its type variable is too limited anyway to be useful
blanchet
parents: 64529
diff changeset
   159
    with type class annotations. As a result, the tactic that derives
fc2835a932d9 don't generate 'size_gen_o_map' property if its type variable is too limited anyway to be useful
blanchet
parents: 64529
diff changeset
   160
    it no longer fails on nested datatypes. Slight INCOMPATIBILITY.
fc2835a932d9 don't generate 'size_gen_o_map' property if its type variable is too limited anyway to be useful
blanchet
parents: 64529
diff changeset
   161
65099
30d0b2f1df76 Knaster-Tarski fixed point theorem and Galois Connections.
ballarin
parents: 65073
diff changeset
   162
* Session HOL-Algebra extended by additional lattice theory: the
30d0b2f1df76 Knaster-Tarski fixed point theorem and Galois Connections.
ballarin
parents: 65073
diff changeset
   163
Knaster-Tarski fixed point theorem and Galois Connections.
30d0b2f1df76 Knaster-Tarski fixed point theorem and Galois Connections.
ballarin
parents: 65073
diff changeset
   164
66135
1451a32479ba SMT news
blanchet
parents: 66019
diff changeset
   165
* SMT module:
1451a32479ba SMT news
blanchet
parents: 66019
diff changeset
   166
  - The legacy module 'src/HOL/Library/Old_SMT.thy' has been removed.
1451a32479ba SMT news
blanchet
parents: 66019
diff changeset
   167
  - Several small issues have been rectified in the 'smt' command.
65515
f595b7532dc9 removed Old_SMT legacy module
blanchet
parents: 65511
diff changeset
   168
64898
49aa13b1b592 tuned whitespace;
wenzelm
parents: 64876
diff changeset
   169
* Session HOL-Analysis: more material involving arcs, paths, covering
49aa13b1b592 tuned whitespace;
wenzelm
parents: 64876
diff changeset
   170
spaces, innessential maps, retracts. Major results include the Jordan
65057
799bbbb3a395 Some new lemmas thanks to Lukas Bulwahn. Also, NEWS.
paulson <lp15@cam.ac.uk>
parents: 65056
diff changeset
   171
Curve Theorem and the Great Picard Theorem.
64846
de4e3df6693d Jordan Curve Theorem
paulson <lp15@cam.ac.uk>
parents: 64844
diff changeset
   172
64543
6b13586ef1a2 remove typo in bij_swap_compose_bij theorem name; tune proof
bulwahn
parents: 64532
diff changeset
   173
* The theorem in Permutations has been renamed:
6b13586ef1a2 remove typo in bij_swap_compose_bij theorem name; tune proof
bulwahn
parents: 64532
diff changeset
   174
  bij_swap_ompose_bij ~> bij_swap_compose_bij
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   175
65055
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   176
* Session HOL-Library: The simprocs on subsets operators of multisets
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   177
have been renamed:
65027
2b8583507891 renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 64986
diff changeset
   178
  msetless_cancel_numerals ~> msetsubset_cancel
2b8583507891 renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 64986
diff changeset
   179
  msetle_cancel_numerals ~> msetsubset_eq_cancel
2b8583507891 renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 64986
diff changeset
   180
INCOMPATIBILITY.
2b8583507891 renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 64986
diff changeset
   181
65055
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   182
* Session HOL-Library: The suffix _numerals has been removed from the
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   183
name of the simprocs on multisets. INCOMPATIBILITY.
65027
2b8583507891 renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 64986
diff changeset
   184
60331
f215fd466e30 discontinued legacy;
wenzelm
parents: 60310
diff changeset
   185
64844
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   186
*** System ***
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   187
65056
002b4c8c366e clarified defaults;
wenzelm
parents: 65055
diff changeset
   188
* Option parallel_proofs is 1 by default (instead of more aggressive 2).
002b4c8c366e clarified defaults;
wenzelm
parents: 65055
diff changeset
   189
This requires less heap space and avoids burning parallel CPU cycles,
002b4c8c366e clarified defaults;
wenzelm
parents: 65055
diff changeset
   190
while full subproof parallelization is enabled for repeated builds
002b4c8c366e clarified defaults;
wenzelm
parents: 65055
diff changeset
   191
(according to parallel_subproofs_threshold).
002b4c8c366e clarified defaults;
wenzelm
parents: 65055
diff changeset
   192
64844
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   193
* Prover IDE support for the Visual Studio Code editor and language
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   194
server protocol, via the "isabelle vscode_server" tool (see also
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   195
src/Tools/VSCode/README.md). The example application within the VS code
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   196
editor is called "Isabelle" and available from its online repository
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   197
(the "Marketplace"). It serves as example for further potential IDE
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   198
front-ends.
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   199
64900
3687036107cd clarified settings;
wenzelm
parents: 64898
diff changeset
   200
* ISABELLE_SCALA_BUILD_OPTIONS has been renamed to
3687036107cd clarified settings;
wenzelm
parents: 64898
diff changeset
   201
ISABELLE_SCALAC_OPTIONS. Rare INCOMPATIBILITY.
3687036107cd clarified settings;
wenzelm
parents: 64898
diff changeset
   202
65073
b5bf76cf2b4e more uniform platform settings;
wenzelm
parents: 65072
diff changeset
   203
* Isabelle settings ISABELLE_WINDOWS_PLATFORM,
b5bf76cf2b4e more uniform platform settings;
wenzelm
parents: 65072
diff changeset
   204
ISABELLE_WINDOWS_PLATFORM32, ISABELLE_WINDOWS_PLATFORM64 indicate the
b5bf76cf2b4e more uniform platform settings;
wenzelm
parents: 65072
diff changeset
   205
native Windows platform (independently of the Cygwin installation). This
b5bf76cf2b4e more uniform platform settings;
wenzelm
parents: 65072
diff changeset
   206
is analogous to ISABELLE_PLATFORM, ISABELLE_PLATFORM32,
b5bf76cf2b4e more uniform platform settings;
wenzelm
parents: 65072
diff changeset
   207
ISABELLE_PLATFORM64.
65072
36c650d1a90d more detailed platform information;
wenzelm
parents: 65064
diff changeset
   208
65448
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   209
* System option "record_proofs" allows to change the global
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   210
Proofterm.proofs variable for a session. Regular values are are 0, 1, 2;
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   211
a negative value means the current state in the ML heap image remains
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   212
unchanged.
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   213
65557
29c69a599743 clarified tool name -- more official status;
wenzelm
parents: 65552
diff changeset
   214
* Command-line tool "isabelle imports" helps to maintain theory imports
65567
c556c09765dd tuned documentation;
wenzelm
parents: 65557
diff changeset
   215
wrt. session structure. Examples:
c556c09765dd tuned documentation;
wenzelm
parents: 65557
diff changeset
   216
c556c09765dd tuned documentation;
wenzelm
parents: 65557
diff changeset
   217
  isabelle imports -I -a
c556c09765dd tuned documentation;
wenzelm
parents: 65557
diff changeset
   218
  isabelle imports -U -a
c556c09765dd tuned documentation;
wenzelm
parents: 65557
diff changeset
   219
  isabelle imports -M -a -d '~~/src/Benchmarks'
65557
29c69a599743 clarified tool name -- more official status;
wenzelm
parents: 65552
diff changeset
   220
65841
wenzelm
parents: 65728
diff changeset
   221
* Isabelle/Scala: the SQL module supports access to relational
wenzelm
parents: 65728
diff changeset
   222
databases, either as plain file (SQLite) or full-scale server
wenzelm
parents: 65728
diff changeset
   223
(PostgreSQL via local port or remote ssh connection).
wenzelm
parents: 65728
diff changeset
   224
wenzelm
parents: 65728
diff changeset
   225
* Results of "isabelle build" are recorded as SQLite database (i.e.
wenzelm
parents: 65728
diff changeset
   226
"Application File Format" in the sense of
wenzelm
parents: 65728
diff changeset
   227
https://www.sqlite.org/appfileformat.html). This allows systematic
wenzelm
parents: 65728
diff changeset
   228
access via operations from module Sessions.Store in Isabelle/Scala.
65448
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   229
64844
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   230
64072
9f96e4da3064 updated for release;
wenzelm
parents: 64013
diff changeset
   231
New in Isabelle2016-1 (December 2016)
9f96e4da3064 updated for release;
wenzelm
parents: 64013
diff changeset
   232
-------------------------------------
62216
5fb86150a579 back to post-release mode -- after fork point;
wenzelm
parents: 62209
diff changeset
   233
62440
31fa592761da symbol interpretation for \<circle>;
wenzelm
parents: 62430
diff changeset
   234
*** General ***
31fa592761da symbol interpretation for \<circle>;
wenzelm
parents: 62430
diff changeset
   235
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   236
* Splitter in proof methods "simp", "auto" and friends:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   237
  - The syntax "split add" has been discontinued, use plain "split",
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   238
    INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   239
  - For situations with many conditional or case expressions, there is
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   240
    an alternative splitting strategy that can be much faster. It is
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   241
    selected by writing "split!" instead of "split". It applies safe
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   242
    introduction and elimination rules after each split rule. As a
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   243
    result the subgoal may be split into several subgoals.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   244
63273
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   245
* Command 'bundle' provides a local theory target to define a bundle
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   246
from the body of specification commands (such as 'declare',
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   247
'declaration', 'notation', 'lemmas', 'lemma'). For example:
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   248
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   249
bundle foo
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   250
begin
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   251
  declare a [simp]
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   252
  declare b [intro]
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   253
end
63272
6d8a67a77bad documentation;
wenzelm
parents: 63260
diff changeset
   254
63282
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   255
* Command 'unbundle' is like 'include', but works within a local theory
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   256
context. Unlike "context includes ... begin", the effect of 'unbundle'
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   257
on the target context persists, until different declarations are given.
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   258
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   259
* Simplified outer syntax: uniform category "name" includes long
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   260
identifiers. Former "xname" / "nameref" / "name reference" has been
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   261
discontinued.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   262
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   263
* Embedded content (e.g. the inner syntax of types, terms, props) may be
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   264
delimited uniformly via cartouches. This works better than old-fashioned
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   265
quotes when sub-languages are nested.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   266
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   267
* Mixfix annotations support general block properties, with syntax
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   268
"(\<open>x=a y=b z \<dots>\<close>". Notable property names are "indent", "consistent",
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   269
"unbreakable", "markup". The existing notation "(DIGITS" is equivalent
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   270
to "(\<open>indent=DIGITS\<close>". The former notation "(00" for unbreakable blocks
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   271
is superseded by "(\<open>unbreabable\<close>" --- rare INCOMPATIBILITY.
63650
50cadecbe5bc "split add" -> "split".
nipkow
parents: 63635
diff changeset
   272
63383
wenzelm
parents: 63354
diff changeset
   273
* Proof method "blast" is more robust wrt. corner cases of Pure
wenzelm
parents: 63354
diff changeset
   274
statements without object-logic judgment.
wenzelm
parents: 63354
diff changeset
   275
63624
994d1a1105ef more informative 'prf' and 'full_prf', based on HOL/Proofs/ex/XML_Data.thy;
wenzelm
parents: 63610
diff changeset
   276
* Commands 'prf' and 'full_prf' are somewhat more informative (again):
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   277
proof terms are reconstructed and cleaned from administrative thm nodes.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   278
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   279
* Code generator: config option "code_timing" triggers measurements of
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   280
different phases of code generation. See src/HOL/ex/Code_Timing.thy for
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   281
examples.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   282
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   283
* Code generator: implicits in Scala (stemming from type class
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   284
instances) are generated into companion object of corresponding type
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   285
class, to resolve some situations where ambiguities may occur.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   286
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   287
* Solve direct: option "solve_direct_strict_warnings" gives explicit
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   288
warnings for lemma statements with trivial proofs.
64013
048b7dbfdfa3 option to report results of solve_direct as explicit warnings
haftmann
parents: 63995
diff changeset
   289
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   290
62904
wenzelm
parents: 62886
diff changeset
   291
*** Prover IDE -- Isabelle/Scala/jEdit ***
wenzelm
parents: 62886
diff changeset
   292
64527
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   293
* More aggressive flushing of machine-generated input, according to
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   294
system option editor_generated_input_delay (in addition to existing
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   295
editor_input_delay for regular user edits). This may affect overall PIDE
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   296
reactivity and CPU usage.
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   297
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   298
* Syntactic indentation according to Isabelle outer syntax. Action
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   299
"indent-lines" (shortcut C+i) indents the current line according to
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   300
command keywords and some command substructure. Action
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   301
"isabelle.newline" (shortcut ENTER) indents the old and the new line
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   302
according to command keywords only; see also option
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   303
"jedit_indent_newline".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   304
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   305
* Semantic indentation for unstructured proof scripts ('apply' etc.) via
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   306
number of subgoals. This requires information of ongoing document
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   307
processing and may thus lag behind, when the user is editing too
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   308
quickly; see also option "jedit_script_indent" and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   309
"jedit_script_indent_limit".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   310
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   311
* Refined folding mode "isabelle" based on Isar syntax: 'next' and 'qed'
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   312
are treated as delimiters for fold structure; 'begin' and 'end'
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   313
structure of theory specifications is treated as well.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   314
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   315
* Command 'proof' provides information about proof outline with cases,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   316
e.g. for proof methods "cases", "induct", "goal_cases".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   317
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   318
* Completion templates for commands involving "begin ... end" blocks,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   319
e.g. 'context', 'notepad'.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   320
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   321
* Sidekick parser "isabelle-context" shows nesting of context blocks
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   322
according to 'begin' and 'end' structure.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   323
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   324
* Highlighting of entity def/ref positions wrt. cursor.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   325
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   326
* Action "isabelle.select-entity" (shortcut CS+ENTER) selects all
64514
27914a4f8c70 more on "Formal scopes and semantic selection";
wenzelm
parents: 64457
diff changeset
   327
occurrences of the formal entity at the caret position. This facilitates
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   328
systematic renaming.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   329
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   330
* PIDE document markup works across multiple Isar commands, e.g. the
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   331
results established at the end of a proof are properly identified in the
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   332
theorem statement.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   333
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   334
* Cartouche abbreviations work both for " and ` to accomodate typical
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   335
situations where old ASCII notation may be updated.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   336
63875
wenzelm
parents: 63871
diff changeset
   337
* Dockable window "Symbols" also provides access to 'abbrevs' from the
wenzelm
parents: 63871
diff changeset
   338
outer syntax of the current theory buffer. This provides clickable
wenzelm
parents: 63871
diff changeset
   339
syntax templates, including entries with empty abbrevs name (which are
wenzelm
parents: 63871
diff changeset
   340
inaccessible via keyboard completion).
wenzelm
parents: 63871
diff changeset
   341
63022
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   342
* IDE support for the Isabelle/Pure bootstrap process, with the
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   343
following independent stages:
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   344
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   345
  src/Pure/ROOT0.ML
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   346
  src/Pure/ROOT.ML
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   347
  src/Pure/Pure.thy
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   348
  src/Pure/ML_Bootstrap.thy
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   349
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   350
The ML ROOT files act like quasi-theories in the context of theory
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   351
ML_Bootstrap: this allows continuous checking of all loaded ML files.
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   352
The theory files are presented with a modified header to import Pure
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   353
from the running Isabelle instance. Results from changed versions of
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   354
each stage are *not* propagated to the next stage, and isolated from the
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   355
actual Isabelle/Pure that runs the IDE itself. The sequential
63307
wenzelm
parents: 63303
diff changeset
   356
dependencies of the above files are only observed for batch build.
62904
wenzelm
parents: 62886
diff changeset
   357
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   358
* Isabelle/ML and Standard ML files are presented in Sidekick with the
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   359
tree structure of section headings: this special comment format is
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   360
described in "implementation" chapter 0, e.g. (*** section ***).
63461
wenzelm
parents: 63455
diff changeset
   361
63581
wenzelm
parents: 63579
diff changeset
   362
* Additional abbreviations for syntactic completion may be specified
63871
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   363
within the theory header as 'abbrevs'. The theory syntax for 'keywords'
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   364
has been simplified accordingly: optional abbrevs need to go into the
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   365
new 'abbrevs' section.
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   366
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   367
* Global abbreviations via $ISABELLE_HOME/etc/abbrevs and
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   368
$ISABELLE_HOME_USER/etc/abbrevs are no longer supported. Minor
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   369
INCOMPATIBILITY, use 'abbrevs' within theory header instead.
63579
73939a9b70a3 support 'abbrevs' within theory header;
wenzelm
parents: 63560
diff changeset
   370
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   371
* Action "isabelle.keymap-merge" asks the user to resolve pending
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   372
Isabelle keymap changes that are in conflict with the current jEdit
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   373
keymap; non-conflicting changes are always applied implicitly. This
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   374
action is automatically invoked on Isabelle/jEdit startup and thus
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   375
increases chances that users see new keyboard shortcuts when re-using
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   376
old keymaps.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   377
63675
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   378
* ML and document antiquotations for file-systems paths are more uniform
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   379
and diverse:
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   380
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   381
  @{path NAME}   -- no file-system check
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   382
  @{file NAME}   -- check for plain file
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   383
  @{dir NAME}    -- check for directory
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   384
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   385
Minor INCOMPATIBILITY, former uses of @{file} and @{file_unchecked} may
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   386
have to be changed.
63669
256fc20716f2 clarified antiquotations;
wenzelm
parents: 63656
diff changeset
   387
256fc20716f2 clarified antiquotations;
wenzelm
parents: 63656
diff changeset
   388
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   389
*** Document preparation ***
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   390
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   391
* New symbol \<circle>, e.g. for temporal operator.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   392
64073
cffd5f537206 moved to proper release (cf. 4a72b37ac4b8);
wenzelm
parents: 64072
diff changeset
   393
* New document and ML antiquotation @{locale} for locales, similar to
cffd5f537206 moved to proper release (cf. 4a72b37ac4b8);
wenzelm
parents: 64072
diff changeset
   394
existing antiquotation @{class}.
cffd5f537206 moved to proper release (cf. 4a72b37ac4b8);
wenzelm
parents: 64072
diff changeset
   395
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   396
* Mixfix annotations support delimiters like \<^control>\<open>cartouche\<close> --
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   397
this allows special forms of document output.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   398
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   399
* Raw LaTeX output now works via \<^latex>\<open>...\<close> instead of raw control
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   400
symbol \<^raw:...>. INCOMPATIBILITY, notably for LaTeXsugar.thy and its
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   401
derivatives.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   402
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   403
* \<^raw:...> symbols are no longer supported.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   404
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   405
* Old 'header' command is no longer supported (legacy since
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   406
Isabelle2015).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   407
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   408
62312
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   409
*** Isar ***
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   410
63180
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   411
* Many specification elements support structured statements with 'if' /
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   412
'for' eigen-context, e.g. 'axiomatization', 'abbreviation',
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   413
'definition', 'inductive', 'function'.
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   414
63094
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   415
* Toplevel theorem statements support eigen-context notation with 'if' /
63284
c20946f5b6fb spelling;
wenzelm
parents: 63283
diff changeset
   416
'for' (in postfix), which corresponds to 'assumes' / 'fixes' in the
63094
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   417
traditional long statement form (in prefix). Local premises are called
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   418
"that" or "assms", respectively. Empty premises are *not* bound in the
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   419
context: INCOMPATIBILITY.
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   420
63039
1a20fd9cf281 added Isar command 'define';
wenzelm
parents: 63032
diff changeset
   421
* Command 'define' introduces a local (non-polymorphic) definition, with
1a20fd9cf281 added Isar command 'define';
wenzelm
parents: 63032
diff changeset
   422
optional abstraction over local parameters. The syntax resembles
63043
df83a961d3a8 old 'def' is legacy;
wenzelm
parents: 63039
diff changeset
   423
'definition' and 'obtain'. It fits better into the Isar language than
df83a961d3a8 old 'def' is legacy;
wenzelm
parents: 63039
diff changeset
   424
old 'def', which is now a legacy feature.
63039
1a20fd9cf281 added Isar command 'define';
wenzelm
parents: 63032
diff changeset
   425
63059
3f577308551e 'obtain' supports structured statements (similar to 'define');
wenzelm
parents: 63043
diff changeset
   426
* Command 'obtain' supports structured statements with 'if' / 'for'
3f577308551e 'obtain' supports structured statements (similar to 'define');
wenzelm
parents: 63043
diff changeset
   427
context.
3f577308551e 'obtain' supports structured statements (similar to 'define');
wenzelm
parents: 63043
diff changeset
   428
62312
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   429
* Command '\<proof>' is an alias for 'sorry', with different
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   430
typesetting. E.g. to produce proof holes in examples and documentation.
62216
5fb86150a579 back to post-release mode -- after fork point;
wenzelm
parents: 62209
diff changeset
   431
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   432
* The defining position of a literal fact \<open>prop\<close> is maintained more
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   433
carefully, and made accessible as hyperlink in the Prover IDE.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   434
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   435
* Commands 'finally' and 'ultimately' used to expose the result as
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   436
literal fact: this accidental behaviour has been discontinued. Rare
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   437
INCOMPATIBILITY, use more explicit means to refer to facts in Isar.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   438
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   439
* Command 'axiomatization' has become more restrictive to correspond
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   440
better to internal axioms as singleton facts with mandatory name. Minor
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   441
INCOMPATIBILITY.
62939
ef8d840f39fb removed old proof method "default";
wenzelm
parents: 62932
diff changeset
   442
63259
wenzelm
parents: 63237
diff changeset
   443
* Proof methods may refer to the main facts via the dynamic fact
wenzelm
parents: 63237
diff changeset
   444
"method_facts". This is particularly useful for Eisbach method
wenzelm
parents: 63237
diff changeset
   445
definitions.
wenzelm
parents: 63237
diff changeset
   446
63527
59eff6e56d81 moved method "use" to Pure;
wenzelm
parents: 63513
diff changeset
   447
* Proof method "use" allows to modify the main facts of a given method
59eff6e56d81 moved method "use" to Pure;
wenzelm
parents: 63513
diff changeset
   448
expression, e.g.
63259
wenzelm
parents: 63237
diff changeset
   449
wenzelm
parents: 63237
diff changeset
   450
  (use facts in simp)
wenzelm
parents: 63237
diff changeset
   451
  (use facts in \<open>simp add: ...\<close>)
wenzelm
parents: 63237
diff changeset
   452
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   453
* The old proof method "default" has been removed (legacy since
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   454
Isabelle2016). INCOMPATIBILITY, use "standard" instead.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   455
62216
5fb86150a579 back to post-release mode -- after fork point;
wenzelm
parents: 62209
diff changeset
   456
63165
c12845e8e80a examples and documentation for code generator time measurements
haftmann
parents: 63161
diff changeset
   457
*** Pure ***
c12845e8e80a examples and documentation for code generator time measurements
haftmann
parents: 63161
diff changeset
   458
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   459
* Pure provides basic versions of proof methods "simp" and "simp_all"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   460
that only know about meta-equality (==). Potential INCOMPATIBILITY in
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   461
theory imports that merge Pure with e.g. Main of Isabelle/HOL: the order
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   462
is relevant to avoid confusion of Pure.simp vs. HOL.simp.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   463
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   464
* The command 'unfolding' and proof method "unfold" include a second
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   465
stage where given equations are passed through the attribute "abs_def"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   466
before rewriting. This ensures that definitions are fully expanded,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   467
regardless of the actual parameters that are provided. Rare
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   468
INCOMPATIBILITY in some corner cases: use proof method (simp only:)
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   469
instead, or declare [[unfold_abs_def = false]] in the proof context.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   470
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   471
* Type-inference improves sorts of newly introduced type variables for
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   472
the object-logic, using its base sort (i.e. HOL.type for Isabelle/HOL).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   473
Thus terms like "f x" or "\<And>x. P x" without any further syntactic context
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   474
produce x::'a::type in HOL instead of x::'a::{} in Pure. Rare
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   475
INCOMPATIBILITY, need to provide explicit type constraints for Pure
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   476
types where this is really intended.
63350
705229ed856e compiling implicit instances into companion objects for classes avoids ambiguities
haftmann
parents: 63343
diff changeset
   477
63165
c12845e8e80a examples and documentation for code generator time measurements
haftmann
parents: 63161
diff changeset
   478
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
   479
*** HOL ***
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
   480
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   481
* New proof method "argo" using the built-in Argo solver based on SMT
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   482
technology. The method can be used to prove goals of quantifier-free
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   483
propositional logic, goals based on a combination of quantifier-free
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   484
propositional logic with equality, and goals based on a combination of
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   485
quantifier-free propositional logic with linear real arithmetic
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   486
including min/max/abs. See HOL/ex/Argo_Examples.thy for examples.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   487
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   488
* The new "nunchaku" program integrates the Nunchaku model finder. The
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   489
tool is experimental. See ~~/src/HOL/Nunchaku/Nunchaku.thy for details.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   490
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   491
* Metis: The problem encoding has changed very slightly. This might
63785
c882ba741244 added warning
blanchet
parents: 63751
diff changeset
   492
break existing proofs. INCOMPATIBILITY.
c882ba741244 added warning
blanchet
parents: 63751
diff changeset
   493
63116
32492105b015 generate Vampire 4.0 compatible output
blanchet
parents: 63113
diff changeset
   494
* Sledgehammer:
63967
2aa42596edc3 new material on paths, etc. Also rationalisation
paulson <lp15@cam.ac.uk>
parents: 63963
diff changeset
   495
  - The MaSh relevance filter is now faster than before.
63116
32492105b015 generate Vampire 4.0 compatible output
blanchet
parents: 63113
diff changeset
   496
  - Produce syntactically correct Vampire 4.0 problem files.
32492105b015 generate Vampire 4.0 compatible output
blanchet
parents: 63113
diff changeset
   497
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
   498
* (Co)datatype package:
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
   499
  - New commands for defining corecursive functions and reasoning about
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
   500
    them in "~~/src/HOL/Library/BNF_Corec.thy": 'corec', 'corecursive',
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
   501
    'friend_of_corec', and 'corecursion_upto'; and 'corec_unique' proof
62842
db9f95ca2a8f added reference from NEWS to docs
blanchet
parents: 62840
diff changeset
   502
    method. See 'isabelle doc corec'.
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   503
  - The predicator :: ('a \<Rightarrow> bool) \<Rightarrow> 'a F \<Rightarrow> bool is now a first-class
63855
blanchet
parents: 63830
diff changeset
   504
    citizen in bounded natural functors.
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
   505
  - 'primrec' now allows nested calls through the predicator in addition
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
   506
    to the map function.
63855
blanchet
parents: 63830
diff changeset
   507
  - 'bnf' automatically discharges reflexive proof obligations.
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
   508
  - 'bnf' outputs a slightly modified proof obligation expressing rel in
62332
traytel
parents: 62327
diff changeset
   509
       terms of map and set
63855
blanchet
parents: 63830
diff changeset
   510
       (not giving a specification for rel makes this one reflexive).
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
   511
  - 'bnf' outputs a new proof obligation expressing pred in terms of set
63855
blanchet
parents: 63830
diff changeset
   512
       (not giving a specification for pred makes this one reflexive).
blanchet
parents: 63830
diff changeset
   513
    INCOMPATIBILITY: manual 'bnf' declarations may need adjustment.
62335
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
   514
  - Renamed lemmas:
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
   515
      rel_prod_apply ~> rel_prod_inject
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
   516
      pred_prod_apply ~> pred_prod_inject
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
   517
    INCOMPATIBILITY.
62536
656e9653c645 made 'size' plugin compatible with locales again (and added regression test)
blanchet
parents: 62525
diff changeset
   518
  - The "size" plugin has been made compatible again with locales.
63855
blanchet
parents: 63830
diff changeset
   519
  - The theorems about "rel" and "set" may have a slightly different (but
blanchet
parents: 63830
diff changeset
   520
    equivalent) form.
blanchet
parents: 63830
diff changeset
   521
    INCOMPATIBILITY.
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
   522
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   523
* The 'coinductive' command produces a proper coinduction rule for
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   524
mutual coinductive predicates. This new rule replaces the old rule,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   525
which exposed details of the internal fixpoint construction and was
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   526
hard to use. INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   527
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   528
* New abbreviations for negated existence (but not bounded existence):
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   529
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   530
  \<nexists>x. P x \<equiv> \<not> (\<exists>x. P x)
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   531
  \<nexists>!x. P x \<equiv> \<not> (\<exists>!x. P x)
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   532
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   533
* The print mode "HOL" for ASCII syntax of binders "!", "?", "?!", "@"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   534
has been removed for output. It is retained for input only, until it is
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   535
eliminated altogether.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   536
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   537
* The unique existence quantifier no longer provides 'binder' syntax,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   538
but uses syntax translations (as for bounded unique existence). Thus
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   539
iterated quantification \<exists>!x y. P x y with its slightly confusing
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   540
sequential meaning \<exists>!x. \<exists>!y. P x y is no longer possible. Instead,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   541
pattern abstraction admits simultaneous unique existence \<exists>!(x, y). P x y
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   542
(analogous to existing notation \<exists>!(x, y)\<in>A. P x y). Potential
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   543
INCOMPATIBILITY in rare situations.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   544
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   545
* Conventional syntax "%(). t" for unit abstractions. Slight syntactic
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   546
INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   547
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   548
* Renamed constants and corresponding theorems:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   549
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   550
    setsum ~> sum
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   551
    setprod ~> prod
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   552
    listsum ~> sum_list
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   553
    listprod ~> prod_list
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   554
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   555
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   556
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   557
* Sligthly more standardized theorem names:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   558
    sgn_times ~> sgn_mult
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   559
    sgn_mult' ~> Real_Vector_Spaces.sgn_mult
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   560
    divide_zero_left ~> div_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   561
    zero_mod_left ~> mod_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   562
    divide_zero ~> div_by_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   563
    divide_1 ~> div_by_1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   564
    nonzero_mult_divide_cancel_left ~> nonzero_mult_div_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   565
    div_mult_self1_is_id ~> nonzero_mult_div_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   566
    nonzero_mult_divide_cancel_right ~> nonzero_mult_div_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   567
    div_mult_self2_is_id ~> nonzero_mult_div_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   568
    is_unit_divide_mult_cancel_left ~> is_unit_div_mult_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   569
    is_unit_divide_mult_cancel_right ~> is_unit_div_mult_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   570
    mod_div_equality ~> div_mult_mod_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   571
    mod_div_equality2 ~> mult_div_mod_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   572
    mod_div_equality3 ~> mod_div_mult_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   573
    mod_div_equality4 ~> mod_mult_div_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   574
    minus_div_eq_mod ~> minus_div_mult_eq_mod
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   575
    minus_div_eq_mod2 ~> minus_mult_div_eq_mod
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   576
    minus_mod_eq_div ~> minus_mod_eq_div_mult
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   577
    minus_mod_eq_div2 ~> minus_mod_eq_mult_div
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   578
    div_mod_equality' ~> minus_mod_eq_div_mult [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   579
    mod_div_equality' ~> minus_div_mult_eq_mod [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   580
    zmod_zdiv_equality ~> mult_div_mod_eq [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   581
    zmod_zdiv_equality' ~> minus_div_mult_eq_mod [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   582
    Divides.mult_div_cancel ~> minus_mod_eq_mult_div [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   583
    mult_div_cancel ~> minus_mod_eq_mult_div [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   584
    zmult_div_cancel ~> minus_mod_eq_mult_div [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   585
    div_1 ~> div_by_Suc_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   586
    mod_1 ~> mod_by_Suc_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   587
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   588
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   589
* New type class "idom_abs_sgn" specifies algebraic properties
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   590
of sign and absolute value functions.  Type class "sgn_if" has
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   591
disappeared.  Slight INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   592
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   593
* Dedicated syntax LENGTH('a) for length of types.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   594
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   595
* Characters (type char) are modelled as finite algebraic type
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   596
corresponding to {0..255}.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   597
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   598
  - Logical representation:
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   599
    * 0 is instantiated to the ASCII zero character.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   600
    * All other characters are represented as "Char n"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   601
      with n being a raw numeral expression less than 256.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   602
    * Expressions of the form "Char n" with n greater than 255
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   603
      are non-canonical.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   604
  - Printing and parsing:
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   605
    * Printable characters are printed and parsed as "CHR ''\<dots>''"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   606
      (as before).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   607
    * The ASCII zero character is printed and parsed as "0".
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   608
    * All other canonical characters are printed as "CHR 0xXX"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   609
      with XX being the hexadecimal character code.  "CHR n"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   610
      is parsable for every numeral expression n.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   611
    * Non-canonical characters have no special syntax and are
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   612
      printed as their logical representation.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   613
  - Explicit conversions from and to the natural numbers are
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   614
    provided as char_of_nat, nat_of_char (as before).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   615
  - The auxiliary nibble type has been discontinued.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   616
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   617
INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   618
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   619
* Type class "div" with operation "mod" renamed to type class "modulo"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   620
with operation "modulo", analogously to type class "divide". This
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   621
eliminates the need to qualify any of those names in the presence of
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   622
infix "mod" syntax. INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   623
63979
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
   624
* Statements and proofs of Knaster-Tarski fixpoint combinators lfp/gfp
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
   625
have been clarified. The fixpoint properties are lfp_fixpoint, its
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
   626
symmetric lfp_unfold (as before), and the duals for gfp. Auxiliary items
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
   627
for the proof (lfp_lemma2 etc.) are no longer exported, but can be
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
   628
easily recovered by composition with eq_refl. Minor INCOMPATIBILITY.
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
   629
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   630
* Constant "surj" is a mere input abbreviation, to avoid hiding an
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   631
equation in term output. Minor INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   632
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   633
* Command 'code_reflect' accepts empty constructor lists for datatypes,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   634
which renders those abstract effectively.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   635
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   636
* Command 'export_code' checks given constants for abstraction
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   637
violations: a small guarantee that given constants specify a safe
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   638
interface for the generated code.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   639
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   640
* Code generation for Scala: ambiguous implicts in class diagrams are
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   641
spelt out explicitly.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   642
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   643
* Static evaluators (Code_Evaluation.static_* in Isabelle/ML) rely on
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   644
explicitly provided auxiliary definitions for required type class
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   645
dictionaries rather than half-working magic. INCOMPATIBILITY, see the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   646
tutorial on code generation for details.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   647
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   648
* Theory Set_Interval: substantial new theorems on indexed sums and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   649
products.
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   650
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   651
* Locale bijection establishes convenient default simp rules such as
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   652
"inv f (f a) = a" for total bijections.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   653
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   654
* Abstract locales semigroup, abel_semigroup, semilattice,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   655
semilattice_neutr, ordering, ordering_top, semilattice_order,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   656
semilattice_neutr_order, comm_monoid_set, semilattice_set,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   657
semilattice_neutr_set, semilattice_order_set,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   658
semilattice_order_neutr_set monoid_list, comm_monoid_list,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   659
comm_monoid_list_set, comm_monoid_mset, comm_monoid_fun use boldified
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   660
syntax uniformly that does not clash with corresponding global syntax.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   661
INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   662
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   663
* Former locale lifting_syntax is now a bundle, which is easier to
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   664
include in a local context or theorem statement, e.g. "context includes
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   665
lifting_syntax begin ... end". Minor INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   666
63807
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
   667
* Some old / obsolete theorems have been renamed / removed, potential
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
   668
INCOMPATIBILITY.
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
   669
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
   670
  nat_less_cases  --  removed, use linorder_cases instead
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
   671
  inv_image_comp  --  removed, use image_inv_f_f instead
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
   672
  image_surj_f_inv_f  ~>  image_f_inv_f
63113
fe31996e3898 removed odd cases rule (see also 8cb42cd97579);
wenzelm
parents: 63094
diff changeset
   673
63456
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   674
* Some theorems about groups and orders have been generalised from
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   675
  groups to semi-groups that are also monoids:
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   676
    le_add_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   677
    le_add_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   678
    less_add_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   679
    less_add_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   680
    add_le_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   681
    add_le_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   682
    add_less_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   683
    add_less_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   684
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   685
* Some simplifications theorems about rings have been removed, since
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   686
  superseeded by a more general version:
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   687
    less_add_cancel_left_greater_zero ~> less_add_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   688
    less_add_cancel_right_greater_zero ~> less_add_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   689
    less_eq_add_cancel_left_greater_eq_zero ~> le_add_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   690
    less_eq_add_cancel_right_greater_eq_zero ~> le_add_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   691
    less_eq_add_cancel_left_less_eq_zero ~> add_le_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   692
    less_eq_add_cancel_right_less_eq_zero ~> add_le_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   693
    less_add_cancel_left_less_zero ~> add_less_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   694
    less_add_cancel_right_less_zero ~> add_less_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   695
INCOMPATIBILITY.
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
   696
62407
wenzelm
parents: 62396
diff changeset
   697
* Renamed split_if -> if_split and split_if_asm -> if_split_asm to
wenzelm
parents: 62396
diff changeset
   698
resemble the f.split naming convention, INCOMPATIBILITY.
62396
nipkow
parents: 62376
diff changeset
   699
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   700
* Added class topological_monoid.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   701
64391
wenzelm
parents: 64390
diff changeset
   702
* The following theorems have been renamed:
wenzelm
parents: 64390
diff changeset
   703
64457
nipkow
parents: 64391
diff changeset
   704
  setsum_left_distrib ~> sum_distrib_right
nipkow
parents: 64391
diff changeset
   705
  setsum_right_distrib ~> sum_distrib_left
64391
wenzelm
parents: 64390
diff changeset
   706
wenzelm
parents: 64390
diff changeset
   707
INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
   708
wenzelm
parents: 64390
diff changeset
   709
* Compound constants INFIMUM and SUPREMUM are mere abbreviations now.
wenzelm
parents: 64390
diff changeset
   710
INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
   711
wenzelm
parents: 64390
diff changeset
   712
* "Gcd (f ` A)" and "Lcm (f ` A)" are printed with optional
wenzelm
parents: 64390
diff changeset
   713
comprehension-like syntax analogously to "Inf (f ` A)" and "Sup (f `
wenzelm
parents: 64390
diff changeset
   714
A)".
wenzelm
parents: 64390
diff changeset
   715
wenzelm
parents: 64390
diff changeset
   716
* Class semiring_Lcd merged into semiring_Gcd. INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
   717
wenzelm
parents: 64390
diff changeset
   718
* The type class ordered_comm_monoid_add is now called
wenzelm
parents: 64390
diff changeset
   719
ordered_cancel_comm_monoid_add. A new type class ordered_comm_monoid_add
wenzelm
parents: 64390
diff changeset
   720
is introduced as the combination of ordered_ab_semigroup_add +
wenzelm
parents: 64390
diff changeset
   721
comm_monoid_add. INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
   722
wenzelm
parents: 64390
diff changeset
   723
* Introduced the type classes canonically_ordered_comm_monoid_add and
wenzelm
parents: 64390
diff changeset
   724
dioid.
wenzelm
parents: 64390
diff changeset
   725
wenzelm
parents: 64390
diff changeset
   726
* Introduced the type class ordered_ab_semigroup_monoid_add_imp_le. When
wenzelm
parents: 64390
diff changeset
   727
instantiating linordered_semiring_strict and ordered_ab_group_add, an
wenzelm
parents: 64390
diff changeset
   728
explicit instantiation of ordered_ab_semigroup_monoid_add_imp_le might
wenzelm
parents: 64390
diff changeset
   729
be required. INCOMPATIBILITY.
63117
acb6d72fc42e renamed prefix* in Library/Sublist
nipkow
parents: 63113
diff changeset
   730
62348
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   731
* Dropped various legacy fact bindings, whose replacements are often
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   732
of a more general type also:
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   733
  lcm_left_commute_nat ~> lcm.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   734
  lcm_left_commute_int ~> lcm.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   735
  gcd_left_commute_nat ~> gcd.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   736
  gcd_left_commute_int ~> gcd.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   737
  gcd_greatest_iff_nat ~> gcd_greatest_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   738
  gcd_greatest_iff_int ~> gcd_greatest_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   739
  coprime_dvd_mult_nat ~> coprime_dvd_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   740
  coprime_dvd_mult_int ~> coprime_dvd_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   741
  zpower_numeral_even ~> power_numeral_even
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   742
  gcd_mult_cancel_nat ~> gcd_mult_cancel
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   743
  gcd_mult_cancel_int ~> gcd_mult_cancel
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   744
  div_gcd_coprime_nat ~> div_gcd_coprime
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   745
  div_gcd_coprime_int ~> div_gcd_coprime
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   746
  zpower_numeral_odd ~> power_numeral_odd
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   747
  zero_less_int_conv ~> of_nat_0_less_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   748
  gcd_greatest_nat ~> gcd_greatest
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   749
  gcd_greatest_int ~> gcd_greatest
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   750
  coprime_mult_nat ~> coprime_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   751
  coprime_mult_int ~> coprime_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   752
  lcm_commute_nat ~> lcm.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   753
  lcm_commute_int ~> lcm.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   754
  int_less_0_conv ~> of_nat_less_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   755
  gcd_commute_nat ~> gcd.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   756
  gcd_commute_int ~> gcd.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   757
  Gcd_insert_nat ~> Gcd_insert
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   758
  Gcd_insert_int ~> Gcd_insert
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   759
  of_int_int_eq ~> of_int_of_nat_eq
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   760
  lcm_least_nat ~> lcm_least
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   761
  lcm_least_int ~> lcm_least
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   762
  lcm_assoc_nat ~> lcm.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   763
  lcm_assoc_int ~> lcm.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   764
  int_le_0_conv ~> of_nat_le_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   765
  int_eq_0_conv ~> of_nat_eq_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   766
  Gcd_empty_nat ~> Gcd_empty
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   767
  Gcd_empty_int ~> Gcd_empty
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   768
  gcd_assoc_nat ~> gcd.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   769
  gcd_assoc_int ~> gcd.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   770
  zero_zle_int ~> of_nat_0_le_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   771
  lcm_dvd2_nat ~> dvd_lcm2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   772
  lcm_dvd2_int ~> dvd_lcm2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   773
  lcm_dvd1_nat ~> dvd_lcm1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   774
  lcm_dvd1_int ~> dvd_lcm1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   775
  gcd_zero_nat ~> gcd_eq_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   776
  gcd_zero_int ~> gcd_eq_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   777
  gcd_dvd2_nat ~> gcd_dvd2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   778
  gcd_dvd2_int ~> gcd_dvd2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   779
  gcd_dvd1_nat ~> gcd_dvd1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   780
  gcd_dvd1_int ~> gcd_dvd1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   781
  int_numeral ~> of_nat_numeral
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   782
  lcm_ac_nat ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   783
  lcm_ac_int ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   784
  gcd_ac_nat ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   785
  gcd_ac_int ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   786
  abs_int_eq ~> abs_of_nat
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   787
  zless_int ~> of_nat_less_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   788
  zdiff_int ~> of_nat_diff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   789
  zadd_int ~> of_nat_add
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   790
  int_mult ~> of_nat_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   791
  int_Suc ~> of_nat_Suc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   792
  inj_int ~> inj_of_nat
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   793
  int_1 ~> of_nat_1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   794
  int_0 ~> of_nat_0
62353
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   795
  Lcm_empty_nat ~> Lcm_empty
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   796
  Lcm_empty_int ~> Lcm_empty
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   797
  Lcm_insert_nat ~> Lcm_insert
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   798
  Lcm_insert_int ~> Lcm_insert
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   799
  comp_fun_idem_gcd_nat ~> comp_fun_idem_gcd
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   800
  comp_fun_idem_gcd_int ~> comp_fun_idem_gcd
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   801
  comp_fun_idem_lcm_nat ~> comp_fun_idem_lcm
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   802
  comp_fun_idem_lcm_int ~> comp_fun_idem_lcm
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   803
  Lcm_eq_0 ~> Lcm_eq_0_I
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   804
  Lcm0_iff ~> Lcm_0_iff
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   805
  Lcm_dvd_int ~> Lcm_least
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   806
  divides_mult_nat ~> divides_mult
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   807
  divides_mult_int ~> divides_mult
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   808
  lcm_0_nat ~> lcm_0_right
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   809
  lcm_0_int ~> lcm_0_right
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   810
  lcm_0_left_nat ~> lcm_0_left
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   811
  lcm_0_left_int ~> lcm_0_left
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   812
  dvd_gcd_D1_nat ~> dvd_gcdD1
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   813
  dvd_gcd_D1_int ~> dvd_gcdD1
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   814
  dvd_gcd_D2_nat ~> dvd_gcdD2
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   815
  dvd_gcd_D2_int ~> dvd_gcdD2
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   816
  coprime_dvd_mult_iff_nat ~> coprime_dvd_mult_iff
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   817
  coprime_dvd_mult_iff_int ~> coprime_dvd_mult_iff
62348
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   818
  realpow_minus_mult ~> power_minus_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
   819
  realpow_Suc_le_self ~> power_Suc_le_self
62353
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
   820
  dvd_Gcd, dvd_Gcd_nat, dvd_Gcd_int removed in favour of Gcd_greatest
62347
2230b7047376 generalized some lemmas;
haftmann
parents: 62345
diff changeset
   821
INCOMPATIBILITY.
2230b7047376 generalized some lemmas;
haftmann
parents: 62345
diff changeset
   822
63967
2aa42596edc3 new material on paths, etc. Also rationalisation
paulson <lp15@cam.ac.uk>
parents: 63963
diff changeset
   823
* Renamed HOL/Quotient_Examples/FSet.thy to
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   824
HOL/Quotient_Examples/Quotient_FSet.thy INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   825
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   826
* Session HOL-Library: theory FinFun bundles "finfun_syntax" and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   827
"no_finfun_syntax" allow to control optional syntax in local contexts;
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   828
this supersedes former theory FinFun_Syntax. INCOMPATIBILITY, e.g. use
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   829
"unbundle finfun_syntax" to imitate import of
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   830
"~~/src/HOL/Library/FinFun_Syntax".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   831
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   832
* Session HOL-Library: theory Multiset_Permutations (executably) defines
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   833
the set of permutations of a given set or multiset, i.e. the set of all
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   834
lists that contain every element of the carrier (multi-)set exactly
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   835
once.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   836
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   837
* Session HOL-Library: multiset membership is now expressed using
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   838
set_mset rather than count.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   839
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   840
  - Expressions "count M a > 0" and similar simplify to membership
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   841
    by default.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   842
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   843
  - Converting between "count M a = 0" and non-membership happens using
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   844
    equations count_eq_zero_iff and not_in_iff.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   845
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   846
  - Rules count_inI and in_countE obtain facts of the form
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   847
    "count M a = n" from membership.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   848
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   849
  - Rules count_in_diffI and in_diff_countE obtain facts of the form
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   850
    "count M a = n + count N a" from membership on difference sets.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   851
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   852
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   853
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   854
* Session HOL-Library: theory LaTeXsugar uses new-style "dummy_pats" for
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   855
displaying equations in functional programming style --- variables
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   856
present on the left-hand but not on the righ-hand side are replaced by
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   857
underscores.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   858
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   859
* Session HOL-Library: theory Combinator_PER provides combinator to
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   860
build partial equivalence relations from a predicate and an equivalence
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   861
relation.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   862
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   863
* Session HOL-Library: theory Perm provides basic facts about almost
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   864
everywhere fix bijections.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   865
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   866
* Session HOL-Library: theory Normalized_Fraction allows viewing an
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   867
element of a field of fractions as a normalized fraction (i.e. a pair of
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   868
numerator and denominator such that the two are coprime and the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   869
denominator is normalized wrt. unit factors).
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   870
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   871
* Session HOL-NSA has been renamed to HOL-Nonstandard_Analysis.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   872
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   873
* Session HOL-Multivariate_Analysis has been renamed to HOL-Analysis.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   874
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   875
* Session HOL-Analysis: measure theory has been moved here from
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   876
HOL-Probability. When importing HOL-Analysis some theorems need
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   877
additional name spaces prefixes due to name clashes. INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   878
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   879
* Session HOL-Analysis: more complex analysis including Cauchy's
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   880
inequality, Liouville theorem, open mapping theorem, maximum modulus
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   881
principle, Residue theorem, Schwarz Lemma.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   882
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   883
* Session HOL-Analysis: Theory of polyhedra: faces, extreme points,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   884
polytopes, and the Krein–Milman Minkowski theorem.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   885
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   886
* Session HOL-Analysis: Numerous results ported from the HOL Light
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   887
libraries: homeomorphisms, continuous function extensions, invariance of
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   888
domain.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   889
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   890
* Session HOL-Probability: the type of emeasure and nn_integral was
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   891
changed from ereal to ennreal, INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   892
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   893
  emeasure :: 'a measure \<Rightarrow> 'a set \<Rightarrow> ennreal
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   894
  nn_integral :: 'a measure \<Rightarrow> ('a \<Rightarrow> ennreal) \<Rightarrow> ennreal
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   895
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   896
* Session HOL-Probability: Code generation and QuickCheck for
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   897
Probability Mass Functions.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   898
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   899
* Session HOL-Probability: theory Random_Permutations contains some
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   900
theory about choosing a permutation of a set uniformly at random and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   901
folding over a list in random order.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   902
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   903
* Session HOL-Probability: theory SPMF formalises discrete
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   904
subprobability distributions.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   905
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   906
* Session HOL-Library: the names of multiset theorems have been
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   907
normalised to distinguish which ordering the theorems are about
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   908
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   909
    mset_less_eqI ~> mset_subset_eqI
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   910
    mset_less_insertD ~> mset_subset_insertD
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   911
    mset_less_eq_count ~> mset_subset_eq_count
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   912
    mset_less_diff_self ~> mset_subset_diff_self
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   913
    mset_le_exists_conv ~> mset_subset_eq_exists_conv
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   914
    mset_le_mono_add_right_cancel ~> mset_subset_eq_mono_add_right_cancel
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   915
    mset_le_mono_add_left_cancel ~> mset_subset_eq_mono_add_left_cancel
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   916
    mset_le_mono_add ~> mset_subset_eq_mono_add
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   917
    mset_le_add_left ~> mset_subset_eq_add_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   918
    mset_le_add_right ~> mset_subset_eq_add_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   919
    mset_le_single ~> mset_subset_eq_single
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   920
    mset_le_multiset_union_diff_commute ~> mset_subset_eq_multiset_union_diff_commute
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   921
    diff_le_self ~> diff_subset_eq_self
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   922
    mset_leD ~> mset_subset_eqD
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   923
    mset_lessD ~> mset_subsetD
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   924
    mset_le_insertD ~> mset_subset_eq_insertD
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   925
    mset_less_of_empty ~> mset_subset_of_empty
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   926
    mset_less_size ~> mset_subset_size
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   927
    wf_less_mset_rel ~> wf_subset_mset_rel
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   928
    count_le_replicate_mset_le ~> count_le_replicate_mset_subset_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   929
    mset_remdups_le ~> mset_remdups_subset_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   930
    ms_lesseq_impl ~> subset_eq_mset_impl
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   931
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   932
Some functions have been renamed:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   933
    ms_lesseq_impl -> subset_eq_mset_impl
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   934
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   935
* HOL-Library: multisets are now ordered with the multiset ordering
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   936
    #\<subseteq># ~> \<le>
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   937
    #\<subset># ~> <
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   938
    le_multiset ~> less_eq_multiset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   939
    less_multiset ~> le_multiset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   940
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   941
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   942
* Session HOL-Library: the prefix multiset_order has been discontinued:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   943
the theorems can be directly accessed. As a consequence, the lemmas
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   944
"order_multiset" and "linorder_multiset" have been discontinued, and the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   945
interpretations "multiset_linorder" and "multiset_wellorder" have been
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   946
replaced by instantiations. INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   947
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   948
* Session HOL-Library: some theorems about the multiset ordering have
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   949
been renamed:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   950
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   951
    le_multiset_def ~> less_eq_multiset_def
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   952
    less_multiset_def ~> le_multiset_def
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   953
    less_eq_imp_le_multiset ~> subset_eq_imp_le_multiset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   954
    mult_less_not_refl ~> mset_le_not_refl
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   955
    mult_less_trans ~> mset_le_trans
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   956
    mult_less_not_sym ~> mset_le_not_sym
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   957
    mult_less_asym ~> mset_le_asym
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   958
    mult_less_irrefl ~> mset_le_irrefl
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   959
    union_less_mono2{,1,2} ~> union_le_mono2{,1,2}
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   960
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   961
    le_multiset\<^sub>H\<^sub>O ~> less_eq_multiset\<^sub>H\<^sub>O
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   962
    le_multiset_total ~> less_eq_multiset_total
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   963
    less_multiset_right_total ~> subset_eq_imp_le_multiset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   964
    le_multiset_empty_left ~> less_eq_multiset_empty_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   965
    le_multiset_empty_right ~> less_eq_multiset_empty_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   966
    less_multiset_empty_right ~> le_multiset_empty_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   967
    less_multiset_empty_left ~> le_multiset_empty_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   968
    union_less_diff_plus ~> union_le_diff_plus
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   969
    ex_gt_count_imp_less_multiset ~> ex_gt_count_imp_le_multiset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   970
    less_multiset_plus_left_nonempty ~> le_multiset_plus_left_nonempty
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   971
    le_multiset_plus_right_nonempty ~> le_multiset_plus_right_nonempty
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   972
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   973
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   974
* Session HOL-Library: the lemma mset_map has now the attribute [simp].
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   975
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   976
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   977
* Session HOL-Library: some theorems about multisets have been removed.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   978
INCOMPATIBILITY, use the following replacements:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   979
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   980
    le_multiset_plus_plus_left_iff ~> add_less_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   981
    less_multiset_plus_plus_left_iff ~> add_less_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   982
    le_multiset_plus_plus_right_iff ~> add_less_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   983
    less_multiset_plus_plus_right_iff ~> add_less_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   984
    add_eq_self_empty_iff ~> add_cancel_left_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   985
    mset_subset_add_bothsides ~> subset_mset.add_less_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   986
    mset_less_add_bothsides ~> subset_mset.add_less_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   987
    mset_le_add_bothsides ~> subset_mset.add_less_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   988
    empty_inter ~> subset_mset.inf_bot_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   989
    inter_empty ~> subset_mset.inf_bot_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   990
    empty_sup ~> subset_mset.sup_bot_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   991
    sup_empty ~> subset_mset.sup_bot_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   992
    bdd_below_multiset ~> subset_mset.bdd_above_bot
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   993
    subset_eq_empty ~> subset_mset.le_zero_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   994
    le_empty ~> subset_mset.le_zero_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   995
    mset_subset_empty_nonempty ~> subset_mset.zero_less_iff_neq_zero
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   996
    mset_less_empty_nonempty ~> subset_mset.zero_less_iff_neq_zero
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   997
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   998
* Session HOL-Library: some typeclass constraints about multisets have
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   999
been reduced from ordered or linordered to preorder. Multisets have the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1000
additional typeclasses order_bot, no_top,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1001
ordered_ab_semigroup_add_imp_le, ordered_cancel_comm_monoid_add,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1002
linordered_cancel_ab_semigroup_add, and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1003
ordered_ab_semigroup_monoid_add_imp_le. INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1004
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1005
* Session HOL-Library: there are some new simplification rules about
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1006
multisets, the multiset ordering, and the subset ordering on multisets.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1007
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1008
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1009
* Session HOL-Library: the subset ordering on multisets has now the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1010
interpretations ordered_ab_semigroup_monoid_add_imp_le and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1011
bounded_lattice_bot. INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1012
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1013
* Session HOL-Library, theory Multiset: single has been removed in favor
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1014
of add_mset that roughly corresponds to Set.insert. Some theorems have
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1015
removed or changed:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1016
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1017
  single_not_empty ~> add_mset_not_empty or empty_not_add_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1018
  fold_mset_insert ~> fold_mset_add_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1019
  image_mset_insert ~> image_mset_add_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1020
  union_single_eq_diff
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1021
  multi_self_add_other_not_self
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1022
  diff_single_eq_union
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1023
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1024
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1025
* Session HOL-Library, theory Multiset: some theorems have been changed
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1026
to use add_mset instead of single:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1027
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1028
  mset_add
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1029
  multi_self_add_other_not_self
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1030
  diff_single_eq_union
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1031
  union_single_eq_diff
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1032
  union_single_eq_member
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1033
  add_eq_conv_diff
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1034
  insert_noteq_member
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1035
  add_eq_conv_ex
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1036
  multi_member_split
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1037
  multiset_add_sub_el_shuffle
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1038
  mset_subset_eq_insertD
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1039
  mset_subset_insertD
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1040
  insert_subset_eq_iff
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1041
  insert_union_subset_iff
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1042
  multi_psub_of_add_self
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1043
  inter_add_left1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1044
  inter_add_left2
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1045
  inter_add_right1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1046
  inter_add_right2
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1047
  sup_union_left1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1048
  sup_union_left2
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1049
  sup_union_right1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1050
  sup_union_right2
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1051
  size_eq_Suc_imp_eq_union
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1052
  multi_nonempty_split
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1053
  mset_insort
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1054
  mset_update
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1055
  mult1I
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1056
  less_add
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1057
  mset_zip_take_Cons_drop_twice
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1058
  rel_mset_Zero
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1059
  msed_map_invL
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1060
  msed_map_invR
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1061
  msed_rel_invL
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1062
  msed_rel_invR
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1063
  le_multiset_right_total
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1064
  multiset_induct
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1065
  multiset_induct2_size
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1066
  multiset_induct2
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1067
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1068
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1069
* Session HOL-Library, theory Multiset: the definitions of some
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1070
constants have changed to use add_mset instead of adding a single
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1071
element:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1072
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1073
  image_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1074
  mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1075
  replicate_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1076
  mult1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1077
  pred_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1078
  rel_mset'
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1079
  mset_insort
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1080
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1081
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1082
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1083
* Session HOL-Library, theory Multiset: due to the above changes, the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1084
attributes of some multiset theorems have been changed:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1085
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1086
  insert_DiffM  [] ~> [simp]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1087
  insert_DiffM2 [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1088
  diff_add_mset_swap [simp]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1089
  fold_mset_add_mset [simp]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1090
  diff_diff_add [simp] (for multisets only)
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1091
  diff_cancel [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1092
  count_single [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1093
  set_mset_single [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1094
  size_multiset_single [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1095
  size_single [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1096
  image_mset_single [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1097
  mset_subset_eq_mono_add_right_cancel [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1098
  mset_subset_eq_mono_add_left_cancel [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1099
  fold_mset_single [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1100
  subset_eq_empty [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1101
  empty_sup [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1102
  sup_empty [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1103
  inter_empty [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1104
  empty_inter [simp] ~> []
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1105
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1106
64391
wenzelm
parents: 64390
diff changeset
  1107
* Session HOL-Library, theory Multiset: the order of the variables in
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1108
the second cases of multiset_induct, multiset_induct2_size,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1109
multiset_induct2 has been changed (e.g. Add A a ~> Add a A).
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1110
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1111
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1112
* Session HOL-Library, theory Multiset: there is now a simplification
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1113
procedure on multisets. It mimics the behavior of the procedure on
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1114
natural numbers. INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1115
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1116
* Session HOL-Library, theory Multiset: renamed sums and products of
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1117
multisets:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1118
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1119
  msetsum ~> sum_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1120
  msetprod ~> prod_mset
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1121
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1122
* Session HOL-Library, theory Multiset: the notation for intersection
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1123
and union of multisets have been changed:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1124
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1125
  #\<inter> ~> \<inter>#
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1126
  #\<union> ~> \<union>#
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1127
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1128
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1129
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1130
* Session HOL-Library, theory Multiset: the lemma
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1131
one_step_implies_mult_aux on multisets has been removed, use
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1132
one_step_implies_mult instead. INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1133
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1134
* Session HOL-Library: theory Complete_Partial_Order2 provides reasoning
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1135
support for monotonicity and continuity in chain-complete partial orders
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1136
and about admissibility conditions for fixpoint inductions.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1137
64523
49a29161d8ef clarified NEWS concerning Library/Poly_Deriv
haftmann
parents: 64514
diff changeset
  1138
* Session HOL-Library: theory Library/Polynomial contains also
49a29161d8ef clarified NEWS concerning Library/Poly_Deriv
haftmann
parents: 64514
diff changeset
  1139
derivation of polynomials (formerly in Library/Poly_Deriv) but not
49a29161d8ef clarified NEWS concerning Library/Poly_Deriv
haftmann
parents: 64514
diff changeset
  1140
gcd/lcm on polynomials over fields. This has been moved to a separate
49a29161d8ef clarified NEWS concerning Library/Poly_Deriv
haftmann
parents: 64514
diff changeset
  1141
theory Library/Polynomial_GCD_euclidean.thy, to pave way for a possible
49a29161d8ef clarified NEWS concerning Library/Poly_Deriv
haftmann
parents: 64514
diff changeset
  1142
future different type class instantiation for polynomials over factorial
49a29161d8ef clarified NEWS concerning Library/Poly_Deriv
haftmann
parents: 64514
diff changeset
  1143
rings. INCOMPATIBILITY.
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1144
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1145
* Session HOL-Library: theory Sublist provides function "prefixes" with
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1146
the following renaming
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1147
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1148
  prefixeq -> prefix
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1149
  prefix -> strict_prefix
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1150
  suffixeq -> suffix
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1151
  suffix -> strict_suffix
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1152
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1153
Added theory of longest common prefixes.
64389
6273d4c8325b added Nunchaku integration
blanchet
parents: 64363
diff changeset
  1154
64391
wenzelm
parents: 64390
diff changeset
  1155
* Session HOL-Number_Theory: algebraic foundation for primes:
wenzelm
parents: 64390
diff changeset
  1156
Generalisation of predicate "prime" and introduction of predicates
wenzelm
parents: 64390
diff changeset
  1157
"prime_elem", "irreducible", a "prime_factorization" function, and the
wenzelm
parents: 64390
diff changeset
  1158
"factorial_ring" typeclass with instance proofs for nat, int, poly. Some
wenzelm
parents: 64390
diff changeset
  1159
theorems now have different names, most notably "prime_def" is now
wenzelm
parents: 64390
diff changeset
  1160
"prime_nat_iff". INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
  1161
wenzelm
parents: 64390
diff changeset
  1162
* Session Old_Number_Theory has been removed, after porting remaining
wenzelm
parents: 64390
diff changeset
  1163
theories.
wenzelm
parents: 64390
diff changeset
  1164
64551
79e9587dbcca proper session HOL-Types_To_Sets;
wenzelm
parents: 64527
diff changeset
  1165
* Session HOL-Types_To_Sets provides an experimental extension of
79e9587dbcca proper session HOL-Types_To_Sets;
wenzelm
parents: 64527
diff changeset
  1166
Higher-Order Logic to allow translation of types to sets.
79e9587dbcca proper session HOL-Types_To_Sets;
wenzelm
parents: 64527
diff changeset
  1167
63198
c583ca33076a ad-hoc overloading for standard operations on type Rat.rat;
wenzelm
parents: 63184
diff changeset
  1168
62498
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1169
*** ML ***
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1170
63227
d3ed7f00e818 Integer.lcm normalizes the sign as in HOL/GCD.thy;
wenzelm
parents: 63226
diff changeset
  1171
* Integer.gcd and Integer.lcm use efficient operations from the Poly/ML
63228
wenzelm
parents: 63227
diff changeset
  1172
library (notably for big integers). Subtle change of semantics:
wenzelm
parents: 63227
diff changeset
  1173
Integer.gcd and Integer.lcm both normalize the sign, results are never
wenzelm
parents: 63227
diff changeset
  1174
negative. This coincides with the definitions in HOL/GCD.thy.
wenzelm
parents: 63227
diff changeset
  1175
INCOMPATIBILITY.
63227
d3ed7f00e818 Integer.lcm normalizes the sign as in HOL/GCD.thy;
wenzelm
parents: 63226
diff changeset
  1176
63212
wenzelm
parents: 63211
diff changeset
  1177
* Structure Rat for rational numbers is now an integral part of
63215
c7de5b311909 more documentation;
wenzelm
parents: 63212
diff changeset
  1178
Isabelle/ML, with special notation @int/nat or @int for numerals (an
c7de5b311909 more documentation;
wenzelm
parents: 63212
diff changeset
  1179
abbreviation for antiquotation @{Pure.rat argument}) and ML pretty
63212
wenzelm
parents: 63211
diff changeset
  1180
printing. Standard operations on type Rat.rat are provided via ad-hoc
63215
c7de5b311909 more documentation;
wenzelm
parents: 63212
diff changeset
  1181
overloading of + - * / < <= > >= ~ abs. INCOMPATIBILITY, need to
63212
wenzelm
parents: 63211
diff changeset
  1182
use + instead of +/ etc. Moreover, exception Rat.DIVZERO has been
wenzelm
parents: 63211
diff changeset
  1183
superseded by General.Div.
63198
c583ca33076a ad-hoc overloading for standard operations on type Rat.rat;
wenzelm
parents: 63184
diff changeset
  1184
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1185
* ML antiquotation @{path} is superseded by @{file}, which ensures that
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1186
the argument is a plain file. Minor INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1187
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1188
* Antiquotation @{make_string} is available during Pure bootstrap --
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1189
with approximative output quality.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1190
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1191
* Low-level ML system structures (like PolyML and RunCall) are no longer
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1192
exposed to Isabelle/ML user-space. Potential INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1193
62861
wenzelm
parents: 62851
diff changeset
  1194
* The ML function "ML" provides easy access to run-time compilation.
wenzelm
parents: 62851
diff changeset
  1195
This is particularly useful for conditional compilation, without
wenzelm
parents: 62851
diff changeset
  1196
requiring separate files.
wenzelm
parents: 62851
diff changeset
  1197
62498
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1198
* Option ML_exception_debugger controls detailed exception trace via the
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1199
Poly/ML debugger. Relevant ML modules need to be compiled beforehand
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1200
with ML_file_debug, or with ML_file and option ML_debugger enabled. Note
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1201
debugger information requires consirable time and space: main
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1202
Isabelle/HOL with full debugger support may need ML_system_64.
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1203
62514
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1204
* Local_Theory.restore has been renamed to Local_Theory.reset to
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1205
emphasize its disruptive impact on the cumulative context, notably the
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1206
scope of 'private' or 'qualified' names. Note that Local_Theory.reset is
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1207
only appropriate when targets are managed, e.g. starting from a global
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1208
theory and returning to it. Regular definitional packages should use
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1209
balanced blocks of Local_Theory.open_target versus
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1210
Local_Theory.close_target instead. Rare INCOMPATIBILITY.
aae510e9a698 tuned signature;
wenzelm
parents: 62509
diff changeset
  1211
62519
a564458f94db tuned signature -- clarified modules;
wenzelm
parents: 62514
diff changeset
  1212
* Structure TimeLimit (originally from the SML/NJ library) has been
a564458f94db tuned signature -- clarified modules;
wenzelm
parents: 62514
diff changeset
  1213
replaced by structure Timeout, with slightly different signature.
a564458f94db tuned signature -- clarified modules;
wenzelm
parents: 62514
diff changeset
  1214
INCOMPATIBILITY.
a564458f94db tuned signature -- clarified modules;
wenzelm
parents: 62514
diff changeset
  1215
62551
df62e1ab7d88 discontinued cd, pwd;
wenzelm
parents: 62549
diff changeset
  1216
* Discontinued cd and pwd operations, which are not well-defined in a
df62e1ab7d88 discontinued cd, pwd;
wenzelm
parents: 62549
diff changeset
  1217
multi-threaded environment. Note that files are usually located
df62e1ab7d88 discontinued cd, pwd;
wenzelm
parents: 62549
diff changeset
  1218
relatively to the master directory of a theory (see also
df62e1ab7d88 discontinued cd, pwd;
wenzelm
parents: 62549
diff changeset
  1219
File.full_path). Potential INCOMPATIBILITY.
df62e1ab7d88 discontinued cd, pwd;
wenzelm
parents: 62549
diff changeset
  1220
63352
4eaf35781b23 tuned signature;
wenzelm
parents: 63343
diff changeset
  1221
* Binding.empty_atts supersedes Thm.empty_binding and
4eaf35781b23 tuned signature;
wenzelm
parents: 63343
diff changeset
  1222
Attrib.empty_binding. Minor INCOMPATIBILITY.
4eaf35781b23 tuned signature;
wenzelm
parents: 63343
diff changeset
  1223
62498
5dfcc9697f29 support for ML_exception_debugger;
wenzelm
parents: 62479
diff changeset
  1224
62354
fdd6989cc8a0 SML/NJ is no longer supported;
wenzelm
parents: 62335
diff changeset
  1225
*** System ***
fdd6989cc8a0 SML/NJ is no longer supported;
wenzelm
parents: 62335
diff changeset
  1226
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1227
* SML/NJ and old versions of Poly/ML are no longer supported.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1228
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1229
* Poly/ML heaps now follow the hierarchy of sessions, and thus require
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1230
much less disk space.
63226
d8884c111bca support for .scala tools;
wenzelm
parents: 63215
diff changeset
  1231
62591
wenzelm
parents: 62588
diff changeset
  1232
* The Isabelle ML process is now managed directly by Isabelle/Scala, and
wenzelm
parents: 62588
diff changeset
  1233
shell scripts merely provide optional command-line access. In
wenzelm
parents: 62588
diff changeset
  1234
particular:
wenzelm
parents: 62588
diff changeset
  1235
wenzelm
parents: 62588
diff changeset
  1236
  . Scala module ML_Process to connect to the raw ML process,
wenzelm
parents: 62588
diff changeset
  1237
    with interaction via stdin/stdout/stderr or in batch mode;
wenzelm
parents: 62588
diff changeset
  1238
  . command-line tool "isabelle console" as interactive wrapper;
wenzelm
parents: 62588
diff changeset
  1239
  . command-line tool "isabelle process" as batch mode wrapper.
62588
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1240
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1241
* The executable "isabelle_process" has been discontinued. Tools and
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1242
prover front-ends should use ML_Process or Isabelle_Process in
62591
wenzelm
parents: 62588
diff changeset
  1243
Isabelle/Scala. INCOMPATIBILITY.
62588
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1244
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1245
* New command-line tool "isabelle process" supports ML evaluation of
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1246
literal expressions (option -e) or files (option -f) in the context of a
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1247
given heap image. Errors lead to premature exit of the ML process with
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1248
return code 1.
cd266473b81b isabelle_process is superseded by "isabelle process" tool;
wenzelm
parents: 62579
diff changeset
  1249
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1250
* The command-line tool "isabelle build" supports option -N for cyclic
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1251
shuffling of NUMA CPU nodes. This may help performance tuning on Linux
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1252
servers with separate CPU/memory modules.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1253
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1254
* System option "threads" (for the size of the Isabelle/ML thread farm)
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1255
is also passed to the underlying ML runtime system as --gcthreads,
64274
c8990e5feac9 re-use "threads" for --gcthreads;
wenzelm
parents: 64265
diff changeset
  1256
unless there is already a default provided via ML_OPTIONS settings.
c8990e5feac9 re-use "threads" for --gcthreads;
wenzelm
parents: 64265
diff changeset
  1257
63827
b24d0e53dd03 option "checkpoint" helps to fine-tune global heap space management;
wenzelm
parents: 63821
diff changeset
  1258
* System option "checkpoint" helps to fine-tune the global heap space
b24d0e53dd03 option "checkpoint" helps to fine-tune global heap space management;
wenzelm
parents: 63821
diff changeset
  1259
management of isabelle build. This is relevant for big sessions that may
b24d0e53dd03 option "checkpoint" helps to fine-tune global heap space management;
wenzelm
parents: 63821
diff changeset
  1260
exhaust the small 32-bit address space of the ML process (which is used
b24d0e53dd03 option "checkpoint" helps to fine-tune global heap space management;
wenzelm
parents: 63821
diff changeset
  1261
by default).
b24d0e53dd03 option "checkpoint" helps to fine-tune global heap space management;
wenzelm
parents: 63821
diff changeset
  1262
64308
b00508facb4f added system option "profiling";
wenzelm
parents: 64280
diff changeset
  1263
* System option "profiling" specifies the mode for global ML profiling
64342
53fb4a19fb98 regular user tool;
wenzelm
parents: 64323
diff changeset
  1264
in "isabelle build". Possible values are "time", "allocations". The
53fb4a19fb98 regular user tool;
wenzelm
parents: 64323
diff changeset
  1265
command-line tool "isabelle profiling_report" helps to digest the
53fb4a19fb98 regular user tool;
wenzelm
parents: 64323
diff changeset
  1266
resulting log files.
64308
b00508facb4f added system option "profiling";
wenzelm
parents: 64280
diff changeset
  1267
63986
c7a4b03727ae options for process policy, notably for multiprocessor machines;
wenzelm
parents: 63979
diff changeset
  1268
* System option "ML_process_policy" specifies an optional command prefix
c7a4b03727ae options for process policy, notably for multiprocessor machines;
wenzelm
parents: 63979
diff changeset
  1269
for the underlying ML process, e.g. to control CPU affinity on
63987
ac96fe9224f6 just one option is enough -- "isabelle jedit" java process may be prefixed directly in the shell;
wenzelm
parents: 63986
diff changeset
  1270
multiprocessor systems. The "isabelle jedit" tool allows to override the
ac96fe9224f6 just one option is enough -- "isabelle jedit" java process may be prefixed directly in the shell;
wenzelm
parents: 63986
diff changeset
  1271
implicit default via option -p.
63986
c7a4b03727ae options for process policy, notably for multiprocessor machines;
wenzelm
parents: 63979
diff changeset
  1272
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1273
* Command-line tool "isabelle console" provides option -r to help to
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1274
bootstrapping Isabelle/Pure interactively.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1275
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1276
* Command-line tool "isabelle yxml" has been discontinued.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1277
INCOMPATIBILITY, use operations from the modules "XML" and "YXML" in
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1278
Isabelle/ML or Isabelle/Scala.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1279
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1280
* Many Isabelle tools that require a Java runtime system refer to the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1281
settings ISABELLE_TOOL_JAVA_OPTIONS32 / ISABELLE_TOOL_JAVA_OPTIONS64,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1282
depending on the underlying platform. The settings for "isabelle build"
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1283
ISABELLE_BUILD_JAVA_OPTIONS32 / ISABELLE_BUILD_JAVA_OPTIONS64 have been
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1284
discontinued. Potential INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1285
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1286
* The Isabelle system environment always ensures that the main
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1287
executables are found within the shell search $PATH: "isabelle" and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1288
"isabelle_scala_script".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1289
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1290
* Isabelle tools may consist of .scala files: the Scala compiler is
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1291
invoked on the spot. The source needs to define some object that extends
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1292
Isabelle_Tool.Body.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1293
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1294
* File.bash_string, File.bash_path etc. represent Isabelle/ML and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1295
Isabelle/Scala strings authentically within GNU bash. This is useful to
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1296
produce robust shell scripts under program control, without worrying
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1297
about spaces or special characters. Note that user output works via
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1298
Path.print (ML) or Path.toString (Scala). INCOMPATIBILITY, the old (and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1299
less versatile) operations File.shell_quote, File.shell_path etc. have
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1300
been discontinued.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1301
63995
2e4d80723fb0 added isabelle_java cold-start executable;
wenzelm
parents: 63987
diff changeset
  1302
* The isabelle_java executable allows to run a Java process within the
2e4d80723fb0 added isabelle_java cold-start executable;
wenzelm
parents: 63987
diff changeset
  1303
name space of Java and Scala components that are bundled with Isabelle,
2e4d80723fb0 added isabelle_java cold-start executable;
wenzelm
parents: 63987
diff changeset
  1304
but without the Isabelle settings environment.
2e4d80723fb0 added isabelle_java cold-start executable;
wenzelm
parents: 63987
diff changeset
  1305
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1306
* Isabelle/Scala: the SSH module supports ssh and sftp connections, for
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1307
remote command-execution and file-system access. This resembles
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1308
operations from module File and Isabelle_System to some extent. Note
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1309
that Path specifications need to be resolved remotely via
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1310
ssh.remote_path instead of File.standard_path: the implicit process
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1311
environment is different, Isabelle settings are not available remotely.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1312
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1313
* Isabelle/Scala: the Mercurial module supports repositories via the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1314
regular hg command-line interface. The repositroy clone and working
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1315
directory may reside on a local or remote file-system (via ssh
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1316
connection).
64265
8eb6365f5916 isabelle build -N;
wenzelm
parents: 64246
diff changeset
  1317
62354
fdd6989cc8a0 SML/NJ is no longer supported;
wenzelm
parents: 62335
diff changeset
  1318
fdd6989cc8a0 SML/NJ is no longer supported;
wenzelm
parents: 62335
diff changeset
  1319
62031
wenzelm
parents: 62027
diff changeset
  1320
New in Isabelle2016 (February 2016)
62016
740c70a21523 misc updates for release;
wenzelm
parents: 62014
diff changeset
  1321
-----------------------------------
60138
b11401808dac back to post-release mode -- after fork point;
wenzelm
parents: 60119
diff changeset
  1322
61337
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1323
*** General ***
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1324
62168
e97452d79102 Eisbach works for other object-logics, e.g. Eisbach_FOL.thy;
wenzelm
parents: 62163
diff changeset
  1325
* Eisbach is now based on Pure instead of HOL. Objects-logics may import
e97452d79102 Eisbach works for other object-logics, e.g. Eisbach_FOL.thy;
wenzelm
parents: 62163
diff changeset
  1326
either the theory ~~/src/HOL/Eisbach/Eisbach (for HOL etc.) or
e97452d79102 Eisbach works for other object-logics, e.g. Eisbach_FOL.thy;
wenzelm
parents: 62163
diff changeset
  1327
~~/src/HOL/Eisbach/Eisbach_Old_Appl_Syntax (for FOL, ZF etc.). Note that
e97452d79102 Eisbach works for other object-logics, e.g. Eisbach_FOL.thy;
wenzelm
parents: 62163
diff changeset
  1328
the HOL-Eisbach session located in ~~/src/HOL/Eisbach/ contains further
e97452d79102 Eisbach works for other object-logics, e.g. Eisbach_FOL.thy;
wenzelm
parents: 62163
diff changeset
  1329
examples that do require HOL.
e97452d79102 Eisbach works for other object-logics, e.g. Eisbach_FOL.thy;
wenzelm
parents: 62163
diff changeset
  1330
62157
adcaaf6c9910 more good NEWS;
wenzelm
parents: 62118
diff changeset
  1331
* Better resource usage on all platforms (Linux, Windows, Mac OS X) for
adcaaf6c9910 more good NEWS;
wenzelm
parents: 62118
diff changeset
  1332
both Isabelle/ML and Isabelle/Scala.  Slightly reduced heap space usage.
adcaaf6c9910 more good NEWS;
wenzelm
parents: 62118
diff changeset
  1333
62017
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1334
* Former "xsymbols" syntax with Isabelle symbols is used by default,
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1335
without any special print mode. Important ASCII replacement syntax
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1336
remains available under print mode "ASCII", but less important syntax
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1337
has been removed (see below).
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1338
62109
wenzelm
parents: 62108
diff changeset
  1339
* Support for more arrow symbols, with rendering in LaTeX and Isabelle
wenzelm
parents: 62108
diff changeset
  1340
fonts: \<Lleftarrow> \<Rrightarrow> \<longlongleftarrow> \<longlongrightarrow> \<longlonglongleftarrow> \<longlonglongrightarrow>.
62017
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1341
62108
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1342
* Special notation \<struct> for the first implicit 'structure' in the
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1343
context has been discontinued. Rare INCOMPATIBILITY, use explicit
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1344
structure name instead, notably in indexed notation with block-subscript
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1345
(e.g. \<odot>\<^bsub>A\<^esub>).
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1346
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1347
* The glyph for \<diamond> in the IsabelleText font now corresponds better to its
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1348
counterpart \<box> as quantifier-like symbol. A small diamond is available as
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1349
\<diamondop>; the old symbol \<struct> loses this rendering and any special
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1350
meaning.
0046bacc5f5b \<struct> loses its rendering and is superseded by \<diamondop>;
wenzelm
parents: 62107
diff changeset
  1351
62017
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1352
* Syntax for formal comments "-- text" now also supports the symbolic
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1353
form "\<comment> text". Command-line tool "isabelle update_cartouches -c" helps
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1354
to update old sources.
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1355
61337
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1356
* Toplevel theorem statements have been simplified as follows:
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1357
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1358
  theorems             ~>  lemmas
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1359
  schematic_lemma      ~>  schematic_goal
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1360
  schematic_theorem    ~>  schematic_goal
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1361
  schematic_corollary  ~>  schematic_goal
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1362
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1363
Command-line tool "isabelle update_theorems" updates theory sources
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1364
accordingly.
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1365
61338
de610e8df459 added 'proposition' command;
wenzelm
parents: 61337
diff changeset
  1366
* Toplevel theorem statement 'proposition' is another alias for
de610e8df459 added 'proposition' command;
wenzelm
parents: 61337
diff changeset
  1367
'theorem'.
de610e8df459 added 'proposition' command;
wenzelm
parents: 61337
diff changeset
  1368
62169
a6047f511de7 removed old 'defs' command;
wenzelm
parents: 62168
diff changeset
  1369
* The old 'defs' command has been removed (legacy since Isabelle2014).
a6047f511de7 removed old 'defs' command;
wenzelm
parents: 62168
diff changeset
  1370
INCOMPATIBILITY, use regular 'definition' instead. Overloaded and/or
a6047f511de7 removed old 'defs' command;
wenzelm
parents: 62168
diff changeset
  1371
deferred definitions require a surrounding 'overloading' block.
a6047f511de7 removed old 'defs' command;
wenzelm
parents: 62168
diff changeset
  1372
61337
4645502c3c64 fewer aliases for toplevel theorem statements;
wenzelm
parents: 61325
diff changeset
  1373
60610
f52b4b0c10c4 improved scheduling for urgent tasks, using farm of replacement threads (may lead to factor 2 overloading, but CPUs are usually hyperthreaded);
wenzelm
parents: 60595
diff changeset
  1374
*** Prover IDE -- Isabelle/Scala/jEdit ***
f52b4b0c10c4 improved scheduling for urgent tasks, using farm of replacement threads (may lead to factor 2 overloading, but CPUs are usually hyperthreaded);
wenzelm
parents: 60595
diff changeset
  1375
60986
wenzelm
parents: 60984
diff changeset
  1376
* IDE support for the source-level debugger of Poly/ML, to work with
62253
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1377
Isabelle/ML and official Standard ML. Option "ML_debugger" and commands
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1378
'ML_file_debug', 'ML_file_no_debug', 'SML_file_debug',
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1379
'SML_file_no_debug' control compilation of sources with or without
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1380
debugging information. The Debugger panel allows to set breakpoints (via
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1381
context menu), step through stopped threads, evaluate local ML
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1382
expressions etc. At least one Debugger view needs to be active to have
91363e4c196d more on "ML debugging within the Prover IDE";
wenzelm
parents: 62237
diff changeset
  1383
any effect on the running ML program.
60984
wenzelm
parents: 60983
diff changeset
  1384
61803
wenzelm
parents: 61796
diff changeset
  1385
* The State panel manages explicit proof state output, with dynamic
wenzelm
parents: 61796
diff changeset
  1386
auto-update according to cursor movement. Alternatively, the jEdit
wenzelm
parents: 61796
diff changeset
  1387
action "isabelle.update-state" (shortcut S+ENTER) triggers manual
wenzelm
parents: 61796
diff changeset
  1388
update.
61729
wenzelm
parents: 61701
diff changeset
  1389
wenzelm
parents: 61701
diff changeset
  1390
* The Output panel no longer shows proof state output by default, to
wenzelm
parents: 61701
diff changeset
  1391
avoid GUI overcrowding. INCOMPATIBILITY, use the State panel instead or
wenzelm
parents: 61701
diff changeset
  1392
enable option "editor_output_state".
61215
wenzelm
parents: 61198
diff changeset
  1393
61803
wenzelm
parents: 61796
diff changeset
  1394
* The text overview column (status of errors, warnings etc.) is updated
wenzelm
parents: 61796
diff changeset
  1395
asynchronously, leading to much better editor reactivity. Moreover, the
wenzelm
parents: 61796
diff changeset
  1396
full document node content is taken into account. The width of the
wenzelm
parents: 61796
diff changeset
  1397
column is scaled according to the main text area font, for improved
wenzelm
parents: 61796
diff changeset
  1398
visibility.
wenzelm
parents: 61796
diff changeset
  1399
wenzelm
parents: 61796
diff changeset
  1400
* The main text area no longer changes its color hue in outdated
wenzelm
parents: 61796
diff changeset
  1401
situations. The text overview column takes over the role to indicate
wenzelm
parents: 61796
diff changeset
  1402
unfinished edits in the PIDE pipeline. This avoids flashing text display
wenzelm
parents: 61796
diff changeset
  1403
due to ad-hoc updates by auxiliary GUI components, such as the State
wenzelm
parents: 61796
diff changeset
  1404
panel.
wenzelm
parents: 61796
diff changeset
  1405
62254
81cbea2babd9 tuned NEWS: long-running tasks can still prevent urgent tasks from being started, due to start_execution pri = 0;
wenzelm
parents: 62253
diff changeset
  1406
* Slightly improved scheduling for urgent print tasks (e.g. command
81cbea2babd9 tuned NEWS: long-running tasks can still prevent urgent tasks from being started, due to start_execution pri = 0;
wenzelm
parents: 62253
diff changeset
  1407
state output, interactive queries) wrt. long-running background tasks.
62017
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1408
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1409
* Completion of symbols via prefix of \<name> or \<^name> or \name is
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1410
always possible, independently of the language context. It is never
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1411
implicit: a popup will show up unconditionally.
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1412
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1413
* Additional abbreviations for syntactic completion may be specified in
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1414
$ISABELLE_HOME/etc/abbrevs and $ISABELLE_HOME_USER/etc/abbrevs, with
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1415
support for simple templates using ASCII 007 (bell) as placeholder.
038ee85c95e4 misc tuning for release;
wenzelm
parents: 62016
diff changeset
  1416
62234
7cc9d7b822ae discontinued irregular abbrevs: ".o" counts as word, "+o", "*o", "-o" are occasionally used as ASCII notation, "*o" is in conflict with "(*o" in comments;
wenzelm
parents: 62231
diff changeset
  1417
* Symbols \<oplus>, \<Oplus>, \<otimes>, \<Otimes>, \<odot>, \<Odot>, \<ominus>, \<oslash> no longer provide abbreviations for
7cc9d7b822ae discontinued irregular abbrevs: ".o" counts as word, "+o", "*o", "-o" are occasionally used as ASCII notation, "*o" is in conflict with "(*o" in comments;
wenzelm
parents: 62231
diff changeset
  1418
completion like "+o", "*o", ".o" etc. -- due to conflicts with other
7cc9d7b822ae discontinued irregular abbrevs: ".o" counts as word, "+o", "*o", "-o" are occasionally used as ASCII notation, "*o" is in conflict with "(*o" in comments;
wenzelm
parents: 62231
diff changeset
  1419
ASCII syntax. INCOMPATIBILITY, use plain backslash-completion or define
7cc9d7b822ae discontinued irregular abbrevs: ".o" counts as word, "+o", "*o", "-o" are occasionally used as ASCII notation, "*o" is in conflict with "(*o" in comments;
wenzelm
parents: 62231
diff changeset
  1420
suitable abbreviations in $ISABELLE_HOME_USER/etc/abbrevs.
7cc9d7b822ae discontinued irregular abbrevs: ".o" counts as word, "+o", "*o", "-o" are occasionally used as ASCII notation, "*o" is in conflict with "(*o" in comments;
wenzelm
parents: 62231
diff changeset
  1421
61483
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1422
* Action "isabelle-emph" (with keyboard shortcut C+e LEFT) controls
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1423
emphasized text style; the effect is visible in document output, not in
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1424
the editor.
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1425
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1426
* Action "isabelle-reset" now uses keyboard shortcut C+e BACK_SPACE,
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1427
instead of former C+e LEFT.
07c8d5d8acab added action "isabelle-emph";
wenzelm
parents: 61473
diff changeset
  1428
61512
933463440449 more uniform command-line for "isabelle jedit" and the isabelle.Main app wrapper;
wenzelm
parents: 61501
diff changeset
  1429
* The command-line tool "isabelle jedit" and the isabelle.Main
62027
wenzelm
parents: 62026
diff changeset
  1430
application wrapper treat the default $USER_HOME/Scratch.thy more
61512
933463440449 more uniform command-line for "isabelle jedit" and the isabelle.Main app wrapper;
wenzelm
parents: 61501
diff changeset
  1431
uniformly, and allow the dummy file argument ":" to open an empty buffer
933463440449 more uniform command-line for "isabelle jedit" and the isabelle.Main app wrapper;
wenzelm
parents: 61501