author  wenzelm 
Sun, 29 Sep 2013 12:56:50 +0200  
changeset 53983  2fa984b202ae 
parent 53981  1f4d6870b7b2 
child 54010  5ac1495fed4e 
permissions  rwrr 
5363  1 
Isabelle NEWS  history userrelevant changes 
2 
============================================== 

2553  3 

53971  4 
New in Isabelle20131 (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 fallback;
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 fallback;
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 fallback;
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 fallback;
wenzelm
parents:
52949
diff
changeset

19 
for consts or fixed variables may be used as fallback for unusual 
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fallback;
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 fallback;
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 fallback;
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 fallback;
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 fallback;
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 fallback;
wenzelm
parents:
52949
diff
changeset

25 
syntax. 
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fallback;
wenzelm
parents:
52949
diff
changeset

26 

53021
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor frontend;
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 frontend;
wenzelm
parents:
53016
diff
changeset

28 
"sub". Minor INCOMPATIBILITY. 
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor frontend;
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 oldfashioned PS output 
44 
and Unix commandline print spooling. Minor INCOMPATIBILITY: use 

45 
'display_drafts' instead and print via the regular document viewer. 

46 

53971  47 
* Updated and extended "isarref" 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 frontend 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 

75 
* Strictly monotonic document update, without premature cancellation of 

76 
running transactions that are still needed: avoid reset/restart of 

77 
such command executions while editing. 

53271
0460d6962ced
GTK+ works better due to avoidance of default list view popups;
wenzelm
parents:
53251
diff
changeset

78 

53326  79 
* Improved completion mechanism, which is now managed by the 
53981  80 
Isabelle/jEdit plugin instead of SideKick. Refined table of Isabelle 
81 
symbol abbreviations (see $ISABELLE_HOME/etc/symbols). 

53326  82 

53971  83 
* Support for asynchronous print functions, as overlay to existing 
84 
document content. 

85 

86 
* Support for automatic tools in HOL, which try to prove or disprove 

87 
toplevel theorem statements. 

88 

89 
* Action isabelle.resetfontsize resets main text area font size 

90 
according to Isabelle/Scala plugin option "jedit_font_reset_size" 

91 
(cf. keyboard shortcut C+0). 

92 

93 
* File specifications in jEdit (e.g. file browser) may refer to 

94 
$ISABELLE_HOME on all platforms. Discontinued obsolete 

95 
$ISABELLE_HOME_WINDOWS variable. 

96 

97 
* Improved support for Linux lookandfeel "GTK+", see also "Utilities 

98 
/ Global Options / Appearance". 

99 

100 
* Improved support of native Mac OS X functionality via "MacOSX" 

101 
plugin, which is now enabled by default. 

102 

51533  103 

51313  104 
*** Pure *** 
105 

51747  106 
* Targetsensitive commands 'interpretation' and 'sublocale'. 
53971  107 
Particularly, 'interpretation' now allows for nonpersistent 
53160  108 
interpretation within "context ... begin ... end" blocks. See 
109 
"isarref" manual for details. 

51747  110 

51565  111 
* Improved locales diagnostic command 'print_dependencies'. 
112 

51313  113 
* Discontinued obsolete 'axioms' command, which has been marked as 
114 
legacy since Isabelle20092. INCOMPATIBILITY, use 'axiomatization' 

115 
instead, while observing its uniform scope for polymorphism. 

116 

51316
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset

117 
* Discontinued empty name bindings in 'axiomatization'. 
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset

118 
INCOMPATIBILITY. 
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset

119 

53971  120 
* System option "proofs" has been discontinued. Instead the global 
121 
state of Proofterm.proofs is persistently compiled into logic images 

122 
as required, notably HOLProofs. Users no longer need to change 

123 
Proofterm.proofs dynamically. Minor INCOMPATIBILITY. 

124 

125 
* Syntax translation functions (print_translation etc.) always depend 

126 
on Proof.context. Discontinued former "(advanced)" option  this is 

127 
now the default. Minor INCOMPATIBILITY. 

128 

129 
* Former global reference trace_unify_fail is now available as 

130 
configuration option "unify_trace_failure" (global context only). 

131 

52463  132 
* SELECT_GOAL now retains the syntactic context of the overall goal 
133 
state (schematic variables etc.). Potential INCOMPATIBILITY in rare 

134 
situations. 

135 

51313  136 

51002
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset

137 
*** HOL *** 
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset

138 

53307  139 
* Improved support for ad hoc overloading of constants (see also 
52896  140 
isarref manual and ~~/src/HOL/ex/Adhoc_Overloading_Examples.thy). 
141 

53160  142 
* Attibute 'code': 'code' now declares concrete and abstract code 
143 
equations uniformly. Use explicit 'code equation' and 'code abstract' 

144 
to distinguish both when desired. 

52637
1501ebe39711
attribute "code" declares concrete and abstract code equations uniformly; added explicit "code equation" instead
haftmann
parents:
52550
diff
changeset

145 

52435
6646bb548c6b
migration from code_(consttypeclassinstance) to code_printing and from code_module to code_identifier
haftmann
parents:
52430
diff
changeset

146 
* Code generator: 
53160  147 
 'code_printing' unifies 'code_const' / 'code_type' / 'code_class' / 
148 
'code_instance'. 

149 
 'code_identifier' declares name hints for arbitrary identifiers in 

150 
generated code, subsuming 'code_modulename'. 

53983  151 

152 
See the isarref manual for syntax diagrams, and the HOL theories for 

153 
examples. 

52435
6646bb548c6b
migration from code_(consttypeclassinstance) to code_printing and from code_module to code_identifier
haftmann
parents:
52430
diff
changeset

154 

53307  155 
* HOL/BNF: 
53728  156 
 Various improvements to BNFbased (co)datatype package, including new 
53766  157 
commands "primrec_new", "primcorecursive", and "datatype_new_compat", 
158 
as well as documentation. See "datatypes.pdf" for details. 

53307  159 
 Renamed keywords: 
160 
data ~> datatype_new 

161 
codata ~> codatatype 

162 
bnf_def ~> bnf 

163 
 Renamed many generated theorems, including 

53728  164 
discs ~> disc 
53307  165 
map_comp' ~> map_comp 
166 
map_id' ~> map_id 

53728  167 
sels ~> sel 
53307  168 
set_map' ~> set_map 
53728  169 
sets ~> set 
53307  170 
IMCOMPATIBILITY. 
171 

53613  172 
* Function package: For mutually recursive functions f and g, separate 
173 
cases rules f.cases and g.cases are generated instead of unusable 

174 
f_g.cases which exposed internal sum types. Potential INCOMPATIBILITY, 

175 
in the case that the unusable rule was used nevertheless. 

176 

177 
* Function package: For each function f, new rules f.elims are 

178 
automatically generated, which eliminate equalities of the form "f x = 

179 
t". 

180 

53983  181 
* New command 'fun_cases' derives adhoc elimination rules for 
53613  182 
function equations as simplified instances of f.elims, analogous to 
53983  183 
inductive_cases. See ~~/src/HOL/ex/Fundefs.thy for some examples. 
53613  184 

52380  185 
* Library/Polynomial.thy: 
53160  186 
 Use lifting for primitive definitions. 
187 
 Explicit conversions from and to lists of coefficients, used for 

188 
generated code. 

189 
 Replaced recursion operator poly_rec by fold_coeffs. 

190 
 Prefer preexisting gcd operation for gcd. 

191 
 Fact renames: 

52380  192 
poly_eq_iff ~> poly_eq_poly_eq_iff 
193 
poly_ext ~> poly_eqI 

194 
expand_poly_eq ~> poly_eq_iff 

53307  195 
IMCOMPATIBILITY. 
52380  196 

52286  197 
* Reification and reflection: 
53160  198 
 Reification is now directly available in HOLMain in structure 
199 
"Reification". 

200 
 Reflection now handles multiple lists with variables also. 

201 
 The whole reflection stack has been decomposed into conversions. 

52286  202 
INCOMPATIBILITY. 
203 

53983  204 
* Stronger precedence of syntax for big intersection and union on 
205 
sets, in accordance with corresponding lattice operations. 

206 
INCOMPATIBILITY. 

52141
eff000cab70f
weaker precendence of syntax for big intersection and union on sets
haftmann
parents:
52116
diff
changeset

207 

53160  208 
* Nested case expressions are now translated in a separate check phase 
209 
rather than during parsing. The data for case combinators is separated 

210 
from the datatype package. The declaration attribute 

211 
"case_translation" can be used to register new case combinators: 

51682  212 

213 
declare [[case_translation case_combinator constructor1 ... constructorN]] 

214 

53681  215 
* New Library/Simps_Case_Conv.thy: Provides commands simps_of_case and 
216 
case_of_simps to convert function definitions between a list of 

217 
equations with patterns on the lhs and a single equation with case 

218 
expressions on the rhs. See also Ex/Simps_Case_Conv_Examples.thy. 

219 

51596  220 
* Notation "{p:A. P}" now allows tuple patterns as well. 
221 

51489  222 
* Revised devices for recursive definitions over finite sets: 
223 
 Only one fundamental fold combinator on finite set remains: 

224 
Finite_Set.fold :: ('a => 'b => 'b) => 'b => 'a set => 'b 

225 
This is now identity on infinite sets. 

52745
821ce370b7fc
avoid predefined symbols  allow editing with Isabelle/jEdit in isabellenews mode;
wenzelm
parents:
52743
diff
changeset

226 
 Locales ("mini packages") for fundamental definitions with 
51489  227 
Finite_Set.fold: folding, folding_idem. 
228 
 Locales comm_monoid_set, semilattice_order_set and 

229 
semilattice_neutr_order_set for big operators on sets. 

230 
See theory Big_Operators for canonical examples. 

231 
Note that foundational constants comm_monoid_set.F and 

232 
semilattice_set.F correspond to former combinators fold_image 

233 
and fold1 respectively. These are now gone. You may use 

51490  234 
those foundational constants as substitutes, but it is 
53983  235 
preferable to interpret the above locales accordingly. 
51489  236 
 Dropped class ab_semigroup_idem_mult (special case of lattice, 
237 
no longer needed in connection with Finite_Set.fold etc.) 

238 
 Fact renames: 

239 
card.union_inter ~> card_Un_Int [symmetric] 

240 
card.union_disjoint ~> card_Un_disjoint 

241 
INCOMPATIBILITY. 

242 

51487  243 
* Locale hierarchy for abstract orderings and (semi)lattices. 
244 

53526  245 
* Discontinued theory src/HOL/Library/Eval_Witness. INCOMPATIBILITY. 
51382
51957d006677
discontinued theory src/HOL/Library/Eval_Witness  assumptions do not longer hold in presence of abstract types
haftmann
parents:
51316
diff
changeset

246 

53160  247 
* Numeric types mapped by default to target language numerals: natural 
248 
(replaces former code_numeral) and integer (replaces former code_int). 

249 
Conversions are available as integer_of_natural / natural_of_integer / 

250 
integer_of_nat / nat_of_integer (in HOL) and 

251 
Code_Numeral.integer_of_natural / Code_Numeral.natural_of_integer (in 

252 
ML). INCOMPATIBILITY. 

51168
35d00ce58626
restored proper order of NEWS entries (lost due too longwaiting patches)
haftmann
parents:
51143
diff
changeset

253 

35d00ce58626
restored proper order of NEWS entries (lost due too longwaiting patches)
haftmann
parents:
51143
diff
changeset

254 
* Discontinued theories Code_Integer and Efficient_Nat by a more 
35d00ce58626
restored proper order of NEWS entries (lost due too longwaiting patches)
haftmann
parents:
51143
diff
changeset

255 
finegrain stack of theories Code_Target_Int, Code_Binary_Nat, 
53160  256 
Code_Target_Nat and Code_Target_Numeral. See the tutorial on code 
257 
generation for details. INCOMPATIBILITY. 

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 
conditionallycomplete 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 
conditionallycomplete 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 
HOLMultivariate_Analysis to HOLComplex_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 nontopological 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 nontopological 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 withinfilter. 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 righthand 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 HOLComplex_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 

51115
7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

354 
* Consolidation of library theories on product orders: 
7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

355 

7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

356 
Product_Lattice ~> Product_Order  pointwise order on products 
7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

357 
Product_ord ~> Product_Lexorder  lexicographic order on products 
7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

358 

7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

359 
INCOMPATIBILITY. 
7dbd6832a689
consolidation of library theories on product orders
haftmann
parents:
51088
diff
changeset

360 

53738  361 
* Nitpick: 
53803  362 
 Added option "spy" 
53738  363 
 Reduce incidence of "too high arity" errors 
364 

51137  365 
* Sledgehammer: 
366 
 Renamed option: 

367 
isar_shrink ~> isar_compress 

53738  368 
INCOMPATIBILITY. 
53801  369 
 Added options "isar_try0", "spy" 
53728  370 
 Better support for "isar_proofs" 
53766  371 
 MaSh has been finedtuned and now runs as a local server 
51137  372 

53160  373 
* ImperativeHOL: The MREC combinator is considered legacy and no 
374 
longer included by default. INCOMPATIBILITY, use partial_function 

375 
instead, or import theory Legacy_Mrec as a fallback. 

376 

53983  377 
* HOLAlgebra: Discontinued theories ~~/src/HOL/Algebra/abstract and 
378 
~~/src/HOL/Algebra/poly. Existing theories should be based on 

379 
~~/src/HOL/Library/Polynomial instead. The latter provides 

380 
integration with HOL's type classes for rings. INCOMPATIBILITY. 

51517
7957d26c3334
Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents:
51490
diff
changeset

381 

7957d26c3334
Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents:
51490
diff
changeset

382 

51551  383 
*** ML *** 
384 

53971  385 
* Spec_Check is a Quickcheck tool for Isabelle/ML. The ML function 
386 
"check_property" allows to check specifications of the form "ALL x y 

387 
z. prop x y z". See also ~~/src/Tools/Spec_Check/ with its 

388 
Examples.thy in particular. 

389 

53709
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset

390 
* 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

391 
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

392 
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

393 
ML_Compiler.exn_trace. 
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset

394 

53971  395 
* ML type "theory" is now immutable, without any special treatment of 
396 
drafts or linear updates (which could lead to "stale theory" errors in 

397 
the past). Discontinued obsolete operations like Theory.copy, 

398 
Theory.checkpoint, and the auxiliary type theory_ref. Minor 

399 
INCOMPATIBILITY. 

53164
beb4ee344c22
clarified position of Spec_Check for Isabelle/ML  it is unrelated to Isabelle/HOL;
wenzelm
parents:
53162
diff
changeset

400 

51551  401 
* More uniform naming of goal functions for skipped proofs: 
402 

403 
Skip_Proof.prove ~> Goal.prove_sorry 

404 
Skip_Proof.prove_global ~> Goal.prove_sorry_global 

405 

53971  406 
Minor INCOMPATIBILITY. 
51703
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset

407 

51717
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset

408 
* 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

409 
historic type simpset. Oldstyle declarations like addsimps, 
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset

410 
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

411 
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

412 
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

413 
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

414 
(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

415 

53971  416 
* Modifiers for classical wrappers (e.g. addWrapper, delWrapper) 
417 
operate on Proof.context instead of claset, for uniformity with addIs, 

418 
addEs, addDs etc. Note that claset_of and put_claset allow to manage 

419 
clasets separately from the context. 

420 

51717
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset

421 
* Discontinued obsolete ML antiquotations @{claset} and @{simpset}. 
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset

422 
INCOMPATIBILITY, use @{context} instead. 
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset

423 

53971  424 
* Antiquotation @{theory_context A} is similar to @{theory A}, but 
425 
presents the result as initial Proof.context. 

426 

51551  427 

51398
c3d02b3518c2
discontinued "isabelle usedir" option P (remote path);
wenzelm
parents:
51382
diff
changeset

428 
*** System *** 
c3d02b3518c2
discontinued "isabelle usedir" option P (remote path);
wenzelm
parents:
51382
diff
changeset

429 

52052
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51775
diff
changeset

430 
* Discontinued obsolete isabelle usedir, mkdir, make  superseded by 
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51775
diff
changeset

431 
"isabelle build" in Isabelle2013. INCOMPATIBILITY. 
51398
c3d02b3518c2
discontinued "isabelle usedir" option P (remote path);
wenzelm
parents:
51382
diff
changeset

432 

52054
eaf17514aabd
discontinued obsolete isabelleprocess options f and u;
wenzelm
parents:
52053
diff
changeset

433 
* Discontinued obsolete isabelleprocess options f and u (former 
eaf17514aabd
discontinued obsolete isabelleprocess options f and u;
wenzelm
parents:
52053
diff
changeset

434 
administrative aliases of option e). Minor INCOMPATIBILITY. 
eaf17514aabd
discontinued obsolete isabelleprocess options f and u;
wenzelm
parents:
52053
diff
changeset

435 

52550  436 
* Discontinued obsolete isabelle print tool, and PRINT_COMMAND 
437 
settings variable. 

438 

52746  439 
* Discontinued ISABELLE_DOC_FORMAT settings variable and historic 
440 
document formats: dvi.gz, ps, ps.gz  the default document format is 

441 
always pdf. 

52743  442 

52053  443 
* Isabelle settings variable ISABELLE_BUILD_JAVA_OPTIONS allows to 
444 
specify global resources of the JVM process run by isabelle build. 

445 

52116
abf9fcfa65cf
added isabelle_scala_script wrapper  NB: portable hashbang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset

446 
* Toplevel executable $ISABELLE_HOME/bin/isabelle_scala_script allows 
abf9fcfa65cf
added isabelle_scala_script wrapper  NB: portable hashbang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset

447 
to run Isabelle/Scala source files as standalone programs. 
abf9fcfa65cf
added isabelle_scala_script wrapper  NB: portable hashbang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset

448 

52439
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset

449 
* Improved "isabelle keywords" tool (for oldstyle ProofGeneral 
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset

450 
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

451 
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

452 

53971  453 
* Sessions may be organized via 'chapter' specifications in the ROOT 
454 
file, which determines a twolevel hierarchy of browser info. The old 

455 
treelike organization via implicit subsession relation (with its 

456 
tendency towards erratic fluctuation of URLs) has been discontinued. 

457 
The default chapter is called "Unsorted". Potential INCOMPATIBILITY 

458 
for HTML presentation of theories. 

459 

51398
c3d02b3518c2
discontinued "isabelle usedir" option P (remote path);
wenzelm
parents:
51382
diff
changeset

460 

c3d02b3518c2
discontinued "isabelle usedir" option P (remote path);
wenzelm
parents:
51382
diff
changeset

461 

50993  462 
New in Isabelle2013 (February 2013) 
463 
 

47887  464 

47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset

465 
*** General *** 
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset

466 

50126
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset

467 
* 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

468 
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

469 
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

470 
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

471 
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

472 
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

473 
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

474 

49699  475 
* Configuration option show_markup controls direct inlining of markup 
476 
into the printed representation of formal entities  notably type 

477 
and sort constraints. This enables Prover IDE users to retrieve that 

478 
information via tooltips in the output window, for example. 

479 

48890
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset

480 
* 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

481 
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

482 

49243  483 
* Old command 'use' command and corresponding keyword 'uses' in the 
484 
theory header are legacy features and will be discontinued soon. 

485 
Tools that load their additional source files may imitate the 

486 
'ML_file' implementation, such that the system can take care of 

487 
dependencies properly. 

488 

47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset

489 
* Discontinued obsolete method fastsimp / tactic fast_simp_tac, which 
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset

490 
is called fastforce / fast_force_tac already since Isabelle20111. 
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset

491 

50110  492 
* Updated and extended "isarref" and "implementation" manual, reduced 
493 
remaining material in old "ref" manual. 

48120
9fe0e71052a0
updated "isarref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset

494 

51050  495 
* Improved support for auxiliary contexts that indicate block structure 
496 
for specifications. Nesting of "context fixes ... context assumes ..." 

49841  497 
and "class ... context ...". 
498 

50772
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset

499 
* Attribute "consumes" allows a negative value as well, which is 
50778  500 
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

501 
the target context. This form of declaration is stable when exported 
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset

502 
from a nested 'context' with additional assumptions. It is the 
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset

503 
preferred form for definitional packages, notably cases/rules produced 
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset

504 
in HOL/inductive and HOL/function. 
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset

505 

49869
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

506 
* More informative error messages for Isar proof commands involving 
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

507 
lazy enumerations (method applications etc.). 
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

508 

50213  509 
* Refined 'help' command to retrieve outer syntax commands according 
510 
to name patterns (with clickable results). 

511 

47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset

512 

49968  513 
*** Prover IDE  Isabelle/Scala/jEdit *** 
514 

515 
* Parallel terminal proofs ('by') are enabled by default, likewise 

516 
proofs that are built into packages like 'datatype', 'function'. This 

517 
allows to "run ahead" checking the theory specifications on the 

518 
surface, while the prover is still crunching on internal 

519 
justifications. Unfinished / cancelled proofs are restarted as 

520 
required to complete full proof checking eventually. 

521 

522 
* Improved output panel with tooltips, hyperlinks etc. based on the 

523 
same Rich_Text_Area as regular Isabelle/jEdit buffers. Activation of 

524 
tooltips leads to some window that supports the same recursively, 

525 
which can lead to stacks of tooltips as the semantic document content 

526 
is explored. ESCAPE closes the whole stack, individual windows may be 

527 
closed separately, or detached to become independent jEdit dockables. 

528 

50717  529 
* Improved support for commands that produce graph output: the text 
530 
message contains a clickable area to open a new instance of the graph 

531 
browser on demand. 

532 

49968  533 
* More robust incremental parsing of outer syntax (partial comments, 
534 
malformed symbols). Changing the balance of open/close quotes and 

535 
comment delimiters works more conveniently with unfinished situations 

536 
that frequently occur in user interaction. 

537 

538 
* More efficient painting and improved reactivity when editing large 

539 
files. More scalable management of formal document content. 

540 

50505
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset

541 
* 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

542 
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

543 
dialog to stop or continue. This avoids swamping the frontend with 
50119
5c370a036de7
more generous tracing_limit, with explicit system option;
wenzelm
parents:
50118
diff
changeset

544 
potentially infinite message streams. 
49968  545 

546 
* More plugin options and preferences, based on Isabelle/Scala. The 

547 
jEdit plugin option panel provides access to some Isabelle/Scala 

548 
options, including tuning parameters for editor reactivity and color 

549 
schemes. 

550 

50184  551 
* Dockable window "Symbols" provides some editing support for Isabelle 
552 
symbols. 

553 

51082  554 
* Dockable window "Monitor" shows ML runtime statistics. Note that 
555 
continuous display of the chart slows down the system. 

50701  556 

50183  557 
* Improved editing support for control styles: subscript, superscript, 
558 
bold, reset of style  operating on single symbols or text 

50198
0c7b351a6871
added convenience actions isabelle.increasefontsize and isabelle.decreasefontsize;
wenzelm
parents:
50184
diff
changeset

559 
selections. Cf. keyboard shortcuts C+e DOWN/UP/RIGHT/LEFT. 
0c7b351a6871
added convenience actions isabelle.increasefontsize and isabelle.decreasefontsize;
wenzelm
parents:
50184
diff
changeset

560 

0c7b351a6871
added convenience actions isabelle.increasefontsize and isabelle.decreasefontsize;
wenzelm
parents:
50184
diff
changeset

561 
* Actions isabelle.increasefontsize and isabelle.decreasefontsize 
0c7b351a6871
added convenience actions isabelle.increasefontsize and isabelle.decreasefontsize;
wenzelm
parents:
50184
diff
changeset

562 
adjust the main text area font size, and its derivatives for output, 
50836  563 
tooltips etc. Cf. keyboard shortcuts CPLUS and CMINUS, which often 
564 
need to be adapted to local keyboard layouts. 

50183  565 

50730  566 
* More reactive completion popup by default: use \t (TAB) instead of 
567 
\n (NEWLINE) to minimize intrusion into regular flow of editing. See 

568 
also "Plugin Options / SideKick / General / Code Completion Options". 

569 

50406
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset

570 
* 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

571 
image. For example, HOL, HOLCF, HOLNominal can be produced on 
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset

572 
demand, without bundling big platformdependent heap images in the 
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset

573 
Isabelle distribution. 
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset

574 

49968  575 
* Uniform Java 7 platform on Linux, Mac OS X, Windows: recent updates 
576 
from Oracle provide better multiplatform experience. This version is 

577 
now bundled exclusively with Isabelle. 

578 

579 

48205  580 
*** Pure *** 
581 

48431
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset

582 
* 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

583 
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

584 

50646  585 
* Command 'export_code': relative file names are interpreted 
586 
relatively to master directory of current theory rather than the 

587 
rather arbitrary current working directory. INCOMPATIBILITY. 

48371  588 

48205  589 
* Discontinued obsolete attribute "COMP". Potential INCOMPATIBILITY, 
590 
use regular rule composition via "OF" / "THEN", or explicit proof 

591 
structure instead. Note that Isabelle/ML provides a variety of 

592 
operators like COMP, INCR_COMP, COMP_INCR, which need to be applied 

593 
with some care where this is really required. 

594 

48792  595 
* Command 'typ' supports an additional variant with explicit sort 
596 
constraint, to infer and check the most general type conforming to a 

51063  597 
given sort. Example (in HOL): 
48792  598 

599 
typ "_ * _ * bool * unit" :: finite 

600 

50716  601 
* Command 'locale_deps' visualizes all locales and their relations as 
602 
a Hasse diagram. 

603 

48205  604 

48013
44de84112a67
added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents:
47979
diff
changeset

605 
*** HOL *** 
44de84112a67
added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents:
47979
diff
changeset

606 

50646  607 
* Sledgehammer: 
608 

609 
 Added MaSh relevance filter based on machinelearning; see the 

610 
Sledgehammer manual for details. 

611 
 Polished Isar proofs generated with "isar_proofs" option. 

612 
 Rationalized type encodings ("type_enc" option). 

50720  613 
 Renamed "kill_provers" subcommand to "kill_all". 
50646  614 
 Renamed options: 
615 
isar_proof ~> isar_proofs 

616 
isar_shrink_factor ~> isar_shrink 

617 
max_relevant ~> max_facts 

618 
relevance_thresholds ~> fact_thresholds 

619 

620 
* Quickcheck: added an optimisation for equality premises. It is 

621 
switched on by default, and can be switched off by setting the 

622 
configuration quickcheck_optimise_equality to false. 

623 

50878  624 
* Quotient: only one quotient can be defined by quotient_type 
625 
INCOMPATIBILITY. 

626 

627 
* Lifting: 

628 
 generation of an abstraction function equation in lift_definition 

629 
 quot_del attribute 

630 
 renamed no_abs_code > no_code (INCOMPATIBILITY.) 

631 

50646  632 
* Simproc "finite_Collect" rewrites set comprehensions into pointfree 
633 
expressions. 

634 

635 
* Preprocessing of the code generator rewrites set comprehensions into 

636 
pointfree expressions. 

637 

638 
* The SMT solver Z3 has now by default a restricted set of directly 

639 
supported features. For the full set of features (div/mod, nonlinear 

640 
arithmetic, datatypes/records) with potential proof reconstruction 

641 
failures, enable the configuration option "z3_with_extensions". Minor 

642 
INCOMPATIBILITY. 

49948
744934b818c7
moved quite generic material from theory Enum to more appropriate places
haftmann
parents:
49918
diff
changeset

643 

49836
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset

644 
* Simplified 'typedef' specifications: historical options for implicit 
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset

645 
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

646 
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

647 
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

648 
accordingly. 
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset

649 

50646  650 
* Removed constant "chars"; prefer "Enum.enum" on type "char" 
651 
directly. INCOMPATIBILITY. 

652 

653 
* Moved operation product, sublists and n_lists from theory Enum to 

654 
List. INCOMPATIBILITY. 

49822
0cfc1651be25
simplified construction of fold combinator on multisets;
haftmann
parents:
49770
diff
changeset

655 

49739  656 
* Theorem UN_o generalized to SUP_comp. INCOMPATIBILITY. 
657 

49738  658 
* Class "comm_monoid_diff" formalises properties of bounded 
49388  659 
subtraction, with natural numbers and multisets as typical instances. 
660 

50646  661 
* Added combinator "Option.these" with type "'a option set => 'a set". 
662 

663 
* Theory "Transitive_Closure": renamed lemmas 

664 

665 
reflcl_tranclp > reflclp_tranclp 

666 
rtranclp_reflcl > rtranclp_reflclp 

667 

668 
INCOMPATIBILITY. 

669 

670 
* Theory "Rings": renamed lemmas (in class semiring) 

671 

672 
left_distrib ~> distrib_right 

673 
right_distrib ~> distrib_left 

674 

675 
INCOMPATIBILITY. 

676 

677 
* Generalized the definition of limits: 

678 

679 
 Introduced the predicate filterlim (LIM x F. f x :> G) which 

680 
expresses that when the input values x converge to F then the 

681 
output f x converges to G. 

682 

683 
 Added filters for convergence to positive (at_top) and negative 

684 
infinity (at_bot). 

685 

686 
 Moved infinity in the norm (at_infinity) from 

687 
Multivariate_Analysis to Complex_Main. 

688 

689 
 Removed real_tendsto_inf, it is superseded by "LIM x F. f x :> 

690 
at_top". 

691 

692 
INCOMPATIBILITY. 

693 

694 
* Theory "Library/Option_ord" provides instantiation of option type to 

695 
lattice type classes. 

696 

697 
* Theory "Library/Multiset": renamed 

698 

699 
constant fold_mset ~> Multiset.fold 

700 
fact fold_mset_commute ~> fold_mset_comm 

701 

702 
INCOMPATIBILITY. 

703 

704 
* Renamed theory Library/List_Prefix to Library/Sublist, with related 

705 
changes as follows. 

706 

707 
 Renamed constants (and related lemmas) 

49145  708 

709 
prefix ~> prefixeq 

710 
strict_prefix ~> prefix 

711 

50646  712 
 Replaced constant "postfix" by "suffixeq" with swapped argument 
713 
order (i.e., "postfix xs ys" is now "suffixeq ys xs") and dropped 

714 
old infix syntax "xs >>= ys"; use "suffixeq ys xs" instead. 

715 
Renamed lemmas accordingly. 

716 

717 
 Added constant "list_hembeq" for homeomorphic embedding on 

718 
lists. Added abbreviation "sublisteq" for special case 

719 
"list_hembeq (op =)". 

720 

721 
 Theory Library/Sublist no longer provides "order" and "bot" type 

722 
class instances for the prefix order (merely corresponding locale 

723 
interpretations). The type class instances are now in theory 

724 
Library/Prefix_Order. 

725 

726 
 The sublist relation of theory Library/Sublist_Order is now based 

727 
on "Sublist.sublisteq". Renamed lemmas accordingly: 

50516  728 

729 
le_list_append_le_same_iff ~> Sublist.sublisteq_append_le_same_iff 

730 
le_list_append_mono ~> Sublist.list_hembeq_append_mono 

731 
le_list_below_empty ~> Sublist.list_hembeq_Nil, Sublist.list_hembeq_Nil2 

732 
le_list_Cons_EX ~> Sublist.list_hembeq_ConsD 

733 
le_list_drop_Cons2 ~> Sublist.sublisteq_Cons2' 

734 
le_list_drop_Cons_neq ~> Sublist.sublisteq_Cons2_neq 

735 
le_list_drop_Cons ~> Sublist.sublisteq_Cons' 

736 
le_list_drop_many ~> Sublist.sublisteq_drop_many 

737 
le_list_filter_left ~> Sublist.sublisteq_filter_left 

738 
le_list_rev_drop_many ~> Sublist.sublisteq_rev_drop_many 

739 
le_list_rev_take_iff ~> Sublist.sublisteq_append 

740 
le_list_same_length ~> Sublist.sublisteq_same_length 

741 
le_list_take_many_iff ~> Sublist.sublisteq_append' 

49145  742 
less_eq_list.drop ~> less_eq_list_drop 
743 
less_eq_list.induct ~> less_eq_list_induct 

50516  744 
not_le_list_length ~> Sublist.not_sublisteq_length 
49145  745 

50646  746 
INCOMPATIBILITY. 
747 

748 
* New theory Library/Countable_Set. 

749 

750 
* Theory Library/Debug and Library/Parallel provide debugging and 

751 
parallel execution for code generated towards Isabelle/ML. 

752 

753 
* Theory Library/FuncSet: Extended support for Pi and extensional and 

754 
introduce the extensional dependent function space "PiE". Replaced 

755 
extensional_funcset by an abbreviation, and renamed lemmas from 

756 
extensional_funcset to PiE as follows: 

757 

758 
extensional_empty ~> PiE_empty 

759 
extensional_funcset_empty_domain ~> PiE_empty_domain 

760 
extensional_funcset_empty_range ~> PiE_empty_range 

761 
extensional_funcset_arb ~> PiE_arb 

762 
extensional_funcset_mem ~> PiE_mem 

763 
extensional_funcset_extend_domainI ~> PiE_fun_upd 

764 
extensional_funcset_restrict_domain ~> fun_upd_in_PiE 

765 
extensional_funcset_extend_domain_eq ~> PiE_insert_eq 

766 
card_extensional_funcset ~> card_PiE 

767 
finite_extensional_funcset ~> finite_PiE 

768 

769 
INCOMPATIBILITY. 

770 

771 
* Theory Library/FinFun: theory of almost everywhere constant 

772 
functions (supersedes the AFP entry "Code Generation for Functions as 

773 
Data"). 

774 

775 
* Theory Library/Phantom: generic phantom type to make a type 

776 
parameter appear in a constant's type. This alternative to adding 

777 
TYPE('a) as another parameter avoids unnecessary closures in generated 

778 
code. 

779 

780 
* Theory Library/RBT_Impl: efficient construction of redblack trees 

781 
from sorted associative lists. Merging two trees with rbt_union may 

782 
return a structurally different tree than before. Potential 

783 
INCOMPATIBILITY. 

784 

785 
* Theory Library/IArray: immutable arrays with code generation. 

786 

787 
* Theory Library/Finite_Lattice: theory of finite lattices. 

788 

789 
* HOL/Multivariate_Analysis: replaced 

790 

791 
"basis :: 'a::euclidean_space => nat => real" 

792 
"\<Chi>\<Chi> :: (nat => real) => 'a::euclidean_space" 

793 

794 
on euclidean spaces by using the inner product "_ \<bullet> _" with 

795 
vectors from the Basis set: "\<Chi>\<Chi> i. f i" is superseded by 

796 
"SUM i : Basis. f i * r i". 

797 

798 
With this change the following constants are also changed or removed: 

799 

800 
DIM('a) :: nat ~> card (Basis :: 'a set) (is an abbreviation) 

801 
a $$ i ~> inner a i (where i : Basis) 

802 
cart_base i removed 

803 
\<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

804 

899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset

805 
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

806 

899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset

807 
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

808 

50646  809 
component_le_norm ~> Basis_le_norm 
810 
euclidean_eq ~> euclidean_eq_iff 

811 
differential_zero_maxmin_component ~> differential_zero_maxmin_cart 

812 
euclidean_simps ~> inner_simps 

813 
independent_basis ~> independent_Basis 

814 
span_basis ~> span_Basis 

815 
in_span_basis ~> in_span_Basis 

816 
norm_bound_component_le ~> norm_boound_Basis_le 

817 
norm_bound_component_lt ~> norm_boound_Basis_lt 

818 
component_le_infnorm ~> Basis_le_infnorm 

819 

820 
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

821 

50141  822 
* HOL/Probability: 
50646  823 

824 
 Added simproc "measurable" to automatically prove measurability. 

825 

826 
 Added induction rules for sigma sets with disjoint union 

827 
(sigma_sets_induct_disjoint) and for Borelmeasurable functions 

828 
(borel_measurable_induct). 

829 

830 
 Added the DaniellKolmogorov theorem (the existence the limit of a 

831 
projective family). 

832 

833 
* HOL/Cardinals: Theories of ordinals and cardinals (supersedes the 

834 
AFP entry "Ordinals_and_Cardinals"). 

835 

836 
* HOL/BNF: New (co)datatype package based on bounded natural functors 

837 
with support for mixed, nested recursion and interesting nonfree 

838 
datatypes. 

48094  839 

50991  840 
* HOL/Finite_Set and Relation: added new set and relation operations 
50878  841 
expressed by Finite_Set.fold. 
842 

843 
* New theory HOL/Library/RBT_Set: implementation of sets by redblack 

844 
trees for the code generator. 

845 

846 
* HOL/Library/RBT and HOL/Library/Mapping have been converted to 

847 
Lifting/Transfer. 

848 
possible INCOMPATIBILITY. 

849 

850 
* HOL/Set: renamed Set.project > Set.filter 

851 
INCOMPATIBILITY. 

852 

48120
9fe0e71052a0
updated "isarref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset

853 

48206  854 
*** Document preparation *** 
855 

50646  856 
* Dropped legacy antiquotations "term_style" and "thm_style", since 
857 
styles may be given as arguments to "term" and "thm" already. 

858 
Discontinued legacy styles "prem1" .. "prem19". 

859 

860 
* Default LaTeX rendering for \<euro> is now based on eurosym package, 

861 
instead of slightly exotic babel/greek. 

48206  862 

48616
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset

863 
* 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

864 
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

865 
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

866 

48657
63ef2f0cf8bb
simplified custom document/build script, instead of oldstyle document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset

867 
* Simplified custom document/build script, instead of oldstyle 
63ef2f0cf8bb
simplified custom document/build script, instead of oldstyle document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset

868 
document/IsaMakefile. Minor INCOMPATIBILITY. 
63ef2f0cf8bb
simplified custom document/build script, instead of oldstyle document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset

869 

48206  870 

48992  871 
*** ML *** 
872 

50646  873 
* The default limit for maximum number of worker threads is now 8, 
874 
instead of 4, in correspondence to capabilities of contemporary 

875 
hardware and Poly/ML runtime system. 

876 

49869
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

877 
* Type Seq.results and related operations support embedded error 
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

878 
messages within lazy enumerations, and thus allow to provide 
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

879 
informative errors in the absence of any usable results. 
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset

880 

48992  881 
* Renamed Position.str_of to Position.here to emphasize that this is a 
882 
formal device to inline positions into message text, but not 

883 
necessarily printing visible text. 

884 

885 

48206  886 
*** System *** 
887 

48585
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset

888 
* Advanced support for Isabelle sessions and build management, see 
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset

889 
"system" manual for the chapter of that name, especially the "isabelle 
51056  890 
build" tool and its examples. The "isabelle mkroot" tool prepares 
891 
session root directories for use with "isabelle build", similar to 

892 
former "isabelle mkdir" for "isabelle usedir". Note that this affects 

893 
document preparation as well. INCOMPATIBILITY, isabelle usedir / 

48736  894 
mkdir / make are rendered obsolete. 
895 

51056  896 
* Discontinued obsolete Isabelle/build script, it is superseded by the 
897 
regular isabelle build tool. For example: 

898 

899 
isabelle build s b HOL 

900 

48736  901 
* Discontinued obsolete "isabelle makeall". 
48585
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset

902 

48722
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset

903 
* 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

904 
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

905 
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

906 
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

907 
"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

908 

48693
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset

909 
* The "isabelle options" tool prints Isabelle system options, as 
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset

910 
required for "isabelle build", for example. 
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset

911 

50646  912 
* The "isabelle logo" tool produces EPS and PDF format simultaneously. 
913 
Minor INCOMPATIBILITY in commandline options. 

914 

915 
* The "isabelle install" tool has now a simpler commandline. Minor 

916 
INCOMPATIBILITY. 

917 

48844  918 
* The "isabelle components" tool helps to resolve addon components 
919 
that are not bundled, or referenced from a barebones repository 

920 
version of Isabelle. 

921 

50646  922 
* Settings variable ISABELLE_PLATFORM_FAMILY refers to the general 
923 
platform family: "linux", "macos", "windows". 

924 

925 
* The ML system is configured as regular component, and no longer 

926 
picked up from some surrounding directory. Potential INCOMPATIBILITY 

927 
for homemade settings. 

50132  928 

50701  929 
* Improved ML runtime statistics (heap, threads, future tasks etc.). 
930 

48206  931 
* Discontinued support for Poly/ML 5.2.1, which was the last version 
932 
without exception positions and advanced ML compiler/toplevel 

933 
configuration. 

934 

48574  935 
* Discontinued special treatment of Proof General  no longer guess 
936 
PROOFGENERAL_HOME based on accidental filesystem layout. Minor 

937 
INCOMPATIBILITY: provide PROOFGENERAL_HOME and PROOFGENERAL_OPTIONS 

938 
settings manually, or use a Proof General version that has been 

939 
bundled as Isabelle component. 

48206  940 

50182  941 

48120
9fe0e71052a0
updated "isarref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset

942 

47462  943 
New in Isabelle2012 (May 2012) 
944 
 

45109  945 

45593  946 
*** General *** 
947 

45614  948 
* Prover IDE (PIDE) improvements: 
949 

47585  950 
 more robust Sledgehammer integration (as before the sledgehammer 
47806  951 
commandline needs to be typed into the source buffer) 
45614  952 
 markup for bound variables 
47806  953 
 markup for types of term variables (displayed as tooltips) 
46956
9ff441f295c2
Isabelle/jEdit supports userdefined Isar commands within the running session;
wenzelm
parents:
46948
diff
changeset

954 
 support for userdefined Isar commands within the running session 
47158  955 
 improved support for Unicode outside original 16bit range 
956 
e.g. glyph for \<A> (thanks to jEdit 4.5.1) 

45614  957 

47806  958 
* Forward declaration of outer syntax keywords within the theory 
959 
header  minor INCOMPATIBILITY for userdefined commands. Allow new 

960 
commands to be used in the same theory where defined. 

46485  961 

47482
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

962 
* 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

963 
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

964 
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

965 
'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

966 
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

967 

a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

968 
context 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

969 
fixes x y z :: 'a 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

970 
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

971 
begin 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

972 

a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

973 
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

974 

a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

975 
end 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

976 

a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

977 
thm my_trans 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

978 

a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

979 
The most basic application is to factorout context elements of 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

980 
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

981 
~~/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

982 

a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

983 
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

984 
... begin ... end" block as well. 
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset

985 

47484  986 
* Bundled declarations associate attributed fact expressions with a 
987 
given name in the context. These may be later included in other 

988 
contexts. This allows to manage context extensions casually, without 

47855  989 
the logical dependencies of locales and locale interpretation. See 
990 
commands 'bundle', 'include', 'including' etc. in the isarref manual. 

47484  991 

47829  992 
* Commands 'lemmas' and 'theorems' allow local variables using 'for' 
993 
declaration, and results are standardized before being stored. Thus 

994 
oldstyle "standard" after instantiation or composition of facts 

995 
becomes obsolete. Minor INCOMPATIBILITY, due to potential change of 

996 
indices of schematic variables. 

997 

998 
* Rule attributes in local theory declarations (e.g. locale or class) 

999 
are now statically evaluated: the resulting theorem is stored instead 

1000 
of the original expression. INCOMPATIBILITY in rare situations, where 

1001 
the historic accident of dynamic reevaluation in interpretations 

1002 
etc. was exploited. 

1003 

1004 
* New tutorial "Programming and Proving in Isabelle/HOL" 

1005 
("progprove"). It completely supersedes "A Tutorial Introduction to 

1006 
Structured Isar Proofs" ("isaroverview"), which has been removed. It 

1007 
also supersedes "Isabelle/HOL, A Proof Assistant for HigherOrder 

1008 
Logic" as the recommended beginners tutorial, but does not cover all 

1009 
of the material of that old tutorial. 

1010 

1011 
* Updated and extended reference manuals: "isarref", 

1012 
"implementation", "system"; reduced remaining material in old "ref" 

1013 
manual. 

1014 

1015 

1016 
*** Pure *** 

1017 

46976
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset

1018 
* Command 'definition' no longer exports the foundational "raw_def" 
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset

1019 
into the user context. Minor INCOMPATIBILITY, may use the regular 
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset

1020 
"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

1021 

47855  1022 
* Attribute "abs_def" turns an equation of the form "f x y == t" into 
1023 
"f == %x y. t", which ensures that "simp" or "unfold" steps always 

1024 
expand it. This also works for objectlogic equality. (Formerly 

1025 
undocumented feature.) 

1026 

47856  1027 
* Sort constraints are now propagated in simultaneous statements, just 
1028 
like type constraints. INCOMPATIBILITY in rare situations, where 

1029 
distinct sorts used to be assigned accidentally. For example: 

1030 

1031 
lemma "P (x::'a::foo)" and "Q (y::'a::bar)"  "now illegal" 

1032 

1033 
lemma "P (x::'a)" and "Q (y::'a::bar)" 

1034 
 "now uniform 'a::bar instead of default sort for first occurrence (!)" 

1035 

1036 
* Rule composition via attribute "OF" (or ML functions OF/MRS) is more 

1037 
tolerant against multiple unifiers, as long as the final result is 

1038 
unique. (As before, rules are composed in canonical righttoleft 

1039 
order to accommodate newly introduced premises.) 

1040 

47806  1041 
* Renamed some inner syntax categories: 
1042 

1043 
num ~> num_token 

1044 
xnum ~> xnum_token 

1045 
xstr ~> str_token 

1046 

1047 
Minor INCOMPATIBILITY. Note that in practice "num_const" or 

1048 
"num_position" etc. are mainly used instead (which also include 

1049 
position information via constraints). 

1050 

47829  1051 
* Simplified configuration options for syntax ambiguity: see 
1052 
"syntax_ambiguity_warning" and "syntax_ambiguity_limit" in isarref 

1053 
manual. Minor INCOMPATIBILITY. 

1054 

47856  1055 
* Discontinued configuration option "syntax_positions": atomic terms 
1056 
in parse trees are always annotated by position constraints. 

45134  1057 

47464  1058 
* Old code generator for SML and its commands 'code_module', 
45383  1059 
'code_library', 'consts_code', 'types_code' have been discontinued. 
46028
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

1060 
Use commands of the generic code generator instead. INCOMPATIBILITY. 
45383  1061 

47464  1062 
* Redundant attribute "code_inline" has been discontinued. Use 
1063 
"code_unfold" instead. INCOMPATIBILITY. 

1064 

1065 
* Dropped attribute "code_unfold_post" in favor of the its dual 

1066 
"code_abbrev", which yields a common pattern in definitions like 

46028
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

1067 

9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

1068 
definition [code_abbrev]: "f = t" 
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

1069 

9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

1070 
INCOMPATIBILITY. 
45383  1071 

47856  1072 
* Obsolete 'types' command has been discontinued. Use 'type_synonym' 
1073 
instead. INCOMPATIBILITY. 

1074 

1075 
* Discontinued old "prems" fact, which used to refer to the accidental 

1076 
collection of foundational premises in the context (already marked as 

1077 
legacy since Isabelle2011). 

47855  1078 

45427
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

1079 

45122  1080 
*** HOL *** 
1081 

47464  1082 
* Type 'a set is now a proper type constructor (just as before 
1083 
Isabelle2008). Definitions mem_def and Collect_def have disappeared. 

1084 
Nontrivial INCOMPATIBILITY. For developments keeping predicates and 

47855  1085 
sets separate, it is often sufficient to rephrase some set S that has 
1086 
been accidentally used as predicates by "%x. x : S", and some 

1087 
predicate P that has been accidentally used as set by "{x. P x}". 

1088 
Corresponding proofs in a first step should be pruned from any 

1089 
tinkering with former theorems mem_def and Collect_def as far as 

1090 
possible. 

1091 

1092 
For developments which deliberately mix predicates and sets, a 

47464  1093 
planning step is necessary to determine what should become a predicate 
1094 
and what a set. It can be helpful to carry out that step in 

1095 
Isabelle20111 before jumping right into the current release. 

1096 

47855  1097 
* Code generation by default implements sets as container type rather 
1098 
than predicates. INCOMPATIBILITY. 

1099 

1100 
* New type synonym 'a rel = ('a * 'a) set 

1101 

47464  1102 
* The representation of numerals has changed. Datatype "num" 
1103 
represents strictly positive binary numerals, along with functions 

1104 
"numeral :: num => 'a" and "neg_numeral :: num => 'a" to represent 

47855  1105 
positive and negated numeric literals, respectively. See also 
1106 
definitions in ~~/src/HOL/Num.thy. Potential INCOMPATIBILITY, some 

1107 
user theories may require adaptations as follows: 

47108
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1108 

2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1109 
 Theorems with number_ring or number_semiring constraints: These 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1110 
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

1111 

2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1112 
 Theories defining numeric types: Remove number, number_semiring, 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1113 
and number_ring instances. Defer all theorems about numerals until 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1114 
after classes one and semigroup_add have been instantiated. 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1115 

2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1116 
 Numeralonly simp rules: Replace each rule having a "number_of v" 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1117 
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

1118 

2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1119 
 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

1120 
automatically support numerals now, so more simp rules and 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1121 
simprocs may now apply within the proof. 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1122 

2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1123 
 Definitions and theorems using old constructors Pls/Min/Bit0/Bit1: 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1124 
Redefine using other integer operations. 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
huffman
parents:
47086
diff
changeset

1125 

47855  1126 
* Transfer: New package intended to generalize the existing 
1127 
"descending" method and related theorem attributes from the Quotient 

1128 
package. (Not all functionality is implemented yet, but future 

1129 
development will focus on Transfer as an eventual replacement for the 

1130 
corresponding parts of the Quotient package.) 

47809  1131 

1132 
 transfer_rule attribute: Maintains a collection of transfer rules, 

1133 
which relate constants at two different types. Transfer rules may 

1134 
relate different type instances of the same polymorphic constant, 

1135 
or they may relate an operation on a raw type to a corresponding 

1136 
operation on an abstract type (quotient or subtype). For example: 

1137 

1138 
((A ===> B) ===> list_all2 A ===> list_all2 B) map map 

1139 
(cr_int ===> cr_int ===> cr_int) (%(x,y) (u,v). (x+u, y+v)) plus_int 

1140 

1141 
 transfer method: Replaces a subgoal on abstract types with an 

1142 
equivalent subgoal on the corresponding raw types. Constants are 

1143 
replaced with corresponding ones according to the transfer rules. 

1144 
Goals are generalized over all free variables by default; this is 

47851  1145 
necessary for variables whose types change, but can be overridden 
47855  1146 
for specific variables with e.g. "transfer fixing: x y z". The 
47809  1147 
variant transfer' method allows replacing a subgoal with one that 
1148 
is logically stronger (rather than equivalent). 

1149 

1150 
 relator_eq attribute: Collects identity laws for relators of 

1151 
various type constructors, e.g. "list_all2 (op =) = (op =)". The 

1152 
transfer method uses these lemmas to infer transfer rules for 

1153 
nonpolymorphic constants on the fly. 

1154 

1155 
 transfer_prover method: Assists with proving a transfer rule for a 

1156 
new constant, provided the constant is defined in terms of other 

1157 
constants that already have transfer rules. It should be applied 

1158 
after unfolding the constant definitions. 

1159 

1160 
 HOL/ex/Transfer_Int_Nat.thy: Example theory demonstrating transfer 

1161 
from type nat to type int. 

1162 

47851  1163 
* Lifting: New package intended to generalize the quotient_definition 
1164 
facility of the Quotient package; designed to work with Transfer. 

47809  1165 

1166 
 lift_definition command: Defines operations on an abstract type in 

1167 
terms of a corresponding operation on a representation 

1168 
type. Example syntax: 

1169 

1170 
lift_definition dlist_insert :: "'a => 'a dlist => 'a dlist" 

1171 
is List.insert 

1172 

1173 
Users must discharge a respectfulness proof obligation when each 

1174 
constant is defined. (For a type copy, i.e. a typedef with UNIV, 

1175 
the proof is discharged automatically.) The obligation is 

1176 
presented in a userfriendly, readable form; a respectfulness 

1177 
theorem in the standard format and a transfer rule are generated 

1178 
by the package. 

1179 

1180 
 Integration with code_abstype: For typedefs (e.g. subtypes 

1181 
corresponding to a datatype invariant, such as dlist), 

1182 
lift_definition generates a code certificate theorem and sets up 

1183 
code generation for each constant. 

1184 

1185 
 setup_lifting command: Sets up the Lifting package to work with a 

1186 
userdefined type. The user must provide either a quotient theorem 

1187 
or a type_definition theorem. The package configures transfer 

1188 
rules for equality and quantifiers on the type, and sets up the 

1189 
lift_definition command to work with the type. 

1190 

1191 
 Usage examples: See Quotient_Examples/Lift_DList.thy, 

47851  1192 
Quotient_Examples/Lift_RBT.thy, Quotient_Examples/Lift_FSet.thy, 
1193 
Word/Word.thy and Library/Float.thy. 

47809  1194 

1195 
* Quotient package: 

1196 

1197 
 The 'quotient_type' command now supports a 'morphisms' option with 

1198 
rep and abs functions, similar to typedef. 

1199 

1200 
 'quotient_type' sets up new types to work with the Lifting and 

1201 
Transfer packages, as with 'setup_lifting'. 

1202 

1203 
 The 'quotient_definition' command now requires the user to prove a 

1204 
respectfulness property at the point where the constant is 

1205 
defined, similar to lift_definition; INCOMPATIBILITY. 

1206 

1207 
 Renamed predicate 'Quotient' to 'Quotient3', and renamed theorems 

1208 
accordingly, INCOMPATIBILITY. 

1209 

1210 
* New diagnostic command 'find_unused_assms' to find potentially 

1211 
superfluous assumptions in theorems using Quickcheck. 

1212 

1213 
* Quickcheck: 

1214 

1215 
 Quickcheck returns variable assignments as counterexamples, which 

1216 
allows to reveal the underspecification of functions under test. 

1217 
For example, refuting "hd xs = x", it presents the variable 

1218 
assignment xs = [] and x = a1 as a counterexample, assuming that 

1219 
any property is false whenever "hd []" occurs in it. 

1220 

1221 
These counterexample are marked as potentially spurious, as 

1222 
Quickcheck also returns "xs = []" as a counterexample to the 

1223 
obvious theorem "hd xs = hd xs". 

1224 

1225 
After finding a potentially spurious counterexample, Quickcheck 

1226 
continues searching for genuine ones. 

1227 

1228 
By default, Quickcheck shows potentially spurious and genuine 

1229 
counterexamples. The option "genuine_only" sets quickcheck to only 

1230 
show genuine counterexamples. 

1231 

1232 
 The command 'quickcheck_generator' creates random and exhaustive 

1233 
value generators for a given type and operations. 

1234 

1235 
It generates values by using the operations as if they were 

1236 
constructors of that type. 

1237 

1238 
 Support for multisets. 

1239 

1240 
 Added "use_subtype" options. 

1241 

1242 
 Added "quickcheck_locale" configuration to specify how to process 

1243 
conjectures in a locale context. 

1244 

47855  1245 
* Nitpick: Fixed infinite loop caused by the 'peephole_optim' option 
1246 
and affecting 'rat' and 'real'. 

47809  1247 

1248 
* Sledgehammer: 

1249 
 Integrated more tightly with SPASS, as described in the ITP 2012 

1250 
paper "More SPASS with Isabelle". 

1251 
 Made it try "smt" as a fallback if "metis" fails or times out. 

1252 
 Added support for the following provers: AltErgo (via Why3 and 

1253 
TFF1), iProver, iProverEq. 

1254 
 Sped up the minimizer. 

1255 
 Added "lam_trans", "uncurry_aliases", and "minimize" options. 

1256 
 Renamed "slicing" ("no_slicing") option to "slice" ("dont_slice"). 

1257 
 Renamed "sound" option to "strict". 

1258 

47855  1259 
* Metis: Added possibility to specify lambda translations scheme as a 
1260 
parenthesized argument (e.g., "by (metis (lifting) ...)"). 

1261 

1262 
* SMT: Renamed "smt_fixed" option to "smt_read_only_certificates". 

1263 

1264 
* Command 'try0': Renamed from 'try_methods'. INCOMPATIBILITY. 

47809  1265 

47856  1266 
* New "case_product" attribute to generate a case rule doing multiple 
1267 
case distinctions at the same time. E.g. 

1268 

1269 
list.exhaust [case_product nat.exhaust] 

1270 

1271 
produces a rule which can be used to perform case distinction on both 

1272 
a list and a nat. 

1273 

47809  1274 
* New "eventually_elim" method as a generalized variant of the 
47855  1275 
eventually_elim* rules. Supports structured proofs. 
1276 

47702
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset

1277 
* Typedef with implicit set definition is considered legacy. Use 
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset

1278 
"typedef (open)" form instead, which will eventually become the 
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset

1279 
default. 
5f9ce06f281e
typedef with implicit set definition is considered legacy;
wenzelm
parents:
47694
diff
changeset

1280 

47856  1281 
* Record: code generation can be switched off manually with 
1282 

1283 
declare [[record_coden = false]]  "default true" 

1284 

1285 
* Datatype: type parameters allow explicit sort constraints. 

1286 

47855  1287 
* Concrete syntax for case expressions includes constraints for source 
1288 
positions, and thus produces Prover IDE markup for its bindings. 

1289 
INCOMPATIBILITY for oldstyle syntax translations that augment the 

1290 
pattern notation; e.g. see src/HOL/HOLCF/One.thy for translations of 

1291 
one_case. 

1292 

1293 
* Clarified attribute "mono_set": pure declaration without modifying 

1294 
the result of the fact expression. 

1295 

46752
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1296 
* More default pred/set conversions on a couple of relation operations 
47464  1297 
and predicates. Added powers of predicate relations. Consolidation 
1298 
of some relation theorems: 

46752
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1299 

e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1300 
converse_def ~> converse_unfold 
47549  1301 
rel_comp_def ~> relcomp_unfold 
47820  1302 
symp_def ~> (modified, use symp_def and sym_def instead) 
46752
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1303 
transp_def ~> transp_trans 
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1304 
Domain_def ~> Domain_unfold 
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1305 
Range_def ~> Domain_converse [symmetric] 
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1306 

46981  1307 
Generalized theorems INF_INT_eq, INF_INT_eq2, SUP_UN_eq, SUP_UN_eq2. 
1308 

47464  1309 
See theory "Relation" for examples for making use of pred/set 
1310 
conversions by means of attributes "to_set" and "to_pred". 

47086  1311 

46752
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1312 
INCOMPATIBILITY. 
e9e7209eb375
more fundamental predtoset conversions, particularly by means of inductive_set; associated consolidation of some theorem names (c.f. NEWS)
haftmann
parents:
46732
diff
changeset

1313 

46363  1314 
* Renamed facts about the power operation on relations, i.e., relpow 
47464  1315 
to match the constant's name: 
47463  1316 

46458  1317 
rel_pow_1 ~> relpow_1 
46363  1318 
rel_pow_0_I ~> relpow_0_I 
1319 
rel_pow_Suc_I ~> relpow_Suc_I 

1320 
rel_pow_Suc_I2 ~> relpow_Suc_I2 

1321 
rel_pow_0_E ~> relpow_0_E 

1322 
rel_pow_Suc_E ~> relpow_Suc_E 

1323 
rel_pow_E ~> relpow_E 

46458  1324 
rel_pow_Suc_D2 ~> relpow_Suc_D2 
47463  1325 
rel_pow_Suc_E2 ~> relpow_Suc_E2 
46363  1326 
rel_pow_Suc_D2' ~> relpow_Suc_D2' 
1327 
rel_pow_E2 ~> relpow_E2 

1328 
rel_pow_add ~> relpow_add 

1329 
rel_pow_commute ~> relpow 

1330 
rel_pow_empty ~> relpow_empty: 

1331 
rtrancl_imp_UN_rel_pow ~> rtrancl_imp_UN_relpow 

1332 
rel_pow_imp_rtrancl ~> relpow_imp_rtrancl 

1333 
rtrancl_is_UN_rel_pow ~> rtrancl_is_UN_relpow 

1334 
rtrancl_imp_rel_pow ~> rtrancl_imp_relpow 

1335 
rel_pow_fun_conv ~> relpow_fun_conv 

1336 
rel_pow_finite_bounded1 ~> relpow_finite_bounded1 

1337 
rel_pow_finite_bounded ~> relpow_finite_bounded 

1338 
rtrancl_finite_eq_rel_pow ~> rtrancl_finite_eq_relpow 

1339 
trancl_finite_eq_rel_pow ~> trancl_finite_eq_relpow 

1340 
single_valued_rel_pow ~> single_valued_relpow 

47463  1341 

46363  1342 
INCOMPATIBILITY. 
1343 

47448  1344 
* Theory Relation: Consolidated constant name for relation composition 
47464  1345 
and corresponding theorem names: 
1346 

47549  1347 
 Renamed constant rel_comp to relcomp. 
47464  1348 

47448  1349 
 Dropped abbreviation pred_comp. Use relcompp instead. 
47464  1350 

47448  1351 
 Renamed theorems: 
47464  1352 

47448  1353 
rel_compI ~> relcompI 
1354 
rel_compEpair ~> relcompEpair 

1355 
rel_compE ~> relcompE 

1356 
pred_comp_rel_comp_eq ~> relcompp_relcomp_eq 

1357 
rel_comp_empty1 ~> relcomp_empty1 

1358 
rel_comp_mono ~> relcomp_mono 

1359 
rel_comp_subset_Sigma ~> relcomp_subset_Sigma 

1360 
rel_comp_distrib ~> relcomp_distrib 

1361 
rel_comp_distrib2 ~> relcomp_distrib2 

1362 
rel_comp_UNION_distrib ~> relcomp_UNION_distrib 

1363 
rel_comp_UNION_distrib2 ~> relcomp_UNION_distrib2 

1364 
single_valued_rel_comp ~> single_valued_relcomp 

47549  1365 
rel_comp_def ~> relcomp_unfold 
47448  1366 
converse_rel_comp ~> converse_relcomp 
1367 
pred_compI ~> relcomppI 

1368 
pred_compE ~> relcomppE 

1369 
pred_comp_bot1 ~> relcompp_bot1 

1370 
pred_comp_bot2 ~> relcompp_bot2 

1371 
transp_pred_comp_less_eq ~> transp_relcompp_less_eq 

1372 
pred_comp_mono ~> relcompp_mono 

1373 
pred_comp_distrib ~> relcompp_distrib 

1374 
pred_comp_distrib2 ~> relcompp_distrib2 

1375 
converse_pred_comp ~> converse_relcompp 

47464  1376 

47448  1377 
finite_rel_comp ~> finite_relcomp 
47464  1378 

47448  1379 
set_rel_comp ~> set_relcomp 
1380 

1381 
INCOMPATIBILITY. 

1382 

47550  1383 
* Theory Divides: Discontinued redundant theorems about div and mod. 
1384 
INCOMPATIBILITY, use the corresponding generic theorems instead. 

1385 

1386 
DIVISION_BY_ZERO ~> div_by_0, mod_by_0 

1387 
zdiv_self ~> div_self 

1388 
zmod_self ~> mod_self 

1389 
zdiv_zero ~> div_0 

1390 
zmod_zero ~> mod_0 

1391 
zdiv_zmod_equality ~> div_mod_equality2 

1392 
zdiv_zmod_equality2 ~> div_mod_equality 

1393 
zmod_zdiv_trivial ~> mod_div_trivial 

1394 
zdiv_zminus_zminus ~> div_minus_minus 

1395 
zmod_zminus_zminus ~> mod_minus_minus 

1396 
zdiv_zminus2 ~> div_minus_right 

1397 
zmod_zminus2 ~> mod_minus_right 

1398 
zdiv_minus1_right ~> div_minus1_right 

1399 
zmod_minus1_right ~> mod_minus1_right 

1400 
zdvd_mult_div_cancel ~> dvd_mult_div_cancel 

1401 
zmod_zmult1_eq ~> mod_mult_right_eq 

1402 
zpower_zmod ~> power_mod 

1403 
zdvd_zmod ~> dvd_mod 

1404 
zdvd_zmod_imp_zdvd ~> dvd_mod_imp_dvd 

1405 
mod_mult_distrib ~> mult_mod_left 

1406 
mod_mult_distrib2 ~> mult_mod_right 

1407 

1408 
* Removed redundant theorems nat_mult_2 and nat_mult_2_right; use 

1409 
generic mult_2 and mult_2_right instead. INCOMPATIBILITY. 

1410 

47551  1411 
* Finite_Set.fold now qualified. INCOMPATIBILITY. 
1412 

47552  1413 
* Consolidated theorem names concerning fold combinators: 
47550  1414 

1415 
inf_INFI_fold_inf ~> inf_INF_fold_inf 

1416 
sup_SUPR_fold_sup ~> sup_SUP_fold_sup 

1417 
INFI_fold_inf ~> INF_fold_inf 

1418 
SUPR_fold_sup ~> SUP_fold_sup 

1419 
union_set ~> union_set_fold 

1420 
minus_set ~> minus_set_fold 

1421 
INFI_set_fold ~> INF_set_fold 

1422 
SUPR_set_fold ~> SUP_set_fold 

1423 
INF_code ~> INF_set_foldr 

1424 
SUP_code ~> SUP_set_foldr 

1425 
foldr.simps ~> foldr.simps (in pointfree formulation) 

1426 
foldr_fold_rev ~> foldr_conv_fold 

1427 
foldl_fold ~> foldl_conv_fold 
