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