author | wenzelm |
Mon, 07 Jun 2021 14:41:04 +0200 | |
changeset 73830 | 2a431e8bb9b4 |
parent 73829 | aefa7d210725 |
child 73842 | 9134ae401ad5 |
permissions | -rw-r--r-- |
57491 | 1 |
Isabelle NEWS -- history of user-relevant changes |
2 |
================================================= |
|
2553 | 3 |
|
62114
a7cf464933f7
generate HTML version of NEWS, with proper symbol rendering;
wenzelm
parents:
62111
diff
changeset
|
4 |
(Note: Isabelle/jEdit shows a tree-view of the NEWS file in Sidekick.) |
60006 | 5 |
|
73272 | 6 |
|
7 |
New in this Isabelle version |
|
8 |
---------------------------- |
|
9 |
||
73387 | 10 |
*** General *** |
11 |
||
12 |
* Timeouts for Isabelle/ML tools are subject to system option |
|
13 |
"timeout_scale" --- this already used for the overall session build |
|
14 |
process before, and allows to adapt to slow machines. The underlying |
|
15 |
Timeout.apply in Isabelle/ML treats an original timeout specification 0 |
|
16 |
as no timeout; before it meant immediate timeout. Rare INCOMPATIBILITY |
|
17 |
in boundary cases. |
|
18 |
||
73436
e92f2e44e4d8
removed spurious references to perl / libwww-perl;
wenzelm
parents:
73411
diff
changeset
|
19 |
* Remote provers from SystemOnTPTP (notably for Sledgehammer) are now |
e92f2e44e4d8
removed spurious references to perl / libwww-perl;
wenzelm
parents:
73411
diff
changeset
|
20 |
managed via Isabelle/Scala instead of perl; the dependency on |
e92f2e44e4d8
removed spurious references to perl / libwww-perl;
wenzelm
parents:
73411
diff
changeset
|
21 |
libwww-perl has been eliminated (notably on Linux). Rare |
e92f2e44e4d8
removed spurious references to perl / libwww-perl;
wenzelm
parents:
73411
diff
changeset
|
22 |
INCOMPATIBILITY: HTTP proxy configuration now works via JVM properties |
e92f2e44e4d8
removed spurious references to perl / libwww-perl;
wenzelm
parents:
73411
diff
changeset
|
23 |
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/doc-files/net-properties.html |
e92f2e44e4d8
removed spurious references to perl / libwww-perl;
wenzelm
parents:
73411
diff
changeset
|
24 |
|
73446
d1c4c2395650
more Isabelle symbol definitions for Z Notation, based on https://github.com/isabelle-utp/Z_Toolkit 998c9f7880d3 by Simon Foster;
wenzelm
parents:
73436
diff
changeset
|
25 |
* More symbol definitions for the Z Notation (Isabelle fonts and LaTeX). |
d1c4c2395650
more Isabelle symbol definitions for Z Notation, based on https://github.com/isabelle-utp/Z_Toolkit 998c9f7880d3 by Simon Foster;
wenzelm
parents:
73436
diff
changeset
|
26 |
See also the group "Z Notation" in the Symbols dockable of |
d1c4c2395650
more Isabelle symbol definitions for Z Notation, based on https://github.com/isabelle-utp/Z_Toolkit 998c9f7880d3 by Simon Foster;
wenzelm
parents:
73436
diff
changeset
|
27 |
Isabelle/jEdit. |
d1c4c2395650
more Isabelle symbol definitions for Z Notation, based on https://github.com/isabelle-utp/Z_Toolkit 998c9f7880d3 by Simon Foster;
wenzelm
parents:
73436
diff
changeset
|
28 |
|
73387 | 29 |
|
73616 | 30 |
*** Isabelle/jEdit Prover IDE *** |
31 |
||
32 |
* More robust 'proof' outline for method "induct": support nested cases. |
|
33 |
||
34 |
||
73404 | 35 |
*** Document preparation *** |
36 |
||
73830 | 37 |
* More predefined symbols: \<interleave> \<sslash> (package "stmaryrd"), \<checkmark> \<crossmark> (LaTeX package |
73828 | 38 |
"pifont"). |
39 |
||
73830 | 40 |
* High-quality blackboard-bold symbols from font "txmia" (LaTeX package |
73828 | 41 |
"pxfonts"): \<bbbA>\<bool>\<complex>\<bbbD>\<bbbE>\<bbbF>\<bbbG>\<bbbH>\<bbbI>\<bbbJ>\<bbbK>\<bbbL>\<bbbM>\<nat>\<bbbO>\<bbbP>\<rat>\<real>\<bbbS>\<bbbT>\<bbbU>\<bbbV>\<bbbW>\<bbbX>\<bbbY>\<int>. |
42 |
||
73771 | 43 |
* Document antiquotations for ML text have been refined: "def" and "ref" |
44 |
variants support index entries, e.g. @{ML} (no entry) vs. @{ML_def} |
|
45 |
(bold entry) vs. @{ML_ref} (regular entry); @{ML_type} supports explicit |
|
46 |
type arguments for constructors (only relevant for index), e.g. |
|
47 |
@{ML_type \<open>'a list\<close>} vs. @{ML_type 'a \<open>list\<close>}; @{ML_op} has been renamed |
|
48 |
to @{ML_infix}. Minor INCOMPATIBILITY concerning name and syntax. |
|
49 |
||
73723 | 50 |
* Option "document_logo" determines if an instance of the Isabelle logo |
51 |
should be created in the document output directory. The given string |
|
52 |
specifies the name of the logo variant, while "_" (underscore) refers to |
|
53 |
the unnamed variant. The output file name is always "isabelle_logo.pdf". |
|
54 |
||
73741 | 55 |
* Option "document_preprocessor" specifies the name of an executable |
56 |
that is run within the document output directory, after preparing the |
|
57 |
document sources and before the actual build process. This allows to |
|
58 |
apply adhoc patches, without requiring a separate "build" script. |
|
59 |
||
73721
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
60 |
* Option "document_build" determines the document build engine, as |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
61 |
defined in Isabelle/Scala (as system service). The subsequent engines |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
62 |
are provided by the Isabelle distribution: |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
63 |
|
73741 | 64 |
- "lualatex" (default): use ISABELLE_LUALATEX for a standard LaTeX |
73721
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
65 |
build with optional ISABELLE_BIBTEX and ISABELLE_MAKEINDEX |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
66 |
|
73741 | 67 |
- "pdflatex": as above, but use ISABELLE_PDFLATEX (legacy mode for |
73721
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
68 |
special LaTeX styles) |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
69 |
|
73741 | 70 |
- "build": delegate to the executable "./build pdf" |
73721
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
71 |
|
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
72 |
The presence of a "build" command within the document output directory |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
73 |
explicitly requires document_build=build. Minor INCOMPATIBILITY, need to |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
74 |
adjust session ROOT options. |
52030acb19ac
option document_build refers to build engine in Isabelle/Scala;
wenzelm
parents:
73682
diff
changeset
|
75 |
|
73741 | 76 |
* The command-line tool "isabelle latex" has been discontinued, |
77 |
INCOMPATIBILITY for old document build scripts. |
|
78 |
||
79 |
- Former "isabelle latex -o sty" has become obsolete: Isabelle .sty |
|
80 |
files are automatically generated within the document output |
|
81 |
directory. |
|
82 |
||
83 |
- Former "isabelle latex -o pdf" should be replaced by |
|
84 |
"$ISABELLE_LUALATEX root" or "$ISABELLE_PDFLATEX root" (without |
|
85 |
quotes), according to the intended LaTeX engine. |
|
86 |
||
87 |
- Former "isabelle latex -o bbl" should be replaced by |
|
88 |
"$ISABELLE_BIBTEX root" (without quotes). |
|
89 |
||
90 |
- Former "isabelle latex -o idx" should be replaced by |
|
91 |
"$ISABELLE_MAKEINDEX root" (without quotes). |
|
73724 | 92 |
|
73743 | 93 |
* Option "document_bibliography" explicitly enables the use of bibtex; |
94 |
the default is to check the presence of root.bib, but it could have a |
|
95 |
different name. |
|
96 |
||
73409 | 97 |
* Improved LaTeX typesetting of \<open>...\<close> using \guilsinglleft ... |
98 |
\guilsinglright. INCOMPATIBILITY, need to use \usepackage[T1]{fontenc} |
|
73404 | 99 |
(which is now also the default in "isabelle mkroot"). |
100 |
||
73595
aece5cc9efb7
simplified typesetting of \<guillemotleft>...\<guillemotright>;
wenzelm
parents:
73586
diff
changeset
|
101 |
* Simplified typesetting of \<guillemotleft>...\<guillemotright> using \guillemotleft ... |
aece5cc9efb7
simplified typesetting of \<guillemotleft>...\<guillemotright>;
wenzelm
parents:
73586
diff
changeset
|
102 |
\guillemotright from \usepackage[T1]{fontenc} --- \usepackage{babel} is |
aece5cc9efb7
simplified typesetting of \<guillemotleft>...\<guillemotright>;
wenzelm
parents:
73586
diff
changeset
|
103 |
no longer required. |
aece5cc9efb7
simplified typesetting of \<guillemotleft>...\<guillemotright>;
wenzelm
parents:
73586
diff
changeset
|
104 |
|
73404 | 105 |
|
73270 | 106 |
*** HOL *** |
107 |
||
73829 | 108 |
* Theory "HOL-Library.Multiset": dedicated predicate "multiset" is gone, |
109 |
use explict expression instead. Minor INCOMPATIBILITY. |
|
110 |
||
111 |
* Theory "HOL-Library.Multiset": consolidated abbreviations Mempty, |
|
112 |
Melem, not_Melem to empty_mset, member_mset, not_member_mset |
|
113 |
respectively. Minor INCOMPATIBILITY. |
|
114 |
||
115 |
* Theory "HOL-Library.Multiset": consolidated operation and fact names: |
|
73393 | 116 |
inf_subset_mset ~> inter_mset |
117 |
sup_subset_mset ~> union_mset |
|
118 |
multiset_inter_def ~> inter_mset_def |
|
119 |
sup_subset_mset_def ~> union_mset_def |
|
120 |
multiset_inter_count ~> count_inter_mset |
|
121 |
sup_subset_mset_count ~> count_union_mset |
|
122 |
||
73829 | 123 |
* Theory "HOL-Library.Multiset": syntax precendence for membership |
124 |
operations has been adjusted to match the corresponding precendences on |
|
125 |
sets. Rare INCOMPATIBILITY. |
|
126 |
||
127 |
* Session "HOL-Analysis" and "HOL-Probability": indexed products of |
|
128 |
discrete distributions, negative binomial distribution, Hoeffding's |
|
129 |
inequality, Chernoff bounds, Cauchy–Schwarz inequality for nn_integral, |
|
130 |
and some more small lemmas. Some theorems that were stated awkwardly |
|
131 |
before were corrected. Minor INCOMPATIBILITY. |
|
73253
f6bb31879698
HOL-Analysis/Probability: Hoeffding's inequality, negative binomial distribution, etc.
Manuel Eberl <eberlm@in.tum.de>
parents:
73247
diff
changeset
|
132 |
|
73411 | 133 |
* Theorems "antisym" and "eq_iff" in class "order" have been renamed to |
134 |
"order.antisym" and "order.eq_iff", to coexist locally with "antisym" |
|
73829 | 135 |
and "eq_iff" from locale "ordering". INCOMPATIBILITY: significant |
73411 | 136 |
potential for change can be avoided if interpretations of type class |
137 |
"order" are replaced or augmented by interpretations of locale |
|
138 |
"ordering". |
|
139 |
||
73829 | 140 |
* Theorem "swap_def" now is always qualified as "Fun.swap_def". Minor |
73466 | 141 |
INCOMPATIBILITY; note that for most applications less elementary lemmas |
142 |
exists. |
|
73411 | 143 |
|
73829 | 144 |
* Theory "HOL-Library.Permutation" has been renamed to the more specific |
145 |
"HOL-Library.List_Permutation". Note that most notions from that theory |
|
146 |
are already present in theory "HOL-Combinatorics.Permutations". |
|
147 |
INCOMPATIBILITY. |
|
148 |
||
149 |
* Dedicated session "HOL-Combinatorics". INCOMPATIBILITY: theories |
|
73477 | 150 |
"Permutations", "List_Permutation" (formerly "Permutation"), "Stirling", |
73622 | 151 |
"Multiset_Permutations", "Perm" have been moved there from session |
73681 | 152 |
HOL-Library. |
73477 | 153 |
|
73829 | 154 |
* Theory "HOL-Combinatorics.Transposition" provides elementary swap |
155 |
operation "transpose". |
|
156 |
||
157 |
* Lemma "permutes_induct" has been given stronger hypotheses and named |
|
158 |
premises. INCOMPATIBILITY. |
|
159 |
||
160 |
* Combinator "Fun.swap" resolved into a mere input abbreviation in |
|
161 |
separate theory "Transposition" in HOL-Combinatorics. INCOMPATIBILITY. |
|
73623 | 162 |
|
73682
78044b2f001c
explicit type class operations for type-specific implementations
haftmann
parents:
73681
diff
changeset
|
163 |
* Bit operations set_bit, unset_bit and flip_bit are now class |
73829 | 164 |
operations. INCOMPATIBILITY. |
73682
78044b2f001c
explicit type class operations for type-specific implementations
haftmann
parents:
73681
diff
changeset
|
165 |
|
73816 | 166 |
* Abbreviation "max_word" has been moved to session Word_Lib in the AFP, |
167 |
as also have constants "shiftl1", "shiftr1", "sshiftr1", "bshiftr1", |
|
73829 | 168 |
"setBit", "clearBit". See there further the changelog in theory Guide. |
73816 | 169 |
INCOMPATIBILITY. |
73788 | 170 |
|
73253
f6bb31879698
HOL-Analysis/Probability: Hoeffding's inequality, negative binomial distribution, etc.
Manuel Eberl <eberlm@in.tum.de>
parents:
73247
diff
changeset
|
171 |
|
73287 | 172 |
*** ML *** |
173 |
||
73550
2f6855142a8c
support for ML special forms: modified evaluation similar to Scheme;
wenzelm
parents:
73481
diff
changeset
|
174 |
* ML antiquotations \<^try>\<open>expr\<close> and \<^can>\<open>expr\<close> operate directly on |
2f6855142a8c
support for ML special forms: modified evaluation similar to Scheme;
wenzelm
parents:
73481
diff
changeset
|
175 |
the given ML expression, in contrast to functions "try" and "can" that |
2f6855142a8c
support for ML special forms: modified evaluation similar to Scheme;
wenzelm
parents:
73481
diff
changeset
|
176 |
modify application of a function. |
2f6855142a8c
support for ML special forms: modified evaluation similar to Scheme;
wenzelm
parents:
73481
diff
changeset
|
177 |
|
73586 | 178 |
* ML antiquotations for conditional ML text: |
179 |
||
180 |
\<^if_linux>\<open>...\<close> |
|
181 |
\<^if_macos>\<open>...\<close> |
|
182 |
\<^if_windows>\<open>...\<close> |
|
183 |
\<^if_unix>\<open>...\<close> |
|
184 |
||
73287 | 185 |
* External bash processes are always managed by Isabelle/Scala, in |
186 |
contrast to Isabelle2021 where this was only done for macOS on Apple |
|
187 |
Silicon. |
|
188 |
||
189 |
The main Isabelle/ML interface is Isabelle_System.bash_process with |
|
190 |
result type Process_Result.T (resembling class Process_Result in Scala); |
|
191 |
derived operations Isabelle_System.bash and Isabelle_System.bash_output |
|
192 |
provide similar functionality as before. Rare INCOMPATIBILITY due to |
|
193 |
subtle semantic differences: |
|
194 |
||
195 |
- Processes invoked from Isabelle/ML actually run in the context of |
|
196 |
the Java VM of Isabelle/Scala. The settings environment and current |
|
197 |
working directory are usually the same on both sides, but there can be |
|
198 |
subtle corner cases (e.g. unexpected uses of "cd" or "putenv" in ML). |
|
199 |
||
200 |
- Output via stdout and stderr is line-oriented: Unix vs. Windows |
|
201 |
line-endings are normalized towards Unix; presence or absence of a |
|
202 |
final newline is irrelevant. The original lines are available as |
|
203 |
Process_Result.out_lines/err_lines; the concatenated versions |
|
204 |
Process_Result.out/err *omit* a trailing newline (using |
|
205 |
Library.trim_line, which was occasional seen in applications before, |
|
206 |
but is no longer necessary). |
|
207 |
||
208 |
- Output needs to be plain text encoded in UTF-8: Isabelle/Scala |
|
209 |
recodes it temporarily as UTF-16. This works for well-formed Unicode |
|
210 |
text, but not for arbitrary byte strings. In such cases, the bash |
|
211 |
script should write tempory files, managed by Isabelle/ML operations |
|
212 |
like Isabelle_System.with_tmp_file to create a file name and |
|
213 |
File.read to retrieve its content. |
|
214 |
||
73298 | 215 |
- Just like any other Scala function invoked from ML, |
216 |
Isabelle_System.bash_process requires a proper PIDE session context. |
|
217 |
This could be a regular batch session (e.g. "isabelle build"), a |
|
218 |
PIDE editor session (e.g. "isabelle jedit"), or headless PIDE (e.g. |
|
219 |
"isabelle dump" or "isabelle server"). Note that old "isabelle |
|
220 |
console" or raw "isabelle process" don't have that. |
|
221 |
||
73287 | 222 |
New Process_Result.timing works as in Isabelle/Scala, based on direct |
223 |
measurements of the bash_process wrapper in C: elapsed time is always |
|
224 |
available, CPU time is only available on Linux and macOS, GC time is |
|
225 |
unavailable. |
|
226 |
||
73322 | 227 |
* Likewise, the following Isabelle/ML system operations are run in the |
228 |
context of Isabelle/Scala: |
|
229 |
||
230 |
- Isabelle_System.make_directory |
|
231 |
- Isabelle_System.copy_dir |
|
232 |
- Isabelle_System.copy_file |
|
233 |
- Isabelle_System.copy_base_file |
|
73324 | 234 |
- Isabelle_System.rm_tree |
73323 | 235 |
- Isabelle_System.download |
73322 | 236 |
|
73287 | 237 |
|
73480
0e880b793db1
support repository archives (without full .hg directory);
wenzelm
parents:
73477
diff
changeset
|
238 |
*** System *** |
0e880b793db1
support repository archives (without full .hg directory);
wenzelm
parents:
73477
diff
changeset
|
239 |
|
73777
52e43a93d51f
clarified system_log: make this work independently of the particular "isabelle build" command-line (e.g. "isabelle mirabelle");
wenzelm
parents:
73774
diff
changeset
|
240 |
* System option "system_log" specifies an optional log file for internal |
73826
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
241 |
messages produced by Output.system_message in Isabelle/ML; the value |
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
242 |
"true" refers to console progress of the build job. This works for |
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
243 |
"isabelle build" or any derivative of it. |
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
244 |
|
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
245 |
* System options of type string may be set to "true" using the short |
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
246 |
notation of type bool. E.g. "isabelle build -o system_log". |
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
247 |
|
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
248 |
* System option "document=true" is an alias for "document=pdf" and thus |
72900f34dbb3
allow system option short form NAME for NAME=true for type string, not just bool;
wenzelm
parents:
73816
diff
changeset
|
249 |
can be used in the short form. E.g. "isabelle build -o document". |
73774 | 250 |
|
73480
0e880b793db1
support repository archives (without full .hg directory);
wenzelm
parents:
73477
diff
changeset
|
251 |
* Command-line tool "isabelle version" supports repository archives |
73481 | 252 |
(without full .hg directory). More options. |
73480
0e880b793db1
support repository archives (without full .hg directory);
wenzelm
parents:
73477
diff
changeset
|
253 |
|
73671 | 254 |
* Obsolete settings variable ISABELLE_PLATFORM32 has been discontinued. |
255 |
Note that only Windows supports old 32 bit executables, via settings |
|
256 |
variable ISABELLE_WINDOWS_PLATFORM32. Everything else should be |
|
257 |
ISABELLE_PLATFORM64 (generic Posix) or ISABELLE_WINDOWS_PLATFORM64 |
|
258 |
(native Windows) or ISABELLE_APPLE_PLATFORM64 (Apple Silicon). |
|
259 |
||
73480
0e880b793db1
support repository archives (without full .hg directory);
wenzelm
parents:
73477
diff
changeset
|
260 |
|
73287 | 261 |
|
72972 | 262 |
New in Isabelle2021 (February 2021) |
263 |
----------------------------------- |
|
71557 | 264 |
|
72232
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
265 |
*** General *** |
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
266 |
|
73194 | 267 |
* On macOS, the IsabelleXYZ.app directory layout now follows the other |
268 |
platforms, without indirection via Contents/Resources/. INCOMPATIBILITY, |
|
269 |
use e.g. IsabelleXYZ.app/bin/isabelle instead of former |
|
270 |
IsabelleXYZ.app/Isabelle/bin/isabelle or |
|
271 |
IsabelleXYZ.app/Isabelle/Contents/Resources/IsabelleXYZ/bin/isabelle. |
|
272 |
||
73078 | 273 |
* HTML presentation uses rich markup produced by Isabelle/PIDE, |
274 |
resulting in more colors and links. |
|
275 |
||
276 |
* HTML presentation includes auxiliary files (e.g. ML) for each theory. |
|
73007 | 277 |
|
72232
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
278 |
* Proof method "subst" is confined to the original subgoal range: its |
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
279 |
included distinct_subgoals_tac no longer affects unrelated subgoals. |
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
280 |
Rare INCOMPATIBILITY. |
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
281 |
|
73007 | 282 |
* Theory_Data extend operation is obsolete and needs to be the identity |
283 |
function; merge should be conservative and not reset to the empty value. |
|
284 |
Subtle INCOMPATIBILITY and change of semantics (due to |
|
285 |
Theory.join_theory from Isabelle2020). Special extend/merge behaviour at |
|
286 |
the begin of a new theory can be achieved via Theory.at_begin. |
|
72996 | 287 |
|
72232
e5fcbf6dc687
proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents:
72208
diff
changeset
|
288 |
|
71932
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
71927
diff
changeset
|
289 |
*** Isabelle/jEdit Prover IDE *** |
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
71927
diff
changeset
|
290 |
|
73116
b84887a67cc6
clarified default L&F of Isabelle/Scala (not Isabelle/jEdit);
wenzelm
parents:
73112
diff
changeset
|
291 |
* Improved GUI look-and-feel: the portable and scalable "FlatLaf Light" |
b84887a67cc6
clarified default L&F of Isabelle/Scala (not Isabelle/jEdit);
wenzelm
parents:
73112
diff
changeset
|
292 |
is used by default on all platforms (appearance similar to IntelliJ |
b84887a67cc6
clarified default L&F of Isabelle/Scala (not Isabelle/jEdit);
wenzelm
parents:
73112
diff
changeset
|
293 |
IDEA). |
73112 | 294 |
|
72946 | 295 |
* Improved markup for theory header imports: hyperlinks for theory files |
296 |
work without formal checking of content. |
|
297 |
||
72950 | 298 |
* The prover process can download auxiliary files (e.g. 'ML_file') for |
299 |
theories with remote URL. This requires the external "curl" program. |
|
300 |
||
72930
0cc298e29aff
added action isabelle.goto-entity to follow links in a narrow formal sense;
wenzelm
parents:
72879
diff
changeset
|
301 |
* Action "isabelle.goto-entity" (shortcut CS+d) jumps to the definition |
0cc298e29aff
added action isabelle.goto-entity to follow links in a narrow formal sense;
wenzelm
parents:
72879
diff
changeset
|
302 |
of the formal entity at the caret position. |
0cc298e29aff
added action isabelle.goto-entity to follow links in a narrow formal sense;
wenzelm
parents:
72879
diff
changeset
|
303 |
|
72932 | 304 |
* The visual feedback on caret entity focus is normally restricted to |
305 |
definitions within the visible text area. The keyboard modifier "CS" |
|
306 |
overrides this: then all defining and referencing positions are shown. |
|
307 |
See also option "jedit_focus_modifier". |
|
308 |
||
72249 | 309 |
* The jEdit status line includes widgets both for JVM and ML heap usage. |
310 |
Ongoing ML ongoing garbage collection is shown as "ML cleanup". |
|
72150 | 311 |
|
312 |
* The Monitor dockable provides buttons to request a full garbage |
|
313 |
collection and sharing of live data on the ML heap. It also includes |
|
314 |
information about the Java Runtime system. |
|
315 |
||
72837 | 316 |
* PIDE support for session ROOTS: markup for directories. |
317 |
||
72247 | 318 |
* Update to jedit-5.6.0, the latest release. This version works properly |
319 |
on macOS by default, without the special MacOSX plugin. |
|
71932
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
71927
diff
changeset
|
320 |
|
73121 | 321 |
* Action "full-screen-mode" (shortcut F11 or S+F11) has been modified |
322 |
for better approximate window size on macOS and Linux/X11. |
|
323 |
||
73162
c4b688abe2c4
clarified documentation concerning macOS Big Sur;
wenzelm
parents:
73156
diff
changeset
|
324 |
* Improved GUI support for macOS 11.1 Big Sur: native fullscreen mode, |
c4b688abe2c4
clarified documentation concerning macOS Big Sur;
wenzelm
parents:
73156
diff
changeset
|
325 |
but non-native look-and-feel (FlatLaf). |
c4b688abe2c4
clarified documentation concerning macOS Big Sur;
wenzelm
parents:
73156
diff
changeset
|
326 |
|
73247 | 327 |
* Hyperlinks to various file-formats (.pdf, .png, etc.) open an external |
328 |
viewer, instead of re-using the jEdit text editor. |
|
329 |
||
73174 | 330 |
* IDE support for Naproche-SAD: Proof Checking of Natural Mathematical |
331 |
Documents. See also $NAPROCHE_HOME/examples for files with .ftl or |
|
73247 | 332 |
.ftl.tex extension. The corresponding Naproche-SAD server process can be |
333 |
disabled by setting the system option naproche_server=false and |
|
334 |
restarting the Isabelle application. |
|
73224
49686e3b1909
clarified links to external files, e.g. .pdf within .thy source document;
wenzelm
parents:
73194
diff
changeset
|
335 |
|
71932
65fd0f032a75
updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents:
71927
diff
changeset
|
336 |
|
71902
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
71901
diff
changeset
|
337 |
*** Document preparation *** |
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
71901
diff
changeset
|
338 |
|
72600
2fa4f25d9d07
official support for document theories from other sessions;
wenzelm
parents:
72581
diff
changeset
|
339 |
* Keyword 'document_theories' within ROOT specifies theories from other |
2fa4f25d9d07
official support for document theories from other sessions;
wenzelm
parents:
72581
diff
changeset
|
340 |
sessions that should be included in the generated document source |
2fa4f25d9d07
official support for document theories from other sessions;
wenzelm
parents:
72581
diff
changeset
|
341 |
directory. This does not affect the generated session.tex: \input{...} |
2fa4f25d9d07
official support for document theories from other sessions;
wenzelm
parents:
72581
diff
changeset
|
342 |
needs to be used separately. |
2fa4f25d9d07
official support for document theories from other sessions;
wenzelm
parents:
72581
diff
changeset
|
343 |
|
72314 | 344 |
* The standard LaTeX engine is now lualatex, according to settings |
345 |
variable ISABELLE_PDFLATEX. This is mostly upwards compatible with old |
|
346 |
pdflatex, but text encoding needs to conform strictly to utf8. Rare |
|
347 |
INCOMPATIBILITY. |
|
348 |
||
349 |
* Discontinued obsolete DVI format and ISABELLE_LATEX settings variable: |
|
350 |
document output is always PDF. |
|
351 |
||
72763 | 352 |
* Antiquotation @{tool} refers to Isabelle command-line tools, with |
353 |
completion and formal reference to the source (external script or |
|
354 |
internal Scala function). |
|
355 |
||
71908 | 356 |
* Antiquotation @{bash_function} refers to GNU bash functions that are |
357 |
checked within the Isabelle settings environment. |
|
358 |
||
359 |
* Antiquotations @{scala}, @{scala_object}, @{scala_type}, |
|
360 |
@{scala_method} refer to checked Isabelle/Scala entities. |
|
71902
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
71901
diff
changeset
|
361 |
|
1529336eaedc
check bash functions against Isabelle settings environment;
wenzelm
parents:
71901
diff
changeset
|
362 |
|
71901 | 363 |
*** Pure *** |
364 |
||
71924
e5df9c8d9d4b
clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents:
71923
diff
changeset
|
365 |
* Session Pure-Examples contains notable examples for Isabelle/Pure |
e5df9c8d9d4b
clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents:
71923
diff
changeset
|
366 |
(former entries of HOL-Isar_Examples). |
e5df9c8d9d4b
clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents:
71923
diff
changeset
|
367 |
|
72739
e7c2848b78e8
refined syntax for bundle mixins for locale and class specifications
haftmann
parents:
72728
diff
changeset
|
368 |
* Named contexts (locale and class specifications, locale and class |
73007 | 369 |
context blocks) allow bundle mixins for the surface context. This allows |
370 |
syntax notations to be organized within bundles conveniently. See theory |
|
371 |
"HOL-ex.Specifications_with_bundle_mixins" for examples and the isar-ref |
|
372 |
manual for syntax descriptions. |
|
72739
e7c2848b78e8
refined syntax for bundle mixins for locale and class specifications
haftmann
parents:
72728
diff
changeset
|
373 |
|
71901 | 374 |
* Definitions in locales produce rule which can be added as congruence |
375 |
rule to protect foundational terms during simplification. |
|
376 |
||
72450 | 377 |
* Consolidated terminology and function signatures for nested targets: |
378 |
||
73007 | 379 |
- Local_Theory.begin_nested replaces Local_Theory.open_target |
380 |
||
381 |
- Local_Theory.end_nested replaces Local_Theory.close_target |
|
382 |
||
383 |
- Combination of Local_Theory.begin_nested and |
|
72451
e51f1733618d
replaced combinators by more conventional nesting pattern
haftmann
parents:
72450
diff
changeset
|
384 |
Local_Theory.end_nested(_result) replaces |
73007 | 385 |
Local_Theory.subtarget(_result) |
386 |
||
387 |
INCOMPATIBILITY. |
|
388 |
||
389 |
* Local_Theory.init replaces Generic_Target.init. Minor INCOMPATIBILITY. |
|
72516
17dc99589a91
unified Local_Theory.init with Generic_Target.init
haftmann
parents:
72515
diff
changeset
|
390 |
|
71901 | 391 |
|
392 |
*** HOL *** |
|
393 |
||
73007 | 394 |
* Session HOL-Examples contains notable examples for Isabelle/HOL |
395 |
(former entries of HOL-Isar_Examples, HOL-ex etc.). |
|
396 |
||
72478
b452242dce36
proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents:
72470
diff
changeset
|
397 |
* An updated version of the veriT solver is now included as Isabelle |
b452242dce36
proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents:
72470
diff
changeset
|
398 |
component. It can be used in the "smt" proof method via "smt (verit)" or |
b452242dce36
proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents:
72470
diff
changeset
|
399 |
via "declare [[smt_solver = verit]]" in the context; see also session |
b452242dce36
proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents:
72470
diff
changeset
|
400 |
HOL-Word-SMT_Examples. |
b452242dce36
proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents:
72470
diff
changeset
|
401 |
|
73007 | 402 |
* Zipperposition 2.0 is now included as Isabelle component for |
72971
162b71f7e554
rebuild component with proper ZIPPERPOSITION_HOME for sledgehammer;
wenzelm
parents:
72969
diff
changeset
|
403 |
experimentation, e.g. in "sledgehammer [prover = zipperposition]". |
162b71f7e554
rebuild component with proper ZIPPERPOSITION_HOME for sledgehammer;
wenzelm
parents:
72969
diff
changeset
|
404 |
|
73007 | 405 |
* Sledgehammer: |
406 |
- support veriT in proof preplay |
|
407 |
- take adventage of more cores in proof preplay |
|
408 |
||
409 |
* Updated the Metis prover underlying the "metis" proof method to |
|
410 |
version 2.4 (release 20180810). The new version fixes one soundness |
|
411 |
defect and two incompleteness defects. Very slight INCOMPATIBILITY. |
|
412 |
||
72208 | 413 |
* Nitpick/Kodkod may be invoked directly within the running |
414 |
Isabelle/Scala session (instead of an external Java process): this |
|
415 |
improves reactivity and saves resources. This experimental feature is |
|
73008 | 416 |
guarded by system option "kodkod_scala" (default: true in PIDE |
417 |
interaction, false in batch builds). |
|
72208 | 418 |
|
72070 | 419 |
* Simproc "defined_all" and rewrite rule "subst_all" perform more |
420 |
aggressive substitution with variables from assumptions. |
|
421 |
INCOMPATIBILITY, consider repairing proofs locally like this: |
|
422 |
||
423 |
supply subst_all [simp del] [[simproc del: defined_all]] |
|
424 |
||
71901 | 425 |
* Simproc "datatype_no_proper_subterm" rewrites equalities "lhs = rhs" |
426 |
on datatypes to "False" if either side is a proper subexpression of the |
|
427 |
other (for any datatype with a reasonable size function). |
|
428 |
||
73007 | 429 |
* Syntax for state monad combinators fcomp and scomp is organized in |
430 |
bundle state_combinator_syntax. Minor INCOMPATIBILITY. |
|
431 |
||
432 |
* Syntax for reflected term syntax is organized in bundle term_syntax, |
|
433 |
discontinuing previous locale term_syntax. Minor INCOMPATIBILITY. |
|
434 |
||
71901 | 435 |
* New constant "power_int" for exponentiation with integer exponent, |
436 |
written as "x powi n". |
|
437 |
||
438 |
* Added the "at most 1" quantifier, Uniq. |
|
439 |
||
73007 | 440 |
* For the natural numbers, "Sup {} = 0". |
72004 | 441 |
|
73108
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
442 |
* New constant semiring_char gives the characteristic of any type of |
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
443 |
class semiring_1, with the convenient notation CHAR('a). For example, |
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
444 |
CHAR(nat) = CHAR(int) = CHAR(real) = 0, CHAR(17) = 17. |
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
445 |
|
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
446 |
* HOL-Computational_Algebra.Polynomial: Definition and basic properties |
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
447 |
of algebraic integers. |
981a383610df
HOL-Data_Structures: added Selection and time functions for list functions
Manuel Eberl <eberlm@in.tum.de>
parents:
73094
diff
changeset
|
448 |
|
71956 | 449 |
* Library theory "Bit_Operations" with generic bit operations. |
450 |
||
72281
beeadb35e357
more thorough treatment of division, particularly signed division on int and word
haftmann
parents:
72264
diff
changeset
|
451 |
* Library theory "Signed_Division" provides operations for signed |
beeadb35e357
more thorough treatment of division, particularly signed division on int and word
haftmann
parents:
72264
diff
changeset
|
452 |
division, instantiated for type int. |
beeadb35e357
more thorough treatment of division, particularly signed division on int and word
haftmann
parents:
72264
diff
changeset
|
453 |
|
73047
ab9e27da0e85
HOL-Library: Changed notation for sum_mset
Manuel Eberl <eberlm@in.tum.de>
parents:
73009
diff
changeset
|
454 |
* Theory "Multiset": removed misleading notation \<Union># for sum_mset; |
73094 | 455 |
replaced with \<Sum>\<^sub>#. Analogous notation for prod_mset also exists now. |
456 |
||
457 |
* New theory "HOL-Library.Word" takes over material from former session |
|
458 |
"HOL-Word". INCOMPATIBILITY: need to adjust imports. |
|
459 |
||
460 |
* Theory "HOL-Library.Word": Type word is restricted to bit strings |
|
461 |
consisting of at least one bit. INCOMPATIBILITY. |
|
462 |
||
463 |
* Theory "HOL-Library.Word": Bit operations NOT, AND, OR, XOR are based |
|
464 |
on generic algebraic bit operations from theory |
|
465 |
"HOL-Library.Bit_Operations". INCOMPATIBILITY. |
|
466 |
||
467 |
* Theory "HOL-Library.Word": Most operations on type word are set up for |
|
468 |
transfer and lifting. INCOMPATIBILITY. |
|
469 |
||
470 |
* Theory "HOL-Library.Word": Generic type conversions. INCOMPATIBILITY, |
|
471 |
sometimes additional rewrite rules must be added to applications to get |
|
472 |
a confluent system again. |
|
473 |
||
474 |
* Theory "HOL-Library.Word": Uniform polymorphic "mask" operation for |
|
475 |
both types int and word. INCOMPATIBILITY. |
|
476 |
||
477 |
* Theory "HOL-Library.Word": Syntax for signed compare operators has |
|
478 |
been consolidated with syntax of regular compare operators. Minor |
|
73007 | 479 |
INCOMPATIBILITY. |
72388 | 480 |
|
72515
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
481 |
* Former session "HOL-Word": Various operations dealing with bit values |
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
482 |
represented as reversed lists of bools are separated into theory |
73007 | 483 |
Reversed_Bit_Lists in session Word_Lib in the AFP. INCOMPATIBILITY. |
72515
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
484 |
|
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
485 |
* Former session "HOL-Word": Theory "Word_Bitwise" has been moved to AFP |
73007 | 486 |
entry Word_Lib as theory "Bitwise". INCOMPATIBILITY. |
72515
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
487 |
|
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
488 |
* Former session "HOL-Word": Compound operation "bin_split" simplifies |
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
489 |
by default into its components "drop_bit" and "take_bit". |
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
490 |
INCOMPATIBILITY. |
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
491 |
|
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
492 |
* Former session "HOL-Word": Operations lsb, msb and set_bit are |
72546 | 493 |
separated into theories Least_significant_bit, Most_significant_bit and |
494 |
Generic_set_bit respectively in session Word_Lib in the AFP. |
|
495 |
INCOMPATIBILITY. |
|
72515
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
496 |
|
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
497 |
* Former session "HOL-Word": Ancient int numeral representation has been |
73007 | 498 |
factored out in separate theory "Ancient_Numeral" in session Word_Lib in |
499 |
the AFP. INCOMPATIBILITY. |
|
72515
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
500 |
|
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
501 |
* Former session "HOL-Word": Operations "bin_last", "bin_rest", |
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
502 |
"bin_nth", "bintrunc", "sbintrunc", "norm_sint", "bin_cat" and |
73007 | 503 |
"max_word" are now mere input abbreviations. Minor INCOMPATIBILITY. |
72515
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
504 |
|
c7038c397ae3
moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents:
72511
diff
changeset
|
505 |
* Former session "HOL-Word": Misc ancient material has been factored out |
73007 | 506 |
into separate theories and moved to session Word_Lib in the AFP. See |
507 |
theory "Guide" there for further information. INCOMPATIBILITY. |
|
71987 | 508 |
|
72070 | 509 |
* Session HOL-TPTP: The "tptp_isabelle" and "tptp_sledgehammer" commands |
510 |
are in working order again, as opposed to outputting "GaveUp" on nearly |
|
511 |
all problems. |
|
71959 | 512 |
|
72987
b1be35908165
clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents:
72972
diff
changeset
|
513 |
* Session "HOL-Hoare": concrete syntax only for Hoare triples, not |
b1be35908165
clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents:
72972
diff
changeset
|
514 |
abstract language constructors. |
b1be35908165
clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents:
72972
diff
changeset
|
515 |
|
b1be35908165
clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents:
72972
diff
changeset
|
516 |
* Session "HOL-Hoare": now provides a total correctness logic as well. |
b1be35908165
clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents:
72972
diff
changeset
|
517 |
|
71901 | 518 |
|
519 |
*** FOL *** |
|
520 |
||
521 |
* Added the "at most 1" quantifier, Uniq, as in HOL. |
|
522 |
||
72070 | 523 |
* Simproc "defined_all" and rewrite rule "subst_all" have been changed |
524 |
as in HOL. |
|
71923 | 525 |
|
71901 | 526 |
|
71908 | 527 |
*** ML *** |
528 |
||
72332
319dd5c618a5
allow Scala function execution on separate thread: better reactivity, but potential overloading of the JVM;
wenzelm
parents:
72316
diff
changeset
|
529 |
* Antiquotations @{scala_function}, @{scala}, @{scala_thread} refer to |
319dd5c618a5
allow Scala function execution on separate thread: better reactivity, but potential overloading of the JVM;
wenzelm
parents:
72316
diff
changeset
|
530 |
registered Isabelle/Scala functions (of type String => String): |
319dd5c618a5
allow Scala function execution on separate thread: better reactivity, but potential overloading of the JVM;
wenzelm
parents:
72316
diff
changeset
|
531 |
invocation works via the PIDE protocol. |
71908 | 532 |
|
72511
460d743010bc
clarified signature: overloaded "+" for Path.append;
wenzelm
parents:
72510
diff
changeset
|
533 |
* Path.append is available as overloaded "+" operator, similar to |
460d743010bc
clarified signature: overloaded "+" for Path.append;
wenzelm
parents:
72510
diff
changeset
|
534 |
corresponding Isabelle/Scala operation. |
460d743010bc
clarified signature: overloaded "+" for Path.append;
wenzelm
parents:
72510
diff
changeset
|
535 |
|
73007 | 536 |
* ML statistics via an external Poly/ML process: this allows monitoring |
537 |
the runtime system while the ML program sleeps. |
|
538 |
||
71908 | 539 |
|
71715 | 540 |
*** System *** |
541 |
||
73007 | 542 |
* Isabelle server allows user-defined commands via |
543 |
isabelle_scala_service. |
|
544 |
||
545 |
* Update/rebuild external provers on currently supported OS platforms, |
|
546 |
notably CVC4 1.8, E prover 2.5, SPASS 3.8ds, CSDP 6.1.1. |
|
547 |
||
72879
b3e9e9e4ff74
clarified session log file: avoid erratic messages;
wenzelm
parents:
72876
diff
changeset
|
548 |
* The command-line tool "isabelle log" prints prover messages from the |
b3e9e9e4ff74
clarified session log file: avoid erratic messages;
wenzelm
parents:
72876
diff
changeset
|
549 |
build database of the given session, following the the order of theory |
b3e9e9e4ff74
clarified session log file: avoid erratic messages;
wenzelm
parents:
72876
diff
changeset
|
550 |
sources, instead of erratic parallel evaluation. Consequently, the |
b3e9e9e4ff74
clarified session log file: avoid erratic messages;
wenzelm
parents:
72876
diff
changeset
|
551 |
session log file is restricted to system messages of the overall build |
b3e9e9e4ff74
clarified session log file: avoid erratic messages;
wenzelm
parents:
72876
diff
changeset
|
552 |
process, and thus becomes more informative. |
72876 | 553 |
|
72309
564012e31db1
discontinued obsolete DVI document format and related settings/tools;
wenzelm
parents:
72299
diff
changeset
|
554 |
* Discontinued obsolete isabelle display tool, and DVI_VIEWER settings |
564012e31db1
discontinued obsolete DVI document format and related settings/tools;
wenzelm
parents:
72299
diff
changeset
|
555 |
variable. |
564012e31db1
discontinued obsolete DVI document format and related settings/tools;
wenzelm
parents:
72299
diff
changeset
|
556 |
|
72316
3cc6aa405858
clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents:
72314
diff
changeset
|
557 |
* The command-line tool "isabelle logo" only outputs PDF; obsolete EPS |
3cc6aa405858
clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents:
72314
diff
changeset
|
558 |
(for DVI documents) has been discontinued. Former option -n has been |
3cc6aa405858
clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents:
72314
diff
changeset
|
559 |
turned into -o with explicit file name. Minor INCOMPATIBILITY. |
3cc6aa405858
clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents:
72314
diff
changeset
|
560 |
|
73172 | 561 |
* The command-line tool "isabelle components" supports new options -u |
562 |
and -x to manage $ISABELLE_HOME_USER/etc/components without manual |
|
563 |
editing of Isabelle configuration files. |
|
564 |
||
72162 | 565 |
* The shell function "isabelle_directory" (within etc/settings of |
566 |
components) augments the list of special directories for persistent |
|
567 |
symbolic path names. This improves portability of heap images and |
|
568 |
session databases. It used to be hard-wired for Isabelle + AFP, but |
|
569 |
other projects may now participate on equal terms. |
|
570 |
||
72681 | 571 |
* The command-line tool "isabelle process" now prints output to |
572 |
stdout/stderr separately and incrementally, instead of just one bulk to |
|
573 |
stdout after termination. Potential INCOMPATIBILITY for external tools. |
|
574 |
||
575 |
* The command-line tool "isabelle console" now supports interrupts |
|
576 |
properly (on Linux and macOS). |
|
577 |
||
72103 | 578 |
* Batch-builds via "isabelle build" use a PIDE session with special |
579 |
protocol: this allows to invoke Isabelle/Scala operations from |
|
580 |
Isabelle/ML. Big build jobs (e.g. AFP) require extra heap space for the |
|
581 |
java process, e.g. like this in $ISABELLE_HOME_USER/etc/settings: |
|
71976 | 582 |
|
583 |
ISABELLE_TOOL_JAVA_OPTIONS="$ISABELLE_TOOL_JAVA_OPTIONS -Xmx8g" |
|
71975
2d658beb815b
enable pide_session by default (again), with extra JVM heap for AFP tests (see also 86e429abd38d, 026de3424c39);
wenzelm
parents:
71964
diff
changeset
|
584 |
|
72728
caa182bdab7a
clarified options: batch-build has pide_reports disabled by default (requires significant resources);
wenzelm
parents:
72684
diff
changeset
|
585 |
This includes full PIDE markup, if option "build_pide_reports" is |
caa182bdab7a
clarified options: batch-build has pide_reports disabled by default (requires significant resources);
wenzelm
parents:
72684
diff
changeset
|
586 |
enabled. |
caa182bdab7a
clarified options: batch-build has pide_reports disabled by default (requires significant resources);
wenzelm
parents:
72684
diff
changeset
|
587 |
|
72679 | 588 |
* The command-line tool "isabelle build" provides option -P DIR to |
589 |
produce PDF/HTML presentation in the specified directory; -P: refers to |
|
590 |
the standard directory according to ISABELLE_BROWSER_INFO / |
|
591 |
ISABELLE_BROWSER_INFO_SYSTEM settings. Generated PDF documents are taken |
|
592 |
from the build database -- from this or earlier builds with option |
|
593 |
document=pdf. |
|
594 |
||
72574
d892f6d66402
build documents in Isabelle/Scala, based on generated tex files as session exports;
wenzelm
parents:
72557
diff
changeset
|
595 |
* The command-line tool "isabelle document" generates theory documents |
72679 | 596 |
on the spot, using the underlying session build database (exported |
72681 | 597 |
LaTeX sources or existing PDF files). INCOMPATIBILITY, the former |
72679 | 598 |
"isabelle document" tool was rather different and has been discontinued. |
72574
d892f6d66402
build documents in Isabelle/Scala, based on generated tex files as session exports;
wenzelm
parents:
72557
diff
changeset
|
599 |
|
71808 | 600 |
* The command-line tool "isabelle sessions" explores the structure of |
601 |
Isabelle sessions and prints result names in topological order (on |
|
602 |
stdout). |
|
603 |
||
71733 | 604 |
* The Isabelle/Scala "Progress" interface changed slightly and |
605 |
"No_Progress" has been discontinued. INCOMPATIBILITY, use "new Progress" |
|
606 |
instead. |
|
607 |
||
608 |
* General support for Isabelle/Scala system services, configured via the |
|
609 |
shell function "isabelle_scala_service" in etc/settings (e.g. of an |
|
71741 | 610 |
Isabelle component); see implementations of class |
611 |
Isabelle_System.Service in Isabelle/Scala. This supersedes former |
|
612 |
"isabelle_scala_tools" and "isabelle_file_format": minor |
|
613 |
INCOMPATIBILITY. |
|
71728 | 614 |
|
72748
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
615 |
* The syntax of theory load commands (for auxiliary files) is now |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
616 |
specified in Isabelle/Scala, as instance of class |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
617 |
isabelle.Command_Span.Load_Command registered via isabelle_scala_service |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
618 |
in etc/settings. This allows more flexible schemes than just a list of |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
619 |
file extensions. Minor INCOMPATIBILITY, e.g. see theory |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
620 |
HOL-SPARK.SPARK_Setup to emulate the old behaviour. |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
72728
diff
changeset
|
621 |
|
73116
b84887a67cc6
clarified default L&F of Isabelle/Scala (not Isabelle/jEdit);
wenzelm
parents:
73112
diff
changeset
|
622 |
* JVM system property "isabelle.laf" has been discontinued; the default |
b84887a67cc6
clarified default L&F of Isabelle/Scala (not Isabelle/jEdit);
wenzelm
parents:
73112
diff
changeset
|
623 |
Swing look-and-feel is ""FlatLaf Light". |
b84887a67cc6
clarified default L&F of Isabelle/Scala (not Isabelle/jEdit);
wenzelm
parents:
73112
diff
changeset
|
624 |
|
72521 | 625 |
* Isabelle/Phabricator supports Ubuntu 20.04 LTS. |
626 |
||
71845 | 627 |
* Isabelle/Phabricator setup has been updated to follow ongoing |
628 |
development: libphutil has been discontinued. Minor INCOMPATIBILITY: |
|
629 |
existing server installations should remove libphutil from |
|
630 |
/usr/local/bin/isabelle-phabricator-upgrade and each installation root |
|
631 |
directory (e.g. /var/www/phabricator-vcs/libphutil). |
|
632 |
||
72510 | 633 |
* Experimental support for arm64-linux platform. The reference platform |
634 |
is Raspberry Pi 4 with 8 GB RAM running Pi OS (64 bit). |
|
635 |
||
73232 | 636 |
* Support for Apple Silicon, using mostly x86_64-darwin runtime |
637 |
translation via Rosetta 2 (e.g. Poly/ML and external provers), but also |
|
638 |
some native arm64-darwin executables (e.g. Java). |
|
73154 | 639 |
|
71557 | 640 |
|
71839 | 641 |
|
71485 | 642 |
New in Isabelle2020 (April 2020) |
643 |
-------------------------------- |
|
70265 | 644 |
|
70562 | 645 |
*** General *** |
646 |
||
70677 | 647 |
* Session ROOT files need to specify explicit 'directories' for import |
70681 | 648 |
of theory files. Directories cannot be shared by different sessions. |
649 |
(Recall that import of theories from other sessions works via |
|
650 |
session-qualified theory names, together with suitable 'sessions' |
|
651 |
declarations in the ROOT.) |
|
70677 | 652 |
|
70562 | 653 |
* Internal derivations record dependencies on oracles and other theorems |
654 |
accurately, including the implicit type-class reasoning wrt. proven |
|
655 |
class relations and type arities. In particular, the formal tagging with |
|
656 |
"Pure.skip_proofs" of results stemming from "instance ... sorry" is now |
|
657 |
propagated properly to theorems depending on such type instances. |
|
658 |
||
659 |
* Command 'sorry' (oracle "Pure.skip_proofs") is more precise about the |
|
660 |
actual proposition that is assumed in the goal and proof context. This |
|
661 |
requires at least Proofterm.proofs = 1 to show up in theorem |
|
662 |
dependencies. |
|
663 |
||
664 |
* Command 'thm_oracles' prints all oracles used in given theorems, |
|
665 |
covering the full graph of transitive dependencies. |
|
666 |
||
70605 | 667 |
* Command 'thm_deps' prints immediate theorem dependencies of the given |
668 |
facts. The former graph visualization has been discontinued, because it |
|
669 |
was hardly usable. |
|
670 |
||
71446 | 671 |
* Refined treatment of proof terms, including type-class proofs for |
672 |
minor object-logics (FOL, FOLP, Sequents). |
|
673 |
||
71448 | 674 |
* The inference kernel is now confined to one main module: structure |
675 |
Thm, without the former circular dependency on structure Axclass. |
|
676 |
||
71545
b0b16088ccf2
allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents:
71543
diff
changeset
|
677 |
* 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:
71543
diff
changeset
|
678 |
separate delimiters (as documented in the isar-ref manual), without |
71547 | 679 |
requiring an auxiliary empty block. A literal single quote needs to be |
71551 | 680 |
escaped properly. Minor INCOMPATIBILITY. |
71545
b0b16088ccf2
allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents:
71543
diff
changeset
|
681 |
|
70562 | 682 |
|
70522 | 683 |
*** Isar *** |
684 |
||
685 |
* The proof method combinator (subproofs m) applies the method |
|
686 |
expression m consecutively to each subgoal, constructing individual |
|
687 |
subproofs internally. This impacts the internal construction of proof |
|
688 |
terms: it makes a cascade of let-expressions within the derivation tree |
|
689 |
and may thus improve scalability. |
|
690 |
||
71427 | 691 |
* Attribute "trace_locales" activates tracing of locale instances during |
692 |
roundup. It replaces the diagnostic command 'print_dependencies', which |
|
693 |
has been discontinued. |
|
70608 | 694 |
|
70522 | 695 |
|
70683
8c7706b053c7
find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents:
70681
diff
changeset
|
696 |
*** Isabelle/jEdit Prover IDE *** |
8c7706b053c7
find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents:
70681
diff
changeset
|
697 |
|
71543 | 698 |
* Prover IDE startup is now much faster, because theory dependencies are |
699 |
no longer explored in advance. The overall session structure with its |
|
700 |
declarations of 'directories' is sufficient to locate theory files. Thus |
|
701 |
the "session focus" of option "isabelle jedit -S" has become obsolete |
|
702 |
(likewise for "isabelle vscode_server -S"). Existing option "-R" is both |
|
703 |
sufficient and more convenient to start editing a particular session. |
|
704 |
||
71497 | 705 |
* Actions isabelle.tooltip (CS+b) and isabelle.message (CS+m) display |
706 |
tooltip message popups, corresponding to mouse hovering with/without the |
|
707 |
CONTROL/COMMAND key pressed. |
|
708 |
||
71499 | 709 |
* The following actions allow to navigate errors within the current |
710 |
document snapshot: |
|
711 |
||
712 |
isabelle.first-error (CS+a) |
|
71505 | 713 |
isabelle.last-error (CS+z) |
714 |
isabelle.next-error (CS+n) |
|
715 |
isabelle.prev-error (CS+p) |
|
71499 | 716 |
|
71430 | 717 |
* Support more brackets: \<llangle> \<rrangle> (intended for implicit argument syntax). |
718 |
||
71520 | 719 |
* Action isabelle.jconsole (menu item Plugins / Isabelle / Java/VM |
720 |
Monitor) applies the jconsole tool on the running Isabelle/jEdit |
|
721 |
process. This allows to monitor resource usage etc. |
|
722 |
||
71543 | 723 |
* More adequate default font sizes for Linux on HD / UHD displays: |
724 |
automatic font scaling is usually absent on Linux, in contrast to |
|
725 |
Windows and macOS. |
|
726 |
||
71575 | 727 |
* The default value for the jEdit property "view.antiAlias" (menu item |
728 |
Utilities / Global Options / Text Area / Anti Aliased smooth text) is |
|
729 |
now "subpixel HRGB", instead of former "standard". Especially on Linux |
|
730 |
this often leads to faster text rendering, but can also cause problems |
|
731 |
with odd color shades. An alternative is to switch back to "standard" |
|
732 |
here, and set the following Java system property: |
|
733 |
||
734 |
isabelle jedit -Dsun.java2d.opengl=true |
|
735 |
||
736 |
This can be made persistent via JEDIT_JAVA_OPTIONS in |
|
737 |
$ISABELLE_HOME_USER/etc/settings. For the "Isabelle2020" desktop |
|
738 |
application there is a corresponding options file in the same directory. |
|
739 |
||
70683
8c7706b053c7
find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents:
70681
diff
changeset
|
740 |
|
71473
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71448
diff
changeset
|
741 |
*** Isabelle/VSCode Prover IDE *** |
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71448
diff
changeset
|
742 |
|
71484 | 743 |
* Update of State and Preview panels to use new WebviewPanel API of |
744 |
VSCode. |
|
71473
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71448
diff
changeset
|
745 |
|
be84312a2d53
update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents:
71448
diff
changeset
|
746 |
|
70337
48609a6af1a0
removed relics of ASCII syntax for indexed big operators
haftmann
parents:
70300
diff
changeset
|
747 |
*** HOL *** |
48609a6af1a0
removed relics of ASCII syntax for indexed big operators
haftmann
parents:
70300
diff
changeset
|
748 |
|
71427 | 749 |
* Improvements of the 'lift_bnf' command: |
71264 | 750 |
- Add support for quotient types. |
71427 | 751 |
- Generate transfer rules for the lifted map/set/rel/pred constants |
752 |
(theorems "<type>.<constant>_transfer_raw"). |
|
71264 | 753 |
|
70784
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
754 |
* Term_XML.Encode/Decode.term uses compact representation of Const |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
755 |
"typargs" from the given declaration environment. This also makes more |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
756 |
sense for translations to lambda-calculi with explicit polymorphism. |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
757 |
INCOMPATIBILITY, use Term_XML.Encode/Decode.term_raw in special |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
758 |
applications. |
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
759 |
|
70524 | 760 |
* ASCII membership syntax concerning big operators for infimum and |
71427 | 761 |
supremum has been discontinued. INCOMPATIBILITY. |
70524 | 762 |
|
71543 | 763 |
* Removed multiplicativity assumption from class |
764 |
"normalization_semidom". Introduced various new intermediate classes |
|
765 |
with the multiplicativity assumption; many theorem statements |
|
766 |
(especially involving GCD/LCM) had to be adapted. This allows for a more |
|
767 |
natural instantiation of the algebraic typeclasses for e.g. Gaussian |
|
768 |
integers. INCOMPATIBILITY. |
|
769 |
||
70524 | 770 |
* Clear distinction between types for bits (False / True) and Z2 (0 / |
71427 | 771 |
1): theory HOL-Library.Bit has been renamed accordingly. |
772 |
INCOMPATIBILITY. |
|
773 |
||
774 |
* Dynamic facts "algebra_split_simps" and "field_split_simps" correspond |
|
70817
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70784
diff
changeset
|
775 |
to algebra_simps and field_simps but contain more aggressive rules |
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70784
diff
changeset
|
776 |
potentially splitting goals; algebra_split_simps roughly replaces |
dd675800469d
dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents:
70784
diff
changeset
|
777 |
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:
70784
diff
changeset
|
778 |
INCOMPATIBILITY. |
70524 | 779 |
|
71428 | 780 |
* Theory HOL.Complete_Lattices: |
781 |
renamed Inf_Sup -> Inf_eq_Sup and Sup_Inf -> Sup_eq_Inf |
|
782 |
||
71434 | 783 |
* Theory HOL-Library.Monad_Syntax: infix operation "bind" (\<bind>) |
70524 | 784 |
associates to the left now as is customary. |
785 |
||
71259
09aee7f5b447
Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents:
71166
diff
changeset
|
786 |
* Theory HOL-Library.Ramsey: full finite Ramsey's theorem with |
09aee7f5b447
Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents:
71166
diff
changeset
|
787 |
multiple colours and arbitrary exponents. |
09aee7f5b447
Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents:
71166
diff
changeset
|
788 |
|
71484 | 789 |
* Session HOL-Proofs: build faster thanks to better treatment of proof |
790 |
terms in Isabelle/Pure. |
|
71147 | 791 |
|
71438 | 792 |
* Session HOL-Word: bitwise NOT-operator has proper prefix syntax. Minor |
793 |
INCOMPATIBILITY. |
|
794 |
||
71484 | 795 |
* Session HOL-Analysis: proof method "metric" implements a decision |
796 |
procedure for simple linear statements in metric spaces. |
|
797 |
||
798 |
* Session HOL-Complex_Analysis has been split off from HOL-Analysis. |
|
71149 | 799 |
|
71150 | 800 |
|
70525 | 801 |
*** ML *** |
802 |
||
803 |
* Theory construction may be forked internally, the operation |
|
804 |
Theory.join_theory recovers a single result theory. See also the example |
|
805 |
in theory "HOL-ex.Join_Theory". |
|
806 |
||
70565 | 807 |
* Antiquotation @{oracle_name} inlines a formally checked oracle name. |
808 |
||
71436 | 809 |
* Minimal support for a soft-type system within the Isabelle logical |
810 |
framework (module Soft_Type_System). |
|
811 |
||
71750 | 812 |
* Former Variable.auto_fixes has been replaced by slightly more general |
813 |
Proof_Context.augment: it is subject to an optional soft-type system of |
|
814 |
the underlying object-logic. Minor INCOMPATIBILITY. |
|
71436 | 815 |
|
71438 | 816 |
* More scalable Export.export using XML.tree to avoid premature string |
817 |
allocations, with convenient shortcut XML.blob. Minor INCOMPATIBILITY. |
|
818 |
||
71493 | 819 |
* Prover IDE support for the underlying Poly/ML compiler (not the basis |
820 |
library). Open $ML_SOURCES/ROOT.ML in Isabelle/jEdit to browse the |
|
821 |
implementation with full markup. |
|
822 |
||
70525 | 823 |
|
70599 | 824 |
*** System *** |
825 |
||
71433 | 826 |
* Standard rendering for more Isabelle symbols: \<llangle> \<rrangle> \<bbar> \<sqdot> |
827 |
||
71378
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71343
diff
changeset
|
828 |
* The command-line tool "isabelle scala_project" creates a Gradle |
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71343
diff
changeset
|
829 |
project configuration for Isabelle/Scala/jEdit, to support Scala IDEs |
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71343
diff
changeset
|
830 |
such as IntelliJ IDEA. |
820cf124dced
added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents:
71343
diff
changeset
|
831 |
|
71293 | 832 |
* The command-line tool "isabelle phabricator_setup" facilitates |
833 |
self-hosting of the Phabricator software-development platform, with |
|
834 |
support for Git, Mercurial, Subversion repositories. This helps to avoid |
|
835 |
monoculture and to escape the gravity of centralized version control by |
|
836 |
Github and/or Bitbucket. For further documentation, see chapter |
|
837 |
"Phabricator server administration" in the "system" manual. A notable |
|
838 |
example installation is https://isabelle-dev.sketis.net/. |
|
71134 | 839 |
|
71325 | 840 |
* The command-line tool "isabelle hg_setup" simplifies the setup of |
841 |
Mercurial repositories, with hosting via Phabricator or SSH file server |
|
842 |
access. |
|
843 |
||
70686
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70683
diff
changeset
|
844 |
* The command-line tool "isabelle imports" has been discontinued: strict |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70683
diff
changeset
|
845 |
checking of session directories enforces session-qualified theory names |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70683
diff
changeset
|
846 |
in applications -- users are responsible to specify session ROOT entries |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70683
diff
changeset
|
847 |
properly. |
9cde8c4ea5a5
discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents:
70683
diff
changeset
|
848 |
|
71429 | 849 |
* The command-line tool "isabelle dump" and its underlying |
850 |
Isabelle/Scala module isabelle.Dump has become more scalable, by |
|
851 |
splitting sessions and supporting a base logic image. Minor |
|
852 |
INCOMPATIBILITY in options and parameters. |
|
853 |
||
71750 | 854 |
* The command-line tool "isabelle build_docker" has been slightly |
855 |
improved: it is now properly documented in the "system" manual. |
|
856 |
||
71438 | 857 |
* Isabelle/Scala support for the Linux platform (Ubuntu): packages, |
858 |
users, system services. |
|
859 |
||
860 |
* Isabelle/Scala support for proof terms (with full type/term |
|
861 |
information) in module isabelle.Term. |
|
862 |
||
71662 | 863 |
* Isabelle/Scala: more scalable output of YXML files, e.g. relevant for |
864 |
"isabelle dump". |
|
865 |
||
70599 | 866 |
* Theory export via Isabelle/Scala has been reworked. The former "fact" |
867 |
name space is now split into individual "thm" items: names are |
|
868 |
potentially indexed, such as "foo" for singleton facts, or "bar(1)", |
|
869 |
"bar(2)", "bar(3)" for multi-facts. Theorem dependencies are now |
|
870 |
exported as well: this spans an overall dependency graph of internal |
|
871 |
inferences; it might help to reconstruct the formal structure of theory |
|
71751 | 872 |
libraries. See also the module isabelle.Export_Theory in Isabelle/Scala. |
70599 | 873 |
|
71484 | 874 |
* Theory export of structured specifications, based on internal |
875 |
declarations of Spec_Rules by packages like 'definition', 'inductive', |
|
876 |
'primrec', 'function'. |
|
877 |
||
71428 | 878 |
* Old settings variables ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM |
879 |
have been discontinued -- deprecated since Isabelle2018. |
|
880 |
||
71438 | 881 |
* More complete x86_64 platform support on macOS, notably Catalina where |
882 |
old x86 has been discontinued. |
|
883 |
||
884 |
* Update to GHC stack 2.1.3 with stackage lts-13.19/ghc-8.6.4. |
|
885 |
||
886 |
* Update to OCaml Opam 2.0.6 (using ocaml 4.05.0 as before). |
|
887 |
||
70265 | 888 |
|
70784
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents:
70686
diff
changeset
|
889 |
|
70023 | 890 |
New in Isabelle2019 (June 2019) |
891 |
------------------------------- |
|
68683 | 892 |
|
69042 | 893 |
*** General *** |
894 |
||
70032 | 895 |
* The font collection "Isabelle DejaVu" is systematically derived from |
896 |
the existing "DejaVu" fonts, with variants "Sans Mono", "Sans", "Serif" |
|
69343
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69316
diff
changeset
|
897 |
and styles "Normal", "Bold", "Italic/Oblique", "Bold-Italic/Oblique". |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69316
diff
changeset
|
898 |
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:
69316
diff
changeset
|
899 |
augmented by special Isabelle symbols, taken from the former |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69316
diff
changeset
|
900 |
"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:
69316
diff
changeset
|
901 |
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:
69316
diff
changeset
|
902 |
INCOMPATIBILITY with display configuration expecting the old |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69316
diff
changeset
|
903 |
"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:
69316
diff
changeset
|
904 |
|
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69316
diff
changeset
|
905 |
* The Isabelle fonts render "\<inverse>" properly as superscript "-1". |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69316
diff
changeset
|
906 |
|
69042 | 907 |
* Old-style inner comments (* ... *) within the term language are no |
908 |
longer supported (legacy feature in Isabelle2018). |
|
909 |
||
70023 | 910 |
* Old-style {* verbatim *} tokens are explicitly marked as legacy |
911 |
feature and will be removed soon. Use \<open>cartouche\<close> syntax instead, e.g. |
|
912 |
via "isabelle update_cartouches -t" (available since Isabelle2015). |
|
913 |
||
70297 | 914 |
* Infix operators that begin or end with a "*" are now parenthesized |
915 |
without additional spaces, e.g. "(*)" instead of "( * )". Minor |
|
70023 | 916 |
INCOMPATIBILITY. |
69066 | 917 |
|
69580 | 918 |
* Mixfix annotations may use cartouches instead of old-style double |
69586
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69585
diff
changeset
|
919 |
quotes, e.g. (infixl \<open>+\<close> 60). The command-line tool "isabelle update -u |
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69585
diff
changeset
|
920 |
mixfix_cartouches" allows to update existing theory sources |
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69585
diff
changeset
|
921 |
automatically. |
69580 | 922 |
|
69216
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:
69213
diff
changeset
|
923 |
* 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:
69213
diff
changeset
|
924 |
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:
69213
diff
changeset
|
925 |
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:
69213
diff
changeset
|
926 |
|
70057 | 927 |
* Commands 'generate_file', 'export_generated_files', and |
928 |
'compile_generated_files' support a stateless (PIDE-conformant) model |
|
929 |
for generated sources and compiled binaries of other languages. The |
|
70060 | 930 |
compilation process is managed in Isabelle/ML, and results exported to |
70057 | 931 |
the session database for further use (e.g. with "isabelle export" or |
932 |
"isabelle build -e"). |
|
933 |
||
69042 | 934 |
|
69189 | 935 |
*** Isabelle/jEdit Prover IDE *** |
936 |
||
70023 | 937 |
* Fonts for the text area, gutter, GUI elements etc. use the "Isabelle |
938 |
DejaVu" collection by default, which provides uniform rendering quality |
|
939 |
with the usual Isabelle symbols. Line spacing no longer needs to be |
|
940 |
adjusted: properties for the old IsabelleText font had "Global Options / |
|
70069 | 941 |
Text Area / Extra vertical line spacing (in pixels): -2", it now |
942 |
defaults to 1, but 0 works as well. |
|
70023 | 943 |
|
69780 | 944 |
* The jEdit File Browser is more prominent in the default GUI layout of |
945 |
Isabelle/jEdit: various virtual file-systems provide access to Isabelle |
|
946 |
resources, notably via "favorites:" (or "Edit Favorites"). |
|
947 |
||
70061 | 948 |
* Further markup and rendering for "plain text" (e.g. informal prose) |
949 |
and "raw text" (e.g. verbatim sources). This improves the visual |
|
950 |
appearance of formal comments inside the term language, or in general |
|
951 |
for repeated alternation of formal and informal text. |
|
952 |
||
69643 | 953 |
* Action "isabelle-export-browser" points the File Browser to the theory |
69764 | 954 |
exports of the current buffer, based on the "isabelle-export:" virtual |
955 |
file-system. The directory view needs to be reloaded manually to follow |
|
956 |
ongoing document processing. |
|
957 |
||
958 |
* Action "isabelle-session-browser" points the File Browser to session |
|
959 |
information, based on the "isabelle-session:" virtual file-system. Its |
|
960 |
entries are structured according to chapter / session names, the open |
|
961 |
operation is redirected to the session ROOT file. |
|
69643 | 962 |
|
69273 | 963 |
* Support for user-defined file-formats via class isabelle.File_Format |
69277
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
964 |
in Isabelle/Scala (e.g. see isabelle.Bibtex.File_Format), configured via |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
965 |
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:
69273
diff
changeset
|
966 |
Isabelle component). |
69273 | 967 |
|
70023 | 968 |
* System option "jedit_text_overview" allows to disable the text |
969 |
overview column. |
|
970 |
||
69854
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
69829
diff
changeset
|
971 |
* 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:
69829
diff
changeset
|
972 |
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:
69829
diff
changeset
|
973 |
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:
69829
diff
changeset
|
974 |
separated from option "-s". |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
69829
diff
changeset
|
975 |
|
70105 | 976 |
* The Isabelle/jEdit desktop application uses the same options as |
977 |
"isabelle jedit" for its internal "isabelle build" process: the implicit |
|
978 |
option "-o system_heaps" (or "-s") has been discontinued. This reduces |
|
979 |
the potential for surprise wrt. command-line tools. |
|
980 |
||
981 |
* The official download of the Isabelle/jEdit application already |
|
982 |
contains heap images for Isabelle/HOL within its main directory: thus |
|
983 |
the first encounter becomes faster and more robust (e.g. when run from a |
|
984 |
read-only directory). |
|
985 |
||
70072 | 986 |
* Isabelle DejaVu fonts are available with hinting by default, which is |
987 |
relevant for low-resolution displays. This may be disabled via system |
|
988 |
option "isabelle_fonts_hinted = false" in |
|
70075 | 989 |
$ISABELLE_HOME_USER/etc/preferences -- it occasionally yields better |
70072 | 990 |
results. |
991 |
||
70031 | 992 |
* OpenJDK 11 has quite different font rendering, with better glyph |
993 |
shapes and improved sub-pixel anti-aliasing. In some situations results |
|
70072 | 994 |
might be *worse* than Oracle Java 8, though -- a proper HiDPI / UHD |
995 |
display is recommended. |
|
70023 | 996 |
|
70258 | 997 |
* OpenJDK 11 supports GTK version 2.2 and 3 (according to system |
998 |
property jdk.gtk.version). The factory default is version 3, but |
|
999 |
ISABELLE_JAVA_SYSTEM_OPTIONS includes "-Djdk.gtk.version=2.2" to make |
|
1000 |
this more conservative (as in Java 8). Depending on the GTK theme |
|
1001 |
configuration, "-Djdk.gtk.version=3" might work better or worse. |
|
1002 |
||
69189 | 1003 |
|
69962
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1004 |
*** Document preparation *** |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1005 |
|
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1006 |
* 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:
69960
diff
changeset
|
1007 |
are stripped from document output: the effect is to modify the semantic |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1008 |
presentation context or to emit markup to the PIDE document. Some |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1009 |
predefined markers are taken from the Dublin Core Metadata Initiative, |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1010 |
e.g. \<^marker>\<open>contributor arg\<close> or \<^marker>\<open>license arg\<close> and produce PIDE markup that |
70281 | 1011 |
can be retrieved from the document database. |
69962
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1012 |
|
70140 | 1013 |
* Old-style command tags %name are re-interpreted as markers with |
1014 |
proof-scope \<^marker>\<open>tag (proof) name\<close> and produce LaTeX environments as |
|
1015 |
before. Potential INCOMPATIBILITY: multiple markers are composed in |
|
1016 |
canonical order, resulting in a reversed list of tags in the |
|
1017 |
presentation context. |
|
1018 |
||
1019 |
* Marker \<^marker>\<open>tag name\<close> does not apply to the proof of a top-level goal |
|
1020 |
statement by default (e.g. 'theorem', 'lemma'). This is a subtle change |
|
1021 |
of semantics wrt. old-style %name. |
|
69962
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1022 |
|
70143 | 1023 |
* In Isabelle/jEdit, the string "\tag" may be completed to a "\<^marker>\<open>tag \<close>" |
1024 |
template. |
|
1025 |
||
70121 | 1026 |
* Document antiquotation option "cartouche" indicates if the output |
1027 |
should be delimited as cartouche; this takes precedence over the |
|
1028 |
analogous option "quotes". |
|
1029 |
||
70122
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:
70121
diff
changeset
|
1030 |
* 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:
70121
diff
changeset
|
1031 |
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:
70121
diff
changeset
|
1032 |
\<^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:
70121
diff
changeset
|
1033 |
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:
70121
diff
changeset
|
1034 |
"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:
70121
diff
changeset
|
1035 |
"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:
70121
diff
changeset
|
1036 |
|
69962
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
69960
diff
changeset
|
1037 |
|
68879 | 1038 |
*** Isar *** |
1039 |
||
69045 | 1040 |
* Implicit cases goal1, goal2, goal3, etc. have been discontinued |
1041 |
(legacy feature since Isabelle2016). |
|
1042 |
||
70023 | 1043 |
* More robust treatment of structural errors: begin/end blocks take |
1044 |
precedence over goal/proof. This is particularly relevant for the |
|
1045 |
headless PIDE session and server. |
|
1046 |
||
1047 |
* Command keywords of kind thy_decl / thy_goal may be more specifically |
|
1048 |
fit into the traditional document model of "definition-statement-proof" |
|
1049 |
via thy_defn / thy_stmt / thy_goal_defn / thy_goal_stmt. |
|
1050 |
||
69045 | 1051 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
1052 |
*** HOL *** |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
1053 |
|
70009
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:
69962
diff
changeset
|
1054 |
* Command 'export_code' produces output as logical files within the |
70011 | 1055 |
theory context, as well as formal session exports that can be |
1056 |
materialized via command-line tools "isabelle export" or "isabelle build |
|
1057 |
-e" (with 'export_files' in the session ROOT). Isabelle/jEdit also |
|
1058 |
provides a virtual file-system "isabelle-export:" that can be explored |
|
1059 |
in the regular file-browser. A 'file_prefix' argument allows to specify |
|
1060 |
an explicit name prefix for the target file (SML, OCaml, Scala) or |
|
1061 |
directory (Haskell); the default is "export" with a consecutive number |
|
1062 |
within each theory. |
|
70009
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:
69962
diff
changeset
|
1063 |
|
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:
69962
diff
changeset
|
1064 |
* 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:
69962
diff
changeset
|
1065 |
removed soon: writing to the physical file-system is not well-defined in |
70011 | 1066 |
a reactive/parallel application like Isabelle. The empty 'file' argument |
1067 |
has been discontinued already: it is superseded by the file-browser in |
|
1068 |
Isabelle/jEdit on "isabelle-export:". Minor INCOMPATIBILITY. |
|
69624 | 1069 |
|
70022
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70011
diff
changeset
|
1070 |
* Command 'code_reflect' no longer supports the 'file' argument: it has |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70011
diff
changeset
|
1071 |
been superseded by 'file_prefix' for stateless file management as in |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70011
diff
changeset
|
1072 |
'export_code'. Minor INCOMPATIBILITY. |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70011
diff
changeset
|
1073 |
|
69743 | 1074 |
* Code generation for OCaml: proper strings are used for literals. |
1075 |
Minor INCOMPATIBILITY. |
|
1076 |
||
69926
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1077 |
* Code generation for OCaml: Zarith supersedes Nums as library for |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1078 |
proper integer arithmetic. The library is located via standard |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1079 |
invocations of "ocamlfind" (via ISABELLE_OCAMLFIND settings variable). |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1080 |
The environment provided by "isabelle ocaml_setup" already contains this |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1081 |
tool and the required packages. Minor INCOMPATIBILITY. |
69906
55534affe445
migrated from Nums to Zarith as library for OCaml integer arithmetic
haftmann
parents:
69903
diff
changeset
|
1082 |
|
69690 | 1083 |
* Code generation for Haskell: code includes for Haskell must contain |
1084 |
proper module frame, nothing is added magically any longer. |
|
1085 |
INCOMPATIBILITY. |
|
1086 |
||
70023 | 1087 |
* Code generation: slightly more conventional syntax for 'code_stmts' |
1088 |
antiquotation. Minor INCOMPATIBILITY. |
|
1089 |
||
1090 |
* Theory List: the precedence of the list_update operator has changed: |
|
1091 |
"f a [n := x]" now needs to be written "(f a)[n := x]". |
|
1092 |
||
1093 |
* The functions \<Union>, \<Inter>, \<Squnion>, \<Sqinter> (not the corresponding binding operators) |
|
1094 |
now have the same precedence as any other prefix function symbol. Minor |
|
1095 |
INCOMPATIBILITY. |
|
69861
62e47f06d22c
avoid context-sensitive simp rules whose context-free form (image_comp) is not simp by default
haftmann
parents:
69854
diff
changeset
|
1096 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
1097 |
* 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
|
1098 |
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
|
1099 |
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
|
1100 |
SUPREMUM, UNION, INTER should now rarely occur in output and are just |
70237 | 1101 |
retained as migration auxiliary. Abbreviations MINIMUM and MAXIMUM |
1102 |
are gone INCOMPATIBILITY. |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
1103 |
|
70023 | 1104 |
* The simplifier uses image_cong_simp as a congruence rule. The historic |
1105 |
and not really well-formed congruence rules INF_cong*, SUP_cong*, are |
|
1106 |
not used by default any longer. INCOMPATIBILITY; consider using declare |
|
1107 |
image_cong_simp [cong del] in extreme situations. |
|
1108 |
||
1109 |
* INF_image and SUP_image are no default simp rules any longer. |
|
1110 |
INCOMPATIBILITY, prefer image_comp as simp rule if needed. |
|
68938 | 1111 |
|
69164 | 1112 |
* Strong congruence rules (with =simp=> in the premises) for constant f |
69546
27dae626822b
prefer naming convention from datatype package for strong congruence rules
haftmann
parents:
69506
diff
changeset
|
1113 |
are now uniformly called f_cong_simp, in accordance with congruence |
27dae626822b
prefer naming convention from datatype package for strong congruence rules
haftmann
parents:
69506
diff
changeset
|
1114 |
rules produced for mappers by the datatype package. INCOMPATIBILITY. |
69164 | 1115 |
|
70023 | 1116 |
* Retired lemma card_Union_image; use the simpler card_UN_disjoint |
1117 |
instead. INCOMPATIBILITY. |
|
1118 |
||
1119 |
* Facts sum_mset.commute and prod_mset.commute have been renamed to |
|
1120 |
sum_mset.swap and prod_mset.swap, similarly to sum.swap and prod.swap. |
|
1121 |
INCOMPATIBILITY. |
|
1122 |
||
1123 |
* ML structure Inductive: slightly more conventional naming schema. |
|
1124 |
Minor INCOMPATIBILITY. |
|
1125 |
||
1126 |
* ML: Various _global variants of specification tools have been removed. |
|
1127 |
Minor INCOMPATIBILITY, prefer combinators |
|
1128 |
Named_Target.theory_map[_result] to lift specifications to the global |
|
1129 |
theory level. |
|
1130 |
||
1131 |
* Theory HOL-Library.Simps_Case_Conv: 'case_of_simps' now supports |
|
1132 |
overlapping and non-exhaustive patterns and handles arbitrarily nested |
|
1133 |
patterns. It uses on the same algorithm as HOL-Library.Code_Lazy, which |
|
1134 |
assumes sequential left-to-right pattern matching. The generated |
|
69568
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69506
diff
changeset
|
1135 |
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:
69506
diff
changeset
|
1136 |
INCOMPATIBILITY. |
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69506
diff
changeset
|
1137 |
|
70297 | 1138 |
* Theory HOL-Library.Multiset: the \<Union># operator now has the same |
70023 | 1139 |
precedence as any other prefix function symbol. |
1140 |
||
70080 | 1141 |
* Theory HOL-Library.Cardinal_Notations has been discontinued in favor |
70168 | 1142 |
of the bundle cardinal_syntax (available in theory Main). Minor |
1143 |
INCOMPATIBILITY. |
|
70080 | 1144 |
|
70023 | 1145 |
* Session HOL-Library and HOL-Number_Theory: Exponentiation by squaring, |
1146 |
used for computing powers in class "monoid_mult" and modular |
|
1147 |
exponentiation. |
|
1148 |
||
1149 |
* Session HOL-Computational_Algebra: Formal Laurent series and overhaul |
|
1150 |
of Formal power series. |
|
1151 |
||
1152 |
* Session HOL-Number_Theory: More material on residue rings in |
|
1153 |
Carmichael's function, primitive roots, more properties for "ord". |
|
1154 |
||
70125
b601c2c87076
type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents:
70106
diff
changeset
|
1155 |
* 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:
70106
diff
changeset
|
1156 |
at the level of abstract topological spaces. |
b601c2c87076
type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents:
70106
diff
changeset
|
1157 |
|
70164
1f163f772da3
Group theory developments towards proving algebraic closure (by de Vilhena and Baillon)
paulson <lp15@cam.ac.uk>
parents:
70143
diff
changeset
|
1158 |
* Session HOL-Algebra: Free abelian groups, etc., ported from HOL Light; |
70215
8371a25ca177
Algebraic closure: moving more theorems into their rightful places
paulson <lp15@cam.ac.uk>
parents:
70175
diff
changeset
|
1159 |
algebraic closure of a field by de Vilhena and Baillon. |
70032 | 1160 |
|
70168 | 1161 |
* Session HOL-Homology has been added. It is a port of HOL Light's |
1162 |
homology library, with new proofs of "invariance of domain" and related |
|
1163 |
results. |
|
1164 |
||
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
1165 |
* 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:
69094
diff
changeset
|
1166 |
file-system, but exported to the session database. Results may be |
70026 | 1167 |
retrieved via "isabelle build -e HOL-SPARK-Examples" on the |
1168 |
command-line. |
|
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
1169 |
|
70023 | 1170 |
* Sledgehammer: |
1171 |
- The URL for SystemOnTPTP, which is used by remote provers, has been |
|
1172 |
updated. |
|
1173 |
- The machine-learning-based filter MaSh has been optimized to take |
|
1174 |
less time (in most cases). |
|
1175 |
||
1176 |
* SMT: reconstruction is now possible using the SMT solver veriT. |
|
1177 |
||
70174 | 1178 |
* Session HOL-Word: |
1179 |
* New theory More_Word as comprehensive entrance point. |
|
70175 | 1180 |
* Merged type class bitss into type class bits. |
70174 | 1181 |
INCOMPATIBILITY. |
1182 |
||
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
1183 |
|
68803 | 1184 |
*** ML *** |
1185 |
||
70023 | 1186 |
* Command 'generate_file' allows to produce sources for other languages, |
1187 |
with antiquotations in the Isabelle context (only the control-cartouche |
|
1188 |
form). The default "cartouche" antiquotation evaluates an ML expression |
|
1189 |
of type string and inlines the result as a string literal of the target |
|
1190 |
language. For example, this works for Haskell as follows: |
|
1191 |
||
1192 |
generate_file "Pure.hs" = \<open> |
|
1193 |
module Isabelle.Pure where |
|
1194 |
allConst, impConst, eqConst :: String |
|
1195 |
allConst = \<open>\<^const_name>\<open>Pure.all\<close>\<close> |
|
1196 |
impConst = \<open>\<^const_name>\<open>Pure.imp\<close>\<close> |
|
1197 |
eqConst = \<open>\<^const_name>\<open>Pure.eq\<close>\<close> |
|
1198 |
\<close> |
|
1199 |
||
70082
4f936de6d9b8
tuned -- prefer Isar command 'compile_generated_files';
wenzelm
parents:
70080
diff
changeset
|
1200 |
See also commands 'export_generated_files' and 'compile_generated_files' |
4f936de6d9b8
tuned -- prefer Isar command 'compile_generated_files';
wenzelm
parents:
70080
diff
changeset
|
1201 |
to use the results. |
68803 | 1202 |
|
70260 | 1203 |
* ML evaluation (notably via command 'ML' or 'ML_file') is subject to |
68824 | 1204 |
option ML_environment to select a named environment, such as "Isabelle" |
70260 | 1205 |
for Isabelle/ML, or "SML" for official Standard ML. |
68803 | 1206 |
|
69381
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69377
diff
changeset
|
1207 |
* 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:
69377
diff
changeset
|
1208 |
underlying theory, i.e. the directory of the theory file. |
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69377
diff
changeset
|
1209 |
|
69470 | 1210 |
* ML antiquotation @{verbatim} inlines its argument as string literal, |
1211 |
preserving newlines literally. The short form \<^verbatim>\<open>abc\<close> is particularly |
|
1212 |
useful. |
|
1213 |
||
70023 | 1214 |
* Local_Theory.reset is no longer available in user space. Regular |
1215 |
definitional packages should use balanced blocks of |
|
1216 |
Local_Theory.open_target versus Local_Theory.close_target instead, or |
|
1217 |
the Local_Theory.subtarget(_result) combinator. Rare INCOMPATIBILITY. |
|
1218 |
||
1219 |
* Original PolyML.pointerEq is retained as a convenience for tools that |
|
1220 |
don't use Isabelle/ML (where this is called "pointer_eq"). |
|
69381
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69377
diff
changeset
|
1221 |
|
69282 | 1222 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
1223 |
*** System *** |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
1224 |
|
70031 | 1225 |
* Update to OpenJDK 11: the current long-term support version of Java. |
70023 | 1226 |
|
1227 |
* Update to Poly/ML 5.8 allows to use the native x86_64 platform without |
|
1228 |
the full overhead of 64-bit values everywhere. This special x86_64_32 |
|
1229 |
mode provides up to 16GB ML heap, while program code and stacks are |
|
1230 |
allocated elsewhere. Thus approx. 5 times more memory is available for |
|
1231 |
applications compared to old x86 mode (which is no longer used by |
|
1232 |
Isabelle). The switch to the x86_64 CPU architecture also avoids |
|
1233 |
compatibility problems with Linux and macOS, where 32-bit applications |
|
1234 |
are gradually phased out. |
|
1235 |
||
1236 |
* System option "checkpoint" has been discontinued: obsolete thanks to |
|
1237 |
improved memory management in Poly/ML. |
|
1238 |
||
1239 |
* System option "system_heaps" determines where to store the session |
|
69854
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
69829
diff
changeset
|
1240 |
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:
69829
diff
changeset
|
1241 |
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:
69829
diff
changeset
|
1242 |
INCOMPATIBILITY in command-line syntax. |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
69829
diff
changeset
|
1243 |
|
70023 | 1244 |
* Session directory $ISABELLE_HOME/src/Tools/Haskell provides some |
1245 |
source modules for Isabelle tools implemented in Haskell, notably for |
|
1246 |
Isabelle/PIDE. |
|
1247 |
||
1248 |
* The command-line tool "isabelle build -e" retrieves theory exports |
|
1249 |
from the session build database, using 'export_files' in session ROOT |
|
1250 |
entries. |
|
1251 |
||
69585 | 1252 |
* The command-line tool "isabelle update" uses Isabelle/PIDE in |
1253 |
batch-mode to update theory sources based on semantic markup produced in |
|
69609 | 1254 |
Isabelle/ML. Actual updates depend on system options that may be enabled |
69588 | 1255 |
via "-u OPT" (for "update_OPT"), see also $ISABELLE_HOME/etc/options |
1256 |
section "Theory update". Theory sessions are specified as in "isabelle |
|
69585 | 1257 |
dump". |
1258 |
||
69592
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69588
diff
changeset
|
1259 |
* The command-line tool "isabelle update -u control_cartouches" changes |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69588
diff
changeset
|
1260 |
antiquotations into control-symbol format (where possible): @{NAME} |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69588
diff
changeset
|
1261 |
becomes \<^NAME> and @{NAME ARG} becomes \<^NAME>\<open>ARG\<close>. |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69588
diff
changeset
|
1262 |
|
69277
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
1263 |
* Support for Isabelle command-line tools defined in Isabelle/Scala. |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
1264 |
Instances of class Isabelle_Scala_Tools may be configured via the shell |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
1265 |
function "isabelle_scala_tools" in etc/settings (e.g. of an Isabelle |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
1266 |
component). |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69273
diff
changeset
|
1267 |
|
70023 | 1268 |
* Isabelle Server command "use_theories" supports "nodes_status_delay" |
69044 | 1269 |
for continuous output of node status information. The time interval is |
1270 |
specified in seconds; a negative value means it is disabled (default). |
|
1271 |
||
1272 |
* 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
|
1273 |
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
|
1274 |
is no longer required. |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
1275 |
|
69926
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1276 |
* OCaml tools and libraries are now accesed via ISABELLE_OCAMLFIND, |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1277 |
which needs to point to a suitable version of "ocamlfind" (e.g. via |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1278 |
OPAM, see below). INCOMPATIBILITY: settings variables ISABELLE_OCAML and |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1279 |
ISABELLE_OCAMLC are no longer supported. |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1280 |
|
69268
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:
69230
diff
changeset
|
1281 |
* 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:
69230
diff
changeset
|
1282 |
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:
69230
diff
changeset
|
1283 |
|
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:
69230
diff
changeset
|
1284 |
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:
69230
diff
changeset
|
1285 |
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:
69230
diff
changeset
|
1286 |
|
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:
69230
diff
changeset
|
1287 |
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:
69230
diff
changeset
|
1288 |
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:
69230
diff
changeset
|
1289 |
|
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:
69230
diff
changeset
|
1290 |
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:
69230
diff
changeset
|
1291 |
(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:
69230
diff
changeset
|
1292 |
|
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:
69230
diff
changeset
|
1293 |
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:
69230
diff
changeset
|
1294 |
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:
69230
diff
changeset
|
1295 |
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:
69230
diff
changeset
|
1296 |
|
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:
69230
diff
changeset
|
1297 |
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:
69230
diff
changeset
|
1298 |
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:
69230
diff
changeset
|
1299 |
|
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:
69230
diff
changeset
|
1300 |
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:
69230
diff
changeset
|
1301 |
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:
69230
diff
changeset
|
1302 |
|
69269 | 1303 |
ISABELLE_GHC |
1304 |
||
69926
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1305 |
ISABELLE_OCAMLFIND |
69268
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:
69230
diff
changeset
|
1306 |
|
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:
69230
diff
changeset
|
1307 |
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:
69230
diff
changeset
|
1308 |
be recovered by purging the directories ISABELLE_STACK_ROOT / |
69926
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1309 |
ISABELLE_OPAM_ROOT, or by resetting these variables in |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
69914
diff
changeset
|
1310 |
$ISABELLE_HOME_USER/etc/settings. |
69189 | 1311 |
|
69822
8c587dd44f51
updated to polyml-5.8-20190220 (pre-release of Poly/ML 5.8);
wenzelm
parents:
69811
diff
changeset
|
1312 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
1313 |
|
68391 | 1314 |
New in Isabelle2018 (August 2018) |
1315 |
--------------------------------- |
|
66651 | 1316 |
|
66712 | 1317 |
*** General *** |
1318 |
||
68393 | 1319 |
* Session-qualified theory names are mandatory: it is no longer possible |
1320 |
to refer to unqualified theories from the parent session. |
|
1321 |
INCOMPATIBILITY for old developments that have not been updated to |
|
1322 |
Isabelle2017 yet (using the "isabelle imports" tool). |
|
1323 |
||
1324 |
* Only the most fundamental theory names are global, usually the entry |
|
1325 |
points to major logic sessions: Pure, Main, Complex_Main, HOLCF, IFOL, |
|
1326 |
FOL, ZF, ZFC etc. INCOMPATIBILITY, need to use qualified names for |
|
1327 |
formerly global "HOL-Probability.Probability" and "HOL-SPARK.SPARK". |
|
1328 |
||
68558
7aae213d9e69
discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents:
68548
diff
changeset
|
1329 |
* 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
|
1330 |
Rare INCOMPATIBILITY. |
68540 | 1331 |
|
68661 | 1332 |
* Facts stemming from locale interpretation are subject to lazy |
1333 |
evaluation for improved performance. Rare INCOMPATIBILITY: errors |
|
1334 |
stemming from interpretation morphisms might be deferred and thus |
|
1335 |
difficult to locate; enable system option "strict_facts" temporarily to |
|
1336 |
avoid this. |
|
1337 |
||
67446 | 1338 |
* Marginal comments need to be written exclusively in the new-style form |
1339 |
"\<comment> \<open>text\<close>", old ASCII variants like "-- {* ... *}" are no longer |
|
1340 |
supported. INCOMPATIBILITY, use the command-line tool "isabelle |
|
1341 |
update_comments" to update existing theory files. |
|
1342 |
||
67507 | 1343 |
* Old-style inner comments (* ... *) within the term language are legacy |
1344 |
and will be discontinued soon: use formal comments "\<comment> \<open>...\<close>" or "\<^cancel>\<open>...\<close>" |
|
1345 |
instead. |
|
1346 |
||
67402 | 1347 |
* The "op <infix-op>" syntax for infix operators has been replaced by |
67400 | 1348 |
"(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to |
1349 |
be a space between the "*" and the corresponding parenthesis. |
|
68543 | 1350 |
INCOMPATIBILITY, use the command-line tool "isabelle update_op" to |
1351 |
convert theory and ML files to the new syntax. Because it is based on |
|
1352 |
regular expression matching, the result may need a bit of manual |
|
1353 |
postprocessing. Invoking "isabelle update_op" converts all files in the |
|
1354 |
current directory (recursively). In case you want to exclude conversion |
|
1355 |
of ML files (because the tool frequently also converts ML's "op" |
|
1356 |
syntax), use option "-m". |
|
67398 | 1357 |
|
67013
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
1358 |
* 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
|
1359 |
INCOMPATIBILITY. |
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
1360 |
|
66757 | 1361 |
* Command 'external_file' declares the formal dependency on the given |
1362 |
file name, such that the Isabelle build process knows about it, but |
|
1363 |
without specific Prover IDE management. |
|
1364 |
||
66759 | 1365 |
* Session ROOT entries no longer allow specification of 'files'. Rare |
1366 |
INCOMPATIBILITY, use command 'external_file' within a proper theory |
|
1367 |
context. |
|
1368 |
||
66764
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
1369 |
* 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
|
1370 |
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
|
1371 |
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
|
1372 |
-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
|
1373 |
|
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
1374 |
isabelle build -D '~~/src/ZF' |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
1375 |
|
67263 | 1376 |
* The command 'display_drafts' has been discontinued. INCOMPATIBILITY, |
1377 |
use action "isabelle.draft" (or "print") in Isabelle/jEdit instead. |
|
1378 |
||
68393 | 1379 |
* In HTML output, the Isabelle symbol "\<hyphen>" is rendered as explicit |
1380 |
Unicode hyphen U+2010, to avoid unclear meaning of the old "soft hyphen" |
|
1381 |
U+00AD. Rare INCOMPATIBILITY, e.g. copy-paste of historic Isabelle HTML |
|
1382 |
output. |
|
67305
ecb74607063f
more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents:
67304
diff
changeset
|
1383 |
|
66712 | 1384 |
|
67261 | 1385 |
*** Isabelle/jEdit Prover IDE *** |
66768 | 1386 |
|
68393 | 1387 |
* The command-line tool "isabelle jedit" provides more flexible options |
1388 |
for session management: |
|
1389 |
||
68472 | 1390 |
- option -R builds an auxiliary logic image with all theories from |
1391 |
other sessions that are not already present in its parent |
|
68393 | 1392 |
|
1393 |
- option -S is like -R, with a focus on the selected session and its |
|
1394 |
descendants (this reduces startup time for big projects like AFP) |
|