author | haftmann |
Tue, 19 Nov 2013 18:14:56 +0100 | |
changeset 54502 | e7c9a14632d0 |
parent 54489 | 03ff4d1e6784 |
child 54533 | 05738b7d8191 |
permissions | -rw-r--r-- |
5363 | 1 |
Isabelle NEWS -- history user-relevant changes |
2 |
============================================== |
|
2553 | 3 |
|
54055 | 4 |
New in this Isabelle version |
5 |
---------------------------- |
|
6 |
||
54227
63b441f49645
moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
haftmann
parents:
54055
diff
changeset
|
7 |
*** HOL *** |
63b441f49645
moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
haftmann
parents:
54055
diff
changeset
|
8 |
|
54295 | 9 |
* Qualified constant names Wellfounded.acc, Wellfounded.accp. |
10 |
INCOMPATIBILITY. |
|
11 |
||
54228 | 12 |
* Fact generalization and consolidation: |
13 |
neq_one_mod_two, mod_2_not_eq_zero_eq_one_int ~> not_mod_2_eq_0_eq_1 |
|
14 |
INCOMPATIBILITY. |
|
15 |
||
16 |
* Purely algebraic definition of even. Fact generalization and consolidation: |
|
17 |
nat_even_iff_2_dvd, int_even_iff_2_dvd ~> even_iff_2_dvd |
|
18 |
even_zero_(nat|int) ~> even_zero |
|
19 |
INCOMPATIBILITY. |
|
54055 | 20 |
|
54489
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
21 |
* Abolished neg_numeral. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
22 |
* Canonical representation for minus one is "- 1". |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
23 |
* Canonical representation for other negative numbers is "- (numeral _)". |
54502 | 24 |
* When devising rule sets for number calculation, consider the |
54489
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
25 |
following cases: 0, 1, numeral _, - 1, - numeral _. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
26 |
* Syntax for negative numerals is mere input syntax. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
27 |
INCOMPATBILITY. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
28 |
|
54230
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
29 |
* Elimination of fact duplicates: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
30 |
equals_zero_I ~> minus_unique |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
31 |
diff_eq_0_iff_eq ~> right_minus_eq |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
32 |
INCOMPATIBILITY. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
33 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
34 |
* Fact name consolidation: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
35 |
diff_def, diff_minus, ab_diff_minus ~> diff_conv_add_uminus |
54250 | 36 |
minus_le_self_iff ~> neg_less_eq_nonneg |
37 |
le_minus_self_iff ~> less_eq_neg_nonpos |
|
38 |
neg_less_nonneg ~> neg_less_pos |
|
39 |
less_minus_self_iff ~> less_neg_neg [simp] |
|
54230
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
40 |
INCOMPATIBILITY. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
41 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
42 |
* More simplification rules on unary and binary minus: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
43 |
add_diff_cancel, add_diff_cancel_left, add_le_same_cancel1, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
44 |
add_le_same_cancel2, add_less_same_cancel1, add_less_same_cancel2, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
45 |
add_minus_cancel, diff_add_cancel, le_add_same_cancel1, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
46 |
le_add_same_cancel2, less_add_same_cancel1, less_add_same_cancel2, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
47 |
minus_add_cancel, uminus_add_conv_diff. These correspondingly |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
48 |
have been taken away from fact collections algebra_simps and |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
49 |
field_simps. INCOMPATIBILITY. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
50 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
51 |
To restore proofs, the following patterns are helpful: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
52 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
53 |
a) Arbitrary failing proof not involving "diff_def": |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
54 |
Consider simplification with algebra_simps or field_simps. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
55 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
56 |
b) Lifting rules from addition to subtraction: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
57 |
Try with "using <rule for addition> of [… "- _" …]" by simp". |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
58 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
59 |
c) Simplification with "diff_def": just drop "diff_def". |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
60 |
Consider simplification with algebra_simps or field_simps; |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
61 |
or the brute way with |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
62 |
"simp add: diff_conv_add_uminus del: add_uminus_conv_diff". |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
63 |
|
54264 | 64 |
* SUP and INF generalized to conditionally_complete_lattice |
65 |
||
66 |
* Theory Lubs moved HOL image to HOL-Library. It is replaced by |
|
67 |
Conditionally_Complete_Lattices. INCOMPATIBILITY. |
|
68 |
||
69 |
* Introduce bdd_above and bdd_below in Conditionally_Complete_Lattices, use them |
|
70 |
instead of explicitly stating boundedness of sets. |
|
71 |
||
72 |
||
54449
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
73 |
*** ML *** |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
74 |
|
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
75 |
* Toplevel function "use" refers to raw ML bootstrap environment, |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
76 |
without Isar context nor antiquotations. Potential INCOMPATIBILITY. |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
77 |
Note that 'ML_file' is the canonical command to load ML files into the |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
78 |
formal context. |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
79 |
|
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
80 |
|
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
81 |
|
53971 | 82 |
New in Isabelle2013-1 (November 2013) |
83 |
------------------------------------- |
|
50994 | 84 |
|
51293
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset
|
85 |
*** General *** |
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset
|
86 |
|
53971 | 87 |
* Discontinued obsolete 'uses' within theory header. Note that |
88 |
commands like 'ML_file' work without separate declaration of file |
|
89 |
dependencies. Minor INCOMPATIBILITY. |
|
90 |
||
91 |
* Discontinued redundant 'use' command, which was superseded by |
|
92 |
'ML_file' in Isabelle2013. Minor INCOMPATIBILITY. |
|
93 |
||
53016
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
94 |
* Simplified subscripts within identifiers, using plain \<^sub> |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
95 |
instead of the second copy \<^isub> and \<^isup>. Superscripts are |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
96 |
only for literal tokens within notation; explicit mixfix annotations |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
97 |
for consts or fixed variables may be used as fall-back for unusual |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
98 |
names. Obsolete \<twosuperior> has been expanded to \<^sup>2 in |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
99 |
Isabelle/HOL. INCOMPATIBILITY, use "isabelle update_sub_sup" to |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
100 |
standardize symbols as a starting point for further manual cleanup. |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
101 |
The ML reference variable "legacy_isub_isup" may be set as temporary |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
102 |
workaround, to make the prover accept a subset of the old identifier |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
103 |
syntax. |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
104 |
|
53021
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents:
53016
diff
changeset
|
105 |
* Document antiquotations: term style "isub" has been renamed to |
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents:
53016
diff
changeset
|
106 |
"sub". Minor INCOMPATIBILITY. |
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents:
53016
diff
changeset
|
107 |
|
52487
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
108 |
* Uniform management of "quick_and_dirty" as system option (see also |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
109 |
"isabelle options"), configuration option within the context (see also |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
110 |
Config.get in Isabelle/ML), and attribute in Isabelle/Isar. Minor |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
111 |
INCOMPATIBILITY, need to use more official Isabelle means to access |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
112 |
quick_and_dirty, instead of historical poking into mutable reference. |
52059 | 113 |
|
52060 | 114 |
* Renamed command 'print_configs' to 'print_options'. Minor |
115 |
INCOMPATIBILITY. |
|
116 |
||
52430 | 117 |
* Proper diagnostic command 'print_state'. Old 'pr' (with its |
118 |
implicit change of some global references) is retained for now as |
|
119 |
control command, e.g. for ProofGeneral 3.7.x. |
|
120 |
||
52549 | 121 |
* Discontinued 'print_drafts' command with its old-fashioned PS output |
122 |
and Unix command-line print spooling. Minor INCOMPATIBILITY: use |
|
123 |
'display_drafts' instead and print via the regular document viewer. |
|
124 |
||
53971 | 125 |
* Updated and extended "isar-ref" and "implementation" manual, |
126 |
eliminated old "ref" manual. |
|
127 |
||
51293
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset
|
128 |
|
51533 | 129 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
130 |
||
53971 | 131 |
* New manual "jedit" for Isabelle/jEdit, see isabelle doc or |
53852 | 132 |
Documentation panel. |
133 |
||
53971 | 134 |
* Dockable window "Documentation" provides access to Isabelle |
135 |
documentation. |
|
52646 | 136 |
|
52949 | 137 |
* Dockable window "Find" provides query operations for formal entities |
138 |
(GUI front-end to 'find_theorems' command). |
|
139 |
||
53050 | 140 |
* Dockable window "Sledgehammer" manages asynchronous / parallel |
141 |
sledgehammer runs over existing document sources, independently of |
|
142 |
normal editing and checking process. |
|
143 |
||
51533 | 144 |
* Dockable window "Timing" provides an overview of relevant command |
54332 | 145 |
timing information, depending on option jedit_timing_threshold. The |
146 |
same timing information is shown in the extended tooltip of the |
|
147 |
command keyword, when hovering the mouse over it while the CONTROL or |
|
148 |
COMMAND modifier is pressed. |
|
51533 | 149 |
|
53971 | 150 |
* Improved dockable window "Theories": Continuous checking of proof |
151 |
document (visible and required parts) may be controlled explicitly, |
|
152 |
using check box or shortcut "C+e ENTER". Individual theory nodes may |
|
153 |
be marked explicitly as required and checked in full, using check box |
|
154 |
or shortcut "C+e SPACE". |
|
155 |
||
54305 | 156 |
* Improved completion mechanism, which is now managed by the |
157 |
Isabelle/jEdit plugin instead of SideKick. Refined table of Isabelle |
|
158 |
symbol abbreviations (see $ISABELLE_HOME/etc/symbols). |
|
159 |
||
54319 | 160 |
* Standard jEdit keyboard shortcut C+b complete-word is remapped to |
161 |
isabelle.complete for explicit completion in Isabelle sources. |
|
162 |
INCOMPATIBILITY wrt. jEdit defaults, may have to invent new shortcuts |
|
163 |
to resolve conflict. |
|
164 |
||
54305 | 165 |
* Improved support of various "minor modes" for Isabelle NEWS, |
166 |
options, session ROOT etc., with completion and SideKick tree view. |
|
167 |
||
53971 | 168 |
* Strictly monotonic document update, without premature cancellation of |
169 |
running transactions that are still needed: avoid reset/restart of |
|
170 |
such command executions while editing. |
|
53271
0460d6962ced
GTK+ works better due to avoidance of default list view popups;
wenzelm
parents:
53251
diff
changeset
|
171 |
|
53971 | 172 |
* Support for asynchronous print functions, as overlay to existing |
173 |
document content. |
|
174 |
||
175 |
* Support for automatic tools in HOL, which try to prove or disprove |
|
176 |
toplevel theorem statements. |
|
177 |
||
178 |
* Action isabelle.reset-font-size resets main text area font size |
|
54365
5d45c985974a
no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents:
54351
diff
changeset
|
179 |
according to Isabelle/Scala plugin option "jedit_font_reset_size" (see |
5d45c985974a
no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents:
54351
diff
changeset
|
180 |
also "Plugin Options / Isabelle / General"). It can be bound to some |
5d45c985974a
no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents:
54351
diff
changeset
|
181 |
keyboard shortcut by the user (e.g. C+0 and/or C+NUMPAD0). |
53971 | 182 |
|
183 |
* File specifications in jEdit (e.g. file browser) may refer to |
|
54351 | 184 |
$ISABELLE_HOME and $ISABELLE_HOME_USER on all platforms. Discontinued |
185 |
obsolete $ISABELLE_HOME_WINDOWS variable. |
|
53971 | 186 |
|
187 |
* Improved support for Linux look-and-feel "GTK+", see also "Utilities |
|
188 |
/ Global Options / Appearance". |
|
189 |
||
190 |
* Improved support of native Mac OS X functionality via "MacOSX" |
|
191 |
plugin, which is now enabled by default. |
|
192 |
||
51533 | 193 |
|
51313 | 194 |
*** Pure *** |
195 |
||
54049 | 196 |
* Commands 'interpretation' and 'sublocale' are now target-sensitive. |
197 |
In particular, 'interpretation' allows for non-persistent |
|
198 |
interpretation within "context ... begin ... end" blocks offering a |
|
199 |
light-weight alternative to 'sublocale'. See "isar-ref" manual for |
|
200 |
details. |
|
51747 | 201 |
|
51565 | 202 |
* Improved locales diagnostic command 'print_dependencies'. |
203 |
||
51313 | 204 |
* Discontinued obsolete 'axioms' command, which has been marked as |
205 |
legacy since Isabelle2009-2. INCOMPATIBILITY, use 'axiomatization' |
|
206 |
instead, while observing its uniform scope for polymorphism. |
|
207 |
||
51316
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset
|
208 |
* Discontinued empty name bindings in 'axiomatization'. |
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset
|
209 |
INCOMPATIBILITY. |
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset
|
210 |
|
53971 | 211 |
* System option "proofs" has been discontinued. Instead the global |
212 |
state of Proofterm.proofs is persistently compiled into logic images |
|
213 |
as required, notably HOL-Proofs. Users no longer need to change |
|
214 |
Proofterm.proofs dynamically. Minor INCOMPATIBILITY. |
|
215 |
||
216 |
* Syntax translation functions (print_translation etc.) always depend |
|
217 |
on Proof.context. Discontinued former "(advanced)" option -- this is |
|
218 |
now the default. Minor INCOMPATIBILITY. |
|
219 |
||
220 |
* Former global reference trace_unify_fail is now available as |
|
221 |
configuration option "unify_trace_failure" (global context only). |
|
222 |
||
52463 | 223 |
* SELECT_GOAL now retains the syntactic context of the overall goal |
224 |
state (schematic variables etc.). Potential INCOMPATIBILITY in rare |
|
225 |
situations. |
|
226 |
||
51313 | 227 |
|
51002
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset
|
228 |
*** HOL *** |
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset
|
229 |
|
54032 | 230 |
* Stronger precedence of syntax for big intersection and union on |
231 |
sets, in accordance with corresponding lattice operations. |
|
232 |
INCOMPATIBILITY. |
|
233 |
||
234 |
* Notation "{p:A. P}" now allows tuple patterns as well. |
|
235 |
||
236 |
* Nested case expressions are now translated in a separate check phase |
|
237 |
rather than during parsing. The data for case combinators is separated |
|
238 |
from the datatype package. The declaration attribute |
|
239 |
"case_translation" can be used to register new case combinators: |
|
240 |
||
241 |
declare [[case_translation case_combinator constructor1 ... constructorN]] |
|
52637
1501ebe39711
attribute "code" declares concrete and abstract code equations uniformly; added explicit "code equation" instead
haftmann
parents:
52550
diff
changeset
|
242 |
|
52435
6646bb548c6b
migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier
haftmann
parents:
52430
diff
changeset
|
243 |
* Code generator: |
53160 | 244 |
- 'code_printing' unifies 'code_const' / 'code_type' / 'code_class' / |
245 |
'code_instance'. |
|
246 |
- 'code_identifier' declares name hints for arbitrary identifiers in |
|
247 |
generated code, subsuming 'code_modulename'. |
|
53983 | 248 |
|
249 |
See the isar-ref manual for syntax diagrams, and the HOL theories for |
|
250 |
examples. |
|
52435
6646bb548c6b
migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier
haftmann
parents:
52430
diff
changeset
|
251 |
|
54032 | 252 |
* Attibute 'code': 'code' now declares concrete and abstract code |
253 |
equations uniformly. Use explicit 'code equation' and 'code abstract' |
|
254 |
to distinguish both when desired. |
|
255 |
||
256 |
* Discontinued theories Code_Integer and Efficient_Nat by a more |
|
257 |
fine-grain stack of theories Code_Target_Int, Code_Binary_Nat, |
|
258 |
Code_Target_Nat and Code_Target_Numeral. See the tutorial on code |
|
259 |
generation for details. INCOMPATIBILITY. |
|
260 |
||
261 |
* Numeric types are mapped by default to target language numerals: |
|
262 |
natural (replaces former code_numeral) and integer (replaces former |
|
263 |
code_int). Conversions are available as integer_of_natural / |
|
264 |
natural_of_integer / integer_of_nat / nat_of_integer (in HOL) and |
|
265 |
Code_Numeral.integer_of_natural / Code_Numeral.natural_of_integer (in |
|
266 |
ML). INCOMPATIBILITY. |
|
267 |
||
268 |
* Function package: For mutually recursive functions f and g, separate |
|
269 |
cases rules f.cases and g.cases are generated instead of unusable |
|
270 |
f_g.cases which exposed internal sum types. Potential INCOMPATIBILITY, |
|
271 |
in the case that the unusable rule was used nevertheless. |
|
272 |
||
273 |
* Function package: For each function f, new rules f.elims are |
|
274 |
generated, which eliminate equalities of the form "f x = t". |
|
275 |
||
276 |
* New command 'fun_cases' derives ad-hoc elimination rules for |
|
277 |
function equations as simplified instances of f.elims, analogous to |
|
278 |
inductive_cases. See ~~/src/HOL/ex/Fundefs.thy for some examples. |
|
53307 | 279 |
|
54021 | 280 |
* Lifting: |
281 |
- parametrized correspondence relations are now supported: |
|
54378 | 282 |
+ parametricity theorems for the raw term can be specified in |
54021 | 283 |
the command lift_definition, which allow us to generate stronger |
284 |
transfer rules |
|
285 |
+ setup_lifting generates stronger transfer rules if parametric |
|
286 |
correspondence relation can be generated |
|
287 |
+ various new properties of the relator must be specified to support |
|
288 |
parametricity |
|
289 |
+ parametricity theorem for the Quotient relation can be specified |
|
290 |
- setup_lifting generates domain rules for the Transfer package |
|
291 |
- stronger reflexivity prover of respectfulness theorems for type |
|
292 |
copies |
|
293 |
- ===> and --> are now local. The symbols can be introduced |
|
294 |
by interpreting the locale lifting_syntax (typically in an |
|
295 |
anonymous context) |
|
54378 | 296 |
- Lifting/Transfer relevant parts of Library/Quotient_* are now in |
54021 | 297 |
Main. Potential INCOMPATIBILITY |
298 |
- new commands for restoring and deleting Lifting/Transfer context: |
|
299 |
lifting_forget, lifting_update |
|
54378 | 300 |
- the command print_quotmaps was renamed to print_quot_maps. |
54021 | 301 |
INCOMPATIBILITY |
302 |
||
303 |
* Transfer: |
|
54378 | 304 |
- better support for domains in Transfer: replace Domainp T |
54021 | 305 |
by the actual invariant in a transferred goal |
306 |
- transfer rules can have as assumptions other transfer rules |
|
307 |
- Experimental support for transferring from the raw level to the |
|
308 |
abstract level: Transfer.transferred attribute |
|
309 |
- Attribute version of the transfer method: untransferred attribute |
|
310 |
||
52286 | 311 |
* Reification and reflection: |
53160 | 312 |
- Reification is now directly available in HOL-Main in structure |
313 |
"Reification". |
|
314 |
- Reflection now handles multiple lists with variables also. |
|
315 |
- The whole reflection stack has been decomposed into conversions. |
|
52286 | 316 |
INCOMPATIBILITY. |
317 |
||
51489 | 318 |
* Revised devices for recursive definitions over finite sets: |
319 |
- Only one fundamental fold combinator on finite set remains: |
|
320 |
Finite_Set.fold :: ('a => 'b => 'b) => 'b => 'a set => 'b |
|
321 |
This is now identity on infinite sets. |
|
52745
821ce370b7fc
avoid predefined symbols -- allow editing with Isabelle/jEdit in isabelle-news mode;
wenzelm
parents:
52743
diff
changeset
|
322 |
- Locales ("mini packages") for fundamental definitions with |
51489 | 323 |
Finite_Set.fold: folding, folding_idem. |
324 |
- Locales comm_monoid_set, semilattice_order_set and |
|
325 |
semilattice_neutr_order_set for big operators on sets. |
|
326 |
See theory Big_Operators for canonical examples. |
|
327 |
Note that foundational constants comm_monoid_set.F and |
|
328 |
semilattice_set.F correspond to former combinators fold_image |
|
329 |
and fold1 respectively. These are now gone. You may use |
|
51490 | 330 |
those foundational constants as substitutes, but it is |
53983 | 331 |
preferable to interpret the above locales accordingly. |
51489 | 332 |
- Dropped class ab_semigroup_idem_mult (special case of lattice, |
333 |
no longer needed in connection with Finite_Set.fold etc.) |
|
334 |
- Fact renames: |
|
335 |
card.union_inter ~> card_Un_Int [symmetric] |
|
336 |
card.union_disjoint ~> card_Un_disjoint |
|
337 |
INCOMPATIBILITY. |
|
338 |
||
51487 | 339 |
* Locale hierarchy for abstract orderings and (semi)lattices. |
340 |
||
53526 | 341 |
* Complete_Partial_Order.admissible is defined outside the type class |
342 |
ccpo, but with mandatory prefix ccpo. Admissibility theorems lose the |
|
343 |
class predicate assumption or sort constraint when possible. |
|
53362 | 344 |
INCOMPATIBILITY. |
345 |
||
53160 | 346 |
* Introduce type class "conditionally_complete_lattice": Like a |
347 |
complete lattice but does not assume the existence of the top and |
|
348 |
bottom elements. Allows to generalize some lemmas about reals and |
|
349 |
extended reals. Removed SupInf and replaced it by the instantiation |
|
350 |
of conditionally_complete_lattice for real. Renamed lemmas about |
|
351 |
conditionally-complete lattice from Sup_... to cSup_... and from |
|
352 |
Inf_... to cInf_... to avoid hidding of similar complete lattice |
|
353 |
lemmas. |
|
354 |
||
355 |
* Introduce type class linear_continuum as combination of |
|
356 |
conditionally-complete lattices and inner dense linorders which have |
|
357 |
more than one element. INCOMPATIBILITY. |
|
358 |
||
53983 | 359 |
* Introduced type classes order_top and order_bot. The old classes top |
360 |
and bot only contain the syntax without assumptions. INCOMPATIBILITY: |
|
361 |
Rename bot -> order_bot, top -> order_top |
|
53683 | 362 |
|
53160 | 363 |
* Introduce type classes "no_top" and "no_bot" for orderings without |
364 |
top and bottom elements. |
|
51732 | 365 |
|
366 |
* Split dense_linorder into inner_dense_order and no_top, no_bot. |
|
367 |
||
368 |
* Complex_Main: Unify and move various concepts from |
|
53160 | 369 |
HOL-Multivariate_Analysis to HOL-Complex_Main. |
51732 | 370 |
|
53983 | 371 |
- Introduce type class (lin)order_topology and |
372 |
linear_continuum_topology. Allows to generalize theorems about |
|
373 |
limits and order. Instances are reals and extended reals. |
|
51732 | 374 |
|
375 |
- continuous and continuos_on from Multivariate_Analysis: |
|
53983 | 376 |
"continuous" is the continuity of a function at a filter. "isCont" |
377 |
is now an abbrevitation: "isCont x f == continuous (at _) f". |
|
378 |
||
379 |
Generalized continuity lemmas from isCont to continuous on an |
|
380 |
arbitrary filter. |
|
381 |
||
382 |
- compact from Multivariate_Analysis. Use Bolzano's lemma to prove |
|
383 |
compactness of closed intervals on reals. Continuous functions |
|
384 |
attain infimum and supremum on compact sets. The inverse of a |
|
385 |
continuous function is continuous, when the function is continuous |
|
386 |
on a compact set. |
|
51732 | 387 |
|
388 |
- connected from Multivariate_Analysis. Use it to prove the |
|
51775
408d937c9486
revert #916271d52466; add non-topological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset
|
389 |
intermediate value theorem. Show connectedness of intervals on |
408d937c9486
revert #916271d52466; add non-topological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset
|
390 |
linear_continuum_topology). |
51732 | 391 |
|
392 |
- first_countable_topology from Multivariate_Analysis. Is used to |
|
53983 | 393 |
show equivalence of properties on the neighbourhood filter of x and |
394 |
on all sequences converging to x. |
|
395 |
||
396 |
- FDERIV: Definition of has_derivative moved to Deriv.thy. Moved |
|
397 |
theorems from Library/FDERIV.thy to Deriv.thy and base the |
|
398 |
definition of DERIV on FDERIV. Add variants of DERIV and FDERIV |
|
399 |
which are restricted to sets, i.e. to represent derivatives from |
|
400 |
left or right. |
|
51732 | 401 |
|
402 |
- Removed the within-filter. It is replaced by the principal filter: |
|
403 |
||
404 |
F within X = inf F (principal X) |
|
405 |
||
406 |
- Introduce "at x within U" as a single constant, "at x" is now an |
|
407 |
abbreviation for "at x within UNIV" |
|
408 |
||
53983 | 409 |
- Introduce named theorem collections tendsto_intros, |
410 |
continuous_intros, continuous_on_intros and FDERIV_intros. Theorems |
|
411 |
in tendsto_intros (or FDERIV_intros) are also available as |
|
412 |
tendsto_eq_intros (or FDERIV_eq_intros) where the right-hand side |
|
413 |
is replaced by a congruence rule. This allows to apply them as |
|
414 |
intro rules and then proving equivalence by the simplifier. |
|
51732 | 415 |
|
416 |
- Restructured theories in HOL-Complex_Main: |
|
417 |
||
418 |
+ Moved RealDef and RComplete into Real |
|
419 |
||
420 |
+ Introduced Topological_Spaces and moved theorems about |
|
421 |
topological spaces, filters, limits and continuity to it |
|
422 |
||
423 |
+ Renamed RealVector to Real_Vector_Spaces |
|
424 |
||
53983 | 425 |
+ Split Lim, SEQ, Series into Topological_Spaces, |
426 |
Real_Vector_Spaces, and Limits |
|
51732 | 427 |
|
428 |
+ Moved Ln and Log to Transcendental |
|
429 |
||
430 |
+ Moved theorems about continuity from Deriv to Topological_Spaces |
|
431 |
||
432 |
- Remove various auxiliary lemmas. |
|
433 |
||
434 |
INCOMPATIBILITY. |
|
51002
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset
|
435 |
|
53738 | 436 |
* Nitpick: |
53803 | 437 |
- Added option "spy" |
53738 | 438 |
- Reduce incidence of "too high arity" errors |
439 |
||
51137 | 440 |
* Sledgehammer: |
441 |
- Renamed option: |
|
442 |
isar_shrink ~> isar_compress |
|
53738 | 443 |
INCOMPATIBILITY. |
53801 | 444 |
- Added options "isar_try0", "spy" |
53728 | 445 |
- Better support for "isar_proofs" |
53766 | 446 |
- MaSh has been fined-tuned and now runs as a local server |
51137 | 447 |
|
54032 | 448 |
* Improved support for ad hoc overloading of constants (see also |
449 |
isar-ref manual and ~~/src/HOL/ex/Adhoc_Overloading_Examples.thy). |
|
450 |
||
451 |
* Library/Polynomial.thy: |
|
452 |
- Use lifting for primitive definitions. |
|
453 |
- Explicit conversions from and to lists of coefficients, used for |
|
454 |
generated code. |
|
455 |
- Replaced recursion operator poly_rec by fold_coeffs. |
|
456 |
- Prefer pre-existing gcd operation for gcd. |
|
457 |
- Fact renames: |
|
458 |
poly_eq_iff ~> poly_eq_poly_eq_iff |
|
459 |
poly_ext ~> poly_eqI |
|
460 |
expand_poly_eq ~> poly_eq_iff |
|
461 |
IMCOMPATIBILITY. |
|
462 |
||
463 |
* New Library/Simps_Case_Conv.thy: Provides commands simps_of_case and |
|
464 |
case_of_simps to convert function definitions between a list of |
|
465 |
equations with patterns on the lhs and a single equation with case |
|
466 |
expressions on the rhs. See also Ex/Simps_Case_Conv_Examples.thy. |
|
467 |
||
468 |
* New Library/FSet.thy: type of finite sets defined as a subtype of |
|
469 |
sets defined by Lifting/Transfer. |
|
470 |
||
471 |
* Discontinued theory src/HOL/Library/Eval_Witness. INCOMPATIBILITY. |
|
472 |
||
473 |
* Consolidation of library theories on product orders: |
|
474 |
||
475 |
Product_Lattice ~> Product_Order -- pointwise order on products |
|
476 |
Product_ord ~> Product_Lexorder -- lexicographic order on products |
|
477 |
||
478 |
INCOMPATIBILITY. |
|
479 |
||
53160 | 480 |
* Imperative-HOL: The MREC combinator is considered legacy and no |
481 |
longer included by default. INCOMPATIBILITY, use partial_function |
|
482 |
instead, or import theory Legacy_Mrec as a fallback. |
|
483 |
||
53983 | 484 |
* HOL-Algebra: Discontinued theories ~~/src/HOL/Algebra/abstract and |
485 |
~~/src/HOL/Algebra/poly. Existing theories should be based on |
|
486 |
~~/src/HOL/Library/Polynomial instead. The latter provides |
|
487 |
integration with HOL's type classes for rings. INCOMPATIBILITY. |
|
51517
7957d26c3334
Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents:
51490
diff
changeset
|
488 |
|
54033 | 489 |
* HOL-BNF: |
54032 | 490 |
- Various improvements to BNF-based (co)datatype package, including |
491 |
new commands "primrec_new", "primcorec", and |
|
492 |
"datatype_new_compat", as well as documentation. See |
|
493 |
"datatypes.pdf" for details. |
|
494 |
- New "coinduction" method to avoid some boilerplate (compared to |
|
495 |
coinduct). |
|
496 |
- Renamed keywords: |
|
497 |
data ~> datatype_new |
|
498 |
codata ~> codatatype |
|
499 |
bnf_def ~> bnf |
|
500 |
- Renamed many generated theorems, including |
|
501 |
discs ~> disc |
|
502 |
map_comp' ~> map_comp |
|
503 |
map_id' ~> map_id |
|
504 |
sels ~> sel |
|
505 |
set_map' ~> set_map |
|
506 |
sets ~> set |
|
507 |
IMCOMPATIBILITY. |
|
508 |
||
51517
7957d26c3334
Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents:
51490
diff
changeset
|
509 |
|
51551 | 510 |
*** ML *** |
511 |
||
53971 | 512 |
* Spec_Check is a Quickcheck tool for Isabelle/ML. The ML function |
513 |
"check_property" allows to check specifications of the form "ALL x y |
|
514 |
z. prop x y z". See also ~~/src/Tools/Spec_Check/ with its |
|
515 |
Examples.thy in particular. |
|
516 |
||
53709
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
517 |
* Improved printing of exception trace in Poly/ML 5.5.1, with regular |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
518 |
tracing output in the command transaction context instead of physical |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
519 |
stdout. See also Toplevel.debug, Toplevel.debugging and |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
520 |
ML_Compiler.exn_trace. |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
521 |
|
53971 | 522 |
* ML type "theory" is now immutable, without any special treatment of |
523 |
drafts or linear updates (which could lead to "stale theory" errors in |
|
524 |
the past). Discontinued obsolete operations like Theory.copy, |
|
525 |
Theory.checkpoint, and the auxiliary type theory_ref. Minor |
|
526 |
INCOMPATIBILITY. |
|
53164
beb4ee344c22
clarified position of Spec_Check for Isabelle/ML -- it is unrelated to Isabelle/HOL;
wenzelm
parents:
53162
diff
changeset
|
527 |
|
51551 | 528 |
* More uniform naming of goal functions for skipped proofs: |
529 |
||
530 |
Skip_Proof.prove ~> Goal.prove_sorry |
|
531 |
Skip_Proof.prove_global ~> Goal.prove_sorry_global |
|
532 |
||
53971 | 533 |
Minor INCOMPATIBILITY. |
51703
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset
|
534 |
|
51717
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
535 |
* Simplifier tactics and tools use proper Proof.context instead of |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
536 |
historic type simpset. Old-style declarations like addsimps, |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
537 |
addsimprocs etc. operate directly on Proof.context. Raw type simpset |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
538 |
retains its use as snapshot of the main Simplifier context, using |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
539 |
simpset_of and put_simpset on Proof.context. INCOMPATIBILITY -- port |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
540 |
old tools by making them depend on (ctxt : Proof.context) instead of |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
541 |
(ss : simpset), then turn (simpset_of ctxt) into ctxt. |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
542 |
|
53971 | 543 |
* Modifiers for classical wrappers (e.g. addWrapper, delWrapper) |
544 |
operate on Proof.context instead of claset, for uniformity with addIs, |
|
545 |
addEs, addDs etc. Note that claset_of and put_claset allow to manage |
|
546 |
clasets separately from the context. |
|
547 |
||
51717
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
548 |
* Discontinued obsolete ML antiquotations @{claset} and @{simpset}. |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
549 |
INCOMPATIBILITY, use @{context} instead. |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
550 |
|
53971 | 551 |
* Antiquotation @{theory_context A} is similar to @{theory A}, but |
552 |
presents the result as initial Proof.context. |
|
553 |
||
51551 | 554 |
|
51398
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
555 |
*** System *** |
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
556 |
|
52052
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51775
diff
changeset
|
557 |
* Discontinued obsolete isabelle usedir, mkdir, make -- superseded by |
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51775
diff
changeset
|
558 |
"isabelle build" in Isabelle2013. INCOMPATIBILITY. |
51398
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
559 |
|
52054
eaf17514aabd
discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents:
52053
diff
changeset
|
560 |
* Discontinued obsolete isabelle-process options -f and -u (former |
eaf17514aabd
discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents:
52053
diff
changeset
|
561 |
administrative aliases of option -e). Minor INCOMPATIBILITY. |
eaf17514aabd
discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents:
52053
diff
changeset
|
562 |
|
52550 | 563 |
* Discontinued obsolete isabelle print tool, and PRINT_COMMAND |
564 |
settings variable. |
|
565 |
||
52746 | 566 |
* Discontinued ISABELLE_DOC_FORMAT settings variable and historic |
567 |
document formats: dvi.gz, ps, ps.gz -- the default document format is |
|
568 |
always pdf. |
|
52743 | 569 |
|
52053 | 570 |
* Isabelle settings variable ISABELLE_BUILD_JAVA_OPTIONS allows to |
571 |
specify global resources of the JVM process run by isabelle build. |
|
572 |
||
52116
abf9fcfa65cf
added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset
|
573 |
* Toplevel executable $ISABELLE_HOME/bin/isabelle_scala_script allows |
abf9fcfa65cf
added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset
|
574 |
to run Isabelle/Scala source files as standalone programs. |
abf9fcfa65cf
added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset
|
575 |
|
52439
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
576 |
* Improved "isabelle keywords" tool (for old-style ProofGeneral |
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
577 |
keyword tables): use Isabelle/Scala operations, which inspect outer |
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
578 |
syntax without requiring to build sessions first. |
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
579 |
|
53971 | 580 |
* Sessions may be organized via 'chapter' specifications in the ROOT |
581 |
file, which determines a two-level hierarchy of browser info. The old |
|
582 |
tree-like organization via implicit sub-session relation (with its |
|
583 |
tendency towards erratic fluctuation of URLs) has been discontinued. |
|
584 |
The default chapter is called "Unsorted". Potential INCOMPATIBILITY |
|
585 |
for HTML presentation of theories. |
|
586 |
||
51398
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
587 |
|
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
588 |
|
50993 | 589 |
New in Isabelle2013 (February 2013) |
590 |
----------------------------------- |
|
47887 | 591 |
|
47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
592 |
*** General *** |
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
593 |
|
50126
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
594 |
* Theorem status about oracles and unfinished/failed future proofs is |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
595 |
no longer printed by default, since it is incompatible with |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
596 |
incremental / parallel checking of the persistent document model. ML |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
597 |
function Thm.peek_status may be used to inspect a snapshot of the |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
598 |
ongoing evaluation process. Note that in batch mode --- notably |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
599 |
isabelle build --- the system ensures that future proofs of all |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
600 |
accessible theorems in the theory context are finished (as before). |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
601 |
|
49699 | 602 |
* Configuration option show_markup controls direct inlining of markup |
603 |
into the printed representation of formal entities --- notably type |
|
604 |
and sort constraints. This enables Prover IDE users to retrieve that |
|
605 |
information via tooltips in the output window, for example. |
|
606 |
||
48890
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset
|
607 |
* Command 'ML_file' evaluates ML text from a file directly within the |
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset
|
608 |
theory, without any predeclaration via 'uses' in the theory header. |
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset
|
609 |
|
49243 | 610 |
* Old command 'use' command and corresponding keyword 'uses' in the |
611 |
theory header are legacy features and will be discontinued soon. |
|
612 |
Tools that load their additional source files may imitate the |
|
613 |
'ML_file' implementation, such that the system can take care of |
|
614 |
dependencies properly. |
|
615 |
||
47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
616 |
* Discontinued obsolete method fastsimp / tactic fast_simp_tac, which |
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
617 |
is called fastforce / fast_force_tac already since Isabelle2011-1. |
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
618 |
|
50110 | 619 |
* Updated and extended "isar-ref" and "implementation" manual, reduced |
620 |
remaining material in old "ref" manual. |
|
48120
9fe0e71052a0
updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset
|
621 |
|
51050 | 622 |
* Improved support for auxiliary contexts that indicate block structure |
623 |
for specifications. Nesting of "context fixes ... context assumes ..." |
|
49841 | 624 |
and "class ... context ...". |
625 |
||
50772
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
626 |
* Attribute "consumes" allows a negative value as well, which is |
50778 | 627 |
interpreted relatively to the total number of premises of the rule in |
50772
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
628 |
the target context. This form of declaration is stable when exported |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
629 |
from a nested 'context' with additional assumptions. It is the |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
630 |
preferred form for definitional packages, notably cases/rules produced |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
631 |
in HOL/inductive and HOL/function. |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
632 |
|
49869
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
633 |
* More informative error messages for Isar proof commands involving |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
634 |
lazy enumerations (method applications etc.). |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
635 |
|
50213 | 636 |
* Refined 'help' command to retrieve outer syntax commands according |
637 |
to name patterns (with clickable results). |
|
638 |
||
47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
639 |
|
49968 | 640 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
641 |
||
642 |
* Parallel terminal proofs ('by') are enabled by default, likewise |
|
643 |
proofs that are built into packages like 'datatype', 'function'. This |
|
644 |
allows to "run ahead" checking the theory specifications on the |
|
645 |
surface, while the prover is still crunching on internal |
|
646 |
justifications. Unfinished / cancelled proofs are restarted as |
|
647 |
required to complete full proof checking eventually. |
|
648 |
||
649 |
* Improved output panel with tooltips, hyperlinks etc. based on the |
|
650 |
same Rich_Text_Area as regular Isabelle/jEdit buffers. Activation of |
|
651 |
tooltips leads to some window that supports the same recursively, |
|
652 |
which can lead to stacks of tooltips as the semantic document content |
|
653 |
is explored. ESCAPE closes the whole stack, individual windows may be |
|
654 |
closed separately, or detached to become independent jEdit dockables. |
|
655 |
||
50717 | 656 |
* Improved support for commands that produce graph output: the text |
657 |
message contains a clickable area to open a new instance of the graph |
|
658 |
browser on demand. |
|
659 |
||
49968 | 660 |
* More robust incremental parsing of outer syntax (partial comments, |
661 |
malformed symbols). Changing the balance of open/close quotes and |
|
662 |
comment delimiters works more conveniently with unfinished situations |
|
663 |
that frequently occur in user interaction. |
|
664 |
||
665 |
* More efficient painting and improved reactivity when editing large |
|
666 |
files. More scalable management of formal document content. |
|
667 |
||
50505
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset
|
668 |
* Smarter handling of tracing messages: prover process pauses after |
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset
|
669 |
certain number of messages per command transaction, with some user |
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset
|
670 |
dialog to stop or continue. This avoids swamping the front-end with |
50119
5c370a036de7
more generous tracing_limit, with explicit system option;
wenzelm
parents:
50118
diff
changeset
|
671 |
potentially infinite message streams. |
49968 | 672 |
|
673 |
* More plugin options and preferences, based on Isabelle/Scala. The |
|
674 |
jEdit plugin option panel provides access to some Isabelle/Scala |
|
675 |
options, including tuning parameters for editor reactivity and color |
|
676 |
schemes. |
|
677 |
||
50184 | 678 |
* Dockable window "Symbols" provides some editing support for Isabelle |
679 |
symbols. |
|
680 |
||
51082 | 681 |
* Dockable window "Monitor" shows ML runtime statistics. Note that |
682 |
continuous display of the chart slows down the system. |
|
50701 | 683 |
|
50183 | 684 |
* Improved editing support for control styles: subscript, superscript, |
685 |
bold, reset of style -- operating on single symbols or text |
|
50198
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
686 |
selections. Cf. keyboard shortcuts C+e DOWN/UP/RIGHT/LEFT. |
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
687 |
|
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
688 |
* Actions isabelle.increase-font-size and isabelle.decrease-font-size |
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
689 |
adjust the main text area font size, and its derivatives for output, |
50836 | 690 |
tooltips etc. Cf. keyboard shortcuts C-PLUS and C-MINUS, which often |
691 |
need to be adapted to local keyboard layouts. |
|
50183 | 692 |
|
50730 | 693 |
* More reactive completion popup by default: use \t (TAB) instead of |
694 |
\n (NEWLINE) to minimize intrusion into regular flow of editing. See |
|
695 |
also "Plugin Options / SideKick / General / Code Completion Options". |
|
696 |
||
50406
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
697 |
* Implicit check and build dialog of the specified logic session |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
698 |
image. For example, HOL, HOLCF, HOL-Nominal can be produced on |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
699 |
demand, without bundling big platform-dependent heap images in the |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
700 |
Isabelle distribution. |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
701 |
|
49968 | 702 |
* Uniform Java 7 platform on Linux, Mac OS X, Windows: recent updates |
703 |
from Oracle provide better multi-platform experience. This version is |
|
704 |
now bundled exclusively with Isabelle. |
|
705 |
||
706 |
||
48205 | 707 |
*** Pure *** |
708 |
||
48431
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset
|
709 |
* Code generation for Haskell: restrict unqualified imports from |
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset
|
710 |
Haskell Prelude to a small set of fundamental operations. |
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset
|
711 |
|
50646 | 712 |
* Command 'export_code': relative file names are interpreted |
713 |
relatively to master directory of current theory rather than the |
|
714 |
rather arbitrary current working directory. INCOMPATIBILITY. |
|
48371 | 715 |
|
48205 | 716 |
* Discontinued obsolete attribute "COMP". Potential INCOMPATIBILITY, |
717 |
use regular rule composition via "OF" / "THEN", or explicit proof |
|
718 |
structure instead. Note that Isabelle/ML provides a variety of |
|
719 |
operators like COMP, INCR_COMP, COMP_INCR, which need to be applied |
|
720 |
with some care where this is really required. |
|
721 |
||
48792 | 722 |
* Command 'typ' supports an additional variant with explicit sort |
723 |
constraint, to infer and check the most general type conforming to a |
|
51063 | 724 |
given sort. Example (in HOL): |
48792 | 725 |
|
726 |
typ "_ * _ * bool * unit" :: finite |
|
727 |
||
50716 | 728 |
* Command 'locale_deps' visualizes all locales and their relations as |
729 |
a Hasse diagram. |
|
730 |
||
48205 | 731 |
|
48013
44de84112a67
added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents:
47979
diff
changeset
|
732 |
*** HOL *** |
44de84112a67
added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents:
47979
diff
changeset
|
733 |
|
50646 | 734 |
* Sledgehammer: |
735 |
||
736 |
- Added MaSh relevance filter based on machine-learning; see the |
|
737 |
Sledgehammer manual for details. |
|
738 |
- Polished Isar proofs generated with "isar_proofs" option. |
|
739 |
- Rationalized type encodings ("type_enc" option). |
|
50720 | 740 |
- Renamed "kill_provers" subcommand to "kill_all". |
50646 | 741 |
- Renamed options: |
742 |
isar_proof ~> isar_proofs |
|
743 |
isar_shrink_factor ~> isar_shrink |
|
744 |
max_relevant ~> max_facts |
|
745 |
relevance_thresholds ~> fact_thresholds |
|
746 |
||
747 |
* Quickcheck: added an optimisation for equality premises. It is |
|
748 |
switched on by default, and can be switched off by setting the |
|
749 |
configuration quickcheck_optimise_equality to false. |
|
750 |
||
50878 | 751 |
* Quotient: only one quotient can be defined by quotient_type |
752 |
INCOMPATIBILITY. |
|
753 |
||
754 |
* Lifting: |
|
755 |
- generation of an abstraction function equation in lift_definition |
|
756 |
- quot_del attribute |
|
757 |
- renamed no_abs_code -> no_code (INCOMPATIBILITY.) |
|
758 |
||
50646 | 759 |
* Simproc "finite_Collect" rewrites set comprehensions into pointfree |
760 |
expressions. |
|
761 |
||
762 |
* Preprocessing of the code generator rewrites set comprehensions into |
|
763 |
pointfree expressions. |
|
764 |
||
765 |
* The SMT solver Z3 has now by default a restricted set of directly |
|
766 |
supported features. For the full set of features (div/mod, nonlinear |
|
767 |
arithmetic, datatypes/records) with potential proof reconstruction |
|
768 |
failures, enable the configuration option "z3_with_extensions". Minor |
|
769 |
INCOMPATIBILITY. |
|
49948
744934b818c7
moved quite generic material from theory Enum to more appropriate places
haftmann
parents:
49918
diff
changeset
|
770 |
|
49836
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
771 |
* Simplified 'typedef' specifications: historical options for implicit |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
772 |
set definition and alternative name have been discontinued. The |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
773 |
former behavior of "typedef (open) t = A" is now the default, but |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
774 |
written just "typedef t = A". INCOMPATIBILITY, need to adapt theories |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
775 |
accordingly. |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
776 |
|
50646 | 777 |
* Removed constant "chars"; prefer "Enum.enum" on type "char" |
778 |
directly. INCOMPATIBILITY. |
|
779 |
||
780 |
* Moved operation product, sublists and n_lists from theory Enum to |
|
781 |
List. INCOMPATIBILITY. |
|
49822
0cfc1651be25
simplified construction of fold combinator on multisets;
haftmann
parents:
49770
diff
changeset
|
782 |
|
49739 | 783 |
* Theorem UN_o generalized to SUP_comp. INCOMPATIBILITY. |
784 |
||
49738 | 785 |
* Class "comm_monoid_diff" formalises properties of bounded |
49388 | 786 |
subtraction, with natural numbers and multisets as typical instances. |
787 |
||
50646 | 788 |
* Added combinator "Option.these" with type "'a option set => 'a set". |
789 |
||
790 |
* Theory "Transitive_Closure": renamed lemmas |
|
791 |
||
792 |
reflcl_tranclp -> reflclp_tranclp |
|
793 |
rtranclp_reflcl -> rtranclp_reflclp |
|
794 |
||
795 |
INCOMPATIBILITY. |
|
796 |
||
797 |
* Theory "Rings": renamed lemmas (in class semiring) |
|
798 |
||
799 |
left_distrib ~> distrib_right |
|
800 |
right_distrib ~> distrib_left |
|
801 |
||
802 |
INCOMPATIBILITY. |
|
803 |
||
804 |
* Generalized the definition of limits: |
|
805 |
||
806 |
- Introduced the predicate filterlim (LIM x F. f x :> G) which |
|
807 |
expresses that when the input values x converge to F then the |
|
808 |
output f x converges to G. |
|
809 |
||
810 |
- Added filters for convergence to positive (at_top) and negative |
|
811 |
infinity (at_bot). |
|
812 |
||
813 |
- Moved infinity in the norm (at_infinity) from |
|
814 |
Multivariate_Analysis to Complex_Main. |
|
815 |
||
816 |
- Removed real_tendsto_inf, it is superseded by "LIM x F. f x :> |
|
817 |
at_top". |
|
818 |
||
819 |
INCOMPATIBILITY. |
|
820 |
||
821 |
* Theory "Library/Option_ord" provides instantiation of option type to |
|
822 |
lattice type classes. |
|
823 |
||
824 |
* Theory "Library/Multiset": renamed |
|
825 |
||
826 |
constant fold_mset ~> Multiset.fold |
|
827 |
fact fold_mset_commute ~> fold_mset_comm |
|
828 |
||
829 |
INCOMPATIBILITY. |
|
830 |
||
831 |
* Renamed theory Library/List_Prefix to Library/Sublist, with related |
|
832 |
changes as follows. |
|
833 |
||
834 |
- Renamed constants (and related lemmas) |
|
49145 | 835 |
|
836 |
prefix ~> prefixeq |
|
837 |
strict_prefix ~> prefix |
|
838 |
||
50646 | 839 |
- Replaced constant "postfix" by "suffixeq" with swapped argument |
840 |
order (i.e., "postfix xs ys" is now "suffixeq ys xs") and dropped |
|
841 |
old infix syntax "xs >>= ys"; use "suffixeq ys xs" instead. |
|
842 |
Renamed lemmas accordingly. |
|
843 |
||
844 |
- Added constant "list_hembeq" for homeomorphic embedding on |
|
845 |
lists. Added abbreviation "sublisteq" for special case |
|
846 |
"list_hembeq (op =)". |
|
847 |
||
848 |
- Theory Library/Sublist no longer provides "order" and "bot" type |
|
849 |
class instances for the prefix order (merely corresponding locale |
|
850 |
interpretations). The type class instances are now in theory |
|
851 |
Library/Prefix_Order. |
|
852 |
||
853 |
- The sublist relation of theory Library/Sublist_Order is now based |
|
854 |
on "Sublist.sublisteq". Renamed lemmas accordingly: |
|
50516 | 855 |
|
856 |
le_list_append_le_same_iff ~> Sublist.sublisteq_append_le_same_iff |
|
857 |
le_list_append_mono ~> Sublist.list_hembeq_append_mono |
|
858 |
le_list_below_empty ~> Sublist.list_hembeq_Nil, Sublist.list_hembeq_Nil2 |
|
859 |
le_list_Cons_EX ~> Sublist.list_hembeq_ConsD |
|
860 |
le_list_drop_Cons2 ~> Sublist.sublisteq_Cons2' |
|
861 |
le_list_drop_Cons_neq ~> Sublist.sublisteq_Cons2_neq |
|
862 |
le_list_drop_Cons ~> Sublist.sublisteq_Cons' |
|
863 |
le_list_drop_many ~> Sublist.sublisteq_drop_many |
|
864 |
le_list_filter_left ~> Sublist.sublisteq_filter_left |
|
865 |
le_list_rev_drop_many ~> Sublist.sublisteq_rev_drop_many |
|
866 |
le_list_rev_take_iff ~> Sublist.sublisteq_append |
|
867 |
le_list_same_length ~> Sublist.sublisteq_same_length |
|
868 |
le_list_take_many_iff ~> Sublist.sublisteq_append' |
|
49145 | 869 |
less_eq_list.drop ~> less_eq_list_drop |
870 |
less_eq_list.induct ~> less_eq_list_induct |
|
50516 | 871 |
not_le_list_length ~> Sublist.not_sublisteq_length |
49145 | 872 |
|
50646 | 873 |
INCOMPATIBILITY. |
874 |
||
875 |
* New theory Library/Countable_Set. |
|
876 |
||
877 |
* Theory Library/Debug and Library/Parallel provide debugging and |
|
878 |
parallel execution for code generated towards Isabelle/ML. |
|
879 |
||
880 |
* Theory Library/FuncSet: Extended support for Pi and extensional and |
|
881 |
introduce the extensional dependent function space "PiE". Replaced |
|
882 |
extensional_funcset by an abbreviation, and renamed lemmas from |
|
883 |
extensional_funcset to PiE as follows: |
|
884 |
||
885 |
extensional_empty ~> PiE_empty |
|
886 |
extensional_funcset_empty_domain ~> PiE_empty_domain |
|
887 |
extensional_funcset_empty_range ~> PiE_empty_range |
|
888 |
extensional_funcset_arb ~> PiE_arb |
|
889 |
extensional_funcset_mem ~> PiE_mem |
|
890 |
extensional_funcset_extend_domainI ~> PiE_fun_upd |
|
891 |
extensional_funcset_restrict_domain ~> fun_upd_in_PiE |
|
892 |
extensional_funcset_extend_domain_eq ~> PiE_insert_eq |
|
893 |
card_extensional_funcset ~> card_PiE |
|
894 |
finite_extensional_funcset ~> finite_PiE |
|
895 |
||
896 |
INCOMPATIBILITY. |
|
897 |
||
898 |
* Theory Library/FinFun: theory of almost everywhere constant |
|
899 |
functions (supersedes the AFP entry "Code Generation for Functions as |
|
900 |
Data"). |
|
901 |
||
902 |
* Theory Library/Phantom: generic phantom type to make a type |
|
903 |
parameter appear in a constant's type. This alternative to adding |
|
904 |
TYPE('a) as another parameter avoids unnecessary closures in generated |
|
905 |
code. |
|
906 |
||
907 |
* Theory Library/RBT_Impl: efficient construction of red-black trees |
|
908 |
from sorted associative lists. Merging two trees with rbt_union may |
|
909 |
return a structurally different tree than before. Potential |
|
910 |
INCOMPATIBILITY. |
|
911 |
||
912 |
* Theory Library/IArray: immutable arrays with code generation. |
|
913 |
||
914 |
* Theory Library/Finite_Lattice: theory of finite lattices. |
|
915 |
||
916 |
* HOL/Multivariate_Analysis: replaced |
|
917 |
||
918 |
"basis :: 'a::euclidean_space => nat => real" |
|
919 |
"\<Chi>\<Chi> :: (nat => real) => 'a::euclidean_space" |
|
920 |
||
921 |
on euclidean spaces by using the inner product "_ \<bullet> _" with |
|
922 |
vectors from the Basis set: "\<Chi>\<Chi> i. f i" is superseded by |
|
923 |
"SUM i : Basis. f i * r i". |
|
924 |
||
925 |
With this change the following constants are also changed or removed: |
|
926 |
||
927 |
DIM('a) :: nat ~> card (Basis :: 'a set) (is an abbreviation) |
|
928 |
a $$ i ~> inner a i (where i : Basis) |
|
929 |
cart_base i removed |
|
930 |
\<pi>, \<pi>' removed |
|
50526
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
931 |
|
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
932 |
Theorems about these constants where removed. |
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
933 |
|
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
934 |
Renamed lemmas: |
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
935 |
|
50646 | 936 |
component_le_norm ~> Basis_le_norm |
937 |
euclidean_eq ~> euclidean_eq_iff |
|
938 |
differential_zero_maxmin_component ~> differential_zero_maxmin_cart |
|
939 |
euclidean_simps ~> inner_simps |
|
940 |
independent_basis ~> independent_Basis |
|
941 |
span_basis ~> span_Basis |
|
942 |
in_span_basis ~> in_span_Basis |
|
943 |
norm_bound_component_le ~> norm_boound_Basis_le |
|
944 |
norm_bound_component_lt ~> norm_boound_Basis_lt |
|
945 |
component_le_infnorm ~> Basis_le_infnorm |
|
946 |
||
947 |
INCOMPATIBILITY. |
|
50526
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
948 |
|
50141 | 949 |
* HOL/Probability: |
50646 | 950 |
|
951 |
- Added simproc "measurable" to automatically prove measurability. |
|
952 |
||
953 |
- Added induction rules for sigma sets with disjoint union |
|
954 |
(sigma_sets_induct_disjoint) and for Borel-measurable functions |
|
955 |
(borel_measurable_induct). |
|
956 |
||
957 |
- Added the Daniell-Kolmogorov theorem (the existence the limit of a |
|
958 |
projective family). |
|
959 |
||
960 |
* HOL/Cardinals: Theories of ordinals and cardinals (supersedes the |
|
961 |
AFP entry "Ordinals_and_Cardinals"). |
|
962 |
||
963 |
* HOL/BNF: New (co)datatype package based on bounded natural functors |
|
964 |
with support for mixed, nested recursion and interesting non-free |
|
965 |
datatypes. |
|
48094 | 966 |
|
50991 | 967 |
* HOL/Finite_Set and Relation: added new set and relation operations |
50878 | 968 |
expressed by Finite_Set.fold. |
969 |
||
970 |
* New theory HOL/Library/RBT_Set: implementation of sets by red-black |
|
971 |
trees for the code generator. |
|
972 |
||
973 |
* HOL/Library/RBT and HOL/Library/Mapping have been converted to |
|
974 |
Lifting/Transfer. |
|
975 |
possible INCOMPATIBILITY. |
|
976 |
||
977 |
* HOL/Set: renamed Set.project -> Set.filter |
|
978 |
INCOMPATIBILITY. |
|
979 |
||
48120
9fe0e71052a0
updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset
|
980 |
|
48206 | 981 |
*** Document preparation *** |
982 |
||
50646 | 983 |
* Dropped legacy antiquotations "term_style" and "thm_style", since |
984 |
styles may be given as arguments to "term" and "thm" already. |
|
985 |
Discontinued legacy styles "prem1" .. "prem19". |
|
986 |
||
987 |
* Default LaTeX rendering for \<euro> is now based on eurosym package, |
|
988 |
instead of slightly exotic babel/greek. |
|
48206 | 989 |
|
48616
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
990 |
* Document variant NAME may use different LaTeX entry point |
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
991 |
document/root_NAME.tex if that file exists, instead of the common |
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
992 |
document/root.tex. |
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
993 |
|
48657
63ef2f0cf8bb
simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset
|
994 |
* Simplified custom document/build script, instead of old-style |
63ef2f0cf8bb
simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset
|
995 |
document/IsaMakefile. Minor INCOMPATIBILITY. |
63ef2f0cf8bb
simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset
|
996 |
|
48206 | 997 |
|
48992 | 998 |
*** ML *** |
999 |
||
50646 | 1000 |
* The default limit for maximum number of worker threads is now 8, |
1001 |
instead of 4, in correspondence to capabilities of contemporary |
|
1002 |
hardware and Poly/ML runtime system. |
|
1003 |
||
49869
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1004 |
* Type Seq.results and related operations support embedded error |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1005 |
messages within lazy enumerations, and thus allow to provide |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1006 |
informative errors in the absence of any usable results. |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1007 |
|
48992 | 1008 |
* Renamed Position.str_of to Position.here to emphasize that this is a |
1009 |
formal device to inline positions into message text, but not |
|
1010 |
necessarily printing visible text. |
|
1011 |
||
1012 |
||
48206 | 1013 |
*** System *** |
1014 |
||
48585
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset
|
1015 |
* Advanced support for Isabelle sessions and build management, see |
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset
|
1016 |
"system" manual for the chapter of that name, especially the "isabelle |
51056 | 1017 |
build" tool and its examples. The "isabelle mkroot" tool prepares |
1018 |
session root directories for use with "isabelle build", similar to |
|
1019 |
former "isabelle mkdir" for "isabelle usedir". Note that this affects |
|
1020 |
document preparation as well. INCOMPATIBILITY, isabelle usedir / |
|
48736 | 1021 |
mkdir / make are rendered obsolete. |
1022 |
||
51056 | 1023 |
* Discontinued obsolete Isabelle/build script, it is superseded by the |
1024 |
regular isabelle build tool. For example: |
|
1025 |
||
1026 |
isabelle build -s -b HOL |
|
1027 |
||
48736 | 1028 |
* Discontinued obsolete "isabelle makeall". |
48585
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset
|
1029 |
|
48722
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1030 |
* Discontinued obsolete IsaMakefile and ROOT.ML files from the |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1031 |
Isabelle distribution, except for rudimentary src/HOL/IsaMakefile that |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1032 |
provides some traditional targets that invoke "isabelle build". Note |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1033 |
that this is inefficient! Applications of Isabelle/HOL involving |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1034 |
"isabelle make" should be upgraded to use "isabelle build" directly. |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1035 |
|
48693
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset
|
1036 |
* The "isabelle options" tool prints Isabelle system options, as |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset
|
1037 |
required for "isabelle build", for example. |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset
|
1038 |
|
50646 | 1039 |
* The "isabelle logo" tool produces EPS and PDF format simultaneously. |
1040 |
Minor INCOMPATIBILITY in command-line options. |
|
1041 |
||
1042 |
* The "isabelle install" tool has now a simpler command-line. Minor |
|
1043 |
INCOMPATIBILITY. |
|
1044 |
||
48844 | 1045 |
* The "isabelle components" tool helps to resolve add-on components |
1046 |
that are not bundled, or referenced from a bare-bones repository |
|
1047 |
version of Isabelle. |
|
1048 |
||
50646 | 1049 |
* Settings variable ISABELLE_PLATFORM_FAMILY refers to the general |
1050 |
platform family: "linux", "macos", "windows". |
|
1051 |
||
1052 |
* The ML system is configured as regular component, and no longer |
|
1053 |
picked up from some surrounding directory. Potential INCOMPATIBILITY |
|
1054 |
for home-made settings. |
|
50132 | 1055 |
|
50701 | 1056 |
* Improved ML runtime statistics (heap, threads, future tasks etc.). |
1057 |
||
48206 | 1058 |
* Discontinued support for Poly/ML 5.2.1, which was the last version |
1059 |
without exception positions and advanced ML compiler/toplevel |
|
1060 |
configuration. |
|
1061 |
||
48574 | 1062 |
* Discontinued special treatment of Proof General -- no longer guess |
1063 |
PROOFGENERAL_HOME based on accidental file-system layout. Minor |
|
1064 |
INCOMPATIBILITY: provide PROOFGENERAL_HOME and PROOFGENERAL_OPTIONS |
|
1065 |
settings manually, or use a Proof General version that has been |
|
1066 |
bundled as Isabelle component. |
|
48206 | 1067 |
|
50182 | 1068 |
|
48120
9fe0e71052a0
updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset
|
1069 |
|
47462 | 1070 |
New in Isabelle2012 (May 2012) |
1071 |
------------------------------ |
|
45109 | 1072 |
|
45593 | 1073 |
*** General *** |
1074 |
||
45614 | 1075 |
* Prover IDE (PIDE) improvements: |
1076 |
||
47585 | 1077 |
- more robust Sledgehammer integration (as before the sledgehammer |
47806 | 1078 |
command-line needs to be typed into the source buffer) |
45614 | 1079 |
- markup for bound variables |
47806 | 1080 |
- markup for types of term variables (displayed as tooltips) |
46956
9ff441f295c2
Isabelle/jEdit supports user-defined Isar commands within the running session;
wenzelm
parents:
46948
diff
changeset
|
1081 |
- support for user-defined Isar commands within the running session |
47158 | 1082 |
- improved support for Unicode outside original 16bit range |
1083 |
e.g. glyph for \<A> (thanks to jEdit 4.5.1) |
|
45614 | 1084 |
|
47806 | 1085 |
* Forward declaration of outer syntax keywords within the theory |
1086 |
header -- minor INCOMPATIBILITY for user-defined commands. Allow new |
|
1087 |
commands to be used in the same theory where defined. |
|
46485 | 1088 |
|
47482
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1089 |
* Auxiliary contexts indicate block structure for specifications with |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1090 |
additional parameters and assumptions. Such unnamed contexts may be |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1091 |
nested within other targets, like 'theory', 'locale', 'class', |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1092 |
'instantiation' etc. Results from the local context are generalized |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1093 |
accordingly and applied to the enclosing target context. Example: |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1094 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1095 |
context |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1096 |
fixes x y z :: 'a |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1097 |
assumes xy: "x = y" and yz: "y = z" |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1098 |
begin |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1099 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1100 |
lemma my_trans: "x = z" using xy yz by simp |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1101 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1102 |
end |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1103 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1104 |
thm my_trans |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1105 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1106 |
The most basic application is to factor-out context elements of |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1107 |
several fixes/assumes/shows theorem statements, e.g. see |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1108 |
~~/src/HOL/Isar_Examples/Group_Context.thy |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1109 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1110 |
Any other local theory specification element works within the "context |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1111 |
... begin ... end" block as well. |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1112 |
|
47484 | 1113 |
* Bundled declarations associate attributed fact expressions with a |
1114 |
given name in the context. These may be later included in other |
|
1115 |
contexts. This allows to manage context extensions casually, without |
|
47855 | 1116 |
the logical dependencies of locales and locale interpretation. See |
1117 |
commands 'bundle', 'include', 'including' etc. in the isar-ref manual. |
|
47484 | 1118 |
|
47829 | 1119 |
* Commands 'lemmas' and 'theorems' allow local variables using 'for' |
1120 |
declaration, and results are standardized before being stored. Thus |
|
1121 |
old-style "standard" after instantiation or composition of facts |
|
1122 |
becomes obsolete. Minor INCOMPATIBILITY, due to potential change of |
|
1123 |
indices of schematic variables. |
|
1124 |
||
1125 |
* Rule attributes in local theory declarations (e.g. locale or class) |
|
1126 |
are now statically evaluated: the resulting theorem is stored instead |
|
1127 |
of the original expression. INCOMPATIBILITY in rare situations, where |
|
1128 |
the historic accident of dynamic re-evaluation in interpretations |
|
1129 |
etc. was exploited. |
|
1130 |
||
1131 |
* New tutorial "Programming and Proving in Isabelle/HOL" |
|
1132 |
("prog-prove"). It completely supersedes "A Tutorial Introduction to |
|
1133 |
Structured Isar Proofs" ("isar-overview"), which has been removed. It |
|
1134 |
also supersedes "Isabelle/HOL, A Proof Assistant for Higher-Order |
|
1135 |
Logic" as the recommended beginners tutorial, but does not cover all |
|
1136 |
of the material of that old tutorial. |
|
1137 |
||
1138 |
* Updated and extended reference manuals: "isar-ref", |
|
1139 |
"implementation", "system"; reduced remaining material in old "ref" |
|
1140 |
manual. |
|
1141 |
||
1142 |
||
1143 |
*** Pure *** |
|
1144 |
||
46976
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1145 |
* Command 'definition' no longer exports the foundational "raw_def" |
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1146 |
into the user context. Minor INCOMPATIBILITY, may use the regular |
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1147 |
"def" result with attribute "abs_def" to imitate the old version. |
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1148 |
|
47855 | 1149 |
* Attribute "abs_def" turns an equation of the form "f x y == t" into |
1150 |
"f == %x y. t", which ensures that "simp" or "unfold" steps always |
|
1151 |
expand it. This also works for object-logic equality. (Formerly |
|
1152 |
undocumented feature.) |
|
1153 |
||
47856 | 1154 |
* Sort constraints are now propagated in simultaneous statements, just |
1155 |
like type constraints. INCOMPATIBILITY in rare situations, where |
|
1156 |
distinct sorts used to be assigned accidentally. For example: |
|
1157 |
||
1158 |
lemma "P (x::'a::foo)" and "Q (y::'a::bar)" -- "now illegal" |
|
1159 |
||
1160 |
lemma "P (x::'a)" and "Q (y::'a::bar)" |
|
1161 |
-- "now uniform 'a::bar instead of default sort for first occurrence (!)" |
|
1162 |
||
1163 |
* Rule composition via attribute "OF" (or ML functions OF/MRS) is more |
|
1164 |
tolerant against multiple unifiers, as long as the final result is |
|
1165 |
unique. (As before, rules are composed in canonical right-to-left |
|
1166 |
order to accommodate newly introduced premises.) |
|
1167 |
||
47806 | 1168 |
* Renamed some inner syntax categories: |
1169 |
||
1170 |
num ~> num_token |
|
1171 |
xnum ~> xnum_token |
|
1172 |
xstr ~> str_token |
|
1173 |
||
1174 |
Minor INCOMPATIBILITY. Note that in practice "num_const" or |
|
1175 |
"num_position" etc. are mainly used instead (which also include |
|
1176 |
position information via constraints). |
|
1177 |
||
47829 | 1178 |
* Simplified configuration options for syntax ambiguity: see |
1179 |
"syntax_ambiguity_warning" and "syntax_ambiguity_limit" in isar-ref |
|
1180 |
manual. Minor INCOMPATIBILITY. |
|
1181 |
||
47856 | 1182 |
* Discontinued configuration option "syntax_positions": atomic terms |
1183 |
in parse trees are always annotated by position constraints. |
|
45134 | 1184 |
|
47464 | 1185 |
* Old code generator for SML and its commands 'code_module', |
45383 | 1186 |
'code_library', 'consts_code', 'types_code' have been discontinued. |
46028
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset
|
1187 |
Use commands of the generic code generator instead. INCOMPATIBILITY. |
45383 | 1188 |
|
47464 | 1189 |
* Redundant attribute "code_inline" has been discontinued. Use |
1190 |
"code_unfold" instead. INCOMPATIBILITY. |
|
1191 |
||
1192 |
* Dropped attribute "code_unfold_post" in favor of the its dual |
|
1193 |
"code_abbrev", which yields a common pattern in definitions like |
|
46028
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset
|
1194 |
|
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset
|
1195 |
definition [code_abbrev]: "f = t" |
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset
|
1196 |
|
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset
|
1197 |
INCOMPATIBILITY. |
45383 | 1198 |
|
47856 | 1199 |
* Obsolete 'types' command has been discontinued. Use 'type_synonym' |
1200 |
instead. INCOMPATIBILITY. |
|
1201 |
||
1202 |
* Discontinued old "prems" fact, which used to refer to the accidental |
|
1203 |
collection of foundational premises in the context (already marked as |
|
1204 |
legacy since Isabelle2011). |
|
47855 | 1205 |
|
45427
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset
|
1206 |
|
45122 | 1207 |
*** HOL *** |
1208 |
||
47464 | 1209 |
* Type 'a set is now a proper type constructor (just as before |
1210 |
Isabelle2008). Definitions mem_def and Collect_def have disappeared. |
|
1211 |
Non-trivial INCOMPATIBILITY. For developments keeping predicates and |
|
47855 | 1212 |
sets separate, it is often sufficient to rephrase some set S that has |
1213 |
been accidentally used as predicates by "%x. x : S", and some |
|
1214 |
predicate P that has been accidentally used as set by "{x. P x}". |
|
1215 |
Corresponding proofs in a first step should be pruned from any |
|
1216 |
tinkering with former theorems mem_def and Collect_def as far as |
|
1217 |
possible. |
|
1218 |
||
1219 |
For developments which deliberately mix predicates and sets, a |
|
47464 | 1220 |
planning step is necessary to determine what should become a predicate |
1221 |
and what a set. It can be helpful to carry out that step in |
|
1222 |
Isabelle2011-1 before jumping right into the current release. |
|
1223 |
||
47855 | 1224 |
* Code generation by default implements sets as container type rather |
1225 |
than predicates. INCOMPATIBILITY. |
|
1226 |
||
1227 |
* New type synonym 'a rel = ('a * 'a) set |
|
1228 |
||
47464 | 1229 |
* The representation of numerals has changed. Datatype "num" |
1230 |
represents strictly positive binary numerals, along with functions |
|
1231 |
"numeral :: num => 'a" and "neg_numeral :: num => 'a" to represent |
|
47855 | 1232 |
positive and negated numeric literals, respectively. See also |
1233 |
definitions in ~~/src/HOL/Num.thy. Potential INCOMPATIBILITY, some |
|
1234 |
user theories may require adaptations as follows: |
|
47108
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1235 |
|
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1236 |
- Theorems with number_ring or number_semiring constraints: These |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1237 |
classes are gone; use comm_ring_1 or comm_semiring_1 instead. |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1238 |
|
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1239 |
- Theories defining numeric types: Remove number, number_semiring, |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1240 |
and number_ring instances. Defer all theorems about numerals until |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1241 |
after classes one and semigroup_add have been instantiated. |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1242 |
|
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1243 |
- Numeral-only simp rules: Replace each rule having a "number_of v" |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1244 |
pattern with two copies, one for numeral and one for neg_numeral. |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1245 |
|
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1246 |
- Theorems about subclasses of semiring_1 or ring_1: These classes |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1247 |
automatically support numerals now, so more simp rules and |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1248 |
simprocs may now apply within the proof. |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1249 |
|
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1250 |
- Definitions and theorems using old constructors Pls/Min/Bit0/Bit1: |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1251 |
Redefine using other integer operations. |
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset
|
1252 |
|
47855 | 1253 |
* Transfer: New package intended to generalize the existing |
1254 |
"descending" method and related theorem attributes from the Quotient |
|
1255 |
package. (Not all functionality is implemented yet, but future |
|
1256 |
development will focus on Transfer as an eventual replacement for the |
|
1257 |
corresponding parts of the Quotient package.) |
|
47809 | 1258 |
|
1259 |
- transfer_rule attribute: Maintains a collection of transfer rules, |
|
1260 |
which relate constants at two different types. Transfer rules may |
|
1261 |
relate different type instances of the same polymorphic constant, |
|
1262 |
or they may relate an operation on a raw type to a corresponding |
|
1263 |
operation on an abstract type (quotient or subtype). For example: |
|
1264 |
||
1265 |
((A ===> B) ===> list_all2 A ===> list_all2 B) map map |
|
1266 |
(cr_int ===> cr_int ===> cr_int) (%(x,y) (u,v). (x+u, y+v)) plus_int |
|
1267 |
||
1268 |
- transfer method: Replaces a subgoal on abstract types with an |
|
1269 |
equivalent subgoal on the corresponding raw types. Constants are |
|
1270 |
replaced with corresponding ones according to the transfer rules. |
|
1271 |
Goals are generalized over all free variables by default; this is |
|
47851 | 1272 |
necessary for variables whose types change, but can be overridden |
47855 | 1273 |
for specific variables with e.g. "transfer fixing: x y z". The |
47809 | 1274 |
variant transfer' method allows replacing a subgoal with one that |
1275 |
is logically stronger (rather than equivalent). |
|
1276 |
||
1277 |
- relator_eq attribute: Collects identity laws for relators of |
|
1278 |
various type constructors, e.g. "list_all2 (op =) = (op =)". The |
|
1279 |
transfer method uses these lemmas to infer transfer rules for |
|
1280 |
non-polymorphic constants on the fly. |
|
1281 |
||
1282 |
- transfer_prover method: Assists with proving a transfer rule for a |
|
1283 |
new constant, provided the constant is defined in terms of other |
|
1284 |
constants that already have transfer rules. It should be applied |
|
1285 |
after unfolding the constant definitions. |
|
1286 |
||
1287 |
- HOL/ex/Transfer_Int_Nat.thy: Example theory demonstrating transfer |
|
1288 |
from type nat to type int. |
|
1289 |
||
47851 | 1290 |
* Lifting: New package intended to generalize the quotient_definition |
1291 |
facility of the Quotient package; designed to work with Transfer. |
|
47809 | 1292 |
|
1293 |
- lift_definition command: Defines operations on an abstract type in |
|
1294 |
terms of a corresponding operation on a representation |
|
1295 |
type. Example syntax: |
|
1296 |
||
1297 |
lift_definition dlist_insert :: "'a => 'a dlist => 'a dlist" |
|
1298 |
is List.insert |
|
1299 |
||
1300 |
Users must discharge a respectfulness proof obligation when each |
|
1301 |
constant is defined. (For a type copy, i.e. a typedef with UNIV, |
|
1302 |
the proof is discharged automatically.) The obligation is |
|
1303 |
presented in a user-friendly, readable form; a respectfulness |
|
1304 |
theorem in the standard format and a transfer rule are generated |
|
1305 |
by the package. |
|
1306 |
||
1307 |
- Integration with code_abstype: For typedefs (e.g. subtypes |
|
1308 |
corresponding to a datatype invariant, such as dlist), |
|
1309 |
lift_definition generates a code certificate theorem and sets up |
|
1310 |
code generation for each constant. |
|
1311 |
||
1312 |
- setup_lifting command: Sets up the Lifting package to work with a |
|
1313 |
user-defined type. The user must provide either a quotient theorem |
|
1314 |
or a type_definition theorem. The package configures transfer |
|
1315 |
rules for equality and quantifiers on the type, and sets up the |
|
1316 |
lift_definition command to work with the type. |
|
1317 |
||
1318 |
- Usage examples: See Quotient_Examples/Lift_DList.thy, |
|
47851 | 1319 |
Quotient_Examples/Lift_RBT.thy, Quotient_Examples/Lift_FSet.thy, |
1320 |
Word/Word.thy and Library/Float.thy. |
|
47809 | 1321 |
|
1322 |
* Quotient package: |
|
1323 |
||
1324 |
- The 'quotient_type' command now supports a 'morphisms' option with |
|
1325 |
rep and abs functions, similar to typedef. |
|
1326 |
||
1327 |
- 'quotient_type' sets up new types to work with the Lifting and |
|
1328 |
Transfer packages, as with 'setup_lifting'. |
|
1329 |
||
1330 |
- The 'quotient_definition' command now requires the user to prove a |
|
1331 |
respectfulness property at the point where the constant is |
|
1332 |
defined, similar to lift_definition; INCOMPATIBILITY. |
|
1333 |
||
1334 |
- Renamed predicate 'Quotient' to 'Quotient3', and renamed theorems |
|
1335 |
accordingly, INCOMPATIBILITY. |
|
1336 |
||
1337 |
* New diagnostic command 'find_unused_assms' to find potentially |
|
1338 |
superfluous assumptions in theorems using Quickcheck. |
|
1339 |
||
1340 |
* Quickcheck: |
|
1341 |
||
1342 |
- Quickcheck returns variable assignments as counterexamples, which |
|
1343 |
allows to reveal the underspecification of functions under test. |
|
1344 |
For example, refuting "hd xs = x", it presents the variable |
|
1345 |
assignment xs = [] and x = a1 as a counterexample, assuming that |
|
1346 |
any property is false whenever "hd []" occurs in it. |
|
1347 |
||
1348 |
These counterexample are marked as potentially spurious, as |
|
1349 |
Quickcheck also returns "xs = []" as a counterexample to the |
|
1350 |
obvious theorem "hd xs = hd xs". |
|
1351 |
||
1352 |
After finding a potentially spurious counterexample, Quickcheck |
|
1353 |
continues searching for genuine ones. |
|
1354 |
||
1355 |
By default, Quickcheck shows potentially spurious and genuine |
|
1356 |
counterexamples. The option "genuine_only" sets quickcheck to only |
|
1357 |
show genuine counterexamples. |
|
1358 |
||
1359 |
- The command 'quickcheck_generator' creates random and exhaustive |
|
1360 |
value generators for a given type and operations. |
|
1361 |
||
1362 |
It generates values by using the operations as if they were |
|
1363 |
constructors of that type. |
|
1364 |
||
1365 |
- Support for multisets. |
|
1366 |
||
1367 |
- Added "use_subtype" options. |
|
1368 |
||
1369 |
- Added "quickcheck_locale" configuration to specify how to process |
|
1370 |
conjectures in a locale context. |
|
1371 |
||
47855 | 1372 |
* Nitpick: Fixed infinite loop caused by the 'peephole_optim' option |
1373 |
and affecting 'rat' and 'real'. |
|
47809 | 1374 |
|
1375 |
* Sledgehammer: |
|
1376 |
- Integrated more tightly with SPASS, as described in the ITP 2012 |
|
1377 |
paper "More SPASS with Isabelle". |
|
1378 |
- Made it try "smt" as a fallback if "metis" fails or times out. |
|
1379 |
- Added support for the following provers: Alt-Ergo (via Why3 and |
|
1380 |
TFF1), iProver, iProver-Eq. |
|
1381 |
- Sped up the minimizer. |
|
1382 |
- Added "lam_trans", "uncurry_aliases", and "minimize" options. |
|
1383 |
- Renamed "slicing" ("no_slicing") option to "slice" ("dont_slice"). |
|
1384 |
- Renamed "sound" option to "strict". |
|
1385 |
||
47855 | 1386 |
* Metis: Added possibility to specify lambda translations scheme as a |
1387 |
parenthesized argument (e.g., "by (metis (lifting) ...)"). |
|
1388 |
||
1389 |
* SMT: Renamed "smt_fixed" option to "smt_read_only_certificates". |
|
1390 |
||
1391 |
* Command 'try0': Renamed from 'try_methods'. INCOMPATIBILITY. |
|
47809 | 1392 |
|
47856 | 1393 |
* New "case_product" attribute to generate a case rule doing multiple |
1394 |
case distinctions at the same time. E.g. |
|
1395 |
||
1396 |
list.exhaust [case_product nat.exhaust] |
|
1397 |
||
1398 |
produces a rule which can be used to perform case distinction on both |
|
1399 |
a list and a nat. |
|
1400 |
||
47809 | 1401 |
* New "eventually_elim" method as a generalized variant of the |
47855 | 1402 |
eventually_elim* rules. Supports structured proofs. |
1403 |
||
47702
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset
|
1404 |
* Typedef with implicit set definition is considered legacy. Use |
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset
|
1405 |
"typedef (open)" form instead, which will eventually become the |
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset
|
1406 |
default. |
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset
|
1407 |
|
47856 | 1408 |
* Record: code generation can be switched off manually with |
1409 |
||
1410 |
declare [[record_coden = false]] -- "default true" |
|
1411 |
||
1412 |
* Datatype: type parameters allow explicit sort constraints. |
|
1413 |
||
47855 | 1414 |
* Concrete syntax for case expressions includes constraints for source |
1415 |
positions, and thus produces Prover IDE markup for its bindings. |
|
1416 |
INCOMPATIBILITY for old-style syntax translations that augment the |
|
1417 |
pattern notation; e.g. see src/HOL/HOLCF/One.thy for translations of |
|
1418 |
one_case. |
|
1419 |
||
1420 |
* Clarified attribute "mono_set": pure declaration without modifying |
|
1421 |
the result of the fact expression. |
|
1422 |
||
46752
e9e7209eb375
more fundamental pred-to-set conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset
|
1423 |
* More default pred/set conversions on a couple of relation operations |
47464 | 1424 |
and predicates. Added powers of predicate relations. Consolidation |
1425 |
of some relation theorems: |
|
46752
e9e7209eb375
more fundamental pred-to-set conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset
|
1426 |
|
e9e7209eb375
more fundamental pred-to-set conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset
|
1427 |
converse_def ~> converse_unfold |
47549 | 1428 |
rel_comp_def ~> relcomp_unfold |
47820 | 1429 |
symp_def ~> (modified, use symp_def and sym_def instead) |
46752
e9e7209eb375
more fundamental pred-to-set conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset
|