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