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