NEWS
author wenzelm
Fri, 25 May 2018 22:47:57 +0200
changeset 68281 cbee43ff4ceb
parent 68260 61188c781cdd
child 68293 7ca0c23179e6
permissions -rw-r--r--
added command 'ML_export';
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.)
60007
wenzelm
parents: 59998
diff changeset
     5
64603
a7f5e59378f7 tuned whitespace;
wenzelm
parents: 64602
diff changeset
     6
66653
435cb8d69e27 back to post-release mode -- after fork point;
wenzelm
parents: 66652
diff changeset
     7
New in this Isabelle version
435cb8d69e27 back to post-release mode -- after fork point;
wenzelm
parents: 66652
diff changeset
     8
----------------------------
435cb8d69e27 back to post-release mode -- after fork point;
wenzelm
parents: 66652
diff changeset
     9
66712
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    10
*** General ***
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    11
67446
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
    12
* Marginal comments need to be written exclusively in the new-style form
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
    13
"\<comment> \<open>text\<close>", old ASCII variants like "-- {* ... *}" are no longer
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
    14
supported. INCOMPATIBILITY, use the command-line tool "isabelle
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
    15
update_comments" to update existing theory files.
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
    16
67507
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
    17
* Old-style inner comments (* ... *) within the term language are legacy
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
    18
and will be discontinued soon: use formal comments "\<comment> \<open>...\<close>" or "\<^cancel>\<open>...\<close>"
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
    19
instead.
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
    20
67402
nipkow
parents: 67400
diff changeset
    21
* The "op <infix-op>" syntax for infix operators has been replaced by
67400
nipkow
parents: 67398
diff changeset
    22
"(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to
nipkow
parents: 67398
diff changeset
    23
be a space between the "*" and the corresponding parenthesis.
nipkow
parents: 67398
diff changeset
    24
INCOMPATIBILITY.
67398
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    25
There is an Isabelle tool "update_op" that converts theory and ML files
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    26
to the new syntax. Because it is based on regular expression matching,
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    27
the result may need a bit of manual postprocessing. Invoking "isabelle
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    28
update_op" converts all files in the current directory (recursively).
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    29
In case you want to exclude conversion of ML files (because the tool
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    30
frequently also converts ML's "op" syntax), use option "-m".
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
    31
67119
acb0807ddb56 discontinued old 'def' command;
wenzelm
parents: 67099
diff changeset
    32
* The old 'def' command has been discontinued (legacy since
acb0807ddb56 discontinued old 'def' command;
wenzelm
parents: 67099
diff changeset
    33
Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with
acb0807ddb56 discontinued old 'def' command;
wenzelm
parents: 67099
diff changeset
    34
object-logic equality or equivalence.
acb0807ddb56 discontinued old 'def' command;
wenzelm
parents: 67099
diff changeset
    35
66712
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    36
* Session-qualified theory names are mandatory: it is no longer possible
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    37
to refer to unqualified theories from the parent session.
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    38
INCOMPATIBILITY for old developments that have not been updated to
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    39
Isabelle2017 yet (using the "isabelle imports" tool).
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    40
67013
335a7dce7cb3 more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents: 66994
diff changeset
    41
* Theory header 'abbrevs' specifications need to be separated by 'and'.
335a7dce7cb3 more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents: 66994
diff changeset
    42
INCOMPATIBILITY.
335a7dce7cb3 more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents: 66994
diff changeset
    43
66993
2c2a346cfe70 clarified situation of global theory names;
wenzelm
parents: 66990
diff changeset
    44
* Only the most fundamental theory names are global, usually the entry
2c2a346cfe70 clarified situation of global theory names;
wenzelm
parents: 66990
diff changeset
    45
points to major logic sessions: Pure, Main, Complex_Main, HOLCF, IFOL,
2c2a346cfe70 clarified situation of global theory names;
wenzelm
parents: 66990
diff changeset
    46
FOL, ZF, ZFC etc. INCOMPATIBILITY, need to use qualified names for
2c2a346cfe70 clarified situation of global theory names;
wenzelm
parents: 66990
diff changeset
    47
formerly global "HOL-Probability.Probability" and "HOL-SPARK.SPARK".
2c2a346cfe70 clarified situation of global theory names;
wenzelm
parents: 66990
diff changeset
    48
66757
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
    49
* Command 'external_file' declares the formal dependency on the given
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
    50
file name, such that the Isabelle build process knows about it, but
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
    51
without specific Prover IDE management.
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
    52
66759
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
    53
* Session ROOT entries no longer allow specification of 'files'. Rare
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
    54
INCOMPATIBILITY, use command 'external_file' within a proper theory
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
    55
context.
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
    56
66764
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    57
* Session root directories may be specified multiple times: each
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    58
accessible ROOT file is processed only once. This facilitates
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    59
specification of $ISABELLE_HOME_USER/ROOTS or command-line options like
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    60
-d or -D for "isabelle build" and "isabelle jedit". Example:
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    61
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    62
  isabelle build -D '~~/src/ZF'
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
    63
67264
449a989f42cd discontinued 'display_drafts' command;
wenzelm
parents: 67263
diff changeset
    64
* The command 'display_drafts' has been discontinued. INCOMPATIBILITY,
449a989f42cd discontinued 'display_drafts' command;
wenzelm
parents: 67263
diff changeset
    65
use action "isabelle.draft" (or "print") in Isabelle/jEdit instead.
449a989f42cd discontinued 'display_drafts' command;
wenzelm
parents: 67263
diff changeset
    66
67305
ecb74607063f more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents: 67304
diff changeset
    67
* Isabelle symbol "\<hyphen>" is rendered as explicit Unicode hyphen U+2010, to
ecb74607063f more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents: 67304
diff changeset
    68
avoid unclear meaning of the old "soft hyphen" U+00AD. Rare
ecb74607063f more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents: 67304
diff changeset
    69
INCOMPATIBILITY, e.g. copy-paste of historic Isabelle HTML output.
ecb74607063f more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents: 67304
diff changeset
    70
66712
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66690
diff changeset
    71
67262
wenzelm
parents: 67248
diff changeset
    72
*** Isabelle/jEdit Prover IDE ***
66768
f27488f47a47 completion supports theory header imports;
wenzelm
parents: 66764
diff changeset
    73
68080
17f79ae49401 set view title dynamically;
wenzelm
parents: 68072
diff changeset
    74
* The view title is set dynamically, according to the Isabelle
17f79ae49401 set view title dynamically;
wenzelm
parents: 68072
diff changeset
    75
distribution and the logic session name. The user can override this via
17f79ae49401 set view title dynamically;
wenzelm
parents: 68072
diff changeset
    76
set-view-title (stored persistently in $JEDIT_SETTINGS/perspective.xml).
17f79ae49401 set view title dynamically;
wenzelm
parents: 68072
diff changeset
    77
67395
b39d596b77ce more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents: 67381
diff changeset
    78
* System options "spell_checker_include" and "spell_checker_exclude"
b39d596b77ce more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents: 67381
diff changeset
    79
supersede former "spell_checker_elements" to determine regions of text
b39d596b77ce more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents: 67381
diff changeset
    80
that are subject to spell-checking. Minor INCOMPATIBILITY.
b39d596b77ce more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents: 67381
diff changeset
    81
67221
wenzelm
parents: 67219
diff changeset
    82
* PIDE markup for session ROOT files: allows to complete session names,
wenzelm
parents: 67219
diff changeset
    83
follow links to theories and document files etc.
67215
03d0c958d65a PIDE markup for session ROOT files;
wenzelm
parents: 67207
diff changeset
    84
66993
2c2a346cfe70 clarified situation of global theory names;
wenzelm
parents: 66990
diff changeset
    85
* Completion supports theory header imports, using theory base name.
66994
38fd865aae45 tuned (non-unique example);
wenzelm
parents: 66993
diff changeset
    86
E.g. "Prob" may be completed to "HOL-Probability.Probability".
66768
f27488f47a47 completion supports theory header imports;
wenzelm
parents: 66764
diff changeset
    87
66988
7f8c1dd7576a support alternative ancestor session;
wenzelm
parents: 66987
diff changeset
    88
* The command-line tool "isabelle jedit" provides more flexible options
7f8c1dd7576a support alternative ancestor session;
wenzelm
parents: 66987
diff changeset
    89
for session selection:
7f8c1dd7576a support alternative ancestor session;
wenzelm
parents: 66987
diff changeset
    90
  - options -P opens the parent session image of -l
7f8c1dd7576a support alternative ancestor session;
wenzelm
parents: 66987
diff changeset
    91
  - options -A and -B modify the meaning of -l to produce a base
7f8c1dd7576a support alternative ancestor session;
wenzelm
parents: 66987
diff changeset
    92
    image on the spot, based on the specified ancestor (or parent)
66987
352b23c97ac8 support focus_session, for much faster startup of Isabelle/jEdit;
wenzelm
parents: 66973
diff changeset
    93
  - option -F focuses on the specified logic session
352b23c97ac8 support focus_session, for much faster startup of Isabelle/jEdit;
wenzelm
parents: 66973
diff changeset
    94
  - option -R has changed: it only opens the session ROOT entry
352b23c97ac8 support focus_session, for much faster startup of Isabelle/jEdit;
wenzelm
parents: 66973
diff changeset
    95
  - option -S sets up the development environment to edit the
352b23c97ac8 support focus_session, for much faster startup of Isabelle/jEdit;
wenzelm
parents: 66973
diff changeset
    96
    specified session: it abbreviates -B -F -R -l
66973
829c3133c4ca added isabelle jedit options -B, -P, clarified -R;
wenzelm
parents: 66954
diff changeset
    97
66990
b23adab22e67 allow unrelated ancestor;
wenzelm
parents: 66988
diff changeset
    98
  Examples:
b23adab22e67 allow unrelated ancestor;
wenzelm
parents: 66988
diff changeset
    99
    isabelle jedit -d '$AFP' -S Formal_SSA -A HOL
b23adab22e67 allow unrelated ancestor;
wenzelm
parents: 66988
diff changeset
   100
    isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis
66988
7f8c1dd7576a support alternative ancestor session;
wenzelm
parents: 66987
diff changeset
   101
67133
wenzelm
parents: 67119
diff changeset
   102
* Named control symbols (without special Unicode rendering) are shown as
wenzelm
parents: 67119
diff changeset
   103
bold-italic keyword. This is particularly useful for the short form of
wenzelm
parents: 67119
diff changeset
   104
antiquotations with control symbol: \<^name>\<open>argument\<close>. The action
wenzelm
parents: 67119
diff changeset
   105
"isabelle.antiquoted_cartouche" turns an antiquotation with 0 or 1
wenzelm
parents: 67119
diff changeset
   106
arguments into this format.
wenzelm
parents: 67119
diff changeset
   107
67311
3869b2400e22 more completion templates;
wenzelm
parents: 67305
diff changeset
   108
* Completion provides templates for named symbols with arguments,
3869b2400e22 more completion templates;
wenzelm
parents: 67305
diff changeset
   109
e.g. "\<comment> \<open>ARGUMENT\<close>" or "\<^emph>\<open>ARGUMENT\<close>".
3869b2400e22 more completion templates;
wenzelm
parents: 67305
diff changeset
   110
67295
wenzelm
parents: 67267
diff changeset
   111
* Bibtex database files (.bib) are semantically checked.
wenzelm
parents: 67267
diff changeset
   112
67248
68177abb2988 isabelle.preview presents bibtex database files as well;
wenzelm
parents: 67246
diff changeset
   113
* Action "isabelle.preview" is able to present more file formats,
67267
wenzelm
parents: 67264
diff changeset
   114
notably bibtex database files and ML files.
67246
4cedf44f2af1 isabelle.preview presents auxiliary text files as well;
wenzelm
parents: 67224
diff changeset
   115
67263
46540a2ead4b action "isabelle.draft" for plain-text preview;
wenzelm
parents: 67262
diff changeset
   116
* Action "isabelle.draft" is similar to "isabelle.preview", but shows a
68068
b91c4acc1aaf clarified menu actions;
wenzelm
parents: 68034
diff changeset
   117
plain-text document draft. Both are available via the menu "Plugins /
b91c4acc1aaf clarified menu actions;
wenzelm
parents: 68034
diff changeset
   118
Isabelle".
67263
46540a2ead4b action "isabelle.draft" for plain-text preview;
wenzelm
parents: 67262
diff changeset
   119
67304
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
   120
* When loading text files, the Isabelle symbols encoding UTF-8-Isabelle
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
   121
is only used if there is no conflict with existing Unicode sequences in
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
   122
the file. Otherwise, the fallback encoding is plain UTF-8 and Isabelle
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
   123
symbols remain in literal \<symbol> form. This avoids accidental loss of
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
   124
Unicode content when saving the file.
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
   125
67994
wenzelm
parents: 67929
diff changeset
   126
* Update to jedit-5.5.0, the latest release.
wenzelm
parents: 67929
diff changeset
   127
67246
4cedf44f2af1 isabelle.preview presents auxiliary text files as well;
wenzelm
parents: 67224
diff changeset
   128
67262
wenzelm
parents: 67248
diff changeset
   129
*** Isabelle/VSCode Prover IDE ***
wenzelm
parents: 67248
diff changeset
   130
wenzelm
parents: 67248
diff changeset
   131
* HTML preview of theories and other file-formats similar to
wenzelm
parents: 67248
diff changeset
   132
Isabelle/jEdit.
wenzelm
parents: 67248
diff changeset
   133
66768
f27488f47a47 completion supports theory header imports;
wenzelm
parents: 66764
diff changeset
   134
67140
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   135
*** Document preparation ***
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   136
67448
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   137
* Formal comments work uniformly in outer syntax, inner syntax (term
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   138
language), Isabelle/ML and some other embedded languages of Isabelle.
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   139
See also "Document comments" in the isar-ref manual. The following forms
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   140
are supported:
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   141
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   142
  - marginal text comment: \<comment> \<open>\<dots>\<close>
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   143
  - canceled source: \<^cancel>\<open>\<dots>\<close>
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
   144
  - raw LaTeX: \<^latex>\<open>\<dots>\<close>
67413
2555713586c8 added \<^cancel> operator for unused text;
wenzelm
parents: 67402
diff changeset
   145
67381
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
   146
* Outside of the inner theory body, the default presentation context is
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
   147
theory Pure. Thus elementary antiquotations may be used in markup
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
   148
commands (e.g. 'chapter', 'section', 'text') and formal comments.
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
   149
67140
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   150
* System option "document_tags" specifies a default for otherwise
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   151
untagged commands. This is occasionally useful to control the global
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   152
visibility of commands via session options (e.g. in ROOT).
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   153
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   154
* Document markup commands ('section', 'text' etc.) are implicitly
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   155
tagged as "document" and visible by default. This avoids the application
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   156
of option "document_tags" to these commands.
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   157
67145
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
   158
* Isabelle names are mangled into LaTeX macro names to allow the full
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
   159
identifier syntax with underscore, prime, digits. This is relevant for
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
   160
antiquotations in control symbol notation, e.g. \<^const_name> becomes
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
   161
\isactrlconstUNDERSCOREname.
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
   162
67297
86a099f896fc formal check of @{cite} bibtex entries -- only in batch-mode session builds;
wenzelm
parents: 67295
diff changeset
   163
* Document antiquotation @{cite} now checks the given Bibtex entries
86a099f896fc formal check of @{cite} bibtex entries -- only in batch-mode session builds;
wenzelm
parents: 67295
diff changeset
   164
against the Bibtex database files -- only in batch-mode session builds.
86a099f896fc formal check of @{cite} bibtex entries -- only in batch-mode session builds;
wenzelm
parents: 67295
diff changeset
   165
67219
81e9804b2014 added document antiquotation @{session name};
wenzelm
parents: 67215
diff changeset
   166
* Document antiquotation @{session name} checks and prints the given
81e9804b2014 added document antiquotation @{session name};
wenzelm
parents: 67215
diff changeset
   167
session name verbatim.
81e9804b2014 added document antiquotation @{session name};
wenzelm
parents: 67215
diff changeset
   168
67157
d0657c8b7616 clarified document preparation vs. skip_proofs;
wenzelm
parents: 67145
diff changeset
   169
* Document preparation with skip_proofs option now preserves the content
d0657c8b7616 clarified document preparation vs. skip_proofs;
wenzelm
parents: 67145
diff changeset
   170
more accurately: only terminal proof steps ('by' etc.) are skipped.
d0657c8b7616 clarified document preparation vs. skip_proofs;
wenzelm
parents: 67145
diff changeset
   171
67176
13b5c3ff1954 re-implemented "isabelle document" in Isabelle/Scala, include latex_errors here;
wenzelm
parents: 67173
diff changeset
   172
* Command-line tool "isabelle document" has been re-implemented in
67194
1c0a6a957114 positions as postlude: avoid intrusion of odd %-forms into main tex source;
wenzelm
parents: 67191
diff changeset
   173
Isabelle/Scala, with simplified arguments and explicit errors from the
67203
85784e16bec8 expose bibtex errors;
wenzelm
parents: 67199
diff changeset
   174
latex and bibtex process. Minor INCOMPATIBILITY.
67173
e746db6db903 more explicit latex errors;
wenzelm
parents: 67157
diff changeset
   175
67140
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
   176
67702
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   177
*** Isar ***
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   178
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   179
* Command 'interpret' no longer exposes resulting theorems as literal
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   180
facts, notably for the \<open>prop\<close> notation or the "fact" proof method. This
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   181
improves modularity of proofs and scalability of locale interpretation.
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   182
Rare INCOMPATIBILITY, need to refer to explicitly named facts instead
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   183
(e.g. use 'find_theorems' or 'try' to figure this out).
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   184
67740
b6ce18784872 Proper rewrite morphisms in locale instances.
ballarin
parents: 67719
diff changeset
   185
* Rewrites clauses (keyword 'rewrites') were moved into the locale
67764
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   186
expression syntax, where they are part of locale instances.  In
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   187
interpretation commands rewrites clauses now need to occur before
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   188
'for' and 'defines'.  Minor INCOMPATIBILITY.
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   189
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   190
* For rewrites clauses, if activating a locale instance fails, fall
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   191
back to reading the clause first.  This helps avoid qualification of
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   192
locale instances where the qualifier's sole purpose is avoiding
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
   193
duplicate constant declarations.
67741
d5a7f2c54655 Fall back to reading rewrite morphism first if activation fails without it.
ballarin
parents: 67740
diff changeset
   194
67702
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67615
diff changeset
   195
67719
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
   196
*** Pure ***
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
   197
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
   198
* The inner syntax category "sort" now includes notation "_" for the
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
   199
dummy sort: it is effectively ignored in type-inference.
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
   200
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
   201
66663
fdab65297bd6 real oracle
blanchet
parents: 66653
diff changeset
   202
*** HOL ***
fdab65297bd6 real oracle
blanchet
parents: 66653
diff changeset
   203
68247
b48bab511939 Moved Landau_Symbols from the AFP to HOL-Library
Manuel Eberl <eberlm@in.tum.de>
parents: 68219
diff changeset
   204
* Landau_Symbols from the AFP was moved to HOL-Library
b48bab511939 Moved Landau_Symbols from the AFP to HOL-Library
Manuel Eberl <eberlm@in.tum.de>
parents: 68219
diff changeset
   205
68028
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   206
* Clarified relationship of characters, strings and code generation:
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   207
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   208
  * Type "char" is now a proper datatype of 8-bit values.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   209
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   210
  * Conversions "nat_of_char" and "char_of_nat" are gone; use more
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   211
    general conversions "of_char" and "char_of" with suitable
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   212
    type constraints instead.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   213
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   214
  * The zero character is just written "CHR 0x00", not
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   215
    "0" any longer.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   216
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   217
  * Type "String.literal" (for code generation) is now isomorphic
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   218
    to lists of 7-bit (ASCII) values; concrete values can be written
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   219
    as "STR ''...''" for sequences of printable characters and
68034
ad4b8b6892c3 uniform tagging for printable and non-printable literals
haftmann
parents: 68028
diff changeset
   220
    "STR 0x..." for one single ASCII code point given
68028
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   221
    as hexadecimal numeral.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   222
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   223
  * Type "String.literal" supports concatenation "... + ..."
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   224
    for all standard target languages.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   225
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   226
  * Theory Library/Code_Char is gone; study the explanations concerning
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   227
    "String.literal" in the tutorial on code generation to get an idea
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   228
    how target-language string literals can be converted to HOL string
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   229
    values and vice versa.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   230
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   231
  * Imperative-HOL: operation "raise" directly takes a value of type
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   232
    "String.literal" as argument, not type "string".
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   233
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   234
INCOMPATIBILITY.
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
   235
68027
64559e1ca05b corrected nonsense
haftmann
parents: 68004
diff changeset
   236
* Abstract bit operations as part of Main: push_bit, take_bit,
64559e1ca05b corrected nonsense
haftmann
parents: 68004
diff changeset
   237
drop_bit.
67929
7f5b1b6f7f40 NEWS and CONTRIBUTORS
haftmann
parents: 67904
diff changeset
   238
67831
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   239
* New, more general, axiomatization of complete_distrib_lattice. 
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   240
The former axioms:
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   241
"sup x (Inf X) = Inf (sup x ` X)" and "inf x (Sup X) = Sup (inf x ` X)"
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   242
are replaced by 
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   243
"Inf (Sup ` A) <= Sup (Inf ` {f ` A | f . (! Y \<in> A . f Y \<in> Y)})"
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   244
The instantiations of sets and functions as complete_distrib_lattice 
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   245
are moved to Hilbert_Choice.thy because their proofs need the Hilbert
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   246
choice operator. The dual of this property is also proved in 
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   247
Hilbert_Choice.thy.
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
   248
67999
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   249
* New syntax for the minimum/maximum of a function over a finite set:
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   250
MIN x\<in>A. B  and even  MIN x. B (only useful for finite types), also
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   251
MAX.
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   252
67525
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   253
* Clarifed theorem names:
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   254
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   255
  Min.antimono ~> Min.subset_imp
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   256
  Max.antimono ~> Max.subset_imp
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   257
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   258
Minor INCOMPATIBILITY.
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
   259
67224
341fbce5b26d a conditional paramitrecity prover
traytel
parents: 67221
diff changeset
   260
* A new command parametric_constant for proving parametricity of
67303
a77c0dd8bb7c tuned whitespace;
wenzelm
parents: 67297
diff changeset
   261
non-recursive definitions. For constants that are not fully parametric
a77c0dd8bb7c tuned whitespace;
wenzelm
parents: 67297
diff changeset
   262
the command will infer conditions on relations (e.g., bi_unique,
a77c0dd8bb7c tuned whitespace;
wenzelm
parents: 67297
diff changeset
   263
bi_total, or type class conditions such as "respects 0") sufficient for
a77c0dd8bb7c tuned whitespace;
wenzelm
parents: 67297
diff changeset
   264
parametricity. See ~~/src/HOL/ex/Conditional_Parametricity_Examples for
a77c0dd8bb7c tuned whitespace;
wenzelm
parents: 67297
diff changeset
   265
some examples.
67224
341fbce5b26d a conditional paramitrecity prover
traytel
parents: 67221
diff changeset
   266
68200
5859c688102a NEWS and CONTRIBUTORS for 8b50f29a1992
Andreas Lochbihler
parents: 68157
diff changeset
   267
* A new preprocessor for the code generator to generate code for algebraic
5859c688102a NEWS and CONTRIBUTORS for 8b50f29a1992
Andreas Lochbihler
parents: 68157
diff changeset
   268
  types with lazy evaluation semantics even in call-by-value target languages.
5859c688102a NEWS and CONTRIBUTORS for 8b50f29a1992
Andreas Lochbihler
parents: 68157
diff changeset
   269
  See theory HOL-Library.Code_Lazy for the implementation and
5859c688102a NEWS and CONTRIBUTORS for 8b50f29a1992
Andreas Lochbihler
parents: 68157
diff changeset
   270
  HOL-Codegenerator_Test.Code_Lazy_Test for examples.
5859c688102a NEWS and CONTRIBUTORS for 8b50f29a1992
Andreas Lochbihler
parents: 68157
diff changeset
   271
66663
fdab65297bd6 real oracle
blanchet
parents: 66653
diff changeset
   272
* SMT module:
fdab65297bd6 real oracle
blanchet
parents: 66653
diff changeset
   273
  - The 'smt_oracle' option is now necessary when using the 'smt' method
66664
4b10fa05423b document incompatibility
blanchet
parents: 66663
diff changeset
   274
    with a solver other than Z3. INCOMPATIBILITY.
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   275
  - The encoding to first-order logic is now more complete in the
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   276
    presence of higher-order quantifiers. An 'smt_explicit_application'
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   277
    option has been added to control this. INCOMPATIBILITY.
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   278
67335
641d7da6ff96 updated NEWS
blanchet
parents: 67311
diff changeset
   279
* Datatypes:
641d7da6ff96 updated NEWS
blanchet
parents: 67311
diff changeset
   280
  - The legacy command 'old_datatype', provided by
641d7da6ff96 updated NEWS
blanchet
parents: 67311
diff changeset
   281
    '~~/src/HOL/Library/Old_Datatype.thy', has been removed. INCOMPATIBILITY.
641d7da6ff96 updated NEWS
blanchet
parents: 67311
diff changeset
   282
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   283
* Theory HOL-Computational_Algebra.Polynomial_Factorial does not provide
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   284
instances of rat, real, complex as factorial rings etc. Import
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   285
HOL-Computational_Algebra.Field_as_Ring explicitly in case of need.
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   286
INCOMPATIBILITY.
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   287
66804
3f9bb52082c4 avoid name clashes on interpretation of abstract locales
haftmann
parents: 66803
diff changeset
   288
* Facts sum.commute(_restrict) and prod.commute(_restrict) renamed to
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   289
sum.swap(_restrict) and prod.swap(_restrict), to avoid name clashes on
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   290
interpretation of abstract locales. INCOMPATIBILITY.
66804
3f9bb52082c4 avoid name clashes on interpretation of abstract locales
haftmann
parents: 66803
diff changeset
   291
66803
dd8922885a68 avoid trivial definition
haftmann
parents: 66801
diff changeset
   292
* Predicate pairwise_coprime abolished, use "pairwise coprime" instead.
dd8922885a68 avoid trivial definition
haftmann
parents: 66801
diff changeset
   293
INCOMPATIBILITY.
dd8922885a68 avoid trivial definition
haftmann
parents: 66801
diff changeset
   294
67615
1d005f514417 strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents: 67591
diff changeset
   295
* The relator rel_filter on filters has been strengthened to its 
1d005f514417 strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents: 67591
diff changeset
   296
canonical categorical definition with better properties. INCOMPATIBILITY.
1d005f514417 strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents: 67591
diff changeset
   297
68071
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   298
* Generalized linear algebra involving linear, span, dependent, dim
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   299
from type class real_vector to locales module and vector_space.
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   300
Renamed:
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   301
  - span_inc ~> span_superset
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   302
  - span_superset ~> span_base
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   303
  - span_eq ~> span_eq_iff
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   304
INCOMPATIBILITY.
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
   305
67341
df79ef3b3a41 Renamed (^) to [^] in preparation of the move from "op X" to (X)
nipkow
parents: 67335
diff changeset
   306
* HOL-Algebra: renamed (^) to [^]
df79ef3b3a41 Renamed (^) to [^] in preparation of the move from "op X" to (X)
nipkow
parents: 67335
diff changeset
   307
67999
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   308
* Session HOL-Analysis: Moebius functions, the Riemann mapping
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   309
theorem, the Vitali covering theorem, change-of-variables results for
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67994
diff changeset
   310
integration and measures.
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
   311
66937
a1a4a5e2933a rule out pathologic instances
haftmann
parents: 66909
diff changeset
   312
* Class linordered_semiring_1 covers zero_less_one also, ruling out
a1a4a5e2933a rule out pathologic instances
haftmann
parents: 66909
diff changeset
   313
pathologic instances. Minor INCOMPATIBILITY.
a1a4a5e2933a rule out pathologic instances
haftmann
parents: 66909
diff changeset
   314
68125
2e5b737810a6 announce sorted changes
nipkow
parents: 68121
diff changeset
   315
* Theory List: functions "sorted_wrt" and "sorted" now compare every
2e5b737810a6 announce sorted changes
nipkow
parents: 68121
diff changeset
   316
  element in a list to all following elements, not just the next one.
2e5b737810a6 announce sorted changes
nipkow
parents: 68121
diff changeset
   317
68250
949d93804740 First step to remove nonstandard "[x <- xs. P]" syntax: only input
nipkow
parents: 68247
diff changeset
   318
* Theory List: the non-standard filter-syntax "[x <- xs. P]" is
949d93804740 First step to remove nonstandard "[x <- xs. P]" syntax: only input
nipkow
parents: 68247
diff changeset
   319
  deprecated and is currently only available as input syntax anymore.
949d93804740 First step to remove nonstandard "[x <- xs. P]" syntax: only input
nipkow
parents: 68247
diff changeset
   320
67051
e7e54a0b9197 dedicated definition for coprimality
haftmann
parents: 67043
diff changeset
   321
* Removed nat-int transfer machinery. Rare INCOMPATIBILITY.
e7e54a0b9197 dedicated definition for coprimality
haftmann
parents: 67043
diff changeset
   322
e7e54a0b9197 dedicated definition for coprimality
haftmann
parents: 67043
diff changeset
   323
* Predicate coprime is now a real definition, not a mere
e7e54a0b9197 dedicated definition for coprimality
haftmann
parents: 67043
diff changeset
   324
abbreviation. INCOMPATIBILITY.
66954
0230af0f3c59 removed ancient nat-int transfer
haftmann
parents: 66949
diff changeset
   325
67207
ad538f6c5d2f dedicated case option for code generation to Scala
haftmann
parents: 67203
diff changeset
   326
* Code generation: Code generation takes an explicit option
ad538f6c5d2f dedicated case option for code generation to Scala
haftmann
parents: 67203
diff changeset
   327
"case_insensitive" to accomodate case-insensitive file systems.
ad538f6c5d2f dedicated case option for code generation to Scala
haftmann
parents: 67203
diff changeset
   328
68103
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   329
* Fact mod_mult_self4 (on nat) renamed to Suc_mod_mult_self3, to avoid
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   330
clash with fact mod_mult_self4 (on more generic semirings).
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   331
INCOMPATIBILITY.
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   332
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   333
* Eliminated some theorem aliasses:
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   334
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   335
  even_times_iff ~> even_mult_iff
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   336
  mod_2_not_eq_zero_eq_one_nat ~> not_mod_2_eq_0_eq_1
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   337
  even_of_nat ~> even_int_iff
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   338
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   339
INCOMPATIBILITY.
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
   340
68157
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   341
* Eliminated some theorem duplicate variations:
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   342
  * dvd_eq_mod_eq_0_numeral can be replaced by dvd_eq_mod_eq_0.
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   343
  * mod_Suc_eq_Suc_mod can be replaced by mod_Suc.
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   344
  * mod_Suc_eq_Suc_mod [symmetrict] can be replaced by mod_simps.
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   345
  * mod_eq_0_iff can be replaced by mod_eq_0_iff_dvd and dvd_def.
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   346
  * The witness of mod_eqD can be given directly as "_ div _".
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   347
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   348
INCOMPATIBILITY.
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
   349
68260
61188c781cdd avoid overaggressive classical rule
haftmann
parents: 68250
diff changeset
   350
* Classical setup: Assumption "m mod d = 0" (for m d :: nat) is no
61188c781cdd avoid overaggressive classical rule
haftmann
parents: 68250
diff changeset
   351
longer aggresively destroyed to "?q. m = d * q".  INCOMPATIBILITY,
61188c781cdd avoid overaggressive classical rule
haftmann
parents: 68250
diff changeset
   352
adding "elim!: dvd" to classical proof methods in most situations
61188c781cdd avoid overaggressive classical rule
haftmann
parents: 68250
diff changeset
   353
restores broken proofs.
61188c781cdd avoid overaggressive classical rule
haftmann
parents: 68250
diff changeset
   354
66653
435cb8d69e27 back to post-release mode -- after fork point;
wenzelm
parents: 66652
diff changeset
   355
68121
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   356
*** ML ***
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   357
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   358
* Operation Export.export emits theory exports (arbitrary blobs), which
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   359
are stored persistently in the session build database.
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   360
68281
cbee43ff4ceb added command 'ML_export';
wenzelm
parents: 68260
diff changeset
   361
* Command 'ML_export' exports ML toplevel bindings to the global
cbee43ff4ceb added command 'ML_export';
wenzelm
parents: 68260
diff changeset
   362
bootstrap environment of the ML process. This allows ML evaluation
cbee43ff4ceb added command 'ML_export';
wenzelm
parents: 68260
diff changeset
   363
without a formal theory context, e.g. in command-line tools like
cbee43ff4ceb added command 'ML_export';
wenzelm
parents: 68260
diff changeset
   364
"isabelle process".
cbee43ff4ceb added command 'ML_export';
wenzelm
parents: 68260
diff changeset
   365
68121
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   366
66729
wenzelm
parents: 66712
diff changeset
   367
*** System ***
wenzelm
parents: 66712
diff changeset
   368
68219
c0341c0080e2 clarified store directories;
wenzelm
parents: 68200
diff changeset
   369
* Settings ISABELLE_PATH and ISABELLE_OUTPUT have been discontinued:
c0341c0080e2 clarified store directories;
wenzelm
parents: 68200
diff changeset
   370
heap images and session databases are always stored in
c0341c0080e2 clarified store directories;
wenzelm
parents: 68200
diff changeset
   371
$ISABELLE_HOME_USER/heaps/$ML_IDENTIFIER (command-line default) or
c0341c0080e2 clarified store directories;
wenzelm
parents: 68200
diff changeset
   372
$ISABELLE_HOME/heaps/$ML_IDENTIFIER (main Isabelle application or
c0341c0080e2 clarified store directories;
wenzelm
parents: 68200
diff changeset
   373
"isabelle jedit -s" or "isabelle build -s").
c0341c0080e2 clarified store directories;
wenzelm
parents: 68200
diff changeset
   374
68121
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   375
* The command-line tool retrieves theory exports from the session build
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   376
database.
ac82ee617a75 command-line tool "isabelle export";
wenzelm
parents: 68103
diff changeset
   377
67904
465f43a9f780 documentation for the Isabelle server;
wenzelm
parents: 67831
diff changeset
   378
* The command-line tools "isabelle server" and "isabelle client" provide
465f43a9f780 documentation for the Isabelle server;
wenzelm
parents: 67831
diff changeset
   379
access to the Isabelle Server: it supports responsive session management
465f43a9f780 documentation for the Isabelle server;
wenzelm
parents: 67831
diff changeset
   380
and concurrent use of theories, based on Isabelle/PIDE infrastructure.
465f43a9f780 documentation for the Isabelle server;
wenzelm
parents: 67831
diff changeset
   381
See also the "system" manual.
465f43a9f780 documentation for the Isabelle server;
wenzelm
parents: 67831
diff changeset
   382
67433
e0c0c1f0e3e7 more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
wenzelm
parents: 67424
diff changeset
   383
* The command-line tool "isabelle update_comments" normalizes formal
e0c0c1f0e3e7 more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
wenzelm
parents: 67424
diff changeset
   384
comments in outer syntax as follows: \<comment> \<open>text\<close> (whith a single space to
e0c0c1f0e3e7 more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
wenzelm
parents: 67424
diff changeset
   385
approximate the appearance in document output). This is more specific
e0c0c1f0e3e7 more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
wenzelm
parents: 67424
diff changeset
   386
than former "isabelle update_cartouches -c": the latter tool option has
e0c0c1f0e3e7 more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
wenzelm
parents: 67424
diff changeset
   387
been discontinued.
e0c0c1f0e3e7 more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
wenzelm
parents: 67424
diff changeset
   388
66949
wenzelm
parents: 66937
diff changeset
   389
* Session ROOT entry: empty 'document_files' means there is no document
wenzelm
parents: 66937
diff changeset
   390
for this session. There is no need to specify options [document = false]
wenzelm
parents: 66937
diff changeset
   391
anymore.
wenzelm
parents: 66937
diff changeset
   392
67043
848672fcaee5 more options for "isabelle mkroot";
wenzelm
parents: 67013
diff changeset
   393
* The command-line tool "isabelle mkroot" now always produces a document
848672fcaee5 more options for "isabelle mkroot";
wenzelm
parents: 67013
diff changeset
   394
outline: its options have been adapted accordingly. INCOMPATIBILITY.
848672fcaee5 more options for "isabelle mkroot";
wenzelm
parents: 67013
diff changeset
   395
67069
f11486d31586 init Mercurial repository for the generated session files;
wenzelm
parents: 67051
diff changeset
   396
* The command-line tool "isabelle mkroot -I" initializes a Mercurial
f11486d31586 init Mercurial repository for the generated session files;
wenzelm
parents: 67051
diff changeset
   397
repository for the generated session files.
f11486d31586 init Mercurial repository for the generated session files;
wenzelm
parents: 67051
diff changeset
   398
66909
9eaa9504991b discontinued Linux 32bit platform support;
wenzelm
parents: 66906
diff changeset
   399
* Linux and Windows/Cygwin is for x86_64 only. Old 32bit platform
9eaa9504991b discontinued Linux 32bit platform support;
wenzelm
parents: 66906
diff changeset
   400
support has been discontinued.
66729
wenzelm
parents: 66712
diff changeset
   401
67088
89e82aed7813 Mac OS X 10.10 Yosemite is baseline;
wenzelm
parents: 67069
diff changeset
   402
* Mac OS X 10.10 Yosemite is now the baseline version; Mavericks is no
89e82aed7813 Mac OS X 10.10 Yosemite is baseline;
wenzelm
parents: 67069
diff changeset
   403
longer supported.
89e82aed7813 Mac OS X 10.10 Yosemite is baseline;
wenzelm
parents: 67069
diff changeset
   404
66906
03a96b8c7c06 updated to jdk-8u152, which is for x86_64 only;
wenzelm
parents: 66851
diff changeset
   405
* Java runtime is for x86_64 only. Corresponding Isabelle settings have
03a96b8c7c06 updated to jdk-8u152, which is for x86_64 only;
wenzelm
parents: 66851
diff changeset
   406
been renamed to ISABELLE_TOOL_JAVA_OPTIONS and JEDIT_JAVA_OPTIONS,
03a96b8c7c06 updated to jdk-8u152, which is for x86_64 only;
wenzelm
parents: 66851
diff changeset
   407
instead of former 32/64 variants. INCOMPATIBILITY.
03a96b8c7c06 updated to jdk-8u152, which is for x86_64 only;
wenzelm
parents: 66851
diff changeset
   408
68004
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   409
* Old settings ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM should be
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   410
phased out due to unclear preference of 32bit vs. 64bit architecture.
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   411
Explicit GNU bash expressions are now preferred, for example (with
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   412
quotes):
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   413
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   414
  #Posix executables (Unix or Cygwin), with preference for 64bit
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   415
  "${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}"
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   416
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   417
  #native Windows or Unix executables, with preference for 64bit
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   418
  "${ISABELLE_WINDOWS_PLATFORM64:-${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}}"
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   419
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   420
  #native Windows (32bit) or Unix executables (preference for 64bit)
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   421
  "${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}"
9b89d831dc80 prefer explicit 32/64 bit platform settings;
wenzelm
parents: 67999
diff changeset
   422
66745
e7ac579b883c option -S for "isabelle build";
wenzelm
parents: 66739
diff changeset
   423
* Command-line tool "isabelle build" supports new options:
e7ac579b883c option -S for "isabelle build";
wenzelm
parents: 66739
diff changeset
   424
  - option -B NAME: include session NAME and all descendants
e7ac579b883c option -S for "isabelle build";
wenzelm
parents: 66739
diff changeset
   425
  - option -S: only observe changes of sources, not heap images
66841
5c32a072ca8b added isablle build option -f;
wenzelm
parents: 66826
diff changeset
   426
  - option -f: forces a fresh build
66737
2edc0c42c883 option -B for "isabelle build" and "isabelle imports";
wenzelm
parents: 66729
diff changeset
   427
66843
be08a7691c62 clarified meta_digest;
wenzelm
parents: 66841
diff changeset
   428
* Command-line tool "isabelle build" takes "condition" options with the
be08a7691c62 clarified meta_digest;
wenzelm
parents: 66841
diff changeset
   429
corresponding environment values into account, when determining the
be08a7691c62 clarified meta_digest;
wenzelm
parents: 66841
diff changeset
   430
up-to-date status of a session.
be08a7691c62 clarified meta_digest;
wenzelm
parents: 66841
diff changeset
   431
66851
c75769065548 more informative Imports.Report with actual session imports (minimized);
wenzelm
parents: 66844
diff changeset
   432
* Command-line tool "isabelle imports -I" also reports actual session
c75769065548 more informative Imports.Report with actual session imports (minimized);
wenzelm
parents: 66844
diff changeset
   433
imports. This helps to minimize the session dependency graph.
c75769065548 more informative Imports.Report with actual session imports (minimized);
wenzelm
parents: 66844
diff changeset
   434
67099
3345d53e7c58 updated to official release of polyml-5.7.1;
wenzelm
parents: 67088
diff changeset
   435
* Update to current Poly/ML 5.7.1 with slightly improved performance and
3345d53e7c58 updated to official release of polyml-5.7.1;
wenzelm
parents: 67088
diff changeset
   436
PIDE markup for identifier bindings.
3345d53e7c58 updated to official release of polyml-5.7.1;
wenzelm
parents: 67088
diff changeset
   437
67199
wenzelm
parents: 67194
diff changeset
   438
* ISABELLE_LATEX and ISABELLE_PDFLATEX now include platform-specific
wenzelm
parents: 67194
diff changeset
   439
options for improved error reporting. Potential INCOMPATIBILITY with
wenzelm
parents: 67194
diff changeset
   440
unusual LaTeX installations, may have to adapt these settings.
wenzelm
parents: 67194
diff changeset
   441
67591
wenzelm
parents: 67525
diff changeset
   442
* The bundled Poly/ML 5.7.1 now uses The GNU Multiple Precision
wenzelm
parents: 67525
diff changeset
   443
Arithmetic Library (libgmp) on all platforms, notably Mac OS X with
wenzelm
parents: 67525
diff changeset
   444
32/64 bit.
wenzelm
parents: 67525
diff changeset
   445
67099
3345d53e7c58 updated to official release of polyml-5.7.1;
wenzelm
parents: 67088
diff changeset
   446
66729
wenzelm
parents: 66712
diff changeset
   447
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   448
New in Isabelle2017 (October 2017)
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   449
----------------------------------
64439
2bafda87b524 back to post-release mode -- after fork point;
wenzelm
parents: 64391
diff changeset
   450
64986
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
   451
*** General ***
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
   452
66238
wenzelm
parents: 66181
diff changeset
   453
* Experimental support for Visual Studio Code (VSCode) as alternative
wenzelm
parents: 66181
diff changeset
   454
Isabelle/PIDE front-end, see also
66601
34b20f7236ea proper URL;
wenzelm
parents: 66576
diff changeset
   455
https://marketplace.visualstudio.com/items?itemName=makarius.Isabelle2017
66238
wenzelm
parents: 66181
diff changeset
   456
wenzelm
parents: 66181
diff changeset
   457
VSCode is a new type of application that continues the concepts of
wenzelm
parents: 66181
diff changeset
   458
"programmer's editor" and "integrated development environment" towards
wenzelm
parents: 66181
diff changeset
   459
fully semantic editing and debugging -- in a relatively light-weight
wenzelm
parents: 66181
diff changeset
   460
manner. Thus it fits nicely on top of the Isabelle/PIDE infrastructure.
wenzelm
parents: 66181
diff changeset
   461
Technically, VSCode is based on the Electron application framework
wenzelm
parents: 66181
diff changeset
   462
(Node.js + Chromium browser + V8), which is implemented in JavaScript
wenzelm
parents: 66181
diff changeset
   463
and TypeScript, while Isabelle/VSCode mainly consists of Isabelle/Scala
wenzelm
parents: 66181
diff changeset
   464
modules around a Language Server implementation.
wenzelm
parents: 66181
diff changeset
   465
65504
b80477da30eb some documentation;
wenzelm
parents: 65465
diff changeset
   466
* Theory names are qualified by the session name that they belong to.
66454
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   467
This affects imports, but not the theory name space prefix (which is
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   468
just the theory base name as before).
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   469
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   470
In order to import theories from other sessions, the ROOT file format
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   471
provides a new 'sessions' keyword. In contrast, a theory that is
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   472
imported in the old-fashioned manner via an explicit file-system path
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   473
belongs to the current session, and might cause theory name conflicts
66454
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   474
later on. Theories that are imported from other sessions are excluded
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   475
from the current session document. The command-line tool "isabelle
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   476
imports" helps to update theory imports.
1a73ad1c06dd more NEWS;
wenzelm
parents: 66450
diff changeset
   477
65451
wenzelm
parents: 65448
diff changeset
   478
* The main theory entry points for some non-HOL sessions have changed,
wenzelm
parents: 65448
diff changeset
   479
to avoid confusion with the global name "Main" of the session HOL. This
wenzelm
parents: 65448
diff changeset
   480
leads to the follow renamings:
wenzelm
parents: 65448
diff changeset
   481
wenzelm
parents: 65448
diff changeset
   482
  CTT/Main.thy    ~>  CTT/CTT.thy
wenzelm
parents: 65448
diff changeset
   483
  ZF/Main.thy     ~>  ZF/ZF.thy
wenzelm
parents: 65448
diff changeset
   484
  ZF/Main_ZF.thy  ~>  ZF/ZF.thy
wenzelm
parents: 65448
diff changeset
   485
  ZF/Main_ZFC.thy ~>  ZF/ZFC.thy
wenzelm
parents: 65448
diff changeset
   486
  ZF/ZF.thy       ~>  ZF/ZF_Base.thy
wenzelm
parents: 65448
diff changeset
   487
wenzelm
parents: 65448
diff changeset
   488
INCOMPATIBILITY.
wenzelm
parents: 65448
diff changeset
   489
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   490
* Commands 'alias' and 'type_alias' introduce aliases for constants and
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   491
type constructors, respectively. This allows adhoc changes to name-space
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   492
accesses within global or local theory contexts, e.g. within a 'bundle'.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   493
64986
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
   494
* Document antiquotations @{prf} and @{full_prf} output proof terms
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
   495
(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
   496
65055
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   497
* Computations generated by the code generator can be embedded directly
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   498
into ML, alongside with @{code} antiquotations, using the following
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   499
antiquotations:
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   500
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   501
  @{computation ... terms: ... datatypes: ...} :
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   502
    ((term -> term) -> 'ml option -> 'a) -> Proof.context -> term -> 'a
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   503
  @{computation_conv ... terms: ... datatypes: ...} :
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   504
    (Proof.context -> 'ml -> conv) -> Proof.context -> conv
65045
b69ef432438d avoid Unicode that conflicts with Isabelle symbol rendering;
wenzelm
parents: 65042
diff changeset
   505
  @{computation_check terms: ... datatypes: ...} : Proof.context -> conv
65041
2525e680f94f basic documentation for computations
haftmann
parents: 65027
diff changeset
   506
65055
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   507
See src/HOL/ex/Computations.thy,
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   508
src/HOL/Decision_Procs/Commutative_Ring.thy and
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   509
src/HOL/Decision_Procs/Reflective_Field.thy for examples and the
12189e86c49d tuned whitespace;
wenzelm
parents: 65050
diff changeset
   510
tutorial on code generation.
65041
2525e680f94f basic documentation for computations
haftmann
parents: 65027
diff changeset
   511
64986
b81a048960a3 more uniform use of Reconstruct.clean_proof_of;
wenzelm
parents: 64917
diff changeset
   512
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   513
*** Prover IDE -- Isabelle/Scala/jEdit ***
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   514
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   515
* Session-qualified theory imports allow the Prover IDE to process
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   516
arbitrary theory hierarchies independently of the underlying logic
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   517
session image (e.g. option "isabelle jedit -l"), but the directory
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   518
structure needs to be known in advance (e.g. option "isabelle jedit -d"
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   519
or a line in the file $ISABELLE_HOME_USER/ROOTS).
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   520
64842
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   521
* The PIDE document model maintains file content independently of the
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   522
status of jEdit editor buffers. Reloading jEdit buffers no longer causes
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   523
changes of formal document content. Theory dependencies are always
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   524
resolved internally, without the need for corresponding editor buffers.
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   525
The system option "jedit_auto_load" has been discontinued: it is
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   526
effectively always enabled.
9c69b495c05d more documentation;
wenzelm
parents: 64787
diff changeset
   527
64867
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
   528
* The Theories dockable provides a "Purge" button, in order to restrict
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
   529
the document model to theories that are required for open editor
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
   530
buffers.
e7220f4de11f support "purge" operation on document model;
wenzelm
parents: 64846
diff changeset
   531
66426
wenzelm
parents: 66348
diff changeset
   532
* The Theories dockable indicates the overall status of checking of each
wenzelm
parents: 66348
diff changeset
   533
entry. When all forked tasks of a theory are finished, the border is
wenzelm
parents: 66348
diff changeset
   534
painted with thick lines; remaining errors in this situation are
wenzelm
parents: 66348
diff changeset
   535
represented by a different border color.
wenzelm
parents: 66348
diff changeset
   536
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   537
* Automatic indentation is more careful to avoid redundant spaces in
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   538
intermediate situations. Keywords are indented after input (via typed
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   539
characters or completion); see also option "jedit_indent_input".
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   540
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   541
* Action "isabelle.preview" opens an HTML preview of the current theory
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   542
document in the default web browser.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   543
66576
e16b27bd3f76 reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents: 66555
diff changeset
   544
* Command-line invocation "isabelle jedit -R -l LOGIC" opens the ROOT
e16b27bd3f76 reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents: 66555
diff changeset
   545
entry of the specified logic session in the editor, while its parent is
e16b27bd3f76 reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents: 66555
diff changeset
   546
used for formal checking.
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   547
66463
0a8277e9cfd6 officially allow restart of Isabelle plugin;
wenzelm
parents: 66455
diff changeset
   548
* The main Isabelle/jEdit plugin may be restarted manually (using the
0a8277e9cfd6 officially allow restart of Isabelle plugin;
wenzelm
parents: 66455
diff changeset
   549
jEdit Plugin Manager), as long as the "Isabelle Base" plugin remains
0a8277e9cfd6 officially allow restart of Isabelle plugin;
wenzelm
parents: 66455
diff changeset
   550
enabled at all times.
0a8277e9cfd6 officially allow restart of Isabelle plugin;
wenzelm
parents: 66455
diff changeset
   551
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   552
* Update to current jedit-5.4.0.
65329
4f3da52cec02 updated to jedit-5.4.0;
wenzelm
parents: 65170
diff changeset
   553
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   554
66149
4bf16fb7c14d deleting a code equation never leads to unimplemented function
haftmann
parents: 66135
diff changeset
   555
*** Pure ***
4bf16fb7c14d deleting a code equation never leads to unimplemented function
haftmann
parents: 66135
diff changeset
   556
4bf16fb7c14d deleting a code equation never leads to unimplemented function
haftmann
parents: 66135
diff changeset
   557
* Deleting the last code equations for a particular function using
4bf16fb7c14d deleting a code equation never leads to unimplemented function
haftmann
parents: 66135
diff changeset
   558
[code del] results in function with no equations (runtime abort) rather
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   559
than an unimplemented function (generation time abort). Use explicit
66667
ec78c84bfc44 spelling
haftmann
parents: 66652
diff changeset
   560
[[code drop:]] to enforce the latter. Minor INCOMPATIBILITY.
66149
4bf16fb7c14d deleting a code equation never leads to unimplemented function
haftmann
parents: 66135
diff changeset
   561
66313
e8d2862ec203 simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents: 66298
diff changeset
   562
* Proper concept of code declarations in code.ML:
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   563
  - Regular code declarations act only on the global theory level, being
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   564
    ignored with warnings if syntactically malformed.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   565
  - Explicitly global code declarations yield errors if syntactically
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   566
    malformed.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   567
  - Default code declarations are silently ignored if syntactically
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   568
    malformed.
66313
e8d2862ec203 simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents: 66298
diff changeset
   569
Minor INCOMPATIBILITY.
e8d2862ec203 simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents: 66298
diff changeset
   570
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   571
* Clarified and standardized internal data bookkeeping of code
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   572
declarations: history of serials allows to track potentially
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   573
non-monotonous declarations appropriately. Minor INCOMPATIBILITY.
66313
e8d2862ec203 simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents: 66298
diff changeset
   574
66149
4bf16fb7c14d deleting a code equation never leads to unimplemented function
haftmann
parents: 66135
diff changeset
   575
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   576
*** HOL ***
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   577
66616
1f1c5d85d232 moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents: 66601
diff changeset
   578
* The Nunchaku model finder is now part of "Main".
1f1c5d85d232 moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents: 66601
diff changeset
   579
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   580
* SMT module:
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   581
  - A new option, 'smt_nat_as_int', has been added to translate 'nat' to
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   582
    'int' and benefit from the SMT solver's theory reasoning. It is
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   583
    disabled by default.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   584
  - The legacy module "src/HOL/Library/Old_SMT.thy" has been removed.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   585
  - Several small issues have been rectified in the 'smt' command.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   586
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   587
* (Co)datatype package: The 'size_gen_o_map' lemma is no longer
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   588
generated for datatypes with type class annotations. As a result, the
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   589
tactic that derives it no longer fails on nested datatypes. Slight
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   590
INCOMPATIBILITY.
66450
a8299195ed82 NEWS: Removed constant subseq; subsumed by strict_mono
eberlm <eberlm@in.tum.de>
parents: 66449
diff changeset
   591
66348
882abe912da9 do not fall back on nbe if plain evaluation fails
haftmann
parents: 66313
diff changeset
   592
* Command and antiquotation "value" with modified default strategy:
882abe912da9 do not fall back on nbe if plain evaluation fails
haftmann
parents: 66313
diff changeset
   593
terms without free variables are always evaluated using plain evaluation
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   594
only, with no fallback on normalization by evaluation. Minor
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   595
INCOMPATIBILITY.
65956
639eb3617a86 reorganised material on sublists
eberlm <eberlm@in.tum.de>
parents: 65841
diff changeset
   596
65552
f533820e7248 theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents: 65544
diff changeset
   597
* Theories "GCD" and "Binomial" are already included in "Main" (instead
65575
wenzelm
parents: 65572
diff changeset
   598
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
   599
65170
53675f36820d restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents: 65099
diff changeset
   600
* Constant "surj" is a full input/output abbreviation (again).
53675f36820d restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents: 65099
diff changeset
   601
Minor INCOMPATIBILITY.
53675f36820d restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents: 65099
diff changeset
   602
64632
9df24b8b6c0a dropped aliasses
haftmann
parents: 64603
diff changeset
   603
* Dropped aliasses RangeP, DomainP for Rangep, Domainp respectively.
9df24b8b6c0a dropped aliasses
haftmann
parents: 64603
diff changeset
   604
INCOMPATIBILITY.
9df24b8b6c0a dropped aliasses
haftmann
parents: 64603
diff changeset
   605
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   606
* Renamed ii to imaginary_unit in order to free up ii as a variable
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   607
name. The syntax \<i> remains available. INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   608
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   609
* Dropped abbreviations transP, antisymP, single_valuedP; use constants
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   610
transp, antisymp, single_valuedp instead. INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   611
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   612
* Constant "subseq" in Topological_Spaces has been removed -- it is
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   613
subsumed by "strict_mono". Some basic lemmas specific to "subseq" have
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   614
been renamed accordingly, e.g. "subseq_o" -> "strict_mono_o" etc.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   615
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   616
* Theory List: "sublist" renamed to "nths" in analogy with "nth", and
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   617
"sublisteq" renamed to "subseq". Minor INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   618
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   619
* Theory List: new generic function "sorted_wrt".
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   620
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   621
* Named theorems mod_simps covers various congruence rules concerning
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   622
mod, replacing former zmod_simps. INCOMPATIBILITY.
64787
067cacdd1117 tuned NEWS
haftmann
parents: 64786
diff changeset
   623
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   624
* Swapped orientation of congruence rules mod_add_left_eq,
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   625
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
   626
mod_mult_eq, mod_minus_eq, mod_diff_left_eq, mod_diff_right_eq,
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   627
mod_diff_eq. INCOMPATIBILITY.
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   628
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   629
* Generalized some facts:
64876
65a247444100 generalized types in lemmas
blanchet
parents: 64867
diff changeset
   630
    measure_induct_rule
65a247444100 generalized types in lemmas
blanchet
parents: 64867
diff changeset
   631
    measure_induct
64593
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   632
    zminus_zmod ~> mod_minus_eq
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   633
    zdiff_zmod_left ~> mod_diff_left_eq
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   634
    zdiff_zmod_right ~> mod_diff_right_eq
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   635
    zmod_eq_dvd_iff ~> mod_eq_dvd_iff
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   636
INCOMPATIBILITY.
50c715579715 reoriented congruence rules in non-explosive direction
haftmann
parents: 64555
diff changeset
   637
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   638
* Algebraic type class hierarchy of euclidean (semi)rings in HOL:
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   639
euclidean_(semi)ring, euclidean_(semi)ring_cancel,
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   640
unique_euclidean_(semi)ring; instantiation requires provision of a
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   641
euclidean size.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   642
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   643
* Theory "HOL-Number_Theory.Euclidean_Algorithm" has been reworked:
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   644
  - Euclidean induction is available as rule eucl_induct.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   645
  - Constants Euclidean_Algorithm.gcd, Euclidean_Algorithm.lcm,
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   646
    Euclidean_Algorithm.Gcd and Euclidean_Algorithm.Lcm allow
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   647
    easy instantiation of euclidean (semi)rings as GCD (semi)rings.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   648
  - Coefficients obtained by extended euclidean algorithm are
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   649
    available as "bezout_coefficients".
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   650
INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   651
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   652
* Theory "Number_Theory.Totient" introduces basic notions about Euler's
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   653
totient function previously hidden as solitary example in theory
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   654
Residues. Definition changed so that "totient 1 = 1" in agreement with
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   655
the literature. Minor INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   656
66542
075bbb78d33c proper theory name;
wenzelm
parents: 66541
diff changeset
   657
* New styles in theory "HOL-Library.LaTeXsugar":
66541
nipkow
parents: 66487
diff changeset
   658
  - "dummy_pats" for printing equations with "_" on the lhs;
nipkow
parents: 66487
diff changeset
   659
  - "eta_expand" for printing eta-expanded terms.
nipkow
parents: 66487
diff changeset
   660
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   661
* Theory "HOL-Library.Permutations": theorem bij_swap_ompose_bij has
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   662
been renamed to bij_swap_compose_bij. INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   663
66645
f7e38b8583a0 Correction of typos and a bit of streamlining
paulson <lp15@cam.ac.uk>
parents: 66643
diff changeset
   664
* New theory "HOL-Library.Going_To_Filter" providing the "f going_to F"
66487
9d83e8fe3de3 HOL-Library: going_to filter
Manuel Eberl <eberlm@in.tum.de>
parents: 66481
diff changeset
   665
filter for describing points x such that f(x) is in the filter F.
9d83e8fe3de3 HOL-Library: going_to filter
Manuel Eberl <eberlm@in.tum.de>
parents: 66481
diff changeset
   666
66480
4b8d1df8933b HOL-Analysis: Convergent FPS and infinite sums
Manuel Eberl <eberlm@in.tum.de>
parents: 66474
diff changeset
   667
* Theory "HOL-Library.Formal_Power_Series": constants X/E/L/F have been
4b8d1df8933b HOL-Analysis: Convergent FPS and infinite sums
Manuel Eberl <eberlm@in.tum.de>
parents: 66474
diff changeset
   668
renamed to fps_X/fps_exp/fps_ln/fps_hypergeo to avoid polluting the name
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   669
space. INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   670
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   671
* Theory "HOL-Library.FinFun" has been moved to AFP (again).
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   672
INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   673
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   674
* Theory "HOL-Library.FuncSet": some old and rarely used ASCII
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   675
replacement syntax has been removed. INCOMPATIBILITY, standard syntax
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   676
with symbols should be used instead. The subsequent commands help to
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   677
reproduce the old forms, e.g. to simplify porting old theories:
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   678
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   679
syntax (ASCII)
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   680
  "_PiE" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set"  ("(3PIE _:_./ _)" 10)
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   681
  "_Pi"  :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set"  ("(3PI _:_./ _)" 10)
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   682
  "_lam" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'a \<Rightarrow> 'b \<Rightarrow> ('a \<Rightarrow> 'b)"  ("(3%_:_./ _)" [0,0,3] 3)
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   683
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   684
* Theory "HOL-Library.Multiset": the simprocs on subsets operators of
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   685
multisets have been renamed:
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   686
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   687
  msetless_cancel_numerals ~> msetsubset_cancel
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   688
  msetle_cancel_numerals ~> msetsubset_eq_cancel
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   689
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   690
INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   691
66481
d35f7a9f92e2 output syntax for pattern aliases
Lars Hupel <lars.hupel@mytum.de>
parents: 66480
diff changeset
   692
* Theory "HOL-Library.Pattern_Aliases" provides input and output syntax
d35f7a9f92e2 output syntax for pattern aliases
Lars Hupel <lars.hupel@mytum.de>
parents: 66480
diff changeset
   693
for pattern aliases as known from Haskell, Scala and ML.
65515
f595b7532dc9 removed Old_SMT legacy module
blanchet
parents: 65511
diff changeset
   694
66555
87b9eb69d5ba add type of unordered pairs
Andreas Lochbihler
parents: 66542
diff changeset
   695
* Theory "HOL-Library.Uprod" formalizes the type of unordered pairs.
87b9eb69d5ba add type of unordered pairs
Andreas Lochbihler
parents: 66542
diff changeset
   696
64898
49aa13b1b592 tuned whitespace;
wenzelm
parents: 64876
diff changeset
   697
* Session HOL-Analysis: more material involving arcs, paths, covering
66652
wenzelm
parents: 66645
diff changeset
   698
spaces, innessential maps, retracts, infinite products, simplicial
wenzelm
parents: 66645
diff changeset
   699
complexes. Baire Category theorem. Major results include the Jordan
wenzelm
parents: 66645
diff changeset
   700
Curve Theorem and the Great Picard Theorem.
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   701
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   702
* Session HOL-Algebra has been extended by additional lattice theory:
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   703
the Knaster-Tarski fixed point theorem and Galois Connections.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   704
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   705
* Sessions HOL-Computational_Algebra and HOL-Number_Theory: new notions
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   706
of squarefreeness, n-th powers, and prime powers.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   707
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   708
* Session "HOL-Computional_Algebra" covers many previously scattered
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   709
theories, notably Euclidean_Algorithm, Factorial_Ring,
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   710
Formal_Power_Series, Fraction_Field, Fundamental_Theorem_Algebra,
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   711
Normalized_Fraction, Polynomial_FPS, Polynomial, Primes. Minor
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   712
INCOMPATIBILITY.
65027
2b8583507891 renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 64986
diff changeset
   713
60331
f215fd466e30 discontinued legacy;
wenzelm
parents: 60310
diff changeset
   714
64844
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   715
*** System ***
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   716
66474
wenzelm
parents: 66473
diff changeset
   717
* Isabelle/Scala: the SQL module supports access to relational
wenzelm
parents: 66473
diff changeset
   718
databases, either as plain file (SQLite) or full-scale server
wenzelm
parents: 66473
diff changeset
   719
(PostgreSQL via local port or remote ssh connection).
wenzelm
parents: 66473
diff changeset
   720
wenzelm
parents: 66473
diff changeset
   721
* Results of "isabelle build" are recorded as SQLite database (i.e.
wenzelm
parents: 66473
diff changeset
   722
"Application File Format" in the sense of
wenzelm
parents: 66473
diff changeset
   723
https://www.sqlite.org/appfileformat.html). This allows systematic
wenzelm
parents: 66473
diff changeset
   724
access via operations from module Sessions.Store in Isabelle/Scala.
wenzelm
parents: 66473
diff changeset
   725
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   726
* System option "parallel_proofs" is 1 by default (instead of more
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   727
aggressive 2). This requires less heap space and avoids burning parallel
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   728
CPU cycles, while full subproof parallelization is enabled for repeated
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   729
builds (according to parallel_subproofs_threshold).
65072
36c650d1a90d more detailed platform information;
wenzelm
parents: 65064
diff changeset
   730
65448
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   731
* 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
   732
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
   733
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
   734
unchanged.
9bc3b57c1fa7 added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents: 65417
diff changeset
   735
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   736
* Isabelle settings variable ISABELLE_SCALA_BUILD_OPTIONS has been
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   737
renamed to ISABELLE_SCALAC_OPTIONS. Rare INCOMPATIBILITY.
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   738
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   739
* Isabelle settings variables ISABELLE_WINDOWS_PLATFORM,
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   740
ISABELLE_WINDOWS_PLATFORM32, ISABELLE_WINDOWS_PLATFORM64 indicate the
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   741
native Windows platform (independently of the Cygwin installation). This
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   742
is analogous to ISABELLE_PLATFORM, ISABELLE_PLATFORM32,
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   743
ISABELLE_PLATFORM64.
65557
29c69a599743 clarified tool name -- more official status;
wenzelm
parents: 65552
diff changeset
   744
66786
61617dafcd60 more NEWS;
wenzelm
parents: 66673
diff changeset
   745
* Command-line tool "isabelle build_docker" builds a Docker image from
61617dafcd60 more NEWS;
wenzelm
parents: 66673
diff changeset
   746
the Isabelle application bundle for Linux. See also
61617dafcd60 more NEWS;
wenzelm
parents: 66673
diff changeset
   747
https://hub.docker.com/r/makarius/isabelle
61617dafcd60 more NEWS;
wenzelm
parents: 66673
diff changeset
   748
66473
wenzelm
parents: 66472
diff changeset
   749
* Command-line tool "isabelle vscode_server" provides a Language Server
wenzelm
parents: 66472
diff changeset
   750
Protocol implementation, e.g. for the Visual Studio Code editor. It
wenzelm
parents: 66472
diff changeset
   751
serves as example for alternative PIDE front-ends.
wenzelm
parents: 66472
diff changeset
   752
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   753
* Command-line tool "isabelle imports" helps to maintain theory imports
66673
41b64e53b6a1 more documentation;
wenzelm
parents: 66667
diff changeset
   754
wrt. session structure. Examples for the main Isabelle distribution:
66472
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   755
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   756
  isabelle imports -I -a
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   757
  isabelle imports -U -a
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   758
  isabelle imports -U -i -a
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   759
  isabelle imports -M -a -d '~~/src/Benchmarks'
1b7d66d62035 misc tuning and updates for release;
wenzelm
parents: 66463
diff changeset
   760
64844
bb70dc05cd38 NEWS for VSCode;
wenzelm
parents: 64842
diff changeset
   761
67099
3345d53e7c58 updated to official release of polyml-5.7.1;
wenzelm
parents: 67088
diff changeset
   762
64072
9f96e4da3064 updated for release;
wenzelm
parents: 64013
diff changeset
   763
New in Isabelle2016-1 (December 2016)
9f96e4da3064 updated for release;
wenzelm
parents: 64013
diff changeset
   764
-------------------------------------
62216
5fb86150a579 back to post-release mode -- after fork point;
wenzelm
parents: 62209
diff changeset
   765
62440
31fa592761da symbol interpretation for \<circle>;
wenzelm
parents: 62430
diff changeset
   766
*** General ***
31fa592761da symbol interpretation for \<circle>;
wenzelm
parents: 62430
diff changeset
   767
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   768
* Splitter in proof methods "simp", "auto" and friends:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   769
  - The syntax "split add" has been discontinued, use plain "split",
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   770
    INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   771
  - For situations with many conditional or case expressions, there is
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   772
    an alternative splitting strategy that can be much faster. It is
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   773
    selected by writing "split!" instead of "split". It applies safe
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   774
    introduction and elimination rules after each split rule. As a
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   775
    result the subgoal may be split into several subgoals.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   776
63273
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   777
* Command 'bundle' provides a local theory target to define a bundle
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   778
from the body of specification commands (such as 'declare',
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   779
'declaration', 'notation', 'lemmas', 'lemma'). For example:
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   780
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   781
bundle foo
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   782
begin
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   783
  declare a [simp]
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   784
  declare b [intro]
302daf918966 prefer hybrid 'bundle' command;
wenzelm
parents: 63272
diff changeset
   785
end
63272
6d8a67a77bad documentation;
wenzelm
parents: 63260
diff changeset
   786
63282
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   787
* Command 'unbundle' is like 'include', but works within a local theory
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   788
context. Unlike "context includes ... begin", the effect of 'unbundle'
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   789
on the target context persists, until different declarations are given.
7c509ddf29a5 added command 'unbundle';
wenzelm
parents: 63273
diff changeset
   790
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   791
* Simplified outer syntax: uniform category "name" includes long
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   792
identifiers. Former "xname" / "nameref" / "name reference" has been
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   793
discontinued.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   794
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   795
* Embedded content (e.g. the inner syntax of types, terms, props) may be
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   796
delimited uniformly via cartouches. This works better than old-fashioned
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   797
quotes when sub-languages are nested.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   798
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   799
* Mixfix annotations support general block properties, with syntax
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   800
"(\<open>x=a y=b z \<dots>\<close>". Notable property names are "indent", "consistent",
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   801
"unbreakable", "markup". The existing notation "(DIGITS" is equivalent
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   802
to "(\<open>indent=DIGITS\<close>". The former notation "(00" for unbreakable blocks
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   803
is superseded by "(\<open>unbreabable\<close>" --- rare INCOMPATIBILITY.
63649
50cadecbe5bc "split add" -> "split".
nipkow
parents: 63635
diff changeset
   804
63384
wenzelm
parents: 63354
diff changeset
   805
* Proof method "blast" is more robust wrt. corner cases of Pure
wenzelm
parents: 63354
diff changeset
   806
statements without object-logic judgment.
wenzelm
parents: 63354
diff changeset
   807
63624
994d1a1105ef more informative 'prf' and 'full_prf', based on HOL/Proofs/ex/XML_Data.thy;
wenzelm
parents: 63610
diff changeset
   808
* Commands 'prf' and 'full_prf' are somewhat more informative (again):
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   809
proof terms are reconstructed and cleaned from administrative thm nodes.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   810
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   811
* Code generator: config option "code_timing" triggers measurements of
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   812
different phases of code generation. See src/HOL/ex/Code_Timing.thy for
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   813
examples.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   814
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   815
* Code generator: implicits in Scala (stemming from type class
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   816
instances) are generated into companion object of corresponding type
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   817
class, to resolve some situations where ambiguities may occur.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   818
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   819
* Solve direct: option "solve_direct_strict_warnings" gives explicit
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   820
warnings for lemma statements with trivial proofs.
64013
048b7dbfdfa3 option to report results of solve_direct as explicit warnings
haftmann
parents: 63995
diff changeset
   821
64602
8edca3465758 added isabelle jedit -R;
wenzelm
parents: 64593
diff changeset
   822
62904
wenzelm
parents: 62886
diff changeset
   823
*** Prover IDE -- Isabelle/Scala/jEdit ***
wenzelm
parents: 62886
diff changeset
   824
64527
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   825
* More aggressive flushing of machine-generated input, according to
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   826
system option editor_generated_input_delay (in addition to existing
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   827
editor_input_delay for regular user edits). This may affect overall PIDE
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   828
reactivity and CPU usage.
49708cffb98d NEWS for e6a3c55b929b;
wenzelm
parents: 64523
diff changeset
   829
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   830
* Syntactic indentation according to Isabelle outer syntax. Action
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   831
"indent-lines" (shortcut C+i) indents the current line according to
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   832
command keywords and some command substructure. Action
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   833
"isabelle.newline" (shortcut ENTER) indents the old and the new line
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   834
according to command keywords only; see also option
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   835
"jedit_indent_newline".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   836
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   837
* Semantic indentation for unstructured proof scripts ('apply' etc.) via
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   838
number of subgoals. This requires information of ongoing document
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   839
processing and may thus lag behind, when the user is editing too
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   840
quickly; see also option "jedit_script_indent" and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   841
"jedit_script_indent_limit".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   842
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   843
* Refined folding mode "isabelle" based on Isar syntax: 'next' and 'qed'
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   844
are treated as delimiters for fold structure; 'begin' and 'end'
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   845
structure of theory specifications is treated as well.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   846
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   847
* Command 'proof' provides information about proof outline with cases,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   848
e.g. for proof methods "cases", "induct", "goal_cases".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   849
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   850
* Completion templates for commands involving "begin ... end" blocks,
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   851
e.g. 'context', 'notepad'.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   852
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   853
* Sidekick parser "isabelle-context" shows nesting of context blocks
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   854
according to 'begin' and 'end' structure.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   855
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   856
* Highlighting of entity def/ref positions wrt. cursor.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   857
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   858
* Action "isabelle.select-entity" (shortcut CS+ENTER) selects all
64514
27914a4f8c70 more on "Formal scopes and semantic selection";
wenzelm
parents: 64457
diff changeset
   859
occurrences of the formal entity at the caret position. This facilitates
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   860
systematic renaming.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   861
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   862
* PIDE document markup works across multiple Isar commands, e.g. the
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   863
results established at the end of a proof are properly identified in the
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   864
theorem statement.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   865
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   866
* Cartouche abbreviations work both for " and ` to accomodate typical
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   867
situations where old ASCII notation may be updated.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   868
63875
wenzelm
parents: 63871
diff changeset
   869
* Dockable window "Symbols" also provides access to 'abbrevs' from the
wenzelm
parents: 63871
diff changeset
   870
outer syntax of the current theory buffer. This provides clickable
wenzelm
parents: 63871
diff changeset
   871
syntax templates, including entries with empty abbrevs name (which are
wenzelm
parents: 63871
diff changeset
   872
inaccessible via keyboard completion).
wenzelm
parents: 63871
diff changeset
   873
63022
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   874
* IDE support for the Isabelle/Pure bootstrap process, with the
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   875
following independent stages:
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   876
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   877
  src/Pure/ROOT0.ML
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   878
  src/Pure/ROOT.ML
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   879
  src/Pure/Pure.thy
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   880
  src/Pure/ML_Bootstrap.thy
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   881
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   882
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
   883
ML_Bootstrap: this allows continuous checking of all loaded ML files.
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   884
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
   885
from the running Isabelle instance. Results from changed versions of
785a59235a15 more IDE support for Isabelle/Pure bootstrap;
wenzelm
parents: 62994
diff changeset
   886
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
   887
actual Isabelle/Pure that runs the IDE itself. The sequential
63308
wenzelm
parents: 63303
diff changeset
   888
dependencies of the above files are only observed for batch build.
62904
wenzelm
parents: 62886
diff changeset
   889
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   890
* Isabelle/ML and Standard ML files are presented in Sidekick with the
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   891
tree structure of section headings: this special comment format is
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   892
described in "implementation" chapter 0, e.g. (*** section ***).
63461
wenzelm
parents: 63455
diff changeset
   893
63581
wenzelm
parents: 63579
diff changeset
   894
* Additional abbreviations for syntactic completion may be specified
63871
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   895
within the theory header as 'abbrevs'. The theory syntax for 'keywords'
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   896
has been simplified accordingly: optional abbrevs need to go into the
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   897
new 'abbrevs' section.
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   898
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   899
* Global abbreviations via $ISABELLE_HOME/etc/abbrevs and
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   900
$ISABELLE_HOME_USER/etc/abbrevs are no longer supported. Minor
f745c6e683b7 discontinued global etc/abbrevs;
wenzelm
parents: 63855
diff changeset
   901
INCOMPATIBILITY, use 'abbrevs' within theory header instead.
63579
73939a9b70a3 support 'abbrevs' within theory header;
wenzelm
parents: 63561
diff changeset
   902
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   903
* Action "isabelle.keymap-merge" asks the user to resolve pending
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   904
Isabelle keymap changes that are in conflict with the current jEdit
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   905
keymap; non-conflicting changes are always applied implicitly. This
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   906
action is automatically invoked on Isabelle/jEdit startup and thus
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   907
increases chances that users see new keyboard shortcuts when re-using
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   908
old keymaps.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
   909
63675
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   910
* ML and document antiquotations for file-systems paths are more uniform
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   911
and diverse:
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   912
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   913
  @{path NAME}   -- no file-system check
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   914
  @{file NAME}   -- check for plain file
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   915
  @{dir NAME}    -- check for directory
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   916
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   917
Minor INCOMPATIBILITY, former uses of @{file} and @{file_unchecked} may
e217525d6b64 uniform ML and document antiquotations;
wenzelm
parents: 63669
diff changeset
   918
have to be changed.
63669
256fc20716f2 clarified antiquotations;
wenzelm
parents: 63656
diff changeset
   919
256fc20716f2 clarified antiquotations;
wenzelm
parents: 63656
diff changeset
   920
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   921
*** Document preparation ***
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   922
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   923
* New symbol \<circle>, e.g. for temporal operator.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   924
64073
cffd5f537206 moved to proper release (cf. 4a72b37ac4b8);
wenzelm
parents: 64072
diff changeset
   925
* New document and ML antiquotation @{locale} for locales, similar to
cffd5f537206 moved to proper release (cf. 4a72b37ac4b8);
wenzelm
parents: 64072
diff changeset
   926
existing antiquotation @{class}.
cffd5f537206 moved to proper release (cf. 4a72b37ac4b8);
wenzelm
parents: 64072
diff changeset
   927
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   928
* Mixfix annotations support delimiters like \<^control>\<open>cartouche\<close> --
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   929
this allows special forms of document output.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   930
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   931
* Raw LaTeX output now works via \<^latex>\<open>...\<close> instead of raw control
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   932
symbol \<^raw:...>. INCOMPATIBILITY, notably for LaTeXsugar.thy and its
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   933
derivatives.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   934
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   935
* \<^raw:...> symbols are no longer supported.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   936
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   937
* Old 'header' command is no longer supported (legacy since
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   938
Isabelle2015).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   939
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   940
62312
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   941
*** Isar ***
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   942
63180
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   943
* Many specification elements support structured statements with 'if' /
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   944
'for' eigen-context, e.g. 'axiomatization', 'abbreviation',
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   945
'definition', 'inductive', 'function'.
ddfd021884b4 clarified check_open_spec / read_open_spec;
wenzelm
parents: 63178
diff changeset
   946
63094
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   947
* Toplevel theorem statements support eigen-context notation with 'if' /
63285
c20946f5b6fb spelling;
wenzelm
parents: 63283
diff changeset
   948
'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
   949
traditional long statement form (in prefix). Local premises are called
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   950
"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
   951
context: INCOMPATIBILITY.
056ea294c256 toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents: 63078
diff changeset
   952
63043
1a20fd9cf281 added Isar command 'define';
wenzelm
parents: 63032
diff changeset
   953
* Command 'define' introduces a local (non-polymorphic) definition, with
1a20fd9cf281 added Isar command 'define';
wenzelm
parents: 63032
diff changeset
   954
optional abstraction over local parameters. The syntax resembles
63047
df83a961d3a8 old 'def' is legacy;
wenzelm
parents: 63043
diff changeset
   955
'definition' and 'obtain'. It fits better into the Isar language than
df83a961d3a8 old 'def' is legacy;
wenzelm
parents: 63043
diff changeset
   956
old 'def', which is now a legacy feature.
63043
1a20fd9cf281 added Isar command 'define';
wenzelm
parents: 63032
diff changeset
   957
63059
3f577308551e 'obtain' supports structured statements (similar to 'define');
wenzelm
parents: 63047
diff changeset
   958
* Command 'obtain' supports structured statements with 'if' / 'for'
3f577308551e 'obtain' supports structured statements (similar to 'define');
wenzelm
parents: 63047
diff changeset
   959
context.
3f577308551e 'obtain' supports structured statements (similar to 'define');
wenzelm
parents: 63047
diff changeset
   960
62312
5e5a881ebc12 command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents: 62284
diff changeset
   961
* 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
   962
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
   963
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   964
* The defining position of a literal fact \<open>prop\<close> is maintained more
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   965
carefully, and made accessible as hyperlink in the Prover IDE.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   966
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   967
* Commands 'finally' and 'ultimately' used to expose the result as
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   968
literal fact: this accidental behaviour has been discontinued. Rare
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   969
INCOMPATIBILITY, use more explicit means to refer to facts in Isar.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   970
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   971
* Command 'axiomatization' has become more restrictive to correspond
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   972
better to internal axioms as singleton facts with mandatory name. Minor
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   973
INCOMPATIBILITY.
62939
ef8d840f39fb removed old proof method "default";
wenzelm
parents: 62932
diff changeset
   974
63259
wenzelm
parents: 63237
diff changeset
   975
* Proof methods may refer to the main facts via the dynamic fact
wenzelm
parents: 63237
diff changeset
   976
"method_facts". This is particularly useful for Eisbach method
wenzelm
parents: 63237
diff changeset
   977
definitions.
wenzelm
parents: 63237
diff changeset
   978
63528
59eff6e56d81 moved method "use" to Pure;
wenzelm
parents: 63513
diff changeset
   979
* Proof method "use" allows to modify the main facts of a given method
59eff6e56d81 moved method "use" to Pure;
wenzelm
parents: 63513
diff changeset
   980
expression, e.g.
63259
wenzelm
parents: 63237
diff changeset
   981
wenzelm
parents: 63237
diff changeset
   982
  (use facts in simp)
wenzelm
parents: 63237
diff changeset
   983
  (use facts in \<open>simp add: ...\<close>)
wenzelm
parents: 63237
diff changeset
   984
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   985
* The old proof method "default" has been removed (legacy since
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   986
Isabelle2016). INCOMPATIBILITY, use "standard" instead.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   987
62216
5fb86150a579 back to post-release mode -- after fork point;
wenzelm
parents: 62209
diff changeset
   988
63165
c12845e8e80a examples and documentation for code generator time measurements
haftmann
parents: 63161
diff changeset
   989
*** Pure ***
c12845e8e80a examples and documentation for code generator time measurements
haftmann
parents: 63161
diff changeset
   990
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   991
* Pure provides basic versions of proof methods "simp" and "simp_all"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   992
that only know about meta-equality (==). Potential INCOMPATIBILITY in
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   993
theory imports that merge Pure with e.g. Main of Isabelle/HOL: the order
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   994
is relevant to avoid confusion of Pure.simp vs. HOL.simp.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   995
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   996
* The command 'unfolding' and proof method "unfold" include a second
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   997
stage where given equations are passed through the attribute "abs_def"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   998
before rewriting. This ensures that definitions are fully expanded,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
   999
regardless of the actual parameters that are provided. Rare
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1000
INCOMPATIBILITY in some corner cases: use proof method (simp only:)
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1001
instead, or declare [[unfold_abs_def = false]] in the proof context.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1002
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1003
* Type-inference improves sorts of newly introduced type variables for
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1004
the object-logic, using its base sort (i.e. HOL.type for Isabelle/HOL).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1005
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
  1006
produce x::'a::type in HOL instead of x::'a::{} in Pure. Rare
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1007
INCOMPATIBILITY, need to provide explicit type constraints for Pure
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1008
types where this is really intended.
63350
705229ed856e compiling implicit instances into companion objects for classes avoids ambiguities
haftmann
parents: 63343
diff changeset
  1009
63165
c12845e8e80a examples and documentation for code generator time measurements
haftmann
parents: 63161
diff changeset
  1010
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
  1011
*** HOL ***
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
  1012
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1013
* New proof method "argo" using the built-in Argo solver based on SMT
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1014
technology. The method can be used to prove goals of quantifier-free
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1015
propositional logic, goals based on a combination of quantifier-free
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1016
propositional logic with equality, and goals based on a combination of
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1017
quantifier-free propositional logic with linear real arithmetic
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1018
including min/max/abs. See HOL/ex/Argo_Examples.thy for examples.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1019
66616
1f1c5d85d232 moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents: 66601
diff changeset
  1020
* The new "nunchaku" command integrates the Nunchaku model finder. The
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1021
tool is experimental. See ~~/src/HOL/Nunchaku/Nunchaku.thy for details.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1022
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1023
* Metis: The problem encoding has changed very slightly. This might
63785
c882ba741244 added warning
blanchet
parents: 63753
diff changeset
  1024
break existing proofs. INCOMPATIBILITY.
c882ba741244 added warning
blanchet
parents: 63753
diff changeset
  1025
63116
32492105b015 generate Vampire 4.0 compatible output
blanchet
parents: 63113
diff changeset
  1026
* Sledgehammer:
63967
2aa42596edc3 new material on paths, etc. Also rationalisation
paulson <lp15@cam.ac.uk>
parents: 63963
diff changeset
  1027
  - The MaSh relevance filter is now faster than before.
63116
32492105b015 generate Vampire 4.0 compatible output
blanchet
parents: 63113
diff changeset
  1028
  - Produce syntactically correct Vampire 4.0 problem files.
32492105b015 generate Vampire 4.0 compatible output
blanchet
parents: 63113
diff changeset
  1029
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
  1030
* (Co)datatype package:
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
  1031
  - New commands for defining corecursive functions and reasoning about
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
  1032
    them in "~~/src/HOL/Library/BNF_Corec.thy": 'corec', 'corecursive',
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
  1033
    'friend_of_corec', and 'corecursion_upto'; and 'corec_unique' proof
62842
db9f95ca2a8f added reference from NEWS to docs
blanchet
parents: 62840
diff changeset
  1034
    method. See 'isabelle doc corec'.
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1035
  - The predicator :: ('a \<Rightarrow> bool) \<Rightarrow> 'a F \<Rightarrow> bool is now a first-class
63855
blanchet
parents: 63830
diff changeset
  1036
    citizen in bounded natural functors.
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
  1037
  - 'primrec' now allows nested calls through the predicator in addition
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
  1038
    to the map function.
63855
blanchet
parents: 63830
diff changeset
  1039
  - 'bnf' automatically discharges reflexive proof obligations.
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
  1040
  - 'bnf' outputs a slightly modified proof obligation expressing rel in
62332
traytel
parents: 62327
diff changeset
  1041
       terms of map and set
63855
blanchet
parents: 63830
diff changeset
  1042
       (not giving a specification for rel makes this one reflexive).
62693
0ae225877b68 document addition of 'corec'
blanchet
parents: 62678
diff changeset
  1043
  - 'bnf' outputs a new proof obligation expressing pred in terms of set
63855
blanchet
parents: 63830
diff changeset
  1044
       (not giving a specification for pred makes this one reflexive).
blanchet
parents: 63830
diff changeset
  1045
    INCOMPATIBILITY: manual 'bnf' declarations may need adjustment.
62335
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
  1046
  - Renamed lemmas:
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
  1047
      rel_prod_apply ~> rel_prod_inject
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
  1048
      pred_prod_apply ~> pred_prod_inject
e85c42f4f30a making 'pred_inject' a first-class BNF citizen
blanchet
parents: 62332
diff changeset
  1049
    INCOMPATIBILITY.
62536
656e9653c645 made 'size' plugin compatible with locales again (and added regression test)
blanchet
parents: 62525
diff changeset
  1050
  - The "size" plugin has been made compatible again with locales.
63855
blanchet
parents: 63830
diff changeset
  1051
  - The theorems about "rel" and "set" may have a slightly different (but
blanchet
parents: 63830
diff changeset
  1052
    equivalent) form.
blanchet
parents: 63830
diff changeset
  1053
    INCOMPATIBILITY.
62327
112eefe85ff0 document new 'primrec' feature
blanchet
parents: 62312
diff changeset
  1054
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1055
* The 'coinductive' command produces a proper coinduction rule for
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1056
mutual coinductive predicates. This new rule replaces the old rule,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1057
which exposed details of the internal fixpoint construction and was
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1058
hard to use. INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1059
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1060
* New abbreviations for negated existence (but not bounded existence):
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1061
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1062
  \<nexists>x. P x \<equiv> \<not> (\<exists>x. P x)
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1063
  \<nexists>!x. P x \<equiv> \<not> (\<exists>!x. P x)
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1064
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1065
* The print mode "HOL" for ASCII syntax of binders "!", "?", "?!", "@"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1066
has been removed for output. It is retained for input only, until it is
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1067
eliminated altogether.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1068
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1069
* The unique existence quantifier no longer provides 'binder' syntax,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1070
but uses syntax translations (as for bounded unique existence). Thus
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1071
iterated quantification \<exists>!x y. P x y with its slightly confusing
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1072
sequential meaning \<exists>!x. \<exists>!y. P x y is no longer possible. Instead,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1073
pattern abstraction admits simultaneous unique existence \<exists>!(x, y). P x y
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1074
(analogous to existing notation \<exists>!(x, y)\<in>A. P x y). Potential
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1075
INCOMPATIBILITY in rare situations.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1076
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1077
* Conventional syntax "%(). t" for unit abstractions. Slight syntactic
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1078
INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1079
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1080
* Renamed constants and corresponding theorems:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1081
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1082
    setsum ~> sum
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1083
    setprod ~> prod
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1084
    listsum ~> sum_list
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1085
    listprod ~> prod_list
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1086
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1087
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1088
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1089
* Sligthly more standardized theorem names:
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1090
    sgn_times ~> sgn_mult
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1091
    sgn_mult' ~> Real_Vector_Spaces.sgn_mult
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1092
    divide_zero_left ~> div_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1093
    zero_mod_left ~> mod_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1094
    divide_zero ~> div_by_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1095
    divide_1 ~> div_by_1
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1096
    nonzero_mult_divide_cancel_left ~> nonzero_mult_div_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1097
    div_mult_self1_is_id ~> nonzero_mult_div_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1098
    nonzero_mult_divide_cancel_right ~> nonzero_mult_div_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1099
    div_mult_self2_is_id ~> nonzero_mult_div_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1100
    is_unit_divide_mult_cancel_left ~> is_unit_div_mult_cancel_left
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1101
    is_unit_divide_mult_cancel_right ~> is_unit_div_mult_cancel_right
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1102
    mod_div_equality ~> div_mult_mod_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1103
    mod_div_equality2 ~> mult_div_mod_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1104
    mod_div_equality3 ~> mod_div_mult_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1105
    mod_div_equality4 ~> mod_mult_div_eq
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1106
    minus_div_eq_mod ~> minus_div_mult_eq_mod
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1107
    minus_div_eq_mod2 ~> minus_mult_div_eq_mod
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1108
    minus_mod_eq_div ~> minus_mod_eq_div_mult
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1109
    minus_mod_eq_div2 ~> minus_mod_eq_mult_div
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1110
    div_mod_equality' ~> minus_mod_eq_div_mult [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1111
    mod_div_equality' ~> minus_div_mult_eq_mod [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1112
    zmod_zdiv_equality ~> mult_div_mod_eq [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1113
    zmod_zdiv_equality' ~> minus_div_mult_eq_mod [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1114
    Divides.mult_div_cancel ~> minus_mod_eq_mult_div [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1115
    mult_div_cancel ~> minus_mod_eq_mult_div [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1116
    zmult_div_cancel ~> minus_mod_eq_mult_div [symmetric]
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1117
    div_1 ~> div_by_Suc_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1118
    mod_1 ~> mod_by_Suc_0
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1119
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1120
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1121
* New type class "idom_abs_sgn" specifies algebraic properties
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1122
of sign and absolute value functions.  Type class "sgn_if" has
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1123
disappeared.  Slight INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1124
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1125
* Dedicated syntax LENGTH('a) for length of types.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1126
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1127
* Characters (type char) are modelled as finite algebraic type
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1128
corresponding to {0..255}.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1129
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1130
  - Logical representation:
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1131
    * 0 is instantiated to the ASCII zero character.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1132
    * All other characters are represented as "Char n"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1133
      with n being a raw numeral expression less than 256.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1134
    * Expressions of the form "Char n" with n greater than 255
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1135
      are non-canonical.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1136
  - Printing and parsing:
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1137
    * Printable characters are printed and parsed as "CHR ''\<dots>''"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1138
      (as before).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1139
    * The ASCII zero character is printed and parsed as "0".
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1140
    * All other canonical characters are printed as "CHR 0xXX"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1141
      with XX being the hexadecimal character code.  "CHR n"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1142
      is parsable for every numeral expression n.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1143
    * Non-canonical characters have no special syntax and are
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1144
      printed as their logical representation.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1145
  - Explicit conversions from and to the natural numbers are
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1146
    provided as char_of_nat, nat_of_char (as before).
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1147
  - The auxiliary nibble type has been discontinued.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1148
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1149
INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1150
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1151
* Type class "div" with operation "mod" renamed to type class "modulo"
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1152
with operation "modulo", analogously to type class "divide". This
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1153
eliminates the need to qualify any of those names in the presence of
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1154
infix "mod" syntax. INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1155
63979
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
  1156
* Statements and proofs of Knaster-Tarski fixpoint combinators lfp/gfp
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
  1157
have been clarified. The fixpoint properties are lfp_fixpoint, its
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
  1158
symmetric lfp_unfold (as before), and the duals for gfp. Auxiliary items
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
  1159
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
  1160
easily recovered by composition with eq_refl. Minor INCOMPATIBILITY.
95c3ae4baba8 clarified lfp/gfp statements and proofs;
wenzelm
parents: 63977
diff changeset
  1161
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1162
* Constant "surj" is a mere input abbreviation, to avoid hiding an
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1163
equation in term output. Minor INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1164
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1165
* Command 'code_reflect' accepts empty constructor lists for datatypes,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1166
which renders those abstract effectively.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1167
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1168
* Command 'export_code' checks given constants for abstraction
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1169
violations: a small guarantee that given constants specify a safe
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1170
interface for the generated code.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1171
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1172
* Code generation for Scala: ambiguous implicts in class diagrams are
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1173
spelt out explicitly.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1174
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1175
* Static evaluators (Code_Evaluation.static_* in Isabelle/ML) rely on
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1176
explicitly provided auxiliary definitions for required type class
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1177
dictionaries rather than half-working magic. INCOMPATIBILITY, see the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1178
tutorial on code generation for details.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1179
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1180
* Theory Set_Interval: substantial new theorems on indexed sums and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1181
products.
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1182
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1183
* Locale bijection establishes convenient default simp rules such as
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1184
"inv f (f a) = a" for total bijections.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1185
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1186
* Abstract locales semigroup, abel_semigroup, semilattice,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1187
semilattice_neutr, ordering, ordering_top, semilattice_order,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1188
semilattice_neutr_order, comm_monoid_set, semilattice_set,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1189
semilattice_neutr_set, semilattice_order_set,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1190
semilattice_order_neutr_set monoid_list, comm_monoid_list,
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1191
comm_monoid_list_set, comm_monoid_mset, comm_monoid_fun use boldified
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1192
syntax uniformly that does not clash with corresponding global syntax.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1193
INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1194
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1195
* Former locale lifting_syntax is now a bundle, which is easier to
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1196
include in a local context or theorem statement, e.g. "context includes
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1197
lifting_syntax begin ... end". Minor INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1198
63807
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
  1199
* Some old / obsolete theorems have been renamed / removed, potential
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
  1200
INCOMPATIBILITY.
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
  1201
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
  1202
  nat_less_cases  --  removed, use linorder_cases instead
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
  1203
  inv_image_comp  --  removed, use image_inv_f_f instead
5f77017055a3 clarified obscure facts;
wenzelm
parents: 63795
diff changeset
  1204
  image_surj_f_inv_f  ~>  image_f_inv_f
63113
fe31996e3898 removed odd cases rule (see also 8cb42cd97579);
wenzelm
parents: 63094
diff changeset
  1205
63456
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1206
* 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
  1207
  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
  1208
    le_add_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1209
    le_add_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1210
    less_add_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1211
    less_add_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1212
    add_le_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1213
    add_le_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1214
    add_less_same_cancel1
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1215
    add_less_same_cancel2
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1216
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1217
* 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
  1218
  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
  1219
    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
  1220
    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
  1221
    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
  1222
    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
  1223
    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
  1224
    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
  1225
    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
  1226
    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
  1227
INCOMPATIBILITY.
3365c8ec67bd sharing simp rules between ordered monoids and rings
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents: 63455
diff changeset
  1228
62407
wenzelm
parents: 62396
diff changeset
  1229
* Renamed split_if -> if_split and split_if_asm -> if_split_asm to
wenzelm
parents: 62396
diff changeset
  1230
resemble the f.split naming convention, INCOMPATIBILITY.
62396
nipkow
parents: 62376
diff changeset
  1231
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1232
* Added class topological_monoid.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1233
64391
wenzelm
parents: 64390
diff changeset
  1234
* The following theorems have been renamed:
wenzelm
parents: 64390
diff changeset
  1235
64457
nipkow
parents: 64391
diff changeset
  1236
  setsum_left_distrib ~> sum_distrib_right
nipkow
parents: 64391
diff changeset
  1237
  setsum_right_distrib ~> sum_distrib_left
64391
wenzelm
parents: 64390
diff changeset
  1238
wenzelm
parents: 64390
diff changeset
  1239
INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
  1240
wenzelm
parents: 64390
diff changeset
  1241
* Compound constants INFIMUM and SUPREMUM are mere abbreviations now.
wenzelm
parents: 64390
diff changeset
  1242
INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
  1243
wenzelm
parents: 64390
diff changeset
  1244
* "Gcd (f ` A)" and "Lcm (f ` A)" are printed with optional
wenzelm
parents: 64390
diff changeset
  1245
comprehension-like syntax analogously to "Inf (f ` A)" and "Sup (f `
wenzelm
parents: 64390
diff changeset
  1246
A)".
wenzelm
parents: 64390
diff changeset
  1247
wenzelm
parents: 64390
diff changeset
  1248
* Class semiring_Lcd merged into semiring_Gcd. INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
  1249
wenzelm
parents: 64390
diff changeset
  1250
* The type class ordered_comm_monoid_add is now called
wenzelm
parents: 64390
diff changeset
  1251
ordered_cancel_comm_monoid_add. A new type class ordered_comm_monoid_add
wenzelm
parents: 64390
diff changeset
  1252
is introduced as the combination of ordered_ab_semigroup_add +
wenzelm
parents: 64390
diff changeset
  1253
comm_monoid_add. INCOMPATIBILITY.
wenzelm
parents: 64390
diff changeset
  1254
wenzelm
parents: 64390
diff changeset
  1255
* Introduced the type classes canonically_ordered_comm_monoid_add and
wenzelm
parents: 64390
diff changeset
  1256
dioid.
wenzelm
parents: 64390
diff changeset
  1257
wenzelm
parents: 64390
diff changeset
  1258
* Introduced the type class ordered_ab_semigroup_monoid_add_imp_le. When
wenzelm
parents: 64390
diff changeset
  1259
instantiating linordered_semiring_strict and ordered_ab_group_add, an
wenzelm
parents: 64390
diff changeset
  1260
explicit instantiation of ordered_ab_semigroup_monoid_add_imp_le might
wenzelm
parents: 64390
diff changeset
  1261
be required. INCOMPATIBILITY.
63117
acb6d72fc42e renamed prefix* in Library/Sublist
nipkow
parents: 63113
diff changeset
  1262
62348
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1263
* Dropped various legacy fact bindings, whose replacements are often
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1264
of a more general type also:
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1265
  lcm_left_commute_nat ~> lcm.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1266
  lcm_left_commute_int ~> lcm.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1267
  gcd_left_commute_nat ~> gcd.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1268
  gcd_left_commute_int ~> gcd.left_commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1269
  gcd_greatest_iff_nat ~> gcd_greatest_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1270
  gcd_greatest_iff_int ~> gcd_greatest_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1271
  coprime_dvd_mult_nat ~> coprime_dvd_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1272
  coprime_dvd_mult_int ~> coprime_dvd_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1273
  zpower_numeral_even ~> power_numeral_even
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1274
  gcd_mult_cancel_nat ~> gcd_mult_cancel
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1275
  gcd_mult_cancel_int ~> gcd_mult_cancel
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1276
  div_gcd_coprime_nat ~> div_gcd_coprime
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1277
  div_gcd_coprime_int ~> div_gcd_coprime
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1278
  zpower_numeral_odd ~> power_numeral_odd
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1279
  zero_less_int_conv ~> of_nat_0_less_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1280
  gcd_greatest_nat ~> gcd_greatest
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1281
  gcd_greatest_int ~> gcd_greatest
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1282
  coprime_mult_nat ~> coprime_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1283
  coprime_mult_int ~> coprime_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1284
  lcm_commute_nat ~> lcm.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1285
  lcm_commute_int ~> lcm.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1286
  int_less_0_conv ~> of_nat_less_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1287
  gcd_commute_nat ~> gcd.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1288
  gcd_commute_int ~> gcd.commute
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1289
  Gcd_insert_nat ~> Gcd_insert
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1290
  Gcd_insert_int ~> Gcd_insert
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1291
  of_int_int_eq ~> of_int_of_nat_eq
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1292
  lcm_least_nat ~> lcm_least
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1293
  lcm_least_int ~> lcm_least
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1294
  lcm_assoc_nat ~> lcm.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1295
  lcm_assoc_int ~> lcm.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1296
  int_le_0_conv ~> of_nat_le_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1297
  int_eq_0_conv ~> of_nat_eq_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1298
  Gcd_empty_nat ~> Gcd_empty
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1299
  Gcd_empty_int ~> Gcd_empty
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1300
  gcd_assoc_nat ~> gcd.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1301
  gcd_assoc_int ~> gcd.assoc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1302
  zero_zle_int ~> of_nat_0_le_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1303
  lcm_dvd2_nat ~> dvd_lcm2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1304
  lcm_dvd2_int ~> dvd_lcm2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1305
  lcm_dvd1_nat ~> dvd_lcm1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1306
  lcm_dvd1_int ~> dvd_lcm1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1307
  gcd_zero_nat ~> gcd_eq_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1308
  gcd_zero_int ~> gcd_eq_0_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1309
  gcd_dvd2_nat ~> gcd_dvd2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1310
  gcd_dvd2_int ~> gcd_dvd2
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1311
  gcd_dvd1_nat ~> gcd_dvd1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1312
  gcd_dvd1_int ~> gcd_dvd1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1313
  int_numeral ~> of_nat_numeral
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1314
  lcm_ac_nat ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1315
  lcm_ac_int ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1316
  gcd_ac_nat ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1317
  gcd_ac_int ~> ac_simps
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1318
  abs_int_eq ~> abs_of_nat
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1319
  zless_int ~> of_nat_less_iff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1320
  zdiff_int ~> of_nat_diff
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1321
  zadd_int ~> of_nat_add
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1322
  int_mult ~> of_nat_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1323
  int_Suc ~> of_nat_Suc
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1324
  inj_int ~> inj_of_nat
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1325
  int_1 ~> of_nat_1
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1326
  int_0 ~> of_nat_0
62353
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1327
  Lcm_empty_nat ~> Lcm_empty
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1328
  Lcm_empty_int ~> Lcm_empty
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1329
  Lcm_insert_nat ~> Lcm_insert
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1330
  Lcm_insert_int ~> Lcm_insert
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1331
  comp_fun_idem_gcd_nat ~> comp_fun_idem_gcd
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1332
  comp_fun_idem_gcd_int ~> comp_fun_idem_gcd
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1333
  comp_fun_idem_lcm_nat ~> comp_fun_idem_lcm
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1334
  comp_fun_idem_lcm_int ~> comp_fun_idem_lcm
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1335
  Lcm_eq_0 ~> Lcm_eq_0_I
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1336
  Lcm0_iff ~> Lcm_0_iff
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1337
  Lcm_dvd_int ~> Lcm_least
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1338
  divides_mult_nat ~> divides_mult
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1339
  divides_mult_int ~> divides_mult
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1340
  lcm_0_nat ~> lcm_0_right
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1341
  lcm_0_int ~> lcm_0_right
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1342
  lcm_0_left_nat ~> lcm_0_left
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1343
  lcm_0_left_int ~> lcm_0_left
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1344
  dvd_gcd_D1_nat ~> dvd_gcdD1
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1345
  dvd_gcd_D1_int ~> dvd_gcdD1
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1346
  dvd_gcd_D2_nat ~> dvd_gcdD2
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1347
  dvd_gcd_D2_int ~> dvd_gcdD2
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1348
  coprime_dvd_mult_iff_nat ~> coprime_dvd_mult_iff
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1349
  coprime_dvd_mult_iff_int ~> coprime_dvd_mult_iff
62348
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1350
  realpow_minus_mult ~> power_minus_mult
9a5f43dac883 dropped various legacy fact bindings
haftmann
parents: 62347
diff changeset
  1351
  realpow_Suc_le_self ~> power_Suc_le_self
62353
7f927120b5a2 dropped various legacy fact bindings and tuned proofs
haftmann
parents: 62352
diff changeset
  1352
  dvd_Gcd, dvd_Gcd_nat, dvd_Gcd_int removed in favour of Gcd_greatest
62347
2230b7047376 generalized some lemmas;
haftmann
parents: 62345
diff changeset
  1353
INCOMPATIBILITY.
2230b7047376 generalized some lemmas;
haftmann
parents: 62345
diff changeset
  1354
63967
2aa42596edc3 new material on paths, etc. Also rationalisation
paulson <lp15@cam.ac.uk>
parents: 63963
diff changeset
  1355
* Renamed HOL/Quotient_Examples/FSet.thy to
63977
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1356
HOL/Quotient_Examples/Quotient_FSet.thy INCOMPATIBILITY.
ec0fb01c6d50 misc tuning for release;
wenzelm
parents: 63967
diff changeset
  1357
64390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1358
* Session HOL-Library: theory FinFun bundles "finfun_syntax" and
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1359
"no_finfun_syntax" allow to control optional syntax in local contexts;
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1360
this supersedes former theory FinFun_Syntax. INCOMPATIBILITY, e.g. use
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1361
"unbundle finfun_syntax" to imitate import of
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1362
"~~/src/HOL/Library/FinFun_Syntax".
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1363
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1364
* Session HOL-Library: theory Multiset_Permutations (executably) defines
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1365
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
  1366
lists that contain every element of the carrier (multi-)set exactly
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1367
once.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1368
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1369
* Session HOL-Library: multiset membership is now expressed using
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1370
set_mset rather than count.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1371
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1372
  - Expressions "count M a > 0" and similar simplify to membership
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1373
    by default.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1374
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1375
  - Converting between "count M a = 0" and non-membership happens using
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1376
    equations count_eq_zero_iff and not_in_iff.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1377
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1378
  - Rules count_inI and in_countE obtain facts of the form
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1379
    "count M a = n" from membership.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1380
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1381
  - Rules count_in_diffI and in_diff_countE obtain facts of the form
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1382
    "count M a = n + count N a" from membership on difference sets.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1383
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1384
INCOMPATIBILITY.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1385
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1386
* Session HOL-Library: theory LaTeXsugar uses new-style "dummy_pats" for
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1387
displaying equations in functional programming style --- variables
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1388
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
  1389
underscores.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1390
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1391
* Session HOL-Library: theory Combinator_PER provides combinator to
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1392
build partial equivalence relations from a predicate and an equivalence
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1393
relation.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1394
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1395
* Session HOL-Library: theory Perm provides basic facts about almost
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1396
everywhere fix bijections.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1397
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1398
* Session HOL-Library: theory Normalized_Fraction allows viewing an
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1399
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
  1400
numerator and denominator such that the two are coprime and the
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1401
denominator is normalized wrt. unit factors).
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1402
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1403
* Session HOL-NSA has been renamed to HOL-Nonstandard_Analysis.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1404
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1405
* Session HOL-Multivariate_Analysis has been renamed to HOL-Analysis.
ad2c5f37f659 misc tuning for release;
wenzelm
parents: 64389
diff changeset
  1406