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