author | wenzelm |
Mon, 20 Jul 2020 23:45:29 +0200 | |
changeset 72290 | efb7fd4a6d1f |
parent 72272 | 587d4681240c |
child 72300 | b17be02a0a11 |
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.) |
60007 | 5 |
|
64603 | 6 |
|
71772 | 7 |
New in this Isabelle version |
8 |
---------------------------- |
|
9 |
||
72160
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
72155
diff
changeset
|
10 |
*** Isabelle/jEdit Prover IDE *** |
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
72155
diff
changeset
|
11 |
|
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
72155
diff
changeset
|
12 |
* Update to jedit-5.6pre1, the latest pre-release. This version works |
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
72155
diff
changeset
|
13 |
properly on macOS by default, without the special MacOSX plugin. |
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
72155
diff
changeset
|
14 |
|
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
72155
diff
changeset
|
15 |
|
72129
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
72128
diff
changeset
|
16 |
*** Document preparation *** |
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
72128
diff
changeset
|
17 |
|
72135 | 18 |
* Antiquotation @{bash_function} refers to GNU bash functions that are |
19 |
checked within the Isabelle settings environment. |
|
20 |
||
21 |
* Antiquotations @{scala}, @{scala_object}, @{scala_type}, |
|
22 |
@{scala_method} refer to checked Isabelle/Scala entities. |
|
72129
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
72128
diff
changeset
|
23 |
|
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
72128
diff
changeset
|
24 |
|
72128 | 25 |
*** Pure *** |
26 |
||
72151
e5df9c8d9d4b
clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents:
72150
diff
changeset
|
27 |
* Session Pure-Examples contains notable examples for Isabelle/Pure |
e5df9c8d9d4b
clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents:
72150
diff
changeset
|
28 |
(former entries of HOL-Isar_Examples). |
e5df9c8d9d4b
clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents:
72150
diff
changeset
|
29 |
|
72128 | 30 |
* Definitions in locales produce rule which can be added as congruence |
31 |
rule to protect foundational terms during simplification. |
|
32 |
||
33 |
||
72169 | 34 |
|
72128 | 35 |
*** HOL *** |
36 |
||
72155 | 37 |
* Session HOL-Examples contains notable examples for Isabelle/HOL |
38 |
(former entries of HOL-Isar_Examples, HOL-ex etc.). |
|
39 |
||
72128 | 40 |
* Simproc "datatype_no_proper_subterm" rewrites equalities "lhs = rhs" |
41 |
on datatypes to "False" if either side is a proper subexpression of the |
|
42 |
other (for any datatype with a reasonable size function). |
|
43 |
||
44 |
* New constant "power_int" for exponentiation with integer exponent, |
|
45 |
written as "x powi n". |
|
46 |
||
47 |
* Added the "at most 1" quantifier, Uniq. |
|
48 |
||
72169 | 49 |
* For the natural numbers, Sup {} = 0. |
50 |
||
72234 | 51 |
* Updated the Metis prover underlying the "metis" proof method to |
52 |
version 2.4 (release 20180810). The new version fixes one soundness |
|
53 |
defect and two incompleteness defects. Very slight INCOMPATIBILITY. |
|
54 |
||
72184 | 55 |
* Library theory "Bit_Operations" with generic bit operations. |
56 |
||
72185
3e162c63371a
build bit operations on word on library theory on bit operations
haftmann
parents:
72184
diff
changeset
|
57 |
* Session HOL-Word: Type word is restricted to bit strings consisting |
3e162c63371a
build bit operations on word on library theory on bit operations
haftmann
parents:
72184
diff
changeset
|
58 |
of at least one bit. INCOMPATIBILITY. |
3e162c63371a
build bit operations on word on library theory on bit operations
haftmann
parents:
72184
diff
changeset
|
59 |
|
3e162c63371a
build bit operations on word on library theory on bit operations
haftmann
parents:
72184
diff
changeset
|
60 |
* Session HOL-Word: Bit operations NOT, AND, OR, XOR are based on |
3e162c63371a
build bit operations on word on library theory on bit operations
haftmann
parents:
72184
diff
changeset
|
61 |
generic algebraic bit operations from HOL-Library.Bit_Operations. |
3e162c63371a
build bit operations on word on library theory on bit operations
haftmann
parents:
72184
diff
changeset
|
62 |
INCOMPATIBILITY. |
72184 | 63 |
|
72215 | 64 |
* Session HOL-Word: Theory "Word_Bitwise" has been moved to AFP entry |
65 |
Word_Lib as theory "Bitwise". INCOMPATIBILITY. |
|
66 |
||
72216 | 67 |
* Session HOL-Word: Misc ancient material has been factored out into |
68 |
separate theories. INCOMPATIBILITY, prefer theory "More_Word" |
|
69 |
over "Word" to use it. |
|
70 |
||
71 |
* Session HOL-Word: Ancient int numeral representation has been |
|
72 |
factored out in separate theory "Ancient_Numeral". INCOMPATIBILITY. |
|
73 |
||
72184 | 74 |
* Session HOL-Word: Compound operation "bin_split" simplifies by default |
75 |
into its components "drop_bit" and "take_bit". INCOMPATIBILITY. |
|
76 |
||
72177 | 77 |
* Session HOL-Word: Operations "bin_last", "bin_rest", "bin_nth", |
72272 | 78 |
"bintrunc", "sbintrunc", "norm_sint", "bin_cat" and "max_word" are now |
79 |
mere input abbreviations. Minor INCOMPATIBILITY. |
|
72128 | 80 |
|
72240 | 81 |
* Session HOL-Word: Theory HOL-Library.Z2 is not imported any longer. |
72217 | 82 |
Minor INCOMPATIBILITY. |
83 |
||
72230 | 84 |
* Session HOL-Word: Operations lsb, msb and set_bit are separated |
85 |
into theories Misc_lsb, Misc_msb and Misc_set_bit respectively. |
|
86 |
INCOMPATIBILITY. |
|
87 |
||
72231
3e08311ada8e
removed 'freeze_problem_consts' hack in TPTP tools, which wasn't compatible with post-2016 reforms to local theories
blanchet
parents:
72230
diff
changeset
|
88 |
* Session HOL-TPTP: The "tptp_isabelle" and "tptp_sledgehammer" |
3e08311ada8e
removed 'freeze_problem_consts' hack in TPTP tools, which wasn't compatible with post-2016 reforms to local theories
blanchet
parents:
72230
diff
changeset
|
89 |
commands are in working order again, as opposed to outputting |
3e08311ada8e
removed 'freeze_problem_consts' hack in TPTP tools, which wasn't compatible with post-2016 reforms to local theories
blanchet
parents:
72230
diff
changeset
|
90 |
"GaveUp" on nearly all problems. |
3e08311ada8e
removed 'freeze_problem_consts' hack in TPTP tools, which wasn't compatible with post-2016 reforms to local theories
blanchet
parents:
72230
diff
changeset
|
91 |
|
72219
bad75618fb82
extraction of equations x = t from premises beneath meta-all
haftmann
parents:
72217
diff
changeset
|
92 |
* Simproc defined_all and rewrite rule subst_all perform |
72191 | 93 |
more aggressive substitution with variables from assumptions. |
94 |
INCOMPATIBILITY, use something like |
|
72219
bad75618fb82
extraction of equations x = t from premises beneath meta-all
haftmann
parents:
72217
diff
changeset
|
95 |
"supply subst_all [simp del] [[simproc del: defined_all]]" |
72191 | 96 |
to leave fragile proofs unaffected. |
97 |
||
72128 | 98 |
|
99 |
*** FOL *** |
|
100 |
||
101 |
* Added the "at most 1" quantifier, Uniq, as in HOL. |
|
102 |
||
72191 | 103 |
* Simproc defined_all and rewrite rule subst_all perform |
72150 | 104 |
more aggressive substitution with variables from assumptions. |
105 |
INCOMPATIBILITY, use something like |
|
72191 | 106 |
"supply subst_all [simp del] [[simproc del: defined_all]]" |
72150 | 107 |
to leave fragile proofs unaffected. |
108 |
||
72128 | 109 |
|
72135 | 110 |
*** ML *** |
111 |
||
72290
efb7fd4a6d1f
subtle change of Theory_Data extend/merge semantics due to Theory.join_theory;
wenzelm
parents:
72272
diff
changeset
|
112 |
* Theory_Data extend operation is obsolete and needs to be the identity |
efb7fd4a6d1f
subtle change of Theory_Data extend/merge semantics due to Theory.join_theory;
wenzelm
parents:
72272
diff
changeset
|
113 |
function; merge should be conservative and not reset to the empty value. |
efb7fd4a6d1f
subtle change of Theory_Data extend/merge semantics due to Theory.join_theory;
wenzelm
parents:
72272
diff
changeset
|
114 |
Subtle INCOMPATIBILITY and change of semantics (due to |
efb7fd4a6d1f
subtle change of Theory_Data extend/merge semantics due to Theory.join_theory;
wenzelm
parents:
72272
diff
changeset
|
115 |
Theory.join_theory from Isabelle2020). Special extend/merge behaviour at |
efb7fd4a6d1f
subtle change of Theory_Data extend/merge semantics due to Theory.join_theory;
wenzelm
parents:
72272
diff
changeset
|
116 |
the begin of a new theory can be achieved via Theory.at_begin. |
efb7fd4a6d1f
subtle change of Theory_Data extend/merge semantics due to Theory.join_theory;
wenzelm
parents:
72272
diff
changeset
|
117 |
|
72136 | 118 |
* Antiquotations @{scala_function} and @{scala} refer to registered |
119 |
Isabelle/Scala functions (of type String => String): invocation works |
|
120 |
via the PIDE protocol. |
|
72135 | 121 |
|
122 |
||
71931 | 123 |
*** System *** |
124 |
||
72204
2d658beb815b
enable pide_session by default (again), with extra JVM heap for AFP tests (see also 86e429abd38d, 026de3424c39);
wenzelm
parents:
72192
diff
changeset
|
125 |
* System option "pide_session" is enabled by default, notably for |
72206 | 126 |
standard "isabelle build": it allows to invoke Isabelle/Scala operations |
127 |
from Isabelle/ML. Big build jobs (e.g. AFP) require extra heap space for |
|
128 |
the java process, e.g. like this in $ISABELLE_HOME_USER/etc/settings: |
|
129 |
||
130 |
ISABELLE_TOOL_JAVA_OPTIONS="$ISABELLE_TOOL_JAVA_OPTIONS -Xmx8g" |
|
72204
2d658beb815b
enable pide_session by default (again), with extra JVM heap for AFP tests (see also 86e429abd38d, 026de3424c39);
wenzelm
parents:
72192
diff
changeset
|
131 |
|
71931 | 132 |
* The command-line tool "isabelle console" now supports interrupts |
133 |
properly (on Linux and macOS). |
|
134 |
||
72024 | 135 |
* The command-line tool "isabelle sessions" explores the structure of |
136 |
Isabelle sessions and prints result names in topological order (on |
|
137 |
stdout). |
|
138 |
||
71949 | 139 |
* The Isabelle/Scala "Progress" interface changed slightly and |
140 |
"No_Progress" has been discontinued. INCOMPATIBILITY, use "new Progress" |
|
141 |
instead. |
|
142 |
||
143 |
* General support for Isabelle/Scala system services, configured via the |
|
144 |
shell function "isabelle_scala_service" in etc/settings (e.g. of an |
|
71957 | 145 |
Isabelle component); see implementations of class |
146 |
Isabelle_System.Service in Isabelle/Scala. This supersedes former |
|
147 |
"isabelle_scala_tools" and "isabelle_file_format": minor |
|
148 |
INCOMPATIBILITY. |
|
71944 | 149 |
|
72070 | 150 |
* Isabelle/Phabricator setup has been updated to follow ongoing |
151 |
development: libphutil has been discontinued. Minor INCOMPATIBILITY: |
|
152 |
existing server installations should remove libphutil from |
|
153 |
/usr/local/bin/isabelle-phabricator-upgrade and each installation root |
|
154 |
directory (e.g. /var/www/phabricator-vcs/libphutil). |
|
155 |
||
71772 | 156 |
|
72064 | 157 |
|
71698 | 158 |
New in Isabelle2020 (April 2020) |
159 |
-------------------------------- |
|
70449 | 160 |
|
70748 | 161 |
*** General *** |
162 |
||
70867 | 163 |
* Session ROOT files need to specify explicit 'directories' for import |
70871 | 164 |
of theory files. Directories cannot be shared by different sessions. |
165 |
(Recall that import of theories from other sessions works via |
|
166 |
session-qualified theory names, together with suitable 'sessions' |
|
167 |
declarations in the ROOT.) |
|
70867 | 168 |
|
70748 | 169 |
* Internal derivations record dependencies on oracles and other theorems |
170 |
accurately, including the implicit type-class reasoning wrt. proven |
|
171 |
class relations and type arities. In particular, the formal tagging with |
|
172 |
"Pure.skip_proofs" of results stemming from "instance ... sorry" is now |
|
173 |
propagated properly to theorems depending on such type instances. |
|
174 |
||
175 |
* Command 'sorry' (oracle "Pure.skip_proofs") is more precise about the |
|
176 |
actual proposition that is assumed in the goal and proof context. This |
|
177 |
requires at least Proofterm.proofs = 1 to show up in theorem |
|
178 |
dependencies. |
|
179 |
||
180 |
* Command 'thm_oracles' prints all oracles used in given theorems, |
|
181 |
covering the full graph of transitive dependencies. |
|
182 |
||
70791 | 183 |
* Command 'thm_deps' prints immediate theorem dependencies of the given |
184 |
facts. The former graph visualization has been discontinued, because it |
|
185 |
was hardly usable. |
|
186 |
||
71658 | 187 |
* Refined treatment of proof terms, including type-class proofs for |
188 |
minor object-logics (FOL, FOLP, Sequents). |
|
189 |
||
71661 | 190 |
* The inference kernel is now confined to one main module: structure |
191 |
Thm, without the former circular dependency on structure Axclass. |
|
192 |
||
71759
b0b16088ccf2
allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents:
71757
diff
changeset
|
193 |
* Mixfix annotations may use "' " (single quote followed by space) to |
b0b16088ccf2
allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents:
71757
diff
changeset
|
194 |
separate delimiters (as documented in the isar-ref manual), without |
71761 | 195 |
requiring an auxiliary empty block. A literal single quote needs to be |
71765 | 196 |
escaped properly. Minor INCOMPATIBILITY. |
71759
b0b16088ccf2
allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents:
71757
diff
changeset
|
197 |
|
70748 | 198 |
|
70708 | 199 |
*** Isar *** |
200 |
||
201 |
* The proof method combinator (subproofs m) applies the method |
|
202 |
expression m consecutively to each subgoal, constructing individual |
|
203 |
subproofs internally. This impacts the internal construction of proof |
|
204 |
terms: it makes a cascade of let-expressions within the derivation tree |
|
205 |
and may thus improve scalability. |
|
206 |
||
71639 | 207 |
* Attribute "trace_locales" activates tracing of locale instances during |
208 |
roundup. It replaces the diagnostic command 'print_dependencies', which |
|
209 |
has been discontinued. |
|
70794 | 210 |
|
70708 | 211 |
|
70873
8c7706b053c7
find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents:
70871
diff
changeset
|
212 |
*** Isabelle/jEdit Prover IDE *** |
8c7706b053c7
find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents:
70871
diff
changeset
|
213 |
|
71757 | 214 |
* Prover IDE startup is now much faster, because theory dependencies are |
215 |
no longer explored in advance. The overall session structure with its |
|
216 |
declarations of 'directories' is sufficient to locate theory files. Thus |
|
217 |
the "session focus" of option "isabelle jedit -S" has become obsolete |
|
218 |
(likewise for "isabelle vscode_server -S"). Existing option "-R" is both |
|
219 |
sufficient and more convenient to start editing a particular session. |
|
220 |
||
71711 | 221 |
* Actions isabelle.tooltip (CS+b) and isabelle.message (CS+m) display |
222 |
tooltip message popups, corresponding to mouse hovering with/without the |
|
223 |
CONTROL/COMMAND key pressed. |
|
224 |
||
71713 | 225 |
* The following actions allow to navigate errors within the current |
226 |
document snapshot: |
|
227 |
||
228 |
isabelle.first-error (CS+a) |
|
71719 | 229 |
isabelle.last-error (CS+z) |
230 |
isabelle.next-error (CS+n) |
|
231 |
isabelle.prev-error (CS+p) |
|
71713 | 232 |
|
71642 | 233 |
* Support more brackets: \<llangle> \<rrangle> (intended for implicit argument syntax). |
234 |
||
71734 | 235 |
* Action isabelle.jconsole (menu item Plugins / Isabelle / Java/VM |
236 |
Monitor) applies the jconsole tool on the running Isabelle/jEdit |
|
237 |
process. This allows to monitor resource usage etc. |
|
238 |
||
71757 | 239 |
* More adequate default font sizes for Linux on HD / UHD displays: |
240 |
automatic font scaling is usually absent on Linux, in contrast to |
|
241 |
Windows and macOS. |
|
242 |
||
71792 | 243 |
* The default value for the jEdit property "view.antiAlias" (menu item |
244 |
Utilities / Global Options / Text Area / Anti Aliased smooth text) is |
|
245 |
now "subpixel HRGB", instead of former "standard". Especially on Linux |
|
246 |
this often leads to faster text rendering, but can also cause problems |
|
247 |
with odd color shades. An alternative is to switch back to "standard" |
|
248 |
here, and set the following Java system property: |
|
249 |
||
250 |
isabelle jedit -Dsun.java2d.opengl=true |
|
251 |
||
252 |
This can be made persistent via JEDIT_JAVA_OPTIONS in |
|
253 |
$ISABELLE_HOME_USER/etc/settings. For the "Isabelle2020" desktop |
|
254 |
application there is a corresponding options file in the same directory. |
|
255 |
||
70873
8c7706b053c7
find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents:
70871
diff
changeset
|
256 |
|
71686
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71661
diff
changeset
|
257 |
*** Isabelle/VSCode Prover IDE *** |
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71661
diff
changeset
|
258 |
|
71697 | 259 |
* Update of State and Preview panels to use new WebviewPanel API of |
260 |
VSCode. |
|
71686
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71661
diff
changeset
|
261 |
|
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71661
diff
changeset
|
262 |
|
70522
48609a6af1a0
removed relics of ASCII syntax for indexed big operators
haftmann
parents:
70485
diff
changeset
|
263 |
*** HOL *** |
48609a6af1a0
removed relics of ASCII syntax for indexed big operators
haftmann
parents:
70485
diff
changeset
|
264 |
|
71639 | 265 |
* Improvements of the 'lift_bnf' command: |
71473 | 266 |
- Add support for quotient types. |
71639 | 267 |
- Generate transfer rules for the lifted map/set/rel/pred constants |
268 |
(theorems "<type>.<constant>_transfer_raw"). |
|
71473 | 269 |
|
70974
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
270 |
* Term_XML.Encode/Decode.term uses compact representation of Const |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
271 |
"typargs" from the given declaration environment. This also makes more |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
272 |
sense for translations to lambda-calculi with explicit polymorphism. |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
273 |
INCOMPATIBILITY, use Term_XML.Encode/Decode.term_raw in special |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
274 |
applications. |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
275 |
|
70710 | 276 |
* ASCII membership syntax concerning big operators for infimum and |
71639 | 277 |
supremum has been discontinued. INCOMPATIBILITY. |
70710 | 278 |
|
71757 | 279 |
* Removed multiplicativity assumption from class |
280 |
"normalization_semidom". Introduced various new intermediate classes |
|
281 |
with the multiplicativity assumption; many theorem statements |
|
282 |
(especially involving GCD/LCM) had to be adapted. This allows for a more |
|
283 |
natural instantiation of the algebraic typeclasses for e.g. Gaussian |
|
284 |
integers. INCOMPATIBILITY. |
|
285 |
||
70710 | 286 |
* Clear distinction between types for bits (False / True) and Z2 (0 / |
71639 | 287 |
1): theory HOL-Library.Bit has been renamed accordingly. |
288 |
INCOMPATIBILITY. |
|
289 |
||
290 |
* Dynamic facts "algebra_split_simps" and "field_split_simps" correspond |
|
71007
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70974
diff
changeset
|
291 |
to algebra_simps and field_simps but contain more aggressive rules |
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70974
diff
changeset
|
292 |
potentially splitting goals; algebra_split_simps roughly replaces |
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70974
diff
changeset
|
293 |
sign_simps and field_split_simps can be used instead of divide_simps. |
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70974
diff
changeset
|
294 |
INCOMPATIBILITY. |
70710 | 295 |
|
71640 | 296 |
* Theory HOL.Complete_Lattices: |
297 |
renamed Inf_Sup -> Inf_eq_Sup and Sup_Inf -> Sup_eq_Inf |
|
298 |
||
71646 | 299 |
* Theory HOL-Library.Monad_Syntax: infix operation "bind" (\<bind>) |
70710 | 300 |
associates to the left now as is customary. |
301 |
||
71468
09aee7f5b447
Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents:
71364
diff
changeset
|
302 |
* Theory HOL-Library.Ramsey: full finite Ramsey's theorem with |
09aee7f5b447
Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents:
71364
diff
changeset
|
303 |
multiple colours and arbitrary exponents. |
09aee7f5b447
Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents:
71364
diff
changeset
|
304 |
|
71697 | 305 |
* Session HOL-Proofs: build faster thanks to better treatment of proof |
306 |
terms in Isabelle/Pure. |
|
71345 | 307 |
|
71650 | 308 |
* Session HOL-Word: bitwise NOT-operator has proper prefix syntax. Minor |
309 |
INCOMPATIBILITY. |
|
310 |
||
71697 | 311 |
* Session HOL-Analysis: proof method "metric" implements a decision |
312 |
procedure for simple linear statements in metric spaces. |
|
313 |
||
314 |
* Session HOL-Complex_Analysis has been split off from HOL-Analysis. |
|
71347 | 315 |
|
71348 | 316 |
|
70711 | 317 |
*** ML *** |
318 |
||
319 |
* Theory construction may be forked internally, the operation |
|
320 |
Theory.join_theory recovers a single result theory. See also the example |
|
321 |
in theory "HOL-ex.Join_Theory". |
|
322 |
||
70751 | 323 |
* Antiquotation @{oracle_name} inlines a formally checked oracle name. |
324 |
||
71648 | 325 |
* Minimal support for a soft-type system within the Isabelle logical |
326 |
framework (module Soft_Type_System). |
|
327 |
||
71965 | 328 |
* Former Variable.auto_fixes has been replaced by slightly more general |
329 |
Proof_Context.augment: it is subject to an optional soft-type system of |
|
330 |
the underlying object-logic. Minor INCOMPATIBILITY. |
|
71648 | 331 |
|
71650 | 332 |
* More scalable Export.export using XML.tree to avoid premature string |
333 |
allocations, with convenient shortcut XML.blob. Minor INCOMPATIBILITY. |
|
334 |
||
71707 | 335 |
* Prover IDE support for the underlying Poly/ML compiler (not the basis |
336 |
library). Open $ML_SOURCES/ROOT.ML in Isabelle/jEdit to browse the |
|
337 |
implementation with full markup. |
|
338 |
||
70711 | 339 |
|
70785 | 340 |
*** System *** |
341 |
||
71645 | 342 |
* Standard rendering for more Isabelle symbols: \<llangle> \<rrangle> \<bbar> \<sqdot> |
343 |
||
71587
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71552
diff
changeset
|
344 |
* The command-line tool "isabelle scala_project" creates a Gradle |
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71552
diff
changeset
|
345 |
project configuration for Isabelle/Scala/jEdit, to support Scala IDEs |
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71552
diff
changeset
|
346 |
such as IntelliJ IDEA. |
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71552
diff
changeset
|
347 |
|
71502 | 348 |
* The command-line tool "isabelle phabricator_setup" facilitates |
349 |
self-hosting of the Phabricator software-development platform, with |
|
350 |
support for Git, Mercurial, Subversion repositories. This helps to avoid |
|
351 |
monoculture and to escape the gravity of centralized version control by |
|
352 |
Github and/or Bitbucket. For further documentation, see chapter |
|
353 |
"Phabricator server administration" in the "system" manual. A notable |
|
354 |
example installation is https://isabelle-dev.sketis.net/. |
|
71332 | 355 |
|
71534 | 356 |
* The command-line tool "isabelle hg_setup" simplifies the setup of |
357 |
Mercurial repositories, with hosting via Phabricator or SSH file server |
|
358 |
access. |
|
359 |
||
70876
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70873
diff
changeset
|
360 |
* The command-line tool "isabelle imports" has been discontinued: strict |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70873
diff
changeset
|
361 |
checking of session directories enforces session-qualified theory names |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70873
diff
changeset
|
362 |
in applications -- users are responsible to specify session ROOT entries |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70873
diff
changeset
|
363 |
properly. |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70873
diff
changeset
|
364 |
|
71641 | 365 |
* The command-line tool "isabelle dump" and its underlying |
366 |
Isabelle/Scala module isabelle.Dump has become more scalable, by |
|
367 |
splitting sessions and supporting a base logic image. Minor |
|
368 |
INCOMPATIBILITY in options and parameters. |
|
369 |
||
71965 | 370 |
* The command-line tool "isabelle build_docker" has been slightly |
371 |
improved: it is now properly documented in the "system" manual. |
|
372 |
||
71650 | 373 |
* Isabelle/Scala support for the Linux platform (Ubuntu): packages, |
374 |
users, system services. |
|
375 |
||
376 |
* Isabelle/Scala support for proof terms (with full type/term |
|
377 |
information) in module isabelle.Term. |
|
378 |
||
71877 | 379 |
* Isabelle/Scala: more scalable output of YXML files, e.g. relevant for |
380 |
"isabelle dump". |
|
381 |
||
70785 | 382 |
* Theory export via Isabelle/Scala has been reworked. The former "fact" |
383 |
name space is now split into individual "thm" items: names are |
|
384 |
potentially indexed, such as "foo" for singleton facts, or "bar(1)", |
|
385 |
"bar(2)", "bar(3)" for multi-facts. Theorem dependencies are now |
|
386 |
exported as well: this spans an overall dependency graph of internal |
|
387 |
inferences; it might help to reconstruct the formal structure of theory |
|
71966 | 388 |
libraries. See also the module isabelle.Export_Theory in Isabelle/Scala. |
70785 | 389 |
|
71697 | 390 |
* Theory export of structured specifications, based on internal |
391 |
declarations of Spec_Rules by packages like 'definition', 'inductive', |
|
392 |
'primrec', 'function'. |
|
393 |
||
71640 | 394 |
* Old settings variables ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM |
395 |
have been discontinued -- deprecated since Isabelle2018. |
|
396 |
||
71650 | 397 |
* More complete x86_64 platform support on macOS, notably Catalina where |
398 |
old x86 has been discontinued. |
|
399 |
||
400 |
* Update to GHC stack 2.1.3 with stackage lts-13.19/ghc-8.6.4. |
|
401 |
||
402 |
* Update to OCaml Opam 2.0.6 (using ocaml 4.05.0 as before). |
|
403 |
||
70449 | 404 |
|
70974
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70876
diff
changeset
|
405 |
|
70205 | 406 |
New in Isabelle2019 (June 2019) |
407 |
------------------------------- |
|
68683 | 408 |
|
69042 | 409 |
*** General *** |
410 |
||
70214 | 411 |
* The font collection "Isabelle DejaVu" is systematically derived from |
412 |
the existing "DejaVu" fonts, with variants "Sans Mono", "Sans", "Serif" |
|
69353
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
413 |
and styles "Normal", "Bold", "Italic/Oblique", "Bold-Italic/Oblique". |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
414 |
The DejaVu base fonts are retricted to well-defined Unicode ranges and |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
415 |
augmented by special Isabelle symbols, taken from the former |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
416 |
"IsabelleText" font (which is no longer provided separately). The line |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
417 |
metrics and overall rendering quality is closer to original DejaVu. |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
418 |
INCOMPATIBILITY with display configuration expecting the old |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
419 |
"IsabelleText" font: use e.g. "Isabelle DejaVu Sans Mono" instead. |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
420 |
|
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
421 |
* The Isabelle fonts render "\<inverse>" properly as superscript "-1". |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
422 |
|
69042 | 423 |
* Old-style inner comments (* ... *) within the term language are no |
424 |
longer supported (legacy feature in Isabelle2018). |
|
425 |
||
70205 | 426 |
* Old-style {* verbatim *} tokens are explicitly marked as legacy |
427 |
feature and will be removed soon. Use \<open>cartouche\<close> syntax instead, e.g. |
|
428 |
via "isabelle update_cartouches -t" (available since Isabelle2015). |
|
429 |
||
70482 | 430 |
* Infix operators that begin or end with a "*" are now parenthesized |
431 |
without additional spaces, e.g. "(*)" instead of "( * )". Minor |
|
70205 | 432 |
INCOMPATIBILITY. |
69066 | 433 |
|
69592 | 434 |
* Mixfix annotations may use cartouches instead of old-style double |
69598
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69597
diff
changeset
|
435 |
quotes, e.g. (infixl \<open>+\<close> 60). The command-line tool "isabelle update -u |
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69597
diff
changeset
|
436 |
mixfix_cartouches" allows to update existing theory sources |
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69597
diff
changeset
|
437 |
automatically. |
69592 | 438 |
|
69221
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
439 |
* ML setup commands (e.g. 'setup', 'method_setup', 'parse_translation') |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
440 |
need to provide a closed expression -- without trailing semicolon. Minor |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
441 |
INCOMPATIBILITY. |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
442 |
|
70239 | 443 |
* Commands 'generate_file', 'export_generated_files', and |
444 |
'compile_generated_files' support a stateless (PIDE-conformant) model |
|
445 |
for generated sources and compiled binaries of other languages. The |
|
70242 | 446 |
compilation process is managed in Isabelle/ML, and results exported to |
70239 | 447 |
the session database for further use (e.g. with "isabelle export" or |
448 |
"isabelle build -e"). |
|
449 |
||
69042 | 450 |
|
69190 | 451 |
*** Isabelle/jEdit Prover IDE *** |
452 |
||
70205 | 453 |
* Fonts for the text area, gutter, GUI elements etc. use the "Isabelle |
454 |
DejaVu" collection by default, which provides uniform rendering quality |
|
455 |
with the usual Isabelle symbols. Line spacing no longer needs to be |
|
456 |
adjusted: properties for the old IsabelleText font had "Global Options / |
|
70251 | 457 |
Text Area / Extra vertical line spacing (in pixels): -2", it now |
458 |
defaults to 1, but 0 works as well. |
|
70205 | 459 |
|
69796 | 460 |
* The jEdit File Browser is more prominent in the default GUI layout of |
461 |
Isabelle/jEdit: various virtual file-systems provide access to Isabelle |
|
462 |
resources, notably via "favorites:" (or "Edit Favorites"). |
|
463 |
||
70243 | 464 |
* Further markup and rendering for "plain text" (e.g. informal prose) |
465 |
and "raw text" (e.g. verbatim sources). This improves the visual |
|
466 |
appearance of formal comments inside the term language, or in general |
|
467 |
for repeated alternation of formal and informal text. |
|
468 |
||
69656 | 469 |
* Action "isabelle-export-browser" points the File Browser to the theory |
69780 | 470 |
exports of the current buffer, based on the "isabelle-export:" virtual |
471 |
file-system. The directory view needs to be reloaded manually to follow |
|
472 |
ongoing document processing. |
|
473 |
||
474 |
* Action "isabelle-session-browser" points the File Browser to session |
|
475 |
information, based on the "isabelle-session:" virtual file-system. Its |
|
476 |
entries are structured according to chapter / session names, the open |
|
477 |
operation is redirected to the session ROOT file. |
|
69656 | 478 |
|
69278 | 479 |
* Support for user-defined file-formats via class isabelle.File_Format |
69282
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
480 |
in Isabelle/Scala (e.g. see isabelle.Bibtex.File_Format), configured via |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
481 |
the shell function "isabelle_file_format" in etc/settings (e.g. of an |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
482 |
Isabelle component). |
69278 | 483 |
|
70205 | 484 |
* System option "jedit_text_overview" allows to disable the text |
485 |
overview column. |
|
486 |
||
70035
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
487 |
* Command-line options "-s" and "-u" of "isabelle jedit" override the |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
488 |
default for system option "system_heaps" that determines the heap |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
489 |
storage directory for "isabelle build". Option "-n" is now clearly |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
490 |
separated from option "-s". |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
491 |
|
70291 | 492 |
* The Isabelle/jEdit desktop application uses the same options as |
493 |
"isabelle jedit" for its internal "isabelle build" process: the implicit |
|
494 |
option "-o system_heaps" (or "-s") has been discontinued. This reduces |
|
495 |
the potential for surprise wrt. command-line tools. |
|
496 |
||
497 |
* The official download of the Isabelle/jEdit application already |
|
498 |
contains heap images for Isabelle/HOL within its main directory: thus |
|
499 |
the first encounter becomes faster and more robust (e.g. when run from a |
|
500 |
read-only directory). |
|
501 |
||
70254 | 502 |
* Isabelle DejaVu fonts are available with hinting by default, which is |
503 |
relevant for low-resolution displays. This may be disabled via system |
|
504 |
option "isabelle_fonts_hinted = false" in |
|
70258 | 505 |
$ISABELLE_HOME_USER/etc/preferences -- it occasionally yields better |
70254 | 506 |
results. |
507 |
||
70213 | 508 |
* OpenJDK 11 has quite different font rendering, with better glyph |
509 |
shapes and improved sub-pixel anti-aliasing. In some situations results |
|
70254 | 510 |
might be *worse* than Oracle Java 8, though -- a proper HiDPI / UHD |
511 |
display is recommended. |
|
70205 | 512 |
|
70442 | 513 |
* OpenJDK 11 supports GTK version 2.2 and 3 (according to system |
514 |
property jdk.gtk.version). The factory default is version 3, but |
|
515 |
ISABELLE_JAVA_SYSTEM_OPTIONS includes "-Djdk.gtk.version=2.2" to make |
|
516 |
this more conservative (as in Java 8). Depending on the GTK theme |
|
517 |
configuration, "-Djdk.gtk.version=3" might work better or worse. |
|
518 |
||
69190 | 519 |
|
70144
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
520 |
*** Document preparation *** |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
521 |
|
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
522 |
* Document markers are formal comments of the form \<^marker>\<open>marker_body\<close> that |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
523 |
are stripped from document output: the effect is to modify the semantic |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
524 |
presentation context or to emit markup to the PIDE document. Some |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
525 |
predefined markers are taken from the Dublin Core Metadata Initiative, |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
526 |
e.g. \<^marker>\<open>contributor arg\<close> or \<^marker>\<open>license arg\<close> and produce PIDE markup that |
70466 | 527 |
can be retrieved from the document database. |
70144
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
528 |
|
70325 | 529 |
* Old-style command tags %name are re-interpreted as markers with |
530 |
proof-scope \<^marker>\<open>tag (proof) name\<close> and produce LaTeX environments as |
|
531 |
before. Potential INCOMPATIBILITY: multiple markers are composed in |
|
532 |
canonical order, resulting in a reversed list of tags in the |
|
533 |
presentation context. |
|
534 |
||
535 |
* Marker \<^marker>\<open>tag name\<close> does not apply to the proof of a top-level goal |
|
536 |
statement by default (e.g. 'theorem', 'lemma'). This is a subtle change |
|
537 |
of semantics wrt. old-style %name. |
|
70144
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
538 |
|
70328 | 539 |
* In Isabelle/jEdit, the string "\tag" may be completed to a "\<^marker>\<open>tag \<close>" |
540 |
template. |
|
541 |
||
70307 | 542 |
* Document antiquotation option "cartouche" indicates if the output |
543 |
should be delimited as cartouche; this takes precedence over the |
|
544 |
analogous option "quotes". |
|
545 |
||
70308
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
546 |
* Many document antiquotations are internally categorized as "embedded" |
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
547 |
and expect one cartouche argument, which is typically used with the |
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
548 |
\<^control>\<open>cartouche\<close> notation (e.g. \<^term>\<open>\<lambda>x y. x\<close>). The cartouche |
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
549 |
delimiters are stripped in output of the source (antiquotation option |
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
550 |
"source"), but it is possible to enforce delimiters via option |
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
551 |
"source_cartouche", e.g. @{term [source_cartouche] \<open>\<lambda>x y. x\<close>}. |
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents:
70307
diff
changeset
|
552 |
|
70144
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
553 |
|
68879 | 554 |
*** Isar *** |
555 |
||
69045 | 556 |
* Implicit cases goal1, goal2, goal3, etc. have been discontinued |
557 |
(legacy feature since Isabelle2016). |
|
558 |
||
70205 | 559 |
* More robust treatment of structural errors: begin/end blocks take |
560 |
precedence over goal/proof. This is particularly relevant for the |
|
561 |
headless PIDE session and server. |
|
562 |
||
563 |
* Command keywords of kind thy_decl / thy_goal may be more specifically |
|
564 |
fit into the traditional document model of "definition-statement-proof" |
|
565 |
via thy_defn / thy_stmt / thy_goal_defn / thy_goal_stmt. |
|
566 |
||
69045 | 567 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
568 |
*** HOL *** |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
569 |
|
70191
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
570 |
* Command 'export_code' produces output as logical files within the |
70193 | 571 |
theory context, as well as formal session exports that can be |
572 |
materialized via command-line tools "isabelle export" or "isabelle build |
|
573 |
-e" (with 'export_files' in the session ROOT). Isabelle/jEdit also |
|
574 |
provides a virtual file-system "isabelle-export:" that can be explored |
|
575 |
in the regular file-browser. A 'file_prefix' argument allows to specify |
|
576 |
an explicit name prefix for the target file (SML, OCaml, Scala) or |
|
577 |
directory (Haskell); the default is "export" with a consecutive number |
|
578 |
within each theory. |
|
70191
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
579 |
|
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
580 |
* Command 'export_code': the 'file' argument is now legacy and will be |
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
581 |
removed soon: writing to the physical file-system is not well-defined in |
70193 | 582 |
a reactive/parallel application like Isabelle. The empty 'file' argument |
583 |
has been discontinued already: it is superseded by the file-browser in |
|
584 |
Isabelle/jEdit on "isabelle-export:". Minor INCOMPATIBILITY. |
|
69637 | 585 |
|
70204
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
586 |
* Command 'code_reflect' no longer supports the 'file' argument: it has |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
587 |
been superseded by 'file_prefix' for stateless file management as in |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
588 |
'export_code'. Minor INCOMPATIBILITY. |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
589 |
|
69759 | 590 |
* Code generation for OCaml: proper strings are used for literals. |
591 |
Minor INCOMPATIBILITY. |
|
592 |
||
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
593 |
* Code generation for OCaml: Zarith supersedes Nums as library for |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
594 |
proper integer arithmetic. The library is located via standard |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
595 |
invocations of "ocamlfind" (via ISABELLE_OCAMLFIND settings variable). |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
596 |
The environment provided by "isabelle ocaml_setup" already contains this |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
597 |
tool and the required packages. Minor INCOMPATIBILITY. |
70087
55534affe445
migrated from Nums to Zarith as library for OCaml integer arithmetic
haftmann
parents:
70084
diff
changeset
|
598 |
|
69705 | 599 |
* Code generation for Haskell: code includes for Haskell must contain |
600 |
proper module frame, nothing is added magically any longer. |
|
601 |
INCOMPATIBILITY. |
|
602 |
||
70205 | 603 |
* Code generation: slightly more conventional syntax for 'code_stmts' |
604 |
antiquotation. Minor INCOMPATIBILITY. |
|
605 |
||
606 |
* Theory List: the precedence of the list_update operator has changed: |
|
607 |
"f a [n := x]" now needs to be written "(f a)[n := x]". |
|
608 |
||
609 |
* The functions \<Union>, \<Inter>, \<Squnion>, \<Sqinter> (not the corresponding binding operators) |
|
610 |
now have the same precedence as any other prefix function symbol. Minor |
|
611 |
INCOMPATIBILITY. |
|
70042
62e47f06d22c
avoid context-sensitive simp rules whose context-free form (image_comp) is not simp by default
haftmann
parents:
70035
diff
changeset
|
612 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
613 |
* Simplified syntax setup for big operators under image. In rare |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
614 |
situations, type conversions are not inserted implicitly any longer |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
615 |
and need to be given explicitly. Auxiliary abbreviations INFIMUM, |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
616 |
SUPREMUM, UNION, INTER should now rarely occur in output and are just |
70421 | 617 |
retained as migration auxiliary. Abbreviations MINIMUM and MAXIMUM |
618 |
are gone INCOMPATIBILITY. |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
619 |
|
70205 | 620 |
* The simplifier uses image_cong_simp as a congruence rule. The historic |
621 |
and not really well-formed congruence rules INF_cong*, SUP_cong*, are |
|
622 |
not used by default any longer. INCOMPATIBILITY; consider using declare |
|
623 |
image_cong_simp [cong del] in extreme situations. |
|
624 |
||
625 |
* INF_image and SUP_image are no default simp rules any longer. |
|
626 |
INCOMPATIBILITY, prefer image_comp as simp rule if needed. |
|
68938 | 627 |
|
69164 | 628 |
* Strong congruence rules (with =simp=> in the premises) for constant f |
69558
27dae626822b
prefer naming convention from datatype package for strong congruence rules
haftmann
parents:
69518
diff
changeset
|
629 |
are now uniformly called f_cong_simp, in accordance with congruence |
27dae626822b
prefer naming convention from datatype package for strong congruence rules
haftmann
parents:
69518
diff
changeset
|
630 |
rules produced for mappers by the datatype package. INCOMPATIBILITY. |
69164 | 631 |
|
70205 | 632 |
* Retired lemma card_Union_image; use the simpler card_UN_disjoint |
633 |
instead. INCOMPATIBILITY. |
|
634 |
||
635 |
* Facts sum_mset.commute and prod_mset.commute have been renamed to |
|
636 |
sum_mset.swap and prod_mset.swap, similarly to sum.swap and prod.swap. |
|
637 |
INCOMPATIBILITY. |
|
638 |
||
639 |
* ML structure Inductive: slightly more conventional naming schema. |
|
640 |
Minor INCOMPATIBILITY. |
|
641 |
||
642 |
* ML: Various _global variants of specification tools have been removed. |
|
643 |
Minor INCOMPATIBILITY, prefer combinators |
|
644 |
Named_Target.theory_map[_result] to lift specifications to the global |
|
645 |
theory level. |
|
646 |
||
647 |
* Theory HOL-Library.Simps_Case_Conv: 'case_of_simps' now supports |
|
648 |
overlapping and non-exhaustive patterns and handles arbitrarily nested |
|
649 |
patterns. It uses on the same algorithm as HOL-Library.Code_Lazy, which |
|
650 |
assumes sequential left-to-right pattern matching. The generated |
|
69569
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69518
diff
changeset
|
651 |
equation no longer tuples the arguments on the right-hand side. |
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69518
diff
changeset
|
652 |
INCOMPATIBILITY. |
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69518
diff
changeset
|
653 |
|
70482 | 654 |
* Theory HOL-Library.Multiset: the \<Union># operator now has the same |
70205 | 655 |
precedence as any other prefix function symbol. |
656 |
||
70263 | 657 |
* Theory HOL-Library.Cardinal_Notations has been discontinued in favor |
70352 | 658 |
of the bundle cardinal_syntax (available in theory Main). Minor |
659 |
INCOMPATIBILITY. |
|
70263 | 660 |
|
70205 | 661 |
* Session HOL-Library and HOL-Number_Theory: Exponentiation by squaring, |
662 |
used for computing powers in class "monoid_mult" and modular |
|
663 |
exponentiation. |
|
664 |
||
665 |
* Session HOL-Computational_Algebra: Formal Laurent series and overhaul |
|
666 |
of Formal power series. |
|
667 |
||
668 |
* Session HOL-Number_Theory: More material on residue rings in |
|
669 |
Carmichael's function, primitive roots, more properties for "ord". |
|
670 |
||
70300
b601c2c87076
type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents:
70292
diff
changeset
|
671 |
* Session HOL-Analysis: Better organization and much more material |
b601c2c87076
type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents:
70292
diff
changeset
|
672 |
at the level of abstract topological spaces. |
b601c2c87076
type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents:
70292
diff
changeset
|
673 |
|
70348
1f163f772da3
Group theory developments towards proving algebraic closure (by de Vilhena and Baillon)
paulson <lp15@cam.ac.uk>
parents:
70328
diff
changeset
|
674 |
* Session HOL-Algebra: Free abelian groups, etc., ported from HOL Light; |
70400
8371a25ca177
Algebraic closure: moving more theorems into their rightful places
paulson <lp15@cam.ac.uk>
parents:
70359
diff
changeset
|
675 |
algebraic closure of a field by de Vilhena and Baillon. |
70214 | 676 |
|
70352 | 677 |
* Session HOL-Homology has been added. It is a port of HOL Light's |
678 |
homology library, with new proofs of "invariance of domain" and related |
|
679 |
results. |
|
680 |
||
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69095
diff
changeset
|
681 |
* Session HOL-SPARK: .prv files are no longer written to the |
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69095
diff
changeset
|
682 |
file-system, but exported to the session database. Results may be |
70208 | 683 |
retrieved via "isabelle build -e HOL-SPARK-Examples" on the |
684 |
command-line. |
|
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69095
diff
changeset
|
685 |
|
70205 | 686 |
* Sledgehammer: |
687 |
- The URL for SystemOnTPTP, which is used by remote provers, has been |
|
688 |
updated. |
|
689 |
- The machine-learning-based filter MaSh has been optimized to take |
|
690 |
less time (in most cases). |
|
691 |
||
692 |
* SMT: reconstruction is now possible using the SMT solver veriT. |
|
693 |
||
70358 | 694 |
* Session HOL-Word: |
695 |
* New theory More_Word as comprehensive entrance point. |
|
70359 | 696 |
* Merged type class bitss into type class bits. |
70358 | 697 |
INCOMPATIBILITY. |
698 |
||
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
699 |
|
68804 | 700 |
*** ML *** |
701 |
||
70205 | 702 |
* Command 'generate_file' allows to produce sources for other languages, |
703 |
with antiquotations in the Isabelle context (only the control-cartouche |
|
704 |
form). The default "cartouche" antiquotation evaluates an ML expression |
|
705 |
of type string and inlines the result as a string literal of the target |
|
706 |
language. For example, this works for Haskell as follows: |
|
707 |
||
708 |
generate_file "Pure.hs" = \<open> |
|
709 |
module Isabelle.Pure where |
|
710 |
allConst, impConst, eqConst :: String |
|
711 |
allConst = \<open>\<^const_name>\<open>Pure.all\<close>\<close> |
|
712 |
impConst = \<open>\<^const_name>\<open>Pure.imp\<close>\<close> |
|
713 |
eqConst = \<open>\<^const_name>\<open>Pure.eq\<close>\<close> |
|
714 |
\<close> |
|
715 |
||
70268
4f936de6d9b8
tuned -- prefer Isar command 'compile_generated_files';
wenzelm
parents:
70263
diff
changeset
|
716 |
See also commands 'export_generated_files' and 'compile_generated_files' |
4f936de6d9b8
tuned -- prefer Isar command 'compile_generated_files';
wenzelm
parents:
70263
diff
changeset
|
717 |
to use the results. |
68804 | 718 |
|
70444 | 719 |
* ML evaluation (notably via command 'ML' or 'ML_file') is subject to |
68824 | 720 |
option ML_environment to select a named environment, such as "Isabelle" |
70444 | 721 |
for Isabelle/ML, or "SML" for official Standard ML. |
68804 | 722 |
|
69391
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
723 |
* ML antiquotation @{master_dir} refers to the master directory of the |
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
724 |
underlying theory, i.e. the directory of the theory file. |
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
725 |
|
69481 | 726 |
* ML antiquotation @{verbatim} inlines its argument as string literal, |
727 |
preserving newlines literally. The short form \<^verbatim>\<open>abc\<close> is particularly |
|
728 |
useful. |
|
729 |
||
70205 | 730 |
* Local_Theory.reset is no longer available in user space. Regular |
731 |
definitional packages should use balanced blocks of |
|
732 |
Local_Theory.open_target versus Local_Theory.close_target instead, or |
|
733 |
the Local_Theory.subtarget(_result) combinator. Rare INCOMPATIBILITY. |
|
734 |
||
735 |
* Original PolyML.pointerEq is retained as a convenience for tools that |
|
736 |
don't use Isabelle/ML (where this is called "pointer_eq"). |
|
69391
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
737 |
|
69287 | 738 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
739 |
*** System *** |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
740 |
|
70213 | 741 |
* Update to OpenJDK 11: the current long-term support version of Java. |
70205 | 742 |
|
743 |
* Update to Poly/ML 5.8 allows to use the native x86_64 platform without |
|
744 |
the full overhead of 64-bit values everywhere. This special x86_64_32 |
|
745 |
mode provides up to 16GB ML heap, while program code and stacks are |
|
746 |
allocated elsewhere. Thus approx. 5 times more memory is available for |
|
747 |
applications compared to old x86 mode (which is no longer used by |
|
748 |
Isabelle). The switch to the x86_64 CPU architecture also avoids |
|
749 |
compatibility problems with Linux and macOS, where 32-bit applications |
|
750 |
are gradually phased out. |
|
751 |
||
752 |
* System option "checkpoint" has been discontinued: obsolete thanks to |
|
753 |
improved memory management in Poly/ML. |
|
754 |
||
755 |
* System option "system_heaps" determines where to store the session |
|
70035
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
756 |
image of "isabelle build" (and other tools using that internally). |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
757 |
Former option "-s" is superseded by option "-o system_heaps". |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
758 |
INCOMPATIBILITY in command-line syntax. |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
759 |
|
70205 | 760 |
* Session directory $ISABELLE_HOME/src/Tools/Haskell provides some |
761 |
source modules for Isabelle tools implemented in Haskell, notably for |
|
762 |
Isabelle/PIDE. |
|
763 |
||
764 |
* The command-line tool "isabelle build -e" retrieves theory exports |
|
765 |
from the session build database, using 'export_files' in session ROOT |
|
766 |
entries. |
|
767 |
||
69597 | 768 |
* The command-line tool "isabelle update" uses Isabelle/PIDE in |
769 |
batch-mode to update theory sources based on semantic markup produced in |
|
69622 | 770 |
Isabelle/ML. Actual updates depend on system options that may be enabled |
69600 | 771 |
via "-u OPT" (for "update_OPT"), see also $ISABELLE_HOME/etc/options |
772 |
section "Theory update". Theory sessions are specified as in "isabelle |
|
69597 | 773 |
dump". |
774 |
||
69604
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
775 |
* The command-line tool "isabelle update -u control_cartouches" changes |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
776 |
antiquotations into control-symbol format (where possible): @{NAME} |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
777 |
becomes \<^NAME> and @{NAME ARG} becomes \<^NAME>\<open>ARG\<close>. |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
778 |
|
69282
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
779 |
* Support for Isabelle command-line tools defined in Isabelle/Scala. |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
780 |
Instances of class Isabelle_Scala_Tools may be configured via the shell |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
781 |
function "isabelle_scala_tools" in etc/settings (e.g. of an Isabelle |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
782 |
component). |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
783 |
|
70205 | 784 |
* Isabelle Server command "use_theories" supports "nodes_status_delay" |
69044 | 785 |
for continuous output of node status information. The time interval is |
786 |
specified in seconds; a negative value means it is disabled (default). |
|
787 |
||
788 |
* Isabelle Server command "use_theories" terminates more robustly in the |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
789 |
presence of structurally broken sources: full consolidation of theories |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
790 |
is no longer required. |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
791 |
|
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
792 |
* OCaml tools and libraries are now accesed via ISABELLE_OCAMLFIND, |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
793 |
which needs to point to a suitable version of "ocamlfind" (e.g. via |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
794 |
OPAM, see below). INCOMPATIBILITY: settings variables ISABELLE_OCAML and |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
795 |
ISABELLE_OCAMLC are no longer supported. |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
796 |
|
69273
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
797 |
* Support for managed installations of Glasgow Haskell Compiler and |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
798 |
OCaml via the following command-line tools: |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
799 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
800 |
isabelle ghc_setup |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
801 |
isabelle ghc_stack |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
802 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
803 |
isabelle ocaml_setup |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
804 |
isabelle ocaml_opam |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
805 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
806 |
The global installation state is determined by the following settings |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
807 |
(and corresponding directory contents): |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
808 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
809 |
ISABELLE_STACK_ROOT |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
810 |
ISABELLE_STACK_RESOLVER |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
811 |
ISABELLE_GHC_VERSION |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
812 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
813 |
ISABELLE_OPAM_ROOT |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
814 |
ISABELLE_OCAML_VERSION |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
815 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
816 |
After setup, the following Isabelle settings are automatically |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
817 |
redirected (overriding existing user settings): |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
818 |
|
69274 | 819 |
ISABELLE_GHC |
820 |
||
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
821 |
ISABELLE_OCAMLFIND |
69273
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
822 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
823 |
The old meaning of these settings as locally installed executables may |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
824 |
be recovered by purging the directories ISABELLE_STACK_ROOT / |
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
825 |
ISABELLE_OPAM_ROOT, or by resetting these variables in |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
826 |
$ISABELLE_HOME_USER/etc/settings. |
69190 | 827 |
|
70002
8c587dd44f51
updated to polyml-5.8-20190220 (pre-release of Poly/ML 5.8);
wenzelm
parents:
69990
diff
changeset
|
828 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
829 |
|
68392 | 830 |
New in Isabelle2018 (August 2018) |
831 |
--------------------------------- |
|
66653 | 832 |
|
66712 | 833 |
*** General *** |
834 |
||
68394 | 835 |
* Session-qualified theory names are mandatory: it is no longer possible |
836 |
to refer to unqualified theories from the parent session. |
|
837 |
INCOMPATIBILITY for old developments that have not been updated to |
|
838 |
Isabelle2017 yet (using the "isabelle imports" tool). |
|
839 |
||
840 |
* Only the most fundamental theory names are global, usually the entry |
|
841 |
points to major logic sessions: Pure, Main, Complex_Main, HOLCF, IFOL, |
|
842 |
FOL, ZF, ZFC etc. INCOMPATIBILITY, need to use qualified names for |
|
843 |
formerly global "HOL-Probability.Probability" and "HOL-SPARK.SPARK". |
|
844 |
||
68559
7aae213d9e69
discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents:
68548
diff
changeset
|
845 |
* Global facts need to be closed: no free variables and no hypotheses. |
7aae213d9e69
discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents:
68548
diff
changeset
|
846 |
Rare INCOMPATIBILITY. |
68540 | 847 |
|
68665 | 848 |
* Facts stemming from locale interpretation are subject to lazy |
849 |
evaluation for improved performance. Rare INCOMPATIBILITY: errors |
|
850 |
stemming from interpretation morphisms might be deferred and thus |
|
851 |
difficult to locate; enable system option "strict_facts" temporarily to |
|
852 |
avoid this. |
|
853 |
||
67446 | 854 |
* Marginal comments need to be written exclusively in the new-style form |
855 |
"\<comment> \<open>text\<close>", old ASCII variants like "-- {* ... *}" are no longer |
|
856 |
supported. INCOMPATIBILITY, use the command-line tool "isabelle |
|
857 |
update_comments" to update existing theory files. |
|
858 |
||
67507 | 859 |
* Old-style inner comments (* ... *) within the term language are legacy |
860 |
and will be discontinued soon: use formal comments "\<comment> \<open>...\<close>" or "\<^cancel>\<open>...\<close>" |
|
861 |
instead. |
|
862 |
||
67402 | 863 |
* The "op <infix-op>" syntax for infix operators has been replaced by |
67400 | 864 |
"(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to |
865 |
be a space between the "*" and the corresponding parenthesis. |
|
68543 | 866 |
INCOMPATIBILITY, use the command-line tool "isabelle update_op" to |
867 |
convert theory and ML files to the new syntax. Because it is based on |
|
868 |
regular expression matching, the result may need a bit of manual |
|
869 |
postprocessing. Invoking "isabelle update_op" converts all files in the |
|
870 |
current directory (recursively). In case you want to exclude conversion |
|
871 |
of ML files (because the tool frequently also converts ML's "op" |
|
872 |
syntax), use option "-m". |
|
67398 | 873 |
|
67013
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
874 |
* Theory header 'abbrevs' specifications need to be separated by 'and'. |
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
875 |
INCOMPATIBILITY. |
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
876 |
|
66757 | 877 |
* Command 'external_file' declares the formal dependency on the given |
878 |
file name, such that the Isabelle build process knows about it, but |
|
879 |
without specific Prover IDE management. |
|
880 |
||
66759 | 881 |
* Session ROOT entries no longer allow specification of 'files'. Rare |
882 |
INCOMPATIBILITY, use command 'external_file' within a proper theory |
|
883 |
context. |
|
884 |
||
66764
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
885 |
* Session root directories may be specified multiple times: each |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
886 |
accessible ROOT file is processed only once. This facilitates |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
887 |
specification of $ISABELLE_HOME_USER/ROOTS or command-line options like |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
888 |
-d or -D for "isabelle build" and "isabelle jedit". Example: |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
889 |
|
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
890 |
isabelle build -D '~~/src/ZF' |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
891 |
|
67264 | 892 |
* The command 'display_drafts' has been discontinued. INCOMPATIBILITY, |
893 |
use action "isabelle.draft" (or "print") in Isabelle/jEdit instead. |
|
894 |
||
68394 | 895 |
* In HTML output, the Isabelle symbol "\<hyphen>" is rendered as explicit |
896 |
Unicode hyphen U+2010, to avoid unclear meaning of the old "soft hyphen" |
|
897 |
U+00AD. Rare INCOMPATIBILITY, e.g. copy-paste of historic Isabelle HTML |
|
898 |
output. |
|
67305
ecb74607063f
more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents:
67304
diff
changeset
|
899 |
|
66712 | 900 |
|
67262 | 901 |
*** Isabelle/jEdit Prover IDE *** |
66768 | 902 |
|
68394 | 903 |
* The command-line tool "isabelle jedit" provides more flexible options |
904 |
for session management: |
|
905 |
||
68472 | 906 |
- option -R builds an auxiliary logic image with all theories from |
907 |
other sessions that are not already present in its parent |
|
68394 | 908 |
|
909 |
- option -S is like -R, with a focus on the selected session and its |
|
910 |
descendants (this reduces startup time for big projects like AFP) |
|
911 |
||
68472 | 912 |
- option -A specifies an alternative ancestor session for options -R |
913 |
and -S |
|
914 |
||
68541 | 915 |
- option -i includes additional sessions into the name-space of |
916 |
theories |
|
917 |
||
68394 | 918 |
Examples: |
919 |
isabelle jedit -R HOL-Number_Theory |
|
920 |
isabelle jedit -R HOL-Number_Theory -A HOL |
|
921 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL |
|
922 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis |
|
68541 | 923 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis -i CryptHOL |
68394 | 924 |
|
925 |
* PIDE markup for session ROOT files: allows to complete session names, |
|
926 |
follow links to theories and document files etc. |
|
927 |
||
928 |
* Completion supports theory header imports, using theory base name. |
|
929 |
E.g. "Prob" may be completed to "HOL-Probability.Probability". |
|
930 |
||
931 |
* Named control symbols (without special Unicode rendering) are shown as |
|
932 |
bold-italic keyword. This is particularly useful for the short form of |
|
933 |
antiquotations with control symbol: \<^name>\<open>argument\<close>. The action |
|
934 |
"isabelle.antiquoted_cartouche" turns an antiquotation with 0 or 1 |
|
935 |
arguments into this format. |
|
936 |
||
937 |
* Completion provides templates for named symbols with arguments, |
|
938 |
e.g. "\<comment> \<open>ARGUMENT\<close>" or "\<^emph>\<open>ARGUMENT\<close>". |
|
939 |
||
68369 | 940 |
* Slightly more parallel checking, notably for high priority print |
941 |
functions (e.g. State output). |
|
942 |
||
68080 | 943 |
* The view title is set dynamically, according to the Isabelle |
944 |
distribution and the logic session name. The user can override this via |
|
945 |
set-view-title (stored persistently in $JEDIT_SETTINGS/perspective.xml). |
|
946 |
||
67395
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
947 |
* System options "spell_checker_include" and "spell_checker_exclude" |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
948 |
supersede former "spell_checker_elements" to determine regions of text |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
949 |
that are subject to spell-checking. Minor INCOMPATIBILITY. |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
950 |
|
67248
68177abb2988
isabelle.preview presents bibtex database files as well;
wenzelm
parents:
67246
diff
changeset
|
951 |
* Action "isabelle.preview" is able to present more file formats, |
67267 | 952 |
notably bibtex database files and ML files. |
67246
4cedf44f2af1
isabelle.preview presents auxiliary text files as well;
wenzelm
parents:
67224
diff
changeset
|
953 |
|
67263 | 954 |
* Action "isabelle.draft" is similar to "isabelle.preview", but shows a |
68068 | 955 |
plain-text document draft. Both are available via the menu "Plugins / |
956 |
Isabelle". |
|
67263 | 957 |
|
67304
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
958 |
* When loading text files, the Isabelle symbols encoding UTF-8-Isabelle |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
959 |
is only used if there is no conflict with existing Unicode sequences in |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
960 |
the file. Otherwise, the fallback encoding is plain UTF-8 and Isabelle |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
961 |
symbols remain in literal \<symbol> form. This avoids accidental loss of |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
962 |
Unicode content when saving the file. |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
963 |
|
68545 | 964 |
* Bibtex database files (.bib) are semantically checked. |
965 |
||
67994 | 966 |
* Update to jedit-5.5.0, the latest release. |
967 |
||
67246
4cedf44f2af1
isabelle.preview presents auxiliary text files as well;
wenzelm
parents:
67224
diff
changeset
|
968 |
|
67262 | 969 |
*** Isabelle/VSCode Prover IDE *** |
970 |
||
971 |
* HTML preview of theories and other file-formats similar to |
|
972 |
Isabelle/jEdit. |
|
973 |
||
68690
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
974 |
* Command-line tool "isabelle vscode_server" accepts the same options |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
975 |
-A, -R, -S, -i for session selection as "isabelle jedit". This is |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
976 |
relevant for isabelle.args configuration settings in VSCode. The former |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
977 |
option -A (explore all known session files) has been discontinued: it is |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
978 |
enabled by default, unless option -S is used to focus on a particular |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
979 |
spot in the session structure. INCOMPATIBILITY. |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
980 |
|
66768 | 981 |
|
67140 | 982 |
*** Document preparation *** |
983 |
||
67448 | 984 |
* Formal comments work uniformly in outer syntax, inner syntax (term |
985 |
language), Isabelle/ML and some other embedded languages of Isabelle. |
|
986 |
See also "Document comments" in the isar-ref manual. The following forms |
|
987 |
are supported: |
|
988 |
||
989 |
- marginal text comment: \<comment> \<open>\<dots>\<close> |
|
990 |
- canceled source: \<^cancel>\<open>\<dots>\<close> |
|
991 |
- raw LaTeX: \<^latex>\<open>\<dots>\<close> |
|
67413 | 992 |
|
67381 | 993 |
* Outside of the inner theory body, the default presentation context is |
994 |
theory Pure. Thus elementary antiquotations may be used in markup |
|
995 |
commands (e.g. 'chapter', 'section', 'text') and formal comments. |
|
996 |
||
68513 | 997 |
* System option "document_tags" specifies alternative command tags. This |
998 |
is occasionally useful to control the global visibility of commands via |
|
999 |
session options (e.g. in ROOT). |
|
67140 | 1000 |
|
1001 |
* Document markup commands ('section', 'text' etc.) are implicitly |
|
1002 |
tagged as "document" and visible by default. This avoids the application |
|
1003 |
of option "document_tags" to these commands. |
|
1004 |
||
67145 | 1005 |
* Isabelle names are mangled into LaTeX macro names to allow the full |
1006 |
identifier syntax with underscore, prime, digits. This is relevant for |
|
1007 |
antiquotations in control symbol notation, e.g. \<^const_name> becomes |
|
1008 |
\isactrlconstUNDERSCOREname. |
|
1009 |
||
68394 | 1010 |
* Document preparation with skip_proofs option now preserves the content |
1011 |
more accurately: only terminal proof steps ('by' etc.) are skipped. |
|
67297
86a099f896fc
formal check of @{cite} bibtex entries -- only in batch-mode session builds;
wenzelm
parents:
67295
diff
changeset
|
1012 |
|
68484 | 1013 |
* Document antiquotation @{theory name} requires the long |
1014 |
session-qualified theory name: this is what users reading the text |
|
1015 |
normally need to import. |
|
1016 |
||
67219 | 1017 |
* Document antiquotation @{session name} checks and prints the given |
1018 |
session name verbatim. |
|
1019 |
||
68394 | 1020 |
* Document antiquotation @{cite} now checks the given Bibtex entries |
1021 |
against the Bibtex database files -- only in batch-mode session builds. |
|
67157 | 1022 |
|
67176
13b5c3ff1954
re-implemented "isabelle document" in Isabelle/Scala, include latex_errors here;
wenzelm
parents:
67173
diff
changeset
|
1023 |
* Command-line tool "isabelle document" has been re-implemented in |
67194
1c0a6a957114
positions as postlude: avoid intrusion of odd %-forms into main tex source;
wenzelm
parents:
67191
diff
changeset
|
1024 |
Isabelle/Scala, with simplified arguments and explicit errors from the |
67203 | 1025 |
latex and bibtex process. Minor INCOMPATIBILITY. |
67173 | 1026 |
|
68394 | 1027 |
* Session ROOT entry: empty 'document_files' means there is no document |
1028 |
for this session. There is no need to specify options [document = false] |
|
1029 |
anymore. |
|
1030 |
||
67140 | 1031 |
|
67702
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1032 |
*** Isar *** |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1033 |
|
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1034 |
* Command 'interpret' no longer exposes resulting theorems as literal |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1035 |
facts, notably for the \<open>prop\<close> notation or the "fact" proof method. This |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1036 |
improves modularity of proofs and scalability of locale interpretation. |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1037 |
Rare INCOMPATIBILITY, need to refer to explicitly named facts instead |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1038 |
(e.g. use 'find_theorems' or 'try' to figure this out). |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
1039 |
|
68394 | 1040 |
* The old 'def' command has been discontinued (legacy since |
1041 |
Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with |
|
1042 |
object-logic equality or equivalence. |
|
1043 |
||
68543 | 1044 |
|
1045 |
*** Pure *** |
|
1046 |
||
1047 |
* The inner syntax category "sort" now includes notation "_" for the |
|
1048 |
dummy sort: it is effectively ignored in type-inference. |
|
1049 |
||
67740 | 1050 |
* Rewrites clauses (keyword 'rewrites') were moved into the locale |
68394 | 1051 |
expression syntax, where they are part of locale instances. In |
1052 |
interpretation commands rewrites clauses now need to occur before 'for' |
|
68470
aad109fde9ec
In interpretation commands, clarify what to do with definitions immediately subject to rewriting.
ballarin
parents:
68465
diff
changeset
|
1053 |
and 'defines'. Rare INCOMPATIBILITY; definitions immediately subject to |
aad109fde9ec
In interpretation commands, clarify what to do with definitions immediately subject to rewriting.
ballarin
parents:
68465
diff
changeset
|
1054 |
rewriting may need to be pulled up into the surrounding theory. |
68394 | 1055 |
|
1056 |
* For 'rewrites' clauses, if activating a locale instance fails, fall |
|
1057 |
back to reading the clause first. This helps avoid qualification of |
|
67764 | 1058 |
locale instances where the qualifier's sole purpose is avoiding |
1059 |
duplicate constant declarations. |
|
67741
d5a7f2c54655
Fall back to reading rewrite morphism first if activation fails without it.
ballarin
parents:
67740
diff
changeset
|
1060 |
|
68543 | 1061 |
* Proof method "simp" now supports a new modifier "flip:" followed by a |
1062 |
list of theorems. Each of these theorems is removed from the simpset |
|
1063 |
(without warning if it is not there) and the symmetric version of the |
|
1064 |
theorem (i.e. lhs and rhs exchanged) is added to the simpset. For "auto" |
|
1065 |
and friends the modifier is "simp flip:". |
|
67719 | 1066 |
|
1067 |
||
66663 | 1068 |
*** HOL *** |
1069 |
||
68568 | 1070 |
* Sledgehammer: bundled version of "vampire" (for non-commercial users) |
1071 |
helps to avoid fragility of "remote_vampire" service. |
|
1072 |
||
68028 | 1073 |
* Clarified relationship of characters, strings and code generation: |
1074 |
||
68394 | 1075 |
- Type "char" is now a proper datatype of 8-bit values. |
1076 |
||
1077 |
- Conversions "nat_of_char" and "char_of_nat" are gone; use more |
|
1078 |
general conversions "of_char" and "char_of" with suitable type |
|
1079 |
constraints instead. |
|
1080 |
||
1081 |
- The zero character is just written "CHR 0x00", not "0" any longer. |
|
1082 |
||
1083 |
- Type "String.literal" (for code generation) is now isomorphic to |
|
1084 |
lists of 7-bit (ASCII) values; concrete values can be written as |
|
1085 |
"STR ''...''" for sequences of printable characters and "STR 0x..." |
|
1086 |
for one single ASCII code point given as hexadecimal numeral. |
|
1087 |
||
1088 |
- Type "String.literal" supports concatenation "... + ..." for all |
|
1089 |
standard target languages. |
|
1090 |
||
1091 |
- Theory HOL-Library.Code_Char is gone; study the explanations |
|
1092 |
concerning "String.literal" in the tutorial on code generation to |
|
1093 |
get an idea how target-language string literals can be converted to |
|
1094 |
HOL string values and vice versa. |
|
1095 |
||
1096 |
- Session Imperative-HOL: operation "raise" directly takes a value of |
|
1097 |
type "String.literal" as argument, not type "string". |
|
1098 |
||
1099 |
INCOMPATIBILITY. |
|
1100 |
||
1101 |
* Code generation: Code generation takes an explicit option |
|
1102 |
"case_insensitive" to accomodate case-insensitive file systems. |
|
1103 |
||
1104 |
* Abstract bit operations as part of Main: push_bit, take_bit, drop_bit. |
|
1105 |
||
1106 |
* New, more general, axiomatization of complete_distrib_lattice. The |
|
1107 |
former axioms: |
|
1108 |
||
1109 |
"sup x (Inf X) = Inf (sup x ` X)" and "inf x (Sup X) = Sup (inf x ` X)" |
|
1110 |
||
1111 |
are replaced by: |
|
1112 |
||
1113 |
"Inf (Sup ` A) <= Sup (Inf ` {f ` A | f . (! Y \<in> A . f Y \<in> Y)})" |
|
1114 |
||
1115 |
The instantiations of sets and functions as complete_distrib_lattice are |
|
1116 |
moved to Hilbert_Choice.thy because their proofs need the Hilbert choice |
|
1117 |
operator. The dual of this property is also proved in theory |
|
1118 |
HOL.Hilbert_Choice. |
|
67831
07f5588f2735
Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents:
67830
diff
changeset
|
1119 |
|
67999
1b05f74f2e5f
tidying up including contributions from Paulo EmÃlio de Vilhena
paulson <lp15@cam.ac.uk>
parents:
67994
diff
changeset
|
1120 |
* New syntax for the minimum/maximum of a function over a finite set: |
68394 | 1121 |
MIN x\<in>A. B and even MIN x. B (only useful for finite types), also MAX. |
67999
1b05f74f2e5f
tidying up including contributions from Paulo EmÃlio de Vilhena
paulson <lp15@cam.ac.uk>
parents:
67994
diff
changeset
|
1122 |
|
67525
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1123 |
* Clarifed theorem names: |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1124 |
|
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1125 |
Min.antimono ~> Min.subset_imp |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1126 |
Max.antimono ~> Max.subset_imp |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1127 |
|
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1128 |
Minor INCOMPATIBILITY. |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
1129 |
|
66663 | 1130 |
* SMT module: |
68394 | 1131 |
|
66663 | 1132 |
- The 'smt_oracle' option is now necessary when using the 'smt' method |
66664 | 1133 |
with a solver other than Z3. INCOMPATIBILITY. |
68394 | 1134 |
|
66844 | 1135 |
- The encoding to first-order logic is now more complete in the |
1136 |
presence of higher-order quantifiers. An 'smt_explicit_application' |
|
1137 |
option has been added to control this. INCOMPATIBILITY. |
|
1138 |
||
66804
3f9bb52082c4
avoid name clashes on interpretation of abstract locales
haftmann
parents:
66803
diff
changeset
|
1139 |
* Facts sum.commute(_restrict) and prod.commute(_restrict) renamed to |
66844 | 1140 |
sum.swap(_restrict) and prod.swap(_restrict), to avoid name clashes on |
1141 |
interpretation of abstract locales. INCOMPATIBILITY. |
|
66804
3f9bb52082c4
avoid name clashes on interpretation of abstract locales
haftmann
parents:
66803
diff
changeset
|
1142 |
|
68394 | 1143 |
* Predicate coprime is now a real definition, not a mere abbreviation. |
1144 |
INCOMPATIBILITY. |
|
1145 |
||
66803 | 1146 |
* Predicate pairwise_coprime abolished, use "pairwise coprime" instead. |
1147 |
INCOMPATIBILITY. |
|
1148 |
||
68373 | 1149 |
* The relator rel_filter on filters has been strengthened to its |
68394 | 1150 |
canonical categorical definition with better properties. |
1151 |
INCOMPATIBILITY. |
|
67615
1d005f514417
strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents:
67591
diff
changeset
|
1152 |
|
68071
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
1153 |
* Generalized linear algebra involving linear, span, dependent, dim |
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
1154 |
from type class real_vector to locales module and vector_space. |
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
1155 |
Renamed: |
68394 | 1156 |
|
1157 |
span_inc ~> span_superset |
|
1158 |
span_superset ~> span_base |
|
1159 |
span_eq ~> span_eq_iff |
|
1160 |
||
1161 |
INCOMPATIBILITY. |
|
66844 | 1162 |
|
66937 | 1163 |
* Class linordered_semiring_1 covers zero_less_one also, ruling out |
1164 |
pathologic instances. Minor INCOMPATIBILITY. |
|
1165 |
||
68394 | 1166 |
* Theory HOL.List: functions "sorted_wrt" and "sorted" now compare every |
1167 |
element in a list to all following elements, not just the next one. |
|
1168 |
||
1169 |
* Theory HOL.List syntax: |
|
1170 |
||
1171 |
- filter-syntax "[x <- xs. P]" is no longer output syntax, but only |
|
1172 |
input syntax |
|
1173 |
||
1174 |
- list comprehension syntax now supports tuple patterns in "pat <- xs" |
|
68250
949d93804740
First step to remove nonstandard "[x <- xs. P]" syntax: only input
nipkow
parents:
68247
diff
changeset
|
1175 |
|
68450 | 1176 |
* Theory Map: "empty" must now be qualified as "Map.empty". |
1177 |
||
67051 | 1178 |
* Removed nat-int transfer machinery. Rare INCOMPATIBILITY. |
1179 |
||
68103 | 1180 |
* Fact mod_mult_self4 (on nat) renamed to Suc_mod_mult_self3, to avoid |
1181 |
clash with fact mod_mult_self4 (on more generic semirings). |
|
1182 |
INCOMPATIBILITY. |
|
1183 |
||
1184 |
* Eliminated some theorem aliasses: |
|
1185 |
even_times_iff ~> even_mult_iff |
|
1186 |
mod_2_not_eq_zero_eq_one_nat ~> not_mod_2_eq_0_eq_1 |
|
1187 |
even_of_nat ~> even_int_iff |
|
1188 |
||
1189 |
INCOMPATIBILITY. |
|
1190 |
||
68157 | 1191 |
* Eliminated some theorem duplicate variations: |
68394 | 1192 |
|
1193 |
- dvd_eq_mod_eq_0_numeral can be replaced by dvd_eq_mod_eq_0 |
|
1194 |
- mod_Suc_eq_Suc_mod can be replaced by mod_Suc |
|
1195 |
- mod_Suc_eq_Suc_mod [symmetrict] can be replaced by mod_simps |
|
1196 |
- mod_eq_0_iff can be replaced by mod_eq_0_iff_dvd and dvd_def |
|
1197 |
- the witness of mod_eqD can be given directly as "_ div _" |
|
68157 | 1198 |
|
1199 |
INCOMPATIBILITY. |
|
1200 |
||
68260 | 1201 |
* Classical setup: Assumption "m mod d = 0" (for m d :: nat) is no |
68394 | 1202 |
longer aggresively destroyed to "\<exists>q. m = d * q". INCOMPATIBILITY, adding |
1203 |
"elim!: dvd" to classical proof methods in most situations restores |
|
1204 |
broken proofs. |
|
1205 |
||
1206 |
* Theory HOL-Library.Conditional_Parametricity provides command |
|
1207 |
'parametric_constant' for proving parametricity of non-recursive |
|
1208 |
definitions. For constants that are not fully parametric the command |
|
1209 |
will infer conditions on relations (e.g., bi_unique, bi_total, or type |
|
1210 |
class conditions such as "respects 0") sufficient for parametricity. See |
|
1211 |
theory HOL-ex.Conditional_Parametricity_Examples for some examples. |
|
1212 |
||
1213 |
* Theory HOL-Library.Code_Lazy provides a new preprocessor for the code |
|
1214 |
generator to generate code for algebraic types with lazy evaluation |
|
68639 | 1215 |
semantics even in call-by-value target languages. See the theories |
68647 | 1216 |
HOL-ex.Code_Lazy_Demo and HOL-Codegenerator_Test.Code_Lazy_Test for some |
1217 |
examples. |
|
68394 | 1218 |
|
1219 |
* Theory HOL-Library.Landau_Symbols has been moved here from AFP. |
|
1220 |
||
1221 |
* Theory HOL-Library.Old_Datatype no longer provides the legacy command |
|
1222 |
'old_datatype'. INCOMPATIBILITY. |
|
1223 |
||
1224 |
* Theory HOL-Computational_Algebra.Polynomial_Factorial does not provide |
|
1225 |
instances of rat, real, complex as factorial rings etc. Import |
|
1226 |
HOL-Computational_Algebra.Field_as_Ring explicitly in case of need. |
|
1227 |
INCOMPATIBILITY. |
|
1228 |
||
1229 |
* Session HOL-Algebra: renamed (^) to [^] to avoid conflict with new |
|
1230 |
infix/prefix notation. |
|
1231 |
||
68543 | 1232 |
* Session HOL-Algebra: revamped with much new material. The set of |
1233 |
isomorphisms between two groups is now denoted iso rather than iso_set. |
|
1234 |
INCOMPATIBILITY. |
|
1235 |
||
1236 |
* Session HOL-Analysis: the Arg function now respects the same interval |
|
1237 |
as Ln, namely (-pi,pi]; the old Arg function has been renamed Arg2pi. |
|
68495
d4312962161a
Rationalisation of complex transcendentals, esp the Arg function
paulson <lp15@cam.ac.uk>
parents:
68484
diff
changeset
|
1238 |
INCOMPATIBILITY. |
d4312962161a
Rationalisation of complex transcendentals, esp the Arg function
paulson <lp15@cam.ac.uk>
parents:
68484
diff
changeset
|
1239 |
|
68548 | 1240 |
* Session HOL-Analysis: the functions zorder, zer_poly, porder and |
1241 |
pol_poly have been redefined. All related lemmas have been reworked. |
|
68532 | 1242 |
INCOMPATIBILITY. |
1243 |
||
68394 | 1244 |
* Session HOL-Analysis: infinite products, Moebius functions, the |
1245 |
Riemann mapping theorem, the Vitali covering theorem, |
|
1246 |
change-of-variables results for integration and measures. |
|
68260 | 1247 |
|
68647 | 1248 |
* Session HOL-Real_Asymp: proof method "real_asymp" proves asymptotics |
1249 |
or real-valued functions (limits, "Big-O", etc.) automatically. |
|
68681 | 1250 |
See also ~~/src/HOL/Real_Asymp/Manual for some documentation. |
68647 | 1251 |
|
68545 | 1252 |
* Session HOL-Types_To_Sets: more tool support (unoverload_type combines |
1253 |
internalize_sorts and unoverload) and larger experimental application |
|
1254 |
(type based linear algebra transferred to linear algebra on subspaces). |
|
68522
d9cbc1e8644d
example for Types_To_Sets: transfer from type-based linear algebra to subspaces
immler
parents:
68515
diff
changeset
|
1255 |
|
66653 | 1256 |
|
68121 | 1257 |
*** ML *** |
1258 |
||
1259 |
* Operation Export.export emits theory exports (arbitrary blobs), which |
|
70142 | 1260 |
are stored persistently in the session build database. |
68121 | 1261 |
|
68281 | 1262 |
* Command 'ML_export' exports ML toplevel bindings to the global |
1263 |
bootstrap environment of the ML process. This allows ML evaluation |
|
1264 |
without a formal theory context, e.g. in command-line tools like |
|
1265 |
"isabelle process". |
|
1266 |
||
68121 | 1267 |
|
66729 | 1268 |
*** System *** |
1269 |
||
67088 | 1270 |
* Mac OS X 10.10 Yosemite is now the baseline version; Mavericks is no |
1271 |
longer supported. |
|
1272 |
||
68394 | 1273 |
* Linux and Windows/Cygwin is for x86_64 only, old 32bit platform |
1274 |
support has been discontinued. |
|
1275 |
||
66906 | 1276 |
* Java runtime is for x86_64 only. Corresponding Isabelle settings have |
1277 |
been renamed to ISABELLE_TOOL_JAVA_OPTIONS and JEDIT_JAVA_OPTIONS, |
|
1278 |
instead of former 32/64 variants. INCOMPATIBILITY. |
|
1279 |
||
68004 | 1280 |
* Old settings ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM should be |
1281 |
phased out due to unclear preference of 32bit vs. 64bit architecture. |
|
1282 |
Explicit GNU bash expressions are now preferred, for example (with |
|
1283 |
quotes): |
|
1284 |
||
1285 |
#Posix executables (Unix or Cygwin), with preference for 64bit |
|
1286 |
"${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}" |
|
1287 |
||
1288 |
#native Windows or Unix executables, with preference for 64bit |
|
1289 |
"${ISABELLE_WINDOWS_PLATFORM64:-${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}}" |
|
1290 |
||
1291 |
#native Windows (32bit) or Unix executables (preference for 64bit) |
|
1292 |
"${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}" |
|
1293 |
||
66745 | 1294 |
* Command-line tool "isabelle build" supports new options: |
1295 |
- option -B NAME: include session NAME and all descendants |
|
1296 |
- option -S: only observe changes of sources, not heap images |
|
66841 | 1297 |
- option -f: forces a fresh build |
66737
2edc0c42c883
option -B for "isabelle build" and "isabelle imports";
wenzelm
parents:
66729
diff
changeset
|
1298 |
|
68734
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
1299 |
* Command-line tool "isabelle build" options -c -x -B refer to |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
1300 |
descendants wrt. the session parent or import graph. Subtle |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
1301 |
INCOMPATIBILITY: options -c -x used to refer to the session parent graph |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
1302 |
only. |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
1303 |
|
66843 | 1304 |
* Command-line tool "isabelle build" takes "condition" options with the |
1305 |
corresponding environment values into account, when determining the |
|
1306 |
up-to-date status of a session. |
|
1307 |
||
68394 | 1308 |
* The command-line tool "dump" dumps information from the cumulative |
1309 |
PIDE session database: many sessions may be loaded into a given logic |
|
1310 |
image, results from all loaded theories are written to the output |
|
1311 |
directory. |
|
1312 |
||
66851
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
1313 |
* Command-line tool "isabelle imports -I" also reports actual session |
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
1314 |
imports. This helps to minimize the session dependency graph. |
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
1315 |
|
70142 | 1316 |
* The command-line tool "export" and 'export_files' in session ROOT |
1317 |
entries retrieve theory exports from the session build database. |
|
68394 | 1318 |
|
1319 |
* The command-line tools "isabelle server" and "isabelle client" provide |
|
1320 |
access to the Isabelle Server: it supports responsive session management |
|
1321 |
and concurrent use of theories, based on Isabelle/PIDE infrastructure. |
|
1322 |
See also the "system" manual. |
|
1323 |
||
1324 |
* The command-line tool "isabelle update_comments" normalizes formal |
|
1325 |
comments in outer syntax as follows: \<comment> \<open>text\<close> (whith a single space to |
|
1326 |
approximate the appearance in document output). This is more specific |
|
1327 |
than former "isabelle update_cartouches -c": the latter tool option has |
|
1328 |
been discontinued. |
|
1329 |
||
1330 |
* The command-line tool "isabelle mkroot" now always produces a document |
|
1331 |
outline: its options have been adapted accordingly. INCOMPATIBILITY. |
|
1332 |
||
1333 |
* The command-line tool "isabelle mkroot -I" initializes a Mercurial |
|
1334 |
repository for the generated session files. |
|
1335 |
||
68523
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1336 |
* Settings ISABELLE_HEAPS + ISABELLE_BROWSER_INFO (or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1337 |
ISABELLE_HEAPS_SYSTEM + ISABELLE_BROWSER_INFO_SYSTEM in "system build |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1338 |
mode") determine the directory locations of the main build artefacts -- |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1339 |
instead of hard-wired directories in ISABELLE_HOME_USER (or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1340 |
ISABELLE_HOME). |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1341 |
|
68394 | 1342 |
* Settings ISABELLE_PATH and ISABELLE_OUTPUT have been discontinued: |
1343 |
heap images and session databases are always stored in |
|
68523
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1344 |
$ISABELLE_HEAPS/$ML_IDENTIFIER (command-line default) or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
1345 |
$ISABELLE_HEAPS_SYSTEM/$ML_IDENTIFIER (main Isabelle application or |
68394 | 1346 |
"isabelle jedit -s" or "isabelle build -s"). |
67099 | 1347 |
|
67199 | 1348 |
* ISABELLE_LATEX and ISABELLE_PDFLATEX now include platform-specific |
1349 |
options for improved error reporting. Potential INCOMPATIBILITY with |
|
1350 |
unusual LaTeX installations, may have to adapt these settings. |
|
1351 |
||
68394 | 1352 |
* Update to Poly/ML 5.7.1 with slightly improved performance and PIDE |
1353 |
markup for identifier bindings. It now uses The GNU Multiple Precision |
|
67591 | 1354 |
Arithmetic Library (libgmp) on all platforms, notably Mac OS X with |
1355 |
32/64 bit. |
|
1356 |
||
67099 | 1357 |
|
66729 | 1358 |
|
66472 | 1359 |
New in Isabelle2017 (October 2017) |
1360 |
---------------------------------- |
|
64439 | 1361 |
|
64986 | 1362 |
*** General *** |
1363 |
||
66238 | 1364 |
* Experimental support for Visual Studio Code (VSCode) as alternative |
1365 |
Isabelle/PIDE front-end, see also |
|
66601 | 1366 |
https://marketplace.visualstudio.com/items?itemName=makarius.Isabelle2017 |
66238 | 1367 |
|
1368 |
VSCode is a new type of application that continues the concepts of |
|
1369 |
"programmer's editor" and "integrated development environment" towards |
|
1370 |
fully semantic editing and debugging -- in a relatively light-weight |
|
1371 |
manner. Thus it fits nicely on top of the Isabelle/PIDE infrastructure. |
|
1372 |
Technically, VSCode is based on the Electron application framework |
|
1373 |
(Node.js + Chromium browser + V8), which is implemented in JavaScript |
|
1374 |
and TypeScript, while Isabelle/VSCode mainly consists of Isabelle/Scala |
|
1375 |
modules around a Language Server implementation. |
|
1376 |
||
65504 | 1377 |
* Theory names are qualified by the session name that they belong to. |
66454 | 1378 |
This affects imports, but not the theory name space prefix (which is |
1379 |
just the theory base name as before). |
|
1380 |
||
1381 |
In order to import theories from other sessions, the ROOT file format |
|
1382 |
provides a new 'sessions' keyword. In contrast, a theory that is |
|
1383 |
imported in the old-fashioned manner via an explicit file-system path |
|
66472 | 1384 |
belongs to the current session, and might cause theory name conflicts |
66454 | 1385 |
later on. Theories that are imported from other sessions are excluded |
1386 |
from the current session document. The command-line tool "isabelle |
|
1387 |
imports" helps to update theory imports. |
|
1388 |
||
65451 | 1389 |
* The main theory entry points for some non-HOL sessions have changed, |