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