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