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