author | wenzelm |
Fri, 05 Apr 2019 22:58:29 +0200 | |
changeset 70251 | 381035c03220 |
parent 70250 | 1eed61c3a5e5 |
child 70254 | 54dc58086351 |
permissions | -rw-r--r-- |
57491 | 1 |
Isabelle NEWS -- history of user-relevant changes |
2 |
================================================= |
|
2553 | 3 |
|
62114
a7cf464933f7
generate HTML version of NEWS, with proper symbol rendering;
wenzelm
parents:
62111
diff
changeset
|
4 |
(Note: Isabelle/jEdit shows a tree-view of the NEWS file in Sidekick.) |
60007 | 5 |
|
64603 | 6 |
|
70205 | 7 |
New in Isabelle2019 (June 2019) |
8 |
------------------------------- |
|
68683 | 9 |
|
69042 | 10 |
*** General *** |
11 |
||
70214 | 12 |
* The font collection "Isabelle DejaVu" is systematically derived from |
13 |
the existing "DejaVu" fonts, with variants "Sans Mono", "Sans", "Serif" |
|
69353
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
14 |
and styles "Normal", "Bold", "Italic/Oblique", "Bold-Italic/Oblique". |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
15 |
The DejaVu base fonts are retricted to well-defined Unicode ranges and |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
16 |
augmented by special Isabelle symbols, taken from the former |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
17 |
"IsabelleText" font (which is no longer provided separately). The line |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
18 |
metrics and overall rendering quality is closer to original DejaVu. |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
19 |
INCOMPATIBILITY with display configuration expecting the old |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
20 |
"IsabelleText" font: use e.g. "Isabelle DejaVu Sans Mono" instead. |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
21 |
|
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
22 |
* The Isabelle fonts render "\<inverse>" properly as superscript "-1". |
395c4fb15ea2
use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents:
69324
diff
changeset
|
23 |
|
69042 | 24 |
* Old-style inner comments (* ... *) within the term language are no |
25 |
longer supported (legacy feature in Isabelle2018). |
|
26 |
||
70205 | 27 |
* Old-style {* verbatim *} tokens are explicitly marked as legacy |
28 |
feature and will be removed soon. Use \<open>cartouche\<close> syntax instead, e.g. |
|
29 |
via "isabelle update_cartouches -t" (available since Isabelle2015). |
|
30 |
||
69066 | 31 |
* Infix operators that begin or end with a "*" can now be paranthesized |
70205 | 32 |
without additional spaces, eg "(*)" instead of "( * )". Minor |
33 |
INCOMPATIBILITY. |
|
69066 | 34 |
|
69592 | 35 |
* Mixfix annotations may use cartouches instead of old-style double |
69598
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69597
diff
changeset
|
36 |
quotes, e.g. (infixl \<open>+\<close> 60). The command-line tool "isabelle update -u |
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69597
diff
changeset
|
37 |
mixfix_cartouches" allows to update existing theory sources |
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
wenzelm
parents:
69597
diff
changeset
|
38 |
automatically. |
69592 | 39 |
|
69221
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
40 |
* ML setup commands (e.g. 'setup', 'method_setup', 'parse_translation') |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
41 |
need to provide a closed expression -- without trailing semicolon. Minor |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
42 |
INCOMPATIBILITY. |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69218
diff
changeset
|
43 |
|
70239 | 44 |
* Commands 'generate_file', 'export_generated_files', and |
45 |
'compile_generated_files' support a stateless (PIDE-conformant) model |
|
46 |
for generated sources and compiled binaries of other languages. The |
|
70242 | 47 |
compilation process is managed in Isabelle/ML, and results exported to |
70239 | 48 |
the session database for further use (e.g. with "isabelle export" or |
49 |
"isabelle build -e"). |
|
50 |
||
69042 | 51 |
|
69190 | 52 |
*** Isabelle/jEdit Prover IDE *** |
53 |
||
70205 | 54 |
* Fonts for the text area, gutter, GUI elements etc. use the "Isabelle |
55 |
DejaVu" collection by default, which provides uniform rendering quality |
|
56 |
with the usual Isabelle symbols. Line spacing no longer needs to be |
|
57 |
adjusted: properties for the old IsabelleText font had "Global Options / |
|
70251 | 58 |
Text Area / Extra vertical line spacing (in pixels): -2", it now |
59 |
defaults to 1, but 0 works as well. |
|
70205 | 60 |
|
69796 | 61 |
* The jEdit File Browser is more prominent in the default GUI layout of |
62 |
Isabelle/jEdit: various virtual file-systems provide access to Isabelle |
|
63 |
resources, notably via "favorites:" (or "Edit Favorites"). |
|
64 |
||
70243 | 65 |
* Further markup and rendering for "plain text" (e.g. informal prose) |
66 |
and "raw text" (e.g. verbatim sources). This improves the visual |
|
67 |
appearance of formal comments inside the term language, or in general |
|
68 |
for repeated alternation of formal and informal text. |
|
69 |
||
69656 | 70 |
* Action "isabelle-export-browser" points the File Browser to the theory |
69780 | 71 |
exports of the current buffer, based on the "isabelle-export:" virtual |
72 |
file-system. The directory view needs to be reloaded manually to follow |
|
73 |
ongoing document processing. |
|
74 |
||
75 |
* Action "isabelle-session-browser" points the File Browser to session |
|
76 |
information, based on the "isabelle-session:" virtual file-system. Its |
|
77 |
entries are structured according to chapter / session names, the open |
|
78 |
operation is redirected to the session ROOT file. |
|
69656 | 79 |
|
69278 | 80 |
* Support for user-defined file-formats via class isabelle.File_Format |
69282
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
81 |
in Isabelle/Scala (e.g. see isabelle.Bibtex.File_Format), configured via |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
82 |
the shell function "isabelle_file_format" in etc/settings (e.g. of an |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
83 |
Isabelle component). |
69278 | 84 |
|
70205 | 85 |
* System option "jedit_text_overview" allows to disable the text |
86 |
overview column. |
|
87 |
||
70035
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
88 |
* Command-line options "-s" and "-u" of "isabelle jedit" override the |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
89 |
default for system option "system_heaps" that determines the heap |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
90 |
storage directory for "isabelle build". Option "-n" is now clearly |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
91 |
separated from option "-s". |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
92 |
|
70213 | 93 |
* OpenJDK 11 has quite different font rendering, with better glyph |
94 |
shapes and improved sub-pixel anti-aliasing. In some situations results |
|
70250 | 95 |
might be *worse* than Oracle Java 8, though. A decent HiDPI display is |
96 |
recommended. |
|
70205 | 97 |
|
69190 | 98 |
|
70144
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
99 |
*** Document preparation *** |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
100 |
|
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
101 |
* Document markers are formal comments of the form \<^marker>\<open>marker_body\<close> that |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
102 |
are stripped from document output: the effect is to modify the semantic |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
103 |
presentation context or to emit markup to the PIDE document. Some |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
104 |
predefined markers are taken from the Dublin Core Metadata Initiative, |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
105 |
e.g. \<^marker>\<open>contributor arg\<close> or \<^marker>\<open>license arg\<close> and produce PIDE markup that |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
106 |
can retrieved from the document database. |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
107 |
|
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
108 |
* Old-style command tags %name are re-interpreted as markers \<^marker>\<open>tag name\<close> |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
109 |
and produce LaTeX environments as before. Potential INCOMPATIBILITY: |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
110 |
multiple markers are composed in canonical order, resulting in a |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
111 |
reversed list of tags in the presentation context. |
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
112 |
|
82e945d472d5
documentation of document markers and re-interpreted command tags;
wenzelm
parents:
70142
diff
changeset
|
113 |
|
68879 | 114 |
*** Isar *** |
115 |
||
69045 | 116 |
* Implicit cases goal1, goal2, goal3, etc. have been discontinued |
117 |
(legacy feature since Isabelle2016). |
|
118 |
||
70205 | 119 |
* More robust treatment of structural errors: begin/end blocks take |
120 |
precedence over goal/proof. This is particularly relevant for the |
|
121 |
headless PIDE session and server. |
|
122 |
||
123 |
* Command keywords of kind thy_decl / thy_goal may be more specifically |
|
124 |
fit into the traditional document model of "definition-statement-proof" |
|
125 |
via thy_defn / thy_stmt / thy_goal_defn / thy_goal_stmt. |
|
126 |
||
69045 | 127 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
128 |
*** HOL *** |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
129 |
|
70191
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
130 |
* Command 'export_code' produces output as logical files within the |
70193 | 131 |
theory context, as well as formal session exports that can be |
132 |
materialized via command-line tools "isabelle export" or "isabelle build |
|
133 |
-e" (with 'export_files' in the session ROOT). Isabelle/jEdit also |
|
134 |
provides a virtual file-system "isabelle-export:" that can be explored |
|
135 |
in the regular file-browser. A 'file_prefix' argument allows to specify |
|
136 |
an explicit name prefix for the target file (SML, OCaml, Scala) or |
|
137 |
directory (Haskell); the default is "export" with a consecutive number |
|
138 |
within each theory. |
|
70191
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
139 |
|
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
140 |
* Command 'export_code': the 'file' argument is now legacy and will be |
435fb018e8ee
"export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents:
70144
diff
changeset
|
141 |
removed soon: writing to the physical file-system is not well-defined in |
70193 | 142 |
a reactive/parallel application like Isabelle. The empty 'file' argument |
143 |
has been discontinued already: it is superseded by the file-browser in |
|
144 |
Isabelle/jEdit on "isabelle-export:". Minor INCOMPATIBILITY. |
|
69637 | 145 |
|
70204
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
146 |
* Command 'code_reflect' no longer supports the 'file' argument: it has |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
147 |
been superseded by 'file_prefix' for stateless file management as in |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
148 |
'export_code'. Minor INCOMPATIBILITY. |
49e178cbf923
'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents:
70193
diff
changeset
|
149 |
|
69759 | 150 |
* Code generation for OCaml: proper strings are used for literals. |
151 |
Minor INCOMPATIBILITY. |
|
152 |
||
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
153 |
* Code generation for OCaml: Zarith supersedes Nums as library for |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
154 |
proper integer arithmetic. The library is located via standard |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
155 |
invocations of "ocamlfind" (via ISABELLE_OCAMLFIND settings variable). |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
156 |
The environment provided by "isabelle ocaml_setup" already contains this |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
157 |
tool and the required packages. Minor INCOMPATIBILITY. |
70087
55534affe445
migrated from Nums to Zarith as library for OCaml integer arithmetic
haftmann
parents:
70084
diff
changeset
|
158 |
|
69705 | 159 |
* Code generation for Haskell: code includes for Haskell must contain |
160 |
proper module frame, nothing is added magically any longer. |
|
161 |
INCOMPATIBILITY. |
|
162 |
||
70205 | 163 |
* Code generation: slightly more conventional syntax for 'code_stmts' |
164 |
antiquotation. Minor INCOMPATIBILITY. |
|
165 |
||
166 |
* Theory List: the precedence of the list_update operator has changed: |
|
167 |
"f a [n := x]" now needs to be written "(f a)[n := x]". |
|
168 |
||
169 |
* The functions \<Union>, \<Inter>, \<Squnion>, \<Sqinter> (not the corresponding binding operators) |
|
170 |
now have the same precedence as any other prefix function symbol. Minor |
|
171 |
INCOMPATIBILITY. |
|
70042
62e47f06d22c
avoid context-sensitive simp rules whose context-free form (image_comp) is not simp by default
haftmann
parents:
70035
diff
changeset
|
172 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
173 |
* 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
|
174 |
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
|
175 |
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
|
176 |
SUPREMUM, UNION, INTER should now rarely occur in output and are just |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
177 |
retained as migration auxiliary. INCOMPATIBILITY. |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
178 |
|
70205 | 179 |
* The simplifier uses image_cong_simp as a congruence rule. The historic |
180 |
and not really well-formed congruence rules INF_cong*, SUP_cong*, are |
|
181 |
not used by default any longer. INCOMPATIBILITY; consider using declare |
|
182 |
image_cong_simp [cong del] in extreme situations. |
|
183 |
||
184 |
* INF_image and SUP_image are no default simp rules any longer. |
|
185 |
INCOMPATIBILITY, prefer image_comp as simp rule if needed. |
|
68938 | 186 |
|
69164 | 187 |
* Strong congruence rules (with =simp=> in the premises) for constant f |
69558
27dae626822b
prefer naming convention from datatype package for strong congruence rules
haftmann
parents:
69518
diff
changeset
|
188 |
are now uniformly called f_cong_simp, in accordance with congruence |
27dae626822b
prefer naming convention from datatype package for strong congruence rules
haftmann
parents:
69518
diff
changeset
|
189 |
rules produced for mappers by the datatype package. INCOMPATIBILITY. |
69164 | 190 |
|
70205 | 191 |
* Retired lemma card_Union_image; use the simpler card_UN_disjoint |
192 |
instead. INCOMPATIBILITY. |
|
193 |
||
194 |
* Facts sum_mset.commute and prod_mset.commute have been renamed to |
|
195 |
sum_mset.swap and prod_mset.swap, similarly to sum.swap and prod.swap. |
|
196 |
INCOMPATIBILITY. |
|
197 |
||
198 |
* ML structure Inductive: slightly more conventional naming schema. |
|
199 |
Minor INCOMPATIBILITY. |
|
200 |
||
201 |
* ML: Various _global variants of specification tools have been removed. |
|
202 |
Minor INCOMPATIBILITY, prefer combinators |
|
203 |
Named_Target.theory_map[_result] to lift specifications to the global |
|
204 |
theory level. |
|
205 |
||
206 |
* Theory HOL-Library.Simps_Case_Conv: 'case_of_simps' now supports |
|
207 |
overlapping and non-exhaustive patterns and handles arbitrarily nested |
|
208 |
patterns. It uses on the same algorithm as HOL-Library.Code_Lazy, which |
|
209 |
assumes sequential left-to-right pattern matching. The generated |
|
69569
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69518
diff
changeset
|
210 |
equation no longer tuples the arguments on the right-hand side. |
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69518
diff
changeset
|
211 |
INCOMPATIBILITY. |
de09a7261120
new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents:
69518
diff
changeset
|
212 |
|
70205 | 213 |
* Theory HOL-Library.Multiset: the <Union># operator now has the same |
214 |
precedence as any other prefix function symbol. |
|
215 |
||
216 |
* Session HOL-Library and HOL-Number_Theory: Exponentiation by squaring, |
|
217 |
used for computing powers in class "monoid_mult" and modular |
|
218 |
exponentiation. |
|
219 |
||
220 |
* Session HOL-Computational_Algebra: Formal Laurent series and overhaul |
|
221 |
of Formal power series. |
|
222 |
||
223 |
* Session HOL-Number_Theory: More material on residue rings in |
|
224 |
Carmichael's function, primitive roots, more properties for "ord". |
|
225 |
||
70214 | 226 |
* Session HOL-Analysis: More material and better organization. |
227 |
||
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69095
diff
changeset
|
228 |
* Session HOL-SPARK: .prv files are no longer written to the |
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69095
diff
changeset
|
229 |
file-system, but exported to the session database. Results may be |
70208 | 230 |
retrieved via "isabelle build -e HOL-SPARK-Examples" on the |
231 |
command-line. |
|
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69095
diff
changeset
|
232 |
|
70205 | 233 |
* Sledgehammer: |
234 |
- The URL for SystemOnTPTP, which is used by remote provers, has been |
|
235 |
updated. |
|
236 |
- The machine-learning-based filter MaSh has been optimized to take |
|
237 |
less time (in most cases). |
|
238 |
||
239 |
* SMT: reconstruction is now possible using the SMT solver veriT. |
|
240 |
||
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
241 |
|
68804 | 242 |
*** ML *** |
243 |
||
70205 | 244 |
* Command 'generate_file' allows to produce sources for other languages, |
245 |
with antiquotations in the Isabelle context (only the control-cartouche |
|
246 |
form). The default "cartouche" antiquotation evaluates an ML expression |
|
247 |
of type string and inlines the result as a string literal of the target |
|
248 |
language. For example, this works for Haskell as follows: |
|
249 |
||
250 |
generate_file "Pure.hs" = \<open> |
|
251 |
module Isabelle.Pure where |
|
252 |
allConst, impConst, eqConst :: String |
|
253 |
allConst = \<open>\<^const_name>\<open>Pure.all\<close>\<close> |
|
254 |
impConst = \<open>\<^const_name>\<open>Pure.imp\<close>\<close> |
|
255 |
eqConst = \<open>\<^const_name>\<open>Pure.eq\<close>\<close> |
|
256 |
\<close> |
|
257 |
||
258 |
The ML function Generate_File.generate writes all generated files from a |
|
259 |
given theory to the file-system, e.g. a temporary directory where some |
|
260 |
external compiler is applied. |
|
68804 | 261 |
|
68824 | 262 |
* ML evaluation (notably via commands 'ML' and 'ML_file') is subject to |
263 |
option ML_environment to select a named environment, such as "Isabelle" |
|
264 |
for Isabelle/ML, or "SML" for official Standard ML. It is also possible |
|
265 |
to move toplevel bindings between environments, using a notation with |
|
266 |
">" as separator. For example: |
|
267 |
||
268 |
declare [[ML_environment = "Isabelle>SML"]] |
|
269 |
ML \<open>val println = writeln\<close> |
|
270 |
||
271 |
declare [[ML_environment = "SML"]] |
|
272 |
ML \<open>println "test"\<close> |
|
273 |
||
274 |
declare [[ML_environment = "Isabelle"]] |
|
275 |
ML \<open>println\<close> \<comment> \<open>not present\<close> |
|
276 |
||
277 |
The Isabelle/ML function ML_Env.setup defines new ML environments. This |
|
278 |
is useful to incorporate big SML projects in an isolated name space, and |
|
279 |
potentially with variations on ML syntax (existing ML_Env.SML_operations |
|
280 |
observes the official standard). |
|
68804 | 281 |
|
69391
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
282 |
* ML antiquotation @{master_dir} refers to the master directory of the |
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
283 |
underlying theory, i.e. the directory of the theory file. |
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
284 |
|
69481 | 285 |
* ML antiquotation @{verbatim} inlines its argument as string literal, |
286 |
preserving newlines literally. The short form \<^verbatim>\<open>abc\<close> is particularly |
|
287 |
useful. |
|
288 |
||
70205 | 289 |
* Local_Theory.reset is no longer available in user space. Regular |
290 |
definitional packages should use balanced blocks of |
|
291 |
Local_Theory.open_target versus Local_Theory.close_target instead, or |
|
292 |
the Local_Theory.subtarget(_result) combinator. Rare INCOMPATIBILITY. |
|
293 |
||
294 |
* Original PolyML.pointerEq is retained as a convenience for tools that |
|
295 |
don't use Isabelle/ML (where this is called "pointer_eq"). |
|
69391
4c9b4e2c5460
more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents:
69387
diff
changeset
|
296 |
|
69287 | 297 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
298 |
*** System *** |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
299 |
|
70213 | 300 |
* Update to OpenJDK 11: the current long-term support version of Java. |
70205 | 301 |
|
302 |
* Update to Poly/ML 5.8 allows to use the native x86_64 platform without |
|
303 |
the full overhead of 64-bit values everywhere. This special x86_64_32 |
|
304 |
mode provides up to 16GB ML heap, while program code and stacks are |
|
305 |
allocated elsewhere. Thus approx. 5 times more memory is available for |
|
306 |
applications compared to old x86 mode (which is no longer used by |
|
307 |
Isabelle). The switch to the x86_64 CPU architecture also avoids |
|
308 |
compatibility problems with Linux and macOS, where 32-bit applications |
|
309 |
are gradually phased out. |
|
310 |
||
311 |
* System option "checkpoint" has been discontinued: obsolete thanks to |
|
312 |
improved memory management in Poly/ML. |
|
313 |
||
314 |
* System option "system_heaps" determines where to store the session |
|
70035
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
315 |
image of "isabelle build" (and other tools using that internally). |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
316 |
Former option "-s" is superseded by option "-o system_heaps". |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
317 |
INCOMPATIBILITY in command-line syntax. |
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents:
70010
diff
changeset
|
318 |
|
70205 | 319 |
* Session directory $ISABELLE_HOME/src/Tools/Haskell provides some |
320 |
source modules for Isabelle tools implemented in Haskell, notably for |
|
321 |
Isabelle/PIDE. |
|
322 |
||
323 |
* The command-line tool "isabelle build -e" retrieves theory exports |
|
324 |
from the session build database, using 'export_files' in session ROOT |
|
325 |
entries. |
|
326 |
||
69597 | 327 |
* The command-line tool "isabelle update" uses Isabelle/PIDE in |
328 |
batch-mode to update theory sources based on semantic markup produced in |
|
69622 | 329 |
Isabelle/ML. Actual updates depend on system options that may be enabled |
69600 | 330 |
via "-u OPT" (for "update_OPT"), see also $ISABELLE_HOME/etc/options |
331 |
section "Theory update". Theory sessions are specified as in "isabelle |
|
69597 | 332 |
dump". |
333 |
||
69604
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
334 |
* The command-line tool "isabelle update -u control_cartouches" changes |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
335 |
antiquotations into control-symbol format (where possible): @{NAME} |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
336 |
becomes \<^NAME> and @{NAME ARG} becomes \<^NAME>\<open>ARG\<close>. |
a80d8ec6c998
support for isabelle update -u control_cartouches;
wenzelm
parents:
69600
diff
changeset
|
337 |
|
69282
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
338 |
* Support for Isabelle command-line tools defined in Isabelle/Scala. |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
339 |
Instances of class Isabelle_Scala_Tools may be configured via the shell |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
340 |
function "isabelle_scala_tools" in etc/settings (e.g. of an Isabelle |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
341 |
component). |
258bef08b31e
support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents:
69278
diff
changeset
|
342 |
|
70205 | 343 |
* Isabelle Server command "use_theories" supports "nodes_status_delay" |
69044 | 344 |
for continuous output of node status information. The time interval is |
345 |
specified in seconds; a negative value means it is disabled (default). |
|
346 |
||
347 |
* 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
|
348 |
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
|
349 |
is no longer required. |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
350 |
|
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
351 |
* OCaml tools and libraries are now accesed via ISABELLE_OCAMLFIND, |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
352 |
which needs to point to a suitable version of "ocamlfind" (e.g. via |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
353 |
OPAM, see below). INCOMPATIBILITY: settings variables ISABELLE_OCAML and |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
354 |
ISABELLE_OCAMLC are no longer supported. |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
355 |
|
69273
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
356 |
* Support for managed installations of Glasgow Haskell Compiler and |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
357 |
OCaml via the following command-line tools: |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
358 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
359 |
isabelle ghc_setup |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
360 |
isabelle ghc_stack |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
361 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
362 |
isabelle ocaml_setup |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
363 |
isabelle ocaml_opam |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
364 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
365 |
The global installation state is determined by the following settings |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
366 |
(and corresponding directory contents): |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
367 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
368 |
ISABELLE_STACK_ROOT |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
369 |
ISABELLE_STACK_RESOLVER |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
370 |
ISABELLE_GHC_VERSION |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
371 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
372 |
ISABELLE_OPAM_ROOT |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
373 |
ISABELLE_OCAML_VERSION |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
374 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
375 |
After setup, the following Isabelle settings are automatically |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
376 |
redirected (overriding existing user settings): |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
377 |
|
69274 | 378 |
ISABELLE_GHC |
379 |
||
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
380 |
ISABELLE_OCAMLFIND |
69273
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
381 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
382 |
The old meaning of these settings as locally installed executables may |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69235
diff
changeset
|
383 |
be recovered by purging the directories ISABELLE_STACK_ROOT / |
70108
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
384 |
ISABELLE_OPAM_ROOT, or by resetting these variables in |
110fff287217
access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents:
70096
diff
changeset
|
385 |
$ISABELLE_HOME_USER/etc/settings. |
69190 | 386 |
|
70002
8c587dd44f51
updated to polyml-5.8-20190220 (pre-release of Poly/ML 5.8);
wenzelm
parents:
69990
diff
changeset
|
387 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
388 |
|
68392 | 389 |
New in Isabelle2018 (August 2018) |
390 |
--------------------------------- |
|
66653 | 391 |
|
66712 | 392 |
*** General *** |
393 |
||
68394 | 394 |
* Session-qualified theory names are mandatory: it is no longer possible |
395 |
to refer to unqualified theories from the parent session. |
|
396 |
INCOMPATIBILITY for old developments that have not been updated to |
|
397 |
Isabelle2017 yet (using the "isabelle imports" tool). |
|
398 |
||
399 |
* Only the most fundamental theory names are global, usually the entry |
|
400 |
points to major logic sessions: Pure, Main, Complex_Main, HOLCF, IFOL, |
|
401 |
FOL, ZF, ZFC etc. INCOMPATIBILITY, need to use qualified names for |
|
402 |
formerly global "HOL-Probability.Probability" and "HOL-SPARK.SPARK". |
|
403 |
||
68559
7aae213d9e69
discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents:
68548
diff
changeset
|
404 |
* 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
|
405 |
Rare INCOMPATIBILITY. |
68540 | 406 |
|
68665 | 407 |
* Facts stemming from locale interpretation are subject to lazy |
408 |
evaluation for improved performance. Rare INCOMPATIBILITY: errors |
|
409 |
stemming from interpretation morphisms might be deferred and thus |
|
410 |
difficult to locate; enable system option "strict_facts" temporarily to |
|
411 |
avoid this. |
|
412 |
||
67446 | 413 |
* Marginal comments need to be written exclusively in the new-style form |
414 |
"\<comment> \<open>text\<close>", old ASCII variants like "-- {* ... *}" are no longer |
|
415 |
supported. INCOMPATIBILITY, use the command-line tool "isabelle |
|
416 |
update_comments" to update existing theory files. |
|
417 |
||
67507 | 418 |
* Old-style inner comments (* ... *) within the term language are legacy |
419 |
and will be discontinued soon: use formal comments "\<comment> \<open>...\<close>" or "\<^cancel>\<open>...\<close>" |
|
420 |
instead. |
|
421 |
||
67402 | 422 |
* The "op <infix-op>" syntax for infix operators has been replaced by |
67400 | 423 |
"(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to |
424 |
be a space between the "*" and the corresponding parenthesis. |
|
68543 | 425 |
INCOMPATIBILITY, use the command-line tool "isabelle update_op" to |
426 |
convert theory and ML files to the new syntax. Because it is based on |
|
427 |
regular expression matching, the result may need a bit of manual |
|
428 |
postprocessing. Invoking "isabelle update_op" converts all files in the |
|
429 |
current directory (recursively). In case you want to exclude conversion |
|
430 |
of ML files (because the tool frequently also converts ML's "op" |
|
431 |
syntax), use option "-m". |
|
67398 | 432 |
|
67013
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
433 |
* 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
|
434 |
INCOMPATIBILITY. |
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
435 |
|
66757 | 436 |
* Command 'external_file' declares the formal dependency on the given |
437 |
file name, such that the Isabelle build process knows about it, but |
|
438 |
without specific Prover IDE management. |
|
439 |
||
66759 | 440 |
* Session ROOT entries no longer allow specification of 'files'. Rare |
441 |
INCOMPATIBILITY, use command 'external_file' within a proper theory |
|
442 |
context. |
|
443 |
||
66764
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
444 |
* 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
|
445 |
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
|
446 |
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
|
447 |
-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
|
448 |
|
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
449 |
isabelle build -D '~~/src/ZF' |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
450 |
|
67264 | 451 |
* The command 'display_drafts' has been discontinued. INCOMPATIBILITY, |
452 |
use action "isabelle.draft" (or "print") in Isabelle/jEdit instead. |
|
453 |
||
68394 | 454 |
* In HTML output, the Isabelle symbol "\<hyphen>" is rendered as explicit |
455 |
Unicode hyphen U+2010, to avoid unclear meaning of the old "soft hyphen" |
|
456 |
U+00AD. Rare INCOMPATIBILITY, e.g. copy-paste of historic Isabelle HTML |
|
457 |
output. |
|
67305
ecb74607063f
more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents:
67304
diff
changeset
|
458 |
|
66712 | 459 |
|
67262 | 460 |
*** Isabelle/jEdit Prover IDE *** |
66768 | 461 |
|
68394 | 462 |
* The command-line tool "isabelle jedit" provides more flexible options |
463 |
for session management: |
|
464 |
||
68472 | 465 |
- option -R builds an auxiliary logic image with all theories from |
466 |
other sessions that are not already present in its parent |
|
68394 | 467 |
|
468 |
- option -S is like -R, with a focus on the selected session and its |
|
469 |
descendants (this reduces startup time for big projects like AFP) |
|
470 |
||
68472 | 471 |
- option -A specifies an alternative ancestor session for options -R |
472 |
and -S |
|
473 |
||
68541 | 474 |
- option -i includes additional sessions into the name-space of |
475 |
theories |
|
476 |
||
68394 | 477 |
Examples: |
478 |
isabelle jedit -R HOL-Number_Theory |
|
479 |
isabelle jedit -R HOL-Number_Theory -A HOL |
|
480 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL |
|
481 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis |
|
68541 | 482 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis -i CryptHOL |
68394 | 483 |
|
484 |
* PIDE markup for session ROOT files: allows to complete session names, |
|
485 |
follow links to theories and document files etc. |
|
486 |
||
487 |
* Completion supports theory header imports, using theory base name. |
|
488 |
E.g. "Prob" may be completed to "HOL-Probability.Probability". |
|
489 |
||
490 |
* Named control symbols (without special Unicode rendering) are shown as |
|
491 |
bold-italic keyword. This is particularly useful for the short form of |
|
492 |
antiquotations with control symbol: \<^name>\<open>argument\<close>. The action |
|
493 |
"isabelle.antiquoted_cartouche" turns an antiquotation with 0 or 1 |
|
494 |
arguments into this format. |
|
495 |
||
496 |
* Completion provides templates for named symbols with arguments, |
|
497 |
e.g. "\<comment> \<open>ARGUMENT\<close>" or "\<^emph>\<open>ARGUMENT\<close>". |
|
498 |
||
68369 | 499 |
* Slightly more parallel checking, notably for high priority print |
500 |
functions (e.g. State output). |
|
501 |
||
68080 | 502 |
* The view title is set dynamically, according to the Isabelle |
503 |
distribution and the logic session name. The user can override this via |
|
504 |
set-view-title (stored persistently in $JEDIT_SETTINGS/perspective.xml). |
|
505 |
||
67395
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
506 |
* System options "spell_checker_include" and "spell_checker_exclude" |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
507 |
supersede former "spell_checker_elements" to determine regions of text |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
508 |
that are subject to spell-checking. Minor INCOMPATIBILITY. |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
509 |
|
67248
68177abb2988
isabelle.preview presents bibtex database files as well;
wenzelm
parents:
67246
diff
changeset
|
510 |
* Action "isabelle.preview" is able to present more file formats, |
67267 | 511 |
notably bibtex database files and ML files. |
67246
4cedf44f2af1
isabelle.preview presents auxiliary text files as well;
wenzelm
parents:
67224
diff
changeset
|
512 |
|
67263 | 513 |
* Action "isabelle.draft" is similar to "isabelle.preview", but shows a |
68068 | 514 |
plain-text document draft. Both are available via the menu "Plugins / |
515 |
Isabelle". |
|
67263 | 516 |
|
67304
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
517 |
* When loading text files, the Isabelle symbols encoding UTF-8-Isabelle |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
518 |
is only used if there is no conflict with existing Unicode sequences in |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
519 |
the file. Otherwise, the fallback encoding is plain UTF-8 and Isabelle |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
520 |
symbols remain in literal \<symbol> form. This avoids accidental loss of |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
521 |
Unicode content when saving the file. |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
522 |
|
68545 | 523 |
* Bibtex database files (.bib) are semantically checked. |
524 |
||
67994 | 525 |
* Update to jedit-5.5.0, the latest release. |
526 |
||
67246
4cedf44f2af1
isabelle.preview presents auxiliary text files as well;
wenzelm
parents:
67224
diff
changeset
|
527 |
|
67262 | 528 |
*** Isabelle/VSCode Prover IDE *** |
529 |
||
530 |
* HTML preview of theories and other file-formats similar to |
|
531 |
Isabelle/jEdit. |
|
532 |
||
68690
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
533 |
* Command-line tool "isabelle vscode_server" accepts the same options |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
534 |
-A, -R, -S, -i for session selection as "isabelle jedit". This is |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
535 |
relevant for isabelle.args configuration settings in VSCode. The former |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
536 |
option -A (explore all known session files) has been discontinued: it is |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
537 |
enabled by default, unless option -S is used to focus on a particular |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
538 |
spot in the session structure. INCOMPATIBILITY. |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
539 |
|
66768 | 540 |
|
67140 | 541 |
*** Document preparation *** |
542 |
||
67448 | 543 |
* Formal comments work uniformly in outer syntax, inner syntax (term |
544 |
language), Isabelle/ML and some other embedded languages of Isabelle. |
|
545 |
See also "Document comments" in the isar-ref manual. The following forms |
|
546 |
are supported: |
|
547 |
||
548 |
- marginal text comment: \<comment> \<open>\<dots>\<close> |
|
549 |
- canceled source: \<^cancel>\<open>\<dots>\<close> |
|
550 |
- raw LaTeX: \<^latex>\<open>\<dots>\<close> |
|
67413 | 551 |
|
67381 | 552 |
* Outside of the inner theory body, the default presentation context is |
553 |
theory Pure. Thus elementary antiquotations may be used in markup |
|
554 |
commands (e.g. 'chapter', 'section', 'text') and formal comments. |
|
555 |
||
68513 | 556 |
* System option "document_tags" specifies alternative command tags. This |
557 |
is occasionally useful to control the global visibility of commands via |
|
558 |
session options (e.g. in ROOT). |
|
67140 | 559 |
|
560 |
* Document markup commands ('section', 'text' etc.) are implicitly |
|
561 |
tagged as "document" and visible by default. This avoids the application |
|
562 |
of option "document_tags" to these commands. |
|
563 |
||
67145 | 564 |
* Isabelle names are mangled into LaTeX macro names to allow the full |
565 |
identifier syntax with underscore, prime, digits. This is relevant for |
|
566 |
antiquotations in control symbol notation, e.g. \<^const_name> becomes |
|
567 |
\isactrlconstUNDERSCOREname. |
|
568 |
||
68394 | 569 |
* Document preparation with skip_proofs option now preserves the content |
570 |
more accurately: only terminal proof steps ('by' etc.) are skipped. |
|
67297
86a099f896fc
formal check of @{cite} bibtex entries -- only in batch-mode session builds;
wenzelm
parents:
67295
diff
changeset
|
571 |
|
68484 | 572 |
* Document antiquotation @{theory name} requires the long |
573 |
session-qualified theory name: this is what users reading the text |
|
574 |
normally need to import. |
|
575 |
||
67219 | 576 |
* Document antiquotation @{session name} checks and prints the given |
577 |
session name verbatim. |
|
578 |
||
68394 | 579 |
* Document antiquotation @{cite} now checks the given Bibtex entries |
580 |
against the Bibtex database files -- only in batch-mode session builds. |
|
67157 | 581 |
|
67176
13b5c3ff1954
re-implemented "isabelle document" in Isabelle/Scala, include latex_errors here;
wenzelm
parents:
67173
diff
changeset
|
582 |
* Command-line tool "isabelle document" has been re-implemented in |
67194
1c0a6a957114
positions as postlude: avoid intrusion of odd %-forms into main tex source;
wenzelm
parents:
67191
diff
changeset
|
583 |
Isabelle/Scala, with simplified arguments and explicit errors from the |
67203 | 584 |
latex and bibtex process. Minor INCOMPATIBILITY. |
67173 | 585 |
|
68394 | 586 |
* Session ROOT entry: empty 'document_files' means there is no document |
587 |
for this session. There is no need to specify options [document = false] |
|
588 |
anymore. |
|
589 |
||
67140 | 590 |
|
67702
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
591 |
*** Isar *** |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
592 |
|
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
593 |
* Command 'interpret' no longer exposes resulting theorems as literal |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
594 |
facts, notably for the \<open>prop\<close> notation or the "fact" proof method. This |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
595 |
improves modularity of proofs and scalability of locale interpretation. |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
596 |
Rare INCOMPATIBILITY, need to refer to explicitly named facts instead |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
597 |
(e.g. use 'find_theorems' or 'try' to figure this out). |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67615
diff
changeset
|
598 |
|
68394 | 599 |
* The old 'def' command has been discontinued (legacy since |
600 |
Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with |
|
601 |
object-logic equality or equivalence. |
|
602 |
||
68543 | 603 |
|
604 |
*** Pure *** |
|
605 |
||
606 |
* The inner syntax category "sort" now includes notation "_" for the |
|
607 |
dummy sort: it is effectively ignored in type-inference. |
|
608 |
||
67740 | 609 |
* Rewrites clauses (keyword 'rewrites') were moved into the locale |
68394 | 610 |
expression syntax, where they are part of locale instances. In |
611 |
interpretation commands rewrites clauses now need to occur before 'for' |
|
68470
aad109fde9ec
In interpretation commands, clarify what to do with definitions immediately subject to rewriting.
ballarin
parents:
68465
diff
changeset
|
612 |
and 'defines'. Rare INCOMPATIBILITY; definitions immediately subject to |
aad109fde9ec
In interpretation commands, clarify what to do with definitions immediately subject to rewriting.
ballarin
parents:
68465
diff
changeset
|
613 |
rewriting may need to be pulled up into the surrounding theory. |
68394 | 614 |
|
615 |
* For 'rewrites' clauses, if activating a locale instance fails, fall |
|
616 |
back to reading the clause first. This helps avoid qualification of |
|
67764 | 617 |
locale instances where the qualifier's sole purpose is avoiding |
618 |
duplicate constant declarations. |
|
67741
d5a7f2c54655
Fall back to reading rewrite morphism first if activation fails without it.
ballarin
parents:
67740
diff
changeset
|
619 |
|
68543 | 620 |
* Proof method "simp" now supports a new modifier "flip:" followed by a |
621 |
list of theorems. Each of these theorems is removed from the simpset |
|
622 |
(without warning if it is not there) and the symmetric version of the |
|
623 |
theorem (i.e. lhs and rhs exchanged) is added to the simpset. For "auto" |
|
624 |
and friends the modifier is "simp flip:". |
|
67719 | 625 |
|
626 |
||
66663 | 627 |
*** HOL *** |
628 |
||
68568 | 629 |
* Sledgehammer: bundled version of "vampire" (for non-commercial users) |
630 |
helps to avoid fragility of "remote_vampire" service. |
|
631 |
||
68028 | 632 |
* Clarified relationship of characters, strings and code generation: |
633 |
||
68394 | 634 |
- Type "char" is now a proper datatype of 8-bit values. |
635 |
||
636 |
- Conversions "nat_of_char" and "char_of_nat" are gone; use more |
|
637 |
general conversions "of_char" and "char_of" with suitable type |
|
638 |
constraints instead. |
|
639 |
||
640 |
- The zero character is just written "CHR 0x00", not "0" any longer. |
|
641 |
||
642 |
- Type "String.literal" (for code generation) is now isomorphic to |
|
643 |
lists of 7-bit (ASCII) values; concrete values can be written as |
|
644 |
"STR ''...''" for sequences of printable characters and "STR 0x..." |
|
645 |
for one single ASCII code point given as hexadecimal numeral. |
|
646 |
||
647 |
- Type "String.literal" supports concatenation "... + ..." for all |
|
648 |
standard target languages. |
|
649 |
||
650 |
- Theory HOL-Library.Code_Char is gone; study the explanations |
|
651 |
concerning "String.literal" in the tutorial on code generation to |
|
652 |
get an idea how target-language string literals can be converted to |
|
653 |
HOL string values and vice versa. |
|
654 |
||
655 |
- Session Imperative-HOL: operation "raise" directly takes a value of |
|
656 |
type "String.literal" as argument, not type "string". |
|
657 |
||
658 |
INCOMPATIBILITY. |
|
659 |
||
660 |
* Code generation: Code generation takes an explicit option |
|
661 |
"case_insensitive" to accomodate case-insensitive file systems. |
|
662 |
||
663 |
* Abstract bit operations as part of Main: push_bit, take_bit, drop_bit. |
|
664 |
||
665 |
* New, more general, axiomatization of complete_distrib_lattice. The |
|
666 |
former axioms: |
|
667 |
||
668 |
"sup x (Inf X) = Inf (sup x ` X)" and "inf x (Sup X) = Sup (inf x ` X)" |
|
669 |
||
670 |
are replaced by: |
|
671 |
||
672 |
"Inf (Sup ` A) <= Sup (Inf ` {f ` A | f . (! Y \<in> A . f Y \<in> Y)})" |
|
673 |
||
674 |
The instantiations of sets and functions as complete_distrib_lattice are |
|
675 |
moved to Hilbert_Choice.thy because their proofs need the Hilbert choice |
|
676 |
operator. The dual of this property is also proved in theory |
|
677 |
HOL.Hilbert_Choice. |
|
67831
07f5588f2735
Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents:
67830
diff
changeset
|
678 |
|
67999
1b05f74f2e5f
tidying up including contributions from Paulo EmÃlio de Vilhena
paulson <lp15@cam.ac.uk>
parents:
67994
diff
changeset
|
679 |
* New syntax for the minimum/maximum of a function over a finite set: |
68394 | 680 |
MIN x\<in>A. B and even MIN x. B (only useful for finite types), also MAX. |
67999
1b05f74f2e5f
tidying up including contributions from Paulo EmÃlio de Vilhena
paulson <lp15@cam.ac.uk>
parents:
67994
diff
changeset
|
681 |
|
67525
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
682 |
* Clarifed theorem names: |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
683 |
|
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
684 |
Min.antimono ~> Min.subset_imp |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
685 |
Max.antimono ~> Max.subset_imp |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
686 |
|
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
687 |
Minor INCOMPATIBILITY. |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
688 |
|
66663 | 689 |
* SMT module: |
68394 | 690 |
|
66663 | 691 |
- The 'smt_oracle' option is now necessary when using the 'smt' method |
66664 | 692 |
with a solver other than Z3. INCOMPATIBILITY. |
68394 | 693 |
|
66844 | 694 |
- The encoding to first-order logic is now more complete in the |
695 |
presence of higher-order quantifiers. An 'smt_explicit_application' |
|
696 |
option has been added to control this. INCOMPATIBILITY. |
|
697 |
||
66804
3f9bb52082c4
avoid name clashes on interpretation of abstract locales
haftmann
parents:
66803
diff
changeset
|
698 |
* Facts sum.commute(_restrict) and prod.commute(_restrict) renamed to |
66844 | 699 |
sum.swap(_restrict) and prod.swap(_restrict), to avoid name clashes on |
700 |
interpretation of abstract locales. INCOMPATIBILITY. |
|
66804
3f9bb52082c4
avoid name clashes on interpretation of abstract locales
haftmann
parents:
66803
diff
changeset
|
701 |
|
68394 | 702 |
* Predicate coprime is now a real definition, not a mere abbreviation. |
703 |
INCOMPATIBILITY. |
|
704 |
||
66803 | 705 |
* Predicate pairwise_coprime abolished, use "pairwise coprime" instead. |
706 |
INCOMPATIBILITY. |
|
707 |
||
68373 | 708 |
* The relator rel_filter on filters has been strengthened to its |
68394 | 709 |
canonical categorical definition with better properties. |
710 |
INCOMPATIBILITY. |
|
67615
1d005f514417
strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents:
67591
diff
changeset
|
711 |
|
68071
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
712 |
* Generalized linear algebra involving linear, span, dependent, dim |
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
713 |
from type class real_vector to locales module and vector_space. |
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
714 |
Renamed: |
68394 | 715 |
|
716 |
span_inc ~> span_superset |
|
717 |
span_superset ~> span_base |
|
718 |
span_eq ~> span_eq_iff |
|
719 |
||
720 |
INCOMPATIBILITY. |
|
66844 | 721 |
|
66937 | 722 |
* Class linordered_semiring_1 covers zero_less_one also, ruling out |
723 |
pathologic instances. Minor INCOMPATIBILITY. |
|
724 |
||
68394 | 725 |
* Theory HOL.List: functions "sorted_wrt" and "sorted" now compare every |
726 |
element in a list to all following elements, not just the next one. |
|
727 |
||
728 |
* Theory HOL.List syntax: |
|
729 |
||
730 |
- filter-syntax "[x <- xs. P]" is no longer output syntax, but only |
|
731 |
input syntax |
|
732 |
||
733 |
- list comprehension syntax now supports tuple patterns in "pat <- xs" |
|
68250
949d93804740
First step to remove nonstandard "[x <- xs. P]" syntax: only input
nipkow
parents:
68247
diff
changeset
|
734 |
|
68450 | 735 |
* Theory Map: "empty" must now be qualified as "Map.empty". |
736 |
||
67051 | 737 |
* Removed nat-int transfer machinery. Rare INCOMPATIBILITY. |
738 |
||
68103 | 739 |
* Fact mod_mult_self4 (on nat) renamed to Suc_mod_mult_self3, to avoid |
740 |
clash with fact mod_mult_self4 (on more generic semirings). |
|
741 |
INCOMPATIBILITY. |
|
742 |
||
743 |
* Eliminated some theorem aliasses: |
|
744 |
even_times_iff ~> even_mult_iff |
|
745 |
mod_2_not_eq_zero_eq_one_nat ~> not_mod_2_eq_0_eq_1 |
|
746 |
even_of_nat ~> even_int_iff |
|
747 |
||
748 |
INCOMPATIBILITY. |
|
749 |
||
68157 | 750 |
* Eliminated some theorem duplicate variations: |
68394 | 751 |
|
752 |
- dvd_eq_mod_eq_0_numeral can be replaced by dvd_eq_mod_eq_0 |
|
753 |
- mod_Suc_eq_Suc_mod can be replaced by mod_Suc |
|
754 |
- mod_Suc_eq_Suc_mod [symmetrict] can be replaced by mod_simps |
|
755 |
- mod_eq_0_iff can be replaced by mod_eq_0_iff_dvd and dvd_def |
|
756 |
- the witness of mod_eqD can be given directly as "_ div _" |
|
68157 | 757 |
|
758 |
INCOMPATIBILITY. |
|
759 |
||
68260 | 760 |
* Classical setup: Assumption "m mod d = 0" (for m d :: nat) is no |
68394 | 761 |
longer aggresively destroyed to "\<exists>q. m = d * q". INCOMPATIBILITY, adding |
762 |
"elim!: dvd" to classical proof methods in most situations restores |
|
763 |
broken proofs. |
|
764 |
||
765 |
* Theory HOL-Library.Conditional_Parametricity provides command |
|
766 |
'parametric_constant' for proving parametricity of non-recursive |
|
767 |
definitions. For constants that are not fully parametric the command |
|
768 |
will infer conditions on relations (e.g., bi_unique, bi_total, or type |
|
769 |
class conditions such as "respects 0") sufficient for parametricity. See |
|
770 |
theory HOL-ex.Conditional_Parametricity_Examples for some examples. |
|
771 |
||
772 |
* Theory HOL-Library.Code_Lazy provides a new preprocessor for the code |
|
773 |
generator to generate code for algebraic types with lazy evaluation |
|
68639 | 774 |
semantics even in call-by-value target languages. See the theories |
68647 | 775 |
HOL-ex.Code_Lazy_Demo and HOL-Codegenerator_Test.Code_Lazy_Test for some |
776 |
examples. |
|
68394 | 777 |
|
778 |
* Theory HOL-Library.Landau_Symbols has been moved here from AFP. |
|
779 |
||
780 |
* Theory HOL-Library.Old_Datatype no longer provides the legacy command |
|
781 |
'old_datatype'. INCOMPATIBILITY. |
|
782 |
||
783 |
* Theory HOL-Computational_Algebra.Polynomial_Factorial does not provide |
|
784 |
instances of rat, real, complex as factorial rings etc. Import |
|
785 |
HOL-Computational_Algebra.Field_as_Ring explicitly in case of need. |
|
786 |
INCOMPATIBILITY. |
|
787 |
||
788 |
* Session HOL-Algebra: renamed (^) to [^] to avoid conflict with new |
|
789 |
infix/prefix notation. |
|
790 |
||
68543 | 791 |
* Session HOL-Algebra: revamped with much new material. The set of |
792 |
isomorphisms between two groups is now denoted iso rather than iso_set. |
|
793 |
INCOMPATIBILITY. |
|
794 |
||
795 |
* Session HOL-Analysis: the Arg function now respects the same interval |
|
796 |
as Ln, namely (-pi,pi]; the old Arg function has been renamed Arg2pi. |
|
68495
d4312962161a
Rationalisation of complex transcendentals, esp the Arg function
paulson <lp15@cam.ac.uk>
parents:
68484
diff
changeset
|
797 |
INCOMPATIBILITY. |
d4312962161a
Rationalisation of complex transcendentals, esp the Arg function
paulson <lp15@cam.ac.uk>
parents:
68484
diff
changeset
|
798 |
|
68548 | 799 |
* Session HOL-Analysis: the functions zorder, zer_poly, porder and |
800 |
pol_poly have been redefined. All related lemmas have been reworked. |
|
68532 | 801 |
INCOMPATIBILITY. |
802 |
||
68394 | 803 |
* Session HOL-Analysis: infinite products, Moebius functions, the |
804 |
Riemann mapping theorem, the Vitali covering theorem, |
|
805 |
change-of-variables results for integration and measures. |
|
68260 | 806 |
|
68647 | 807 |
* Session HOL-Real_Asymp: proof method "real_asymp" proves asymptotics |
808 |
or real-valued functions (limits, "Big-O", etc.) automatically. |
|
68681 | 809 |
See also ~~/src/HOL/Real_Asymp/Manual for some documentation. |
68647 | 810 |
|
68545 | 811 |
* Session HOL-Types_To_Sets: more tool support (unoverload_type combines |
812 |
internalize_sorts and unoverload) and larger experimental application |
|
813 |
(type based linear algebra transferred to linear algebra on subspaces). |
|
68522
d9cbc1e8644d
example for Types_To_Sets: transfer from type-based linear algebra to subspaces
immler
parents:
68515
diff
changeset
|
814 |
|
66653 | 815 |
|
68121 | 816 |
*** ML *** |
817 |
||
818 |
* Operation Export.export emits theory exports (arbitrary blobs), which |
|
70142 | 819 |
are stored persistently in the session build database. |
68121 | 820 |
|
68281 | 821 |
* Command 'ML_export' exports ML toplevel bindings to the global |
822 |
bootstrap environment of the ML process. This allows ML evaluation |
|
823 |
without a formal theory context, e.g. in command-line tools like |
|
824 |
"isabelle process". |
|
825 |
||
68121 | 826 |
|
66729 | 827 |
*** System *** |
828 |
||
67088 | 829 |
* Mac OS X 10.10 Yosemite is now the baseline version; Mavericks is no |
830 |
longer supported. |
|
831 |
||
68394 | 832 |
* Linux and Windows/Cygwin is for x86_64 only, old 32bit platform |
833 |
support has been discontinued. |
|
834 |
||
66906 | 835 |
* Java runtime is for x86_64 only. Corresponding Isabelle settings have |
836 |
been renamed to ISABELLE_TOOL_JAVA_OPTIONS and JEDIT_JAVA_OPTIONS, |
|
837 |
instead of former 32/64 variants. INCOMPATIBILITY. |
|
838 |
||
68004 | 839 |
* Old settings ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM should be |
840 |
phased out due to unclear preference of 32bit vs. 64bit architecture. |
|
841 |
Explicit GNU bash expressions are now preferred, for example (with |
|
842 |
quotes): |
|
843 |
||
844 |
#Posix executables (Unix or Cygwin), with preference for 64bit |
|
845 |
"${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}" |
|
846 |
||
847 |
#native Windows or Unix executables, with preference for 64bit |
|
848 |
"${ISABELLE_WINDOWS_PLATFORM64:-${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}}" |
|
849 |
||
850 |
#native Windows (32bit) or Unix executables (preference for 64bit) |
|
851 |
"${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}" |
|
852 |
||
66745 | 853 |
* Command-line tool "isabelle build" supports new options: |
854 |
- option -B NAME: include session NAME and all descendants |
|
855 |
- option -S: only observe changes of sources, not heap images |
|
66841 | 856 |
- option -f: forces a fresh build |
66737
2edc0c42c883
option -B for "isabelle build" and "isabelle imports";
wenzelm
parents:
66729
diff
changeset
|
857 |
|
68734
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
858 |
* Command-line tool "isabelle build" options -c -x -B refer to |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
859 |
descendants wrt. the session parent or import graph. Subtle |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
860 |
INCOMPATIBILITY: options -c -x used to refer to the session parent graph |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
861 |
only. |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
862 |
|
66843 | 863 |
* Command-line tool "isabelle build" takes "condition" options with the |
864 |
corresponding environment values into account, when determining the |
|
865 |
up-to-date status of a session. |
|
866 |
||
68394 | 867 |
* The command-line tool "dump" dumps information from the cumulative |
868 |
PIDE session database: many sessions may be loaded into a given logic |
|
869 |
image, results from all loaded theories are written to the output |
|
870 |
directory. |
|
871 |
||
66851
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
872 |
* Command-line tool "isabelle imports -I" also reports actual session |
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
873 |
imports. This helps to minimize the session dependency graph. |
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
874 |
|
70142 | 875 |
* The command-line tool "export" and 'export_files' in session ROOT |
876 |
entries retrieve theory exports from the session build database. |
|
68394 | 877 |
|
878 |
* The command-line tools "isabelle server" and "isabelle client" provide |
|
879 |
access to the Isabelle Server: it supports responsive session management |
|
880 |
and concurrent use of theories, based on Isabelle/PIDE infrastructure. |
|
881 |
See also the "system" manual. |
|
882 |
||
883 |
* The command-line tool "isabelle update_comments" normalizes formal |
|
884 |
comments in outer syntax as follows: \<comment> \<open>text\<close> (whith a single space to |
|
885 |
approximate the appearance in document output). This is more specific |
|
886 |
than former "isabelle update_cartouches -c": the latter tool option has |
|
887 |
been discontinued. |
|
888 |
||
889 |
* The command-line tool "isabelle mkroot" now always produces a document |
|
890 |
outline: its options have been adapted accordingly. INCOMPATIBILITY. |
|
891 |
||
892 |
* The command-line tool "isabelle mkroot -I" initializes a Mercurial |
|
893 |
repository for the generated session files. |
|
894 |
||
68523
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
895 |
* Settings ISABELLE_HEAPS + ISABELLE_BROWSER_INFO (or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
896 |
ISABELLE_HEAPS_SYSTEM + ISABELLE_BROWSER_INFO_SYSTEM in "system build |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
897 |
mode") determine the directory locations of the main build artefacts -- |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
898 |
instead of hard-wired directories in ISABELLE_HOME_USER (or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
899 |
ISABELLE_HOME). |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
900 |
|
68394 | 901 |
* Settings ISABELLE_PATH and ISABELLE_OUTPUT have been discontinued: |
902 |
heap images and session databases are always stored in |
|
68523
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
903 |
$ISABELLE_HEAPS/$ML_IDENTIFIER (command-line default) or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
904 |
$ISABELLE_HEAPS_SYSTEM/$ML_IDENTIFIER (main Isabelle application or |
68394 | 905 |
"isabelle jedit -s" or "isabelle build -s"). |
67099 | 906 |
|
67199 | 907 |
* ISABELLE_LATEX and ISABELLE_PDFLATEX now include platform-specific |
908 |
options for improved error reporting. Potential INCOMPATIBILITY with |
|
909 |
unusual LaTeX installations, may have to adapt these settings. |
|
910 |
||
68394 | 911 |
* Update to Poly/ML 5.7.1 with slightly improved performance and PIDE |
912 |
markup for identifier bindings. It now uses The GNU Multiple Precision |
|
67591 | 913 |
Arithmetic Library (libgmp) on all platforms, notably Mac OS X with |
914 |
32/64 bit. |
|
915 |
||
67099 | 916 |
|
66729 | 917 |
|
66472 | 918 |
New in Isabelle2017 (October 2017) |
919 |
---------------------------------- |
|
64439 | 920 |
|
64986 | 921 |
*** General *** |
922 |
||
66238 | 923 |
* Experimental support for Visual Studio Code (VSCode) as alternative |
924 |
Isabelle/PIDE front-end, see also |
|
66601 | 925 |
https://marketplace.visualstudio.com/items?itemName=makarius.Isabelle2017 |
66238 | 926 |
|
927 |
VSCode is a new type of application that continues the concepts of |
|
928 |
"programmer's editor" and "integrated development environment" towards |
|
929 |
fully semantic editing and debugging -- in a relatively light-weight |
|
930 |
manner. Thus it fits nicely on top of the Isabelle/PIDE infrastructure. |
|
931 |
Technically, VSCode is based on the Electron application framework |
|
932 |
(Node.js + Chromium browser + V8), which is implemented in JavaScript |
|
933 |
and TypeScript, while Isabelle/VSCode mainly consists of Isabelle/Scala |
|
934 |
modules around a Language Server implementation. |
|
935 |
||
65504 | 936 |
* Theory names are qualified by the session name that they belong to. |
66454 | 937 |
This affects imports, but not the theory name space prefix (which is |
938 |
just the theory base name as before). |
|
939 |
||
940 |
In order to import theories from other sessions, the ROOT file format |
|
941 |
provides a new 'sessions' keyword. In contrast, a theory that is |
|
942 |
imported in the old-fashioned manner via an explicit file-system path |
|
66472 | 943 |
belongs to the current session, and might cause theory name conflicts |
66454 | 944 |
later on. Theories that are imported from other sessions are excluded |
945 |
from the current session document. The command-line tool "isabelle |
|
946 |
imports" helps to update theory imports. |
|
947 |
||
65451 | 948 |
* The main theory entry points for some non-HOL sessions have changed, |
949 |
to avoid confusion with the global name "Main" of the session HOL. This |
|
950 |
leads to the follow renamings: |
|
951 |
||
952 |
CTT/Main.thy ~> CTT/CTT.thy |
|
953 |
ZF/Main.thy ~> ZF/ZF.thy |
|
954 |
ZF/Main_ZF.thy ~> ZF/ZF.thy |
|
955 |
ZF/Main_ZFC.thy ~> ZF/ZFC.thy |
|
956 |
ZF/ZF.thy ~> ZF/ZF_Base.thy |
|
957 |
||
958 |
INCOMPATIBILITY. |
|
959 |
||
66472 | 960 |
* Commands 'alias' and 'type_alias' introduce aliases for constants and |
961 |
type constructors, respectively. This allows adhoc changes to name-space |
|
962 |
accesses within global or local theory contexts, e.g. within a 'bundle'. |
|
963 |
||
64986 | 964 |
* Document antiquotations @{prf} and @{full_prf} output proof terms |
965 |
(again) in the same way as commands 'prf' and 'full_prf'. |
|
966 |
||
65055 | 967 |
* Computations generated by the code generator can be embedded directly |
968 |
into ML, alongside with @{code} antiquotations, using the following |
|
969 |
antiquotations: |
|
970 |
||
971 |
@{computation ... terms: ... datatypes: ...} : |
|
972 |
((term -> term) -> 'ml option -> 'a) -> Proof.context -> term -> 'a |
|
973 |
@{computation_conv ... terms: ... datatypes: ...} : |
|
974 |
(Proof.context -> 'ml -> conv) -> Proof.context -> conv |
|
65045
b69ef432438d
avoid Unicode that conflicts with Isabelle symbol rendering;
wenzelm
parents:
65042
diff
changeset
|
975 |
@{computation_check terms: ... datatypes: ...} : Proof.context -> conv |
65041 | 976 |
|
65055 | 977 |
See src/HOL/ex/Computations.thy, |
978 |
src/HOL/Decision_Procs/Commutative_Ring.thy and |
|
979 |
src/HOL/Decision_Procs/Reflective_Field.thy for examples and the |
|
980 |
tutorial on code generation. |
|
65041 | 981 |
|
64986 | 982 |
|
64602 | 983 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
984 |
||
66472 | 985 |
* Session-qualified theory imports allow the Prover IDE to process |
986 |
arbitrary theory hierarchies independently of the underlying logic |
|
987 |
session image (e.g. option "isabelle jedit -l"), but the directory |
|
988 |
structure needs to be known in advance (e.g. option "isabelle jedit -d" |
|
989 |
or a line in the file $ISABELLE_HOME_USER/ROOTS). |
|
64602 | 990 |
|
64842 | 991 |
* The PIDE document model maintains file content independently of the |
992 |
status of jEdit editor buffers. Reloading jEdit buffers no longer causes |
|
993 |
changes of formal document content. Theory dependencies are always |
|
994 |
resolved internally, without the need for corresponding editor buffers. |
|
995 |
The system option "jedit_auto_load" has been discontinued: it is |
|
996 |
effectively always enabled. |
|
997 |
||
64867 | 998 |
* The Theories dockable provides a "Purge" button, in order to restrict |
999 |
the document model to theories that are required for open editor |
|
1000 |
buffers. |
|
1001 |
||
66426 | 1002 |
* The Theories dockable indicates the overall status of checking of each |
1003 |
entry. When all forked tasks of a theory are finished, the border is |
|
1004 |
painted with thick lines; remaining errors in this situation are |
|
1005 |
represented by a different border color. |
|
1006 |
||
66472 | 1007 |
* Automatic indentation is more careful to avoid redundant spaces in |
1008 |
intermediate situations. Keywords are indented after input (via typed |
|
1009 |
characters or completion); see also option "jedit_indent_input". |
|
1010 |
||
1011 |
* Action "isabelle.preview" opens an HTML preview of the current theory |
|
1012 |
document in the default web browser. |
|
1013 |
||
66576
e16b27bd3f76
reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents:
66555
diff
changeset
|
1014 |
* Command-line invocation "isabelle jedit -R -l LOGIC" opens the ROOT |
e16b27bd3f76
reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents:
66555
diff
changeset
|
1015 |
entry of the specified logic session in the editor, while its parent is |
e16b27bd3f76
reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents:
66555
diff
changeset
|
1016 |
used for formal checking. |
66472 | 1017 |
|
66463 | 1018 |
* The main Isabelle/jEdit plugin may be restarted manually (using the |
1019 |
jEdit Plugin Manager), as long as the "Isabelle Base" plugin remains |
|
1020 |
enabled at all times. |
|
1021 |
||
66472 | 1022 |
* Update to current jedit-5.4.0. |
65329 | 1023 |
|
64602 | 1024 |
|
66149
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
1025 |
*** Pure *** |
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
1026 |
|
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
1027 |
* Deleting the last code equations for a particular function using |
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
1028 |
[code del] results in function with no equations (runtime abort) rather |
66472 | 1029 |
than an unimplemented function (generation time abort). Use explicit |
66667 | 1030 |
[[code drop:]] to enforce the latter. Minor INCOMPATIBILITY. |
66149
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
1031 |
|
66313
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
1032 |
* Proper concept of code declarations in code.ML: |
66472 | 1033 |
- Regular code declarations act only on the global theory level, being |
1034 |
ignored with warnings if syntactically malformed. |
|
1035 |
- Explicitly global code declarations yield errors if syntactically |
|
1036 |
malformed. |
|
1037 |
- Default code declarations are silently ignored if syntactically |
|
1038 |
malformed. |
|
66313
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
1039 |
Minor INCOMPATIBILITY. |
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
1040 |
|
66472 | 1041 |
* Clarified and standardized internal data bookkeeping of code |
1042 |
declarations: history of serials allows to track potentially |
|
1043 |
non-monotonous declarations appropriately. Minor INCOMPATIBILITY. |
|
66313
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
1044 |
|
66149
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
1045 |
|
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1046 |
*** HOL *** |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1047 |
|
66616
1f1c5d85d232
moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents:
66601
diff
changeset
|
1048 |
* The Nunchaku model finder is now part of "Main". |
1f1c5d85d232
moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents:
66601
diff
changeset
|
1049 |
|
66472 | 1050 |
* SMT module: |
1051 |
- A new option, 'smt_nat_as_int', has been added to translate 'nat' to |
|
1052 |
'int' and benefit from the SMT solver's theory reasoning. It is |
|
1053 |
disabled by default. |
|
1054 |
- The legacy module "src/HOL/Library/Old_SMT.thy" has been removed. |
|
1055 |
- Several small issues have been rectified in the 'smt' command. |
|
1056 |
||
1057 |
* (Co)datatype package: The 'size_gen_o_map' lemma is no longer |
|
1058 |
generated for datatypes with type class annotations. As a result, the |
|
1059 |
tactic that derives it no longer fails on nested datatypes. Slight |
|
1060 |
INCOMPATIBILITY. |
|
66450
a8299195ed82
NEWS: Removed constant subseq; subsumed by strict_mono
eberlm <eberlm@in.tum.de>
parents:
66449
diff
changeset
|
1061 |
|
66348
882abe912da9
do not fall back on nbe if plain evaluation fails
haftmann
parents:
66313
diff
changeset
|
1062 |
* Command and antiquotation "value" with modified default strategy: |
882abe912da9
do not fall back on nbe if plain evaluation fails
haftmann
parents:
66313
diff
changeset
|
1063 |
terms without free variables are always evaluated using plain evaluation |
66472 | 1064 |
only, with no fallback on normalization by evaluation. Minor |
1065 |
INCOMPATIBILITY. |
|
65956
639eb3617a86
reorganised material on sublists
eberlm <eberlm@in.tum.de>
parents:
65841
diff
changeset
|
1066 |
|
65552
f533820e7248
theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents:
65544
diff
changeset
|
1067 |
* Theories "GCD" and "Binomial" are already included in "Main" (instead |
65575 | 1068 |
of "Complex_Main"). |
65552
f533820e7248
theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents:
65544
diff
changeset
|
1069 |
|
65170
53675f36820d
restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents:
65099
diff
changeset
|
1070 |
* Constant "surj" is a full input/output abbreviation (again). |
53675f36820d
restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents:
65099
diff
changeset
|
1071 |
Minor INCOMPATIBILITY. |
53675f36820d
restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents:
65099
diff
changeset
|
1072 |
|
64632 | 1073 |
* Dropped aliasses RangeP, DomainP for Rangep, Domainp respectively. |
1074 |
INCOMPATIBILITY. |
|
1075 |
||
66472 | 1076 |
* Renamed ii to imaginary_unit in order to free up ii as a variable |
1077 |
name. The syntax \<i> remains available. INCOMPATIBILITY. |
|
1078 |
||
1079 |
* Dropped abbreviations transP, antisymP, single_valuedP; use constants |
|
1080 |
transp, antisymp, single_valuedp instead. INCOMPATIBILITY. |
|
1081 |
||
1082 |
* Constant "subseq" in Topological_Spaces has been removed -- it is |
|
1083 |
subsumed by "strict_mono". Some basic lemmas specific to "subseq" have |
|
1084 |
been renamed accordingly, e.g. "subseq_o" -> "strict_mono_o" etc. |
|
1085 |
||
1086 |
* Theory List: "sublist" renamed to "nths" in analogy with "nth", and |
|
1087 |
"sublisteq" renamed to "subseq". Minor INCOMPATIBILITY. |
|
1088 |
||
1089 |
* Theory List: new generic function "sorted_wrt". |
|
1090 |
||
1091 |
* Named theorems mod_simps covers various congruence rules concerning |
|
1092 |
mod, replacing former zmod_simps. INCOMPATIBILITY. |
|
64787 | 1093 |
|
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1094 |
* Swapped orientation of congruence rules mod_add_left_eq, |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1095 |
mod_add_right_eq, mod_add_eq, mod_mult_left_eq, mod_mult_right_eq, |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1096 |
mod_mult_eq, mod_minus_eq, mod_diff_left_eq, mod_diff_right_eq, |
66472 | 1097 |
mod_diff_eq. INCOMPATIBILITY. |
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1098 |
|
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1099 |
* Generalized some facts: |
64876 | 1100 |
measure_induct_rule |
1101 |
measure_induct |
|
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1102 |
zminus_zmod ~> mod_minus_eq |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1103 |
zdiff_zmod_left ~> mod_diff_left_eq |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1104 |
zdiff_zmod_right ~> mod_diff_right_eq |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1105 |
zmod_eq_dvd_iff ~> mod_eq_dvd_iff |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1106 |
INCOMPATIBILITY. |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
1107 |
|
66472 | 1108 |
* Algebraic type class hierarchy of euclidean (semi)rings in HOL: |
1109 |
euclidean_(semi)ring, euclidean_(semi)ring_cancel, |
|
1110 |
unique_euclidean_(semi)ring; instantiation requires provision of a |
|
1111 |
euclidean size. |
|
1112 |
||
1113 |
* Theory "HOL-Number_Theory.Euclidean_Algorithm" has been reworked: |
|
1114 |
- Euclidean induction is available as rule eucl_induct. |
|
1115 |
- Constants Euclidean_Algorithm.gcd, Euclidean_Algorithm.lcm, |
|
1116 |
Euclidean_Algorithm.Gcd and Euclidean_Algorithm.Lcm allow |
|
1117 |
easy instantiation of euclidean (semi)rings as GCD (semi)rings. |
|
1118 |
- Coefficients obtained by extended euclidean algorithm are |
|
1119 |
available as "bezout_coefficients". |
|
1120 |
INCOMPATIBILITY. |
|
1121 |
||
1122 |
* Theory "Number_Theory.Totient" introduces basic notions about Euler's |
|
1123 |
totient function previously hidden as solitary example in theory |
|
1124 |
Residues. Definition changed so that "totient 1 = 1" in agreement with |
|
1125 |
the literature. Minor INCOMPATIBILITY. |
|
1126 |
||
66542 | 1127 |
* New styles in theory "HOL-Library.LaTeXsugar": |
66541 | 1128 |
- "dummy_pats" for printing equations with "_" on the lhs; |
1129 |
- "eta_expand" for printing eta-expanded terms. |
|
1130 |
||
66472 | 1131 |
* Theory "HOL-Library.Permutations": theorem bij_swap_ompose_bij has |
1132 |
been renamed to bij_swap_compose_bij. INCOMPATIBILITY. |
|
1133 |
||
66645
f7e38b8583a0
Correction of typos and a bit of streamlining
paulson <lp15@cam.ac.uk>
parents:
66643
diff
changeset
|
1134 |
* New theory "HOL-Library.Going_To_Filter" providing the "f going_to F" |
66487
9d83e8fe3de3
HOL-Library: going_to filter
Manuel Eberl <eberlm@in.tum.de>
parents:
66481
diff
changeset
|
1135 |
filter for describing points x such that f(x) is in the filter F. |
9d83e8fe3de3
HOL-Library: going_to filter
Manuel Eberl <eberlm@in.tum.de>
parents:
66481
diff
changeset
|
1136 |
|
66480
4b8d1df8933b
HOL-Analysis: Convergent FPS and infinite sums
Manuel Eberl <eberlm@in.tum.de>
parents:
66474
diff
changeset
|
1137 |
* Theory "HOL-Library.Formal_Power_Series": constants X/E/L/F have been |
4b8d1df8933b
HOL-Analysis: Convergent FPS and infinite sums
Manuel Eberl <eberlm@in.tum.de>
parents:
66474
diff
changeset
|
1138 |
renamed to fps_X/fps_exp/fps_ln/fps_hypergeo to avoid polluting the name |
66472 | 1139 |
space. INCOMPATIBILITY. |
1140 |
||
1141 |
* Theory "HOL-Library.FinFun" has been moved to AFP (again). |
|
1142 |
INCOMPATIBILITY. |
|
1143 |
||
1144 |
* Theory "HOL-Library.FuncSet": some old and rarely used ASCII |
|
1145 |
replacement syntax has been removed. INCOMPATIBILITY, standard syntax |
|
1146 |
with symbols should be used instead. The subsequent commands help to |
|
1147 |
reproduce the old forms, e.g. to simplify porting old theories: |
|
1148 |
||
1149 |
syntax (ASCII) |
|
1150 |
"_PiE" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set" ("(3PIE _:_./ _)" 10) |
|
1151 |
"_Pi" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set" ("(3PI _:_./ _)" 10) |
|
1152 |
"_lam" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'a \<Rightarrow> 'b \<Rightarrow> ('a \<Rightarrow> 'b)" ("(3%_:_./ _)" [0,0,3] 3) |
|
1153 |
||
1154 |
* Theory "HOL-Library.Multiset": the simprocs on subsets operators of |
|
1155 |
multisets have been renamed: |
|
1156 |
||
1157 |
msetless_cancel_numerals ~> msetsubset_cancel |
|
1158 |
msetle_cancel_numerals ~> msetsubset_eq_cancel |
|
1159 |
||
1160 |
INCOMPATIBILITY. |
|
1161 |
||
66481
d35f7a9f92e2
output syntax for pattern aliases
Lars Hupel <lars.hupel@mytum.de>
parents:
66480
diff
changeset
|
1162 |
* Theory "HOL-Library.Pattern_Aliases" provides input and output syntax |
d35f7a9f92e2
output syntax for pattern aliases
Lars Hupel <lars.hupel@mytum.de>
parents:
66480
diff
changeset
|
1163 |
for pattern aliases as known from Haskell, Scala and ML. |
65515 | 1164 |
|
66555 | 1165 |
* Theory "HOL-Library.Uprod" formalizes the type of unordered pairs. |
1166 |
||
64898 | 1167 |
* Session HOL-Analysis: more material involving arcs, paths, covering |
66652 | 1168 |
spaces, innessential maps, retracts, infinite products, simplicial |
1169 |
complexes. Baire Category theorem. Major results include the Jordan |
|
1170 |
Curve Theorem and the Great Picard Theorem. |
|
66472 | 1171 |
|
1172 |
* Session HOL-Algebra has been extended by additional lattice theory: |
|
1173 |
the Knaster-Tarski fixed point theorem and Galois Connections. |
|
1174 |
||
1175 |
* Sessions HOL-Computational_Algebra and HOL-Number_Theory: new notions |
|
1176 |
of squarefreeness, n-th powers, and prime powers. |
|
1177 |
||
1178 |
* Session "HOL-Computional_Algebra" covers many previously scattered |
|
1179 |
theories, notably Euclidean_Algorithm, Factorial_Ring, |
|
1180 |
Formal_Power_Series, Fraction_Field, Fundamental_Theorem_Algebra, |
|
1181 |
Normalized_Fraction, Polynomial_FPS, Polynomial, Primes. Minor |
|
1182 |
INCOMPATIBILITY. |
|
65027
2b8583507891
renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents:
64986
diff
changeset
|
1183 |
|
60331 | 1184 |
|
64844 | 1185 |
*** System *** |
1186 |
||
66474 | 1187 |
* Isabelle/Scala: the SQL module supports access to relational |
1188 |
databases, either as plain file (SQLite) or full-scale server |
|
1189 |
(PostgreSQL via local port or remote ssh connection). |
|
1190 |
||
1191 |
* Results of "isabelle build" are recorded as SQLite database (i.e. |
|
1192 |
"Application File Format" in the sense of |
|
1193 |
https://www.sqlite.org/appfileformat.html). This allows systematic |
|
1194 |
access via operations from module Sessions.Store in Isabelle/Scala. |
|
1195 |
||
66472 | 1196 |
* System option "parallel_proofs" is 1 by default (instead of more |
1197 |
aggressive 2). This requires less heap space and avoids burning parallel |
|
1198 |
CPU cycles, while full subproof parallelization is enabled for repeated |
|
1199 |
builds (according to parallel_subproofs_threshold). |
|
65072 | 1200 |
|
65448
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
1201 |
* System option "record_proofs" allows to change the global |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
1202 |
Proofterm.proofs variable for a session. Regular values are are 0, 1, 2; |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
1203 |
a negative value means the current state in the ML heap image remains |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
1204 |
unchanged. |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
1205 |
|
66472 | 1206 |
* Isabelle settings variable ISABELLE_SCALA_BUILD_OPTIONS has been |
1207 |
renamed to ISABELLE_SCALAC_OPTIONS. Rare INCOMPATIBILITY. |
|
1208 |
||
1209 |
* Isabelle settings variables ISABELLE_WINDOWS_PLATFORM, |
|
1210 |
ISABELLE_WINDOWS_PLATFORM32, ISABELLE_WINDOWS_PLATFORM64 indicate the |
|
1211 |
native Windows platform (independently of the Cygwin installation). This |
|
1212 |
is analogous to ISABELLE_PLATFORM, ISABELLE_PLATFORM32, |
|
1213 |
ISABELLE_PLATFORM64. |
|
65557 | 1214 |
|
66786 | 1215 |
* Command-line tool "isabelle build_docker" builds a Docker image from |
1216 |
the Isabelle application bundle for Linux. See also |
|
1217 |
https://hub.docker.com/r/makarius/isabelle |
|
1218 |
||
66473 | 1219 |
* Command-line tool "isabelle vscode_server" provides a Language Server |
1220 |
Protocol implementation, e.g. for the Visual Studio Code editor. It |
|
1221 |
serves as example for alternative PIDE front-ends. |
|
1222 |
||
66472 | 1223 |
* Command-line tool "isabelle imports" helps to maintain theory imports |
66673 | 1224 |
wrt. session structure. Examples for the main Isabelle distribution: |
66472 | 1225 |
|
1226 |
isabelle imports -I -a |
|
1227 |
isabelle imports -U -a |
|
1228 |
isabelle imports -U -i -a |
|
1229 |
isabelle imports -M -a -d '~~/src/Benchmarks' |
|
1230 |
||
64844 | 1231 |
|
67099 | 1232 |
|
64072 | 1233 |
New in Isabelle2016-1 (December 2016) |
1234 |
------------------------------------- |
|
62216 | 1235 |
|
62440 | 1236 |
*** General *** |
1237 |
||
64390 | 1238 |
* Splitter in proof methods "simp", "auto" and friends: |
1239 |
- The syntax "split add" has been discontinued, use plain "split", |
|
1240 |
INCOMPATIBILITY. |
|
1241 |
- For situations with many conditional or case expressions, there is |
|
1242 |
an alternative splitting strategy that can be much faster. It is |
|
1243 |
selected by writing "split!" instead of "split". It applies safe |
|
1244 |
introduction and elimination rules after each split rule. As a |
|
1245 |
result the subgoal may be split into several subgoals. |
|
1246 |
||
63273 | 1247 |
* Command 'bundle' provides a local theory target to define a bundle |
1248 |
from the body of specification commands (such as 'declare', |
|
1249 |
'declaration', 'notation', 'lemmas', 'lemma'). For example: |
|
1250 |
||
1251 |
bundle foo |
|
1252 |
begin |
|
1253 |
declare a [simp] |
|
1254 |
declare b [intro] |
|
1255 |
end |
|
63272 | 1256 |
|
63282 | 1257 |
* Command 'unbundle' is like 'include', but works within a local theory |
1258 |
context. Unlike "context includes ... begin", the effect of 'unbundle' |
|
1259 |
on the target context persists, until different declarations are given. |
|
1260 |
||
63977 | 1261 |
* Simplified outer syntax: uniform category "name" includes long |
1262 |
identifiers. Former "xname" / "nameref" / "name reference" has been |
|
1263 |
discontinued. |
|
1264 |
||
1265 |
* Embedded content (e.g. the inner syntax of types, terms, props) may be |
|
1266 |
delimited uniformly via cartouches. This works better than old-fashioned |
|
1267 |
quotes when sub-languages are nested. |
|
1268 |
||
1269 |
* Mixfix annotations support general block properties, with syntax |
|
1270 |
"(\<open>x=a y=b z \<dots>\<close>". Notable property names are "indent", "consistent", |
|
1271 |
"unbreakable", "markup". The existing notation "(DIGITS" is equivalent |
|
1272 |
to "(\<open>indent=DIGITS\<close>". The former notation "(00" for unbreakable blocks |
|
1273 |
is superseded by "(\<open>unbreabable\<close>" --- rare INCOMPATIBILITY. |
|
63649 | 1274 |
|
63384 | 1275 |
* Proof method "blast" is more robust wrt. corner cases of Pure |
1276 |
statements without object-logic judgment. |
|
1277 |
||
63624
994d1a1105ef
more informative 'prf' and 'full_prf', based on HOL/Proofs/ex/XML_Data.thy;
wenzelm
parents:
63610
diff
changeset
|
1278 |
* Commands 'prf' and 'full_prf' are somewhat more informative (again): |
63977 | 1279 |
proof terms are reconstructed and cleaned from administrative thm nodes. |
1280 |
||
1281 |
* Code generator: config option "code_timing" triggers measurements of |
|
1282 |
different phases of code generation. See src/HOL/ex/Code_Timing.thy for |
|
1283 |
examples. |
|
1284 |
||
1285 |
* Code generator: implicits in Scala (stemming from type class |
|
1286 |
instances) are generated into companion object of corresponding type |
|
1287 |
class, to resolve some situations where ambiguities may occur. |
|
1288 |
||
64390 | 1289 |
* Solve direct: option "solve_direct_strict_warnings" gives explicit |
1290 |
warnings for lemma statements with trivial proofs. |
|
64013
048b7dbfdfa3
option to report results of solve_direct as explicit warnings
haftmann
parents:
63995
diff
changeset
|
1291 |
|
64602 | 1292 |
|
62904 | 1293 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
1294 |
||
64527 | 1295 |
* More aggressive flushing of machine-generated input, according to |
1296 |
system option editor_generated_input_delay (in addition to existing |
|
1297 |
editor_input_delay for regular user edits). This may affect overall PIDE |
|
1298 |
reactivity and CPU usage. |
|
1299 |
||
64390 | 1300 |
* Syntactic indentation according to Isabelle outer syntax. Action |
1301 |
"indent-lines" (shortcut C+i) indents the current line according to |
|
1302 |
command keywords and some command substructure. Action |
|
1303 |
"isabelle.newline" (shortcut ENTER) indents the old and the new line |
|
1304 |
according to command keywords only; see also option |
|
1305 |
"jedit_indent_newline". |
|
1306 |
||
1307 |
* Semantic indentation for unstructured proof scripts ('apply' etc.) via |
|
1308 |
number of subgoals. This requires information of ongoing document |
|
1309 |
processing and may thus lag behind, when the user is editing too |
|
1310 |
quickly; see also option "jedit_script_indent" and |
|
1311 |
"jedit_script_indent_limit". |
|
1312 |
||
1313 |
* Refined folding mode "isabelle" based on Isar syntax: 'next' and 'qed' |
|
1314 |
are treated as delimiters for fold structure; 'begin' and 'end' |
|
1315 |
structure of theory specifications is treated as well. |
|
1316 |
||
1317 |
* Command 'proof' provides information about proof outline with cases, |
|
1318 |
e.g. for proof methods "cases", "induct", "goal_cases". |
|
1319 |
||
1320 |
* Completion templates for commands involving "begin ... end" blocks, |
|
1321 |
e.g. 'context', 'notepad'. |
|
1322 |
||
1323 |
* Sidekick parser "isabelle-context" shows nesting of context blocks |
|
1324 |
according to 'begin' and 'end' structure. |
|
1325 |
||
63977 | 1326 |
* Highlighting of entity def/ref positions wrt. cursor. |
1327 |
||
1328 |
* Action "isabelle.select-entity" (shortcut CS+ENTER) selects all |
|
64514 | 1329 |
occurrences of the formal entity at the caret position. This facilitates |
63977 | 1330 |
systematic renaming. |
1331 |
||
1332 |
* PIDE document markup works across multiple Isar commands, e.g. the |
|
1333 |
results established at the end of a proof are properly identified in the |
|
1334 |
theorem statement. |
|
1335 |
||
1336 |
* Cartouche abbreviations work both for " and ` to accomodate typical |
|
1337 |
situations where old ASCII notation may be updated. |
|
1338 |
||
63875 | 1339 |
* Dockable window "Symbols" also provides access to 'abbrevs' from the |
1340 |
outer syntax of the current theory buffer. This provides clickable |
|
1341 |
syntax templates, including entries with empty abbrevs name (which are |
|
1342 |
inaccessible via keyboard completion). |
|
1343 |
||
63022 | 1344 |
* IDE support for the Isabelle/Pure bootstrap process, with the |
1345 |
following independent stages: |
|
1346 |
||
1347 |
src/Pure/ROOT0.ML |
|
1348 |
src/Pure/ROOT.ML |
|
1349 |
src/Pure/Pure.thy |
|
1350 |
src/Pure/ML_Bootstrap.thy |
|
1351 |
||
1352 |
The ML ROOT files act like quasi-theories in the context of theory |
|
1353 |
ML_Bootstrap: this allows continuous checking of all loaded ML files. |
|
1354 |
The theory files are presented with a modified header to import Pure |
|
1355 |
from the running Isabelle instance. Results from changed versions of |
|
1356 |
each stage are *not* propagated to the next stage, and isolated from the |
|
1357 |
actual Isabelle/Pure that runs the IDE itself. The sequential |
|
63308 | 1358 |
dependencies of the above files are only observed for batch build. |
62904 | 1359 |
|
63977 | 1360 |
* Isabelle/ML and Standard ML files are presented in Sidekick with the |
1361 |
tree structure of section headings: this special comment format is |
|
1362 |
described in "implementation" chapter 0, e.g. (*** section ***). |
|
63461 | 1363 |
|
63581 | 1364 |
* Additional abbreviations for syntactic completion may be specified |
63871 | 1365 |
within the theory header as 'abbrevs'. The theory syntax for 'keywords' |
1366 |
has been simplified accordingly: optional abbrevs need to go into the |
|
1367 |
new 'abbrevs' section. |
|
1368 |
||
1369 |
* Global abbreviations via $ISABELLE_HOME/etc/abbrevs and |
|
1370 |
$ISABELLE_HOME_USER/etc/abbrevs are no longer supported. Minor |
|
1371 |
INCOMPATIBILITY, use 'abbrevs' within theory header instead. |
|
63579 | 1372 |
|
64390 | 1373 |
* Action "isabelle.keymap-merge" asks the user to resolve pending |
1374 |
Isabelle keymap changes that are in conflict with the current jEdit |
|
1375 |
keymap; non-conflicting changes are always applied implicitly. This |
|
1376 |
action is automatically invoked on Isabelle/jEdit startup and thus |
|
1377 |
increases chances that users see new keyboard shortcuts when re-using |
|
1378 |
old keymaps. |
|
1379 |
||
63675 | 1380 |
* ML and document antiquotations for file-systems paths are more uniform |
1381 |
and diverse: |
|
1382 |
||
1383 |
@{path NAME} -- no file-system check |
|
1384 |
@{file NAME} -- check for plain file |
|
1385 |
@{dir NAME} -- check for directory |
|
1386 |
||
1387 |
Minor INCOMPATIBILITY, former uses of @{file} and @{file_unchecked} may |
|
1388 |
have to be changed. |
|
63669 | 1389 |
|
1390 |
||
63977 | 1391 |
*** Document preparation *** |