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