author  wenzelm 
Fri, 23 Aug 2013 11:23:26 +0200  
changeset 53160  317077e35b0e 
parent 53109  186535065f5c 
child 53161  051cbf663b5f 
permissions  rwrr 
5363  1 
Isabelle NEWS  history userrelevant changes 
2 
============================================== 

2553  3 

50994  4 
New in this Isabelle version 
5 
 

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 

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

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

10 
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

11 
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

12 
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

13 
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

14 
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

15 
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

16 
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

17 
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

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

19 

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

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

21 
"sub". Minor INCOMPATIBILITY. 
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor frontend;
wenzelm
parents:
53016
diff
changeset

22 

52487
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset

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

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

25 
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

26 
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

27 
quick_and_dirty, instead of historical poking into mutable reference. 
52059  28 

52060  29 
* Renamed command 'print_configs' to 'print_options'. Minor 
30 
INCOMPATIBILITY. 

31 

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

34 
treelike organization via implicit subsession relation, with its 

35 
tendency towards erratic fluctuation of URLs, has been discontinued. 

36 
The default chapter is "Unsorted". Potential INCOMPATIBILITY for HTML 

37 
presentation of theories. 

38 

51293
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset

39 
* Discontinued obsolete 'uses' within theory header. Note that 
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset

40 
commands like 'ML_file' work without separate declaration of file 
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset

41 
dependencies. Minor INCOMPATIBILITY. 
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset

42 

51295  43 
* Discontinued redundant 'use' command, which was superseded by 
44 
'ML_file' in Isabelle2013. Minor INCOMPATIBILITY. 

45 

52415  46 
* Updated and extended "isarref" and "implementation" manual, 
47 
eliminated old "ref" manual. 

48 

52430  49 
* Proper diagnostic command 'print_state'. Old 'pr' (with its 
50 
implicit change of some global references) is retained for now as 

51 
control command, e.g. for ProofGeneral 3.7.x. 

52 

52549  53 
* Discontinued 'print_drafts' command with its oldfashioned PS output 
54 
and Unix commandline print spooling. Minor INCOMPATIBILITY: use 

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

56 

51293
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset

57 

51533  58 
*** Prover IDE  Isabelle/Scala/jEdit *** 
59 

52818  60 
* Improved "Theories" panel: Continuous checking of proof document 
61 
(visible and required parts) may be controlled explicitly, using check 

62 
box or shortcut "C+e ENTER". Individual theory nodes may be marked 

63 
explicitly as required and checked in full, using check box or 

64 
shortcut "C+e SPACE". 

52779  65 

52646  66 
* Strictly monotonic document update, without premature cancelation of 
67 
running transactions that are still needed: avoid reset/restart of 

68 
such command executions while editing. 

69 

70 
* Support for asynchronous print functions, as overlay to existing 

71 
document content. 

72 

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

74 
toplevel theorem statements. 

75 

52949  76 
* Dockable window "Find" provides query operations for formal entities 
77 
(GUI frontend to 'find_theorems' command). 

78 

52445  79 
* Dockable window "Documentation" provides access to Isabelle 
80 
documentation. 

81 

53050  82 
* Dockable window "Sledgehammer" manages asynchronous / parallel 
83 
sledgehammer runs over existing document sources, independently of 

84 
normal editing and checking process. 

85 

51533  86 
* Dockable window "Timing" provides an overview of relevant command 
87 
timing information. 

88 

51553
63327f679cff
more ambitious Goal.skip_proofs: covers Goal.prove forms as well, and do not insist in quick_and_dirty (for the sake of Isabelle/jEdit);
wenzelm
parents:
51551
diff
changeset

89 
* Option to skip over proofs, using implicit 'sorry' internally. 
63327f679cff
more ambitious Goal.skip_proofs: covers Goal.prove forms as well, and do not insist in quick_and_dirty (for the sake of Isabelle/jEdit);
wenzelm
parents:
51551
diff
changeset

90 

51533  91 

51313  92 
*** Pure *** 
93 

52788  94 
* Type theory is now immutable, without any special treatment of 
95 
drafts or linear updates (which could lead to "stale theory" errors in 

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

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

98 
INCOMPATIBILITY. 

99 

52488
cd65ee49a8ba
discontinued system option "proofs"  global state of Proofterm.proofs is persistently compiled into HOLProofs image;
wenzelm
parents:
52487
diff
changeset

100 
* System option "proofs" has been discontinued. Instead the global 
cd65ee49a8ba
discontinued system option "proofs"  global state of Proofterm.proofs is persistently compiled into HOLProofs image;
wenzelm
parents:
52487
diff
changeset

101 
state of Proofterm.proofs is persistently compiled into logic images 
cd65ee49a8ba
discontinued system option "proofs"  global state of Proofterm.proofs is persistently compiled into HOLProofs image;
wenzelm
parents:
52487
diff
changeset

102 
as required, notably HOLProofs. Users no longer need to change 
cd65ee49a8ba
discontinued system option "proofs"  global state of Proofterm.proofs is persistently compiled into HOLProofs image;
wenzelm
parents:
52487
diff
changeset

103 
Proofterm.proofs dynamically. Minor INCOMPATIBILITY. 
cd65ee49a8ba
discontinued system option "proofs"  global state of Proofterm.proofs is persistently compiled into HOLProofs image;
wenzelm
parents:
52487
diff
changeset

104 

52143  105 
* Syntax translation functions (print_translation etc.) always depend 
106 
on Proof.context. Discontinued former "(advanced)" option  this is 

107 
now the default. Minor INCOMPATIBILITY. 

108 

51747  109 
* Targetsensitive commands 'interpretation' and 'sublocale'. 
110 
Particulary, 'interpretation' now allows for nonpersistent 

53160  111 
interpretation within "context ... begin ... end" blocks. See 
112 
"isarref" manual for details. 

51747  113 

51565  114 
* Improved locales diagnostic command 'print_dependencies'. 
115 

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

118 
instead, while observing its uniform scope for polymorphism. 

119 

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

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

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

122 

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

125 
situations. 

126 

51313  127 

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

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

129 

52896  130 
* Improved support for adhoc overloading of constants (see also 
131 
isarref manual and ~~/src/HOL/ex/Adhoc_Overloading_Examples.thy). 

132 

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

135 
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

136 

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

137 
* Code generator: 
53160  138 
 'code_printing' unifies 'code_const' / 'code_type' / 'code_class' / 
139 
'code_instance'. 

140 
 'code_identifier' declares name hints for arbitrary identifiers in 

141 
generated code, subsuming 'code_modulename'. 

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

143 
for examples. 

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

144 

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

148 
generated code. 

149 
 Replaced recursion operator poly_rec by fold_coeffs. 

150 
 Prefer preexisting gcd operation for gcd. 

151 
 Fact renames: 

52380  152 
poly_eq_iff ~> poly_eq_poly_eq_iff 
153 
poly_ext ~> poly_eqI 

154 
expand_poly_eq ~> poly_eq_iff 

155 
IMCOMPATIBILTIY. 

156 

52286  157 
* Reification and reflection: 
53160  158 
 Reification is now directly available in HOLMain in structure 
159 
"Reification". 

160 
 Reflection now handles multiple lists with variables also. 

161 
 The whole reflection stack has been decomposed into conversions. 

52286  162 
INCOMPATIBILITY. 
163 

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

164 
* Weaker precendence of syntax for big intersection and union on sets, 
eff000cab70f
weaker precendence of syntax for big intersection and union on sets
haftmann
parents:
52116
diff
changeset

165 
in accordance with corresponding lattice operations. INCOMPATIBILITY. 
eff000cab70f
weaker precendence of syntax for big intersection and union on sets
haftmann
parents:
52116
diff
changeset

166 

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

169 
from the datatype package. The declaration attribute 

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

51682  171 

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

173 

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

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

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

179 
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

180 
 Locales ("mini packages") for fundamental definitions with 
51489  181 
Finite_Set.fold: folding, folding_idem. 
182 
 Locales comm_monoid_set, semilattice_order_set and 

183 
semilattice_neutr_order_set for big operators on sets. 

184 
See theory Big_Operators for canonical examples. 

185 
Note that foundational constants comm_monoid_set.F and 

186 
semilattice_set.F correspond to former combinators fold_image 

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

51490  188 
those foundational constants as substitutes, but it is 
51489  189 
preferable to interpret the above locales accordingly. 
190 
 Dropped class ab_semigroup_idem_mult (special case of lattice, 

191 
no longer needed in connection with Finite_Set.fold etc.) 

192 
 Fact renames: 

193 
card.union_inter ~> card_Un_Int [symmetric] 

194 
card.union_disjoint ~> card_Un_disjoint 

195 
INCOMPATIBILITY. 

196 

51487  197 
* Locale hierarchy for abstract orderings and (semi)lattices. 
198 

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

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

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

201 

51238  202 
* Discontinued obsolete src/HOL/IsaMakefile (considered legacy since 
203 
Isabelle2013). Use "isabelle build" to operate on Isabelle sessions. 

204 

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

207 
Conversions are available as integer_of_natural / natural_of_integer / 

208 
integer_of_nat / nat_of_integer (in HOL) and 

209 
Code_Numeral.integer_of_natural / Code_Numeral.natural_of_integer (in 

210 
ML). INCOMPATIBILITY. 

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

211 

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

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

213 
finegrain stack of theories Code_Target_Int, Code_Binary_Nat, 
53160  214 
Code_Target_Nat and Code_Target_Numeral. See the tutorial on code 
215 
generation for details. INCOMPATIBILITY. 

216 

217 
* Introduce type class "conditionally_complete_lattice": Like a 

218 
complete lattice but does not assume the existence of the top and 

219 
bottom elements. Allows to generalize some lemmas about reals and 

220 
extended reals. Removed SupInf and replaced it by the instantiation 

221 
of conditionally_complete_lattice for real. Renamed lemmas about 

222 
conditionallycomplete lattice from Sup_... to cSup_... and from 

223 
Inf_... to cInf_... to avoid hidding of similar complete lattice 

224 
lemmas. 

225 

226 
* Introduce type class linear_continuum as combination of 

227 
conditionallycomplete lattices and inner dense linorders which have 

228 
more than one element. INCOMPATIBILITY. 

229 

230 
* Introduce type classes "no_top" and "no_bot" for orderings without 

231 
top and bottom elements. 

51732  232 

233 
* Split dense_linorder into inner_dense_order and no_top, no_bot. 

234 

235 
* Complex_Main: Unify and move various concepts from 

53160  236 
HOLMultivariate_Analysis to HOLComplex_Main. 
51732  237 

51775
408d937c9486
revert #916271d52466; add nontopological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset

238 
 Introduce type class (lin)order_topology and linear_continuum_topology. 
408d937c9486
revert #916271d52466; add nontopological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset

239 
Allows to generalize theorems about limits and order. 
408d937c9486
revert #916271d52466; add nontopological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset

240 
Instances are reals and extended reals. 
51732  241 

242 
 continuous and continuos_on from Multivariate_Analysis: 

243 
"continuous" is the continuity of a function at a filter. 

244 
"isCont" is now an abbrevitation: "isCont x f == continuous (at _) f". 

245 

246 
Generalized continuity lemmas from isCont to continuous on an arbitrary 

247 
filter. 

248 

249 
 compact from Multivariate_Analysis. Use Bolzano's lemma 

250 
to prove compactness of closed intervals on reals. Continuous functions 

251 
attain infimum and supremum on compact sets. The inverse of a continuous 

252 
function is continuous, when the function is continuous on a compact set. 

253 

254 
 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

255 
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

256 
linear_continuum_topology). 
51732  257 

258 
 first_countable_topology from Multivariate_Analysis. Is used to 

259 
show equivalence of properties on the neighbourhood filter of x and on 

260 
all sequences converging to x. 

261 

262 
 FDERIV: Definition of has_derivative moved to Deriv.thy. Moved theorems 

263 
from Library/FDERIV.thy to Deriv.thy and base the definition of DERIV on 

264 
FDERIV. Add variants of DERIV and FDERIV which are restricted to sets, 

265 
i.e. to represent derivatives from left or right. 

266 

267 
 Removed the withinfilter. It is replaced by the principal filter: 

268 

269 
F within X = inf F (principal X) 

270 

271 
 Introduce "at x within U" as a single constant, "at x" is now an 

272 
abbreviation for "at x within UNIV" 

273 

274 
 Introduce named theorem collections tendsto_intros, continuous_intros, 

275 
continuous_on_intros and FDERIV_intros. Theorems in tendsto_intros (or 

276 
FDERIV_intros) are also available as tendsto_eq_intros (or 

277 
FDERIV_eq_intros) where the righthand side is replaced by a congruence 

278 
rule. This allows to apply them as intro rules and then proving 

279 
equivalence by the simplifier. 

280 

281 
 Restructured theories in HOLComplex_Main: 

282 

283 
+ Moved RealDef and RComplete into Real 

284 

285 
+ Introduced Topological_Spaces and moved theorems about 

286 
topological spaces, filters, limits and continuity to it 

287 

288 
+ Renamed RealVector to Real_Vector_Spaces 

289 

290 
+ Split Lim, SEQ, Series into Topological_Spaces, Real_Vector_Spaces, and 

291 
Limits 

292 

293 
+ Moved Ln and Log to Transcendental 

294 

295 
+ Moved theorems about continuity from Deriv to Topological_Spaces 

296 

297 
 Remove various auxiliary lemmas. 

298 

299 
INCOMPATIBILITY. 

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

300 

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

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

302 

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

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

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

305 

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

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

307 

51137  308 
* Sledgehammer: 
309 

310 
 Renamed option: 

311 
isar_shrink ~> isar_compress 

312 

52266  313 
* HOLSpec_Check: a Quickcheck tool for Isabelle's ML environment. 
314 

315 
With HOLSpec_Check, ML developers can check specifications with the 

316 
ML function check_property. The specifications must be of the form 

317 
"ALL x1 ... xn. Prop x1 ... xn". Simple examples are in 

318 
src/HOL/Spec_Check/Examples.thy. 

319 

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

322 
instead, or import theory Legacy_Mrec as a fallback. 

323 

324 
* HOLAlgebra: Discontinued theories src/HOL/Algebra/abstract and 

325 
.../poly. Existing theories should be based on 

326 
src/HOL/Library/Polynomial instead. The latter provides integration 

327 
with HOL's type classes for rings. INCOMPATIBILITY. 

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

328 

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

329 

51551  330 
*** ML *** 
331 

332 
* More uniform naming of goal functions for skipped proofs: 

333 

334 
Skip_Proof.prove ~> Goal.prove_sorry 

335 
Skip_Proof.prove_global ~> Goal.prove_sorry_global 

336 

51686  337 
* Antiquotation @{theory_context A} is similar to @{theory A}, but 
338 
presents the result as initial Proof.context. 

339 

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

340 
* Modifiers for classical wrappers (e.g. addWrapper, delWrapper) 
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset

341 
operate on Proof.context instead of claset, for uniformity with addIs, 
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset

342 
addEs, addDs etc. Note that claset_of and put_claset allow to manage 
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset

343 
clasets separately from the context. 
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset

344 

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

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

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

347 
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

348 
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

349 
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

350 
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

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

352 

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

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

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

355 

51551  356 

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

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

358 

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

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

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

361 

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

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

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

364 

52550  365 
* Discontinued obsolete isabelle print tool, and PRINT_COMMAND 
366 
settings variable. 

367 

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

370 
always pdf. 

52743  371 

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

374 

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

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

376 
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

377 

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

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

379 
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

380 
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

381 

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

382 

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

383 

50993  384 
New in Isabelle2013 (February 2013) 
385 
 

47887  386 

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

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

388 

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

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

390 
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

391 
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

392 
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

393 
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

394 
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

395 
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

396 

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

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

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

401 

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

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

403 
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

404 

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

407 
Tools that load their additional source files may imitate the 

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

409 
dependencies properly. 

410 

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

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

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

413 

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

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

416 

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

49841  419 
and "class ... context ...". 
420 

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

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

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

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

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

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

427 

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

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

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

430 

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

433 

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

434 

49968  435 
*** Prover IDE  Isabelle/Scala/jEdit *** 
436 

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

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

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

440 
surface, while the prover is still crunching on internal 

441 
justifications. Unfinished / cancelled proofs are restarted as 

442 
required to complete full proof checking eventually. 

443 

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

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

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

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

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

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

450 

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

453 
browser on demand. 

454 

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

457 
comment delimiters works more conveniently with unfinished situations 

458 
that frequently occur in user interaction. 

459 

460 
* More efficient painting and improved reactivity when editing large 

461 
files. More scalable management of formal document content. 

462 

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

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

464 
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

465 
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

466 
potentially infinite message streams. 
49968  467 

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

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

470 
options, including tuning parameters for editor reactivity and color 

471 
schemes. 

472 

50184  473 
* Dockable window "Symbols" provides some editing support for Isabelle 
474 
symbols. 

475 

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

50701  478 

50183  479 
* Improved editing support for control styles: subscript, superscript, 
480 
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

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

482 

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

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

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

50183  487 

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

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

491 

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

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

493 
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

494 
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

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

496 

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

499 
now bundled exclusively with Isabelle. 

500 

501 

48205  502 
*** Pure *** 
503 

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

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

505 
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

506 

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

509 
rather arbitrary current working directory. INCOMPATIBILITY. 

48371  510 

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

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

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

515 
with some care where this is really required. 

516 

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

51063  519 
given sort. Example (in HOL): 
48792  520 

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

522 

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

525 

48205  526 

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

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

528 

50646  529 
* Sledgehammer: 
530 

531 
 Added MaSh relevance filter based on machinelearning; see the 

532 
Sledgehammer manual for details. 

533 
 Polished Isar proofs generated with "isar_proofs" option. 

534 
 Rationalized type encodings ("type_enc" option). 

50720  535 
 Renamed "kill_provers" subcommand to "kill_all". 
50646  536 
 Renamed options: 
537 
isar_proof ~> isar_proofs 

538 
isar_shrink_factor ~> isar_shrink 

539 
max_relevant ~> max_facts 

540 
relevance_thresholds ~> fact_thresholds 

541 

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

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

544 
configuration quickcheck_optimise_equality to false. 

545 

50878  546 
* Quotient: only one quotient can be defined by quotient_type 
547 
INCOMPATIBILITY. 

548 

549 
* Lifting: 

550 
 generation of an abstraction function equation in lift_definition 

551 
 quot_del attribute 

552 
 renamed no_abs_code > no_code (INCOMPATIBILITY.) 

553 

50646  554 
* Simproc "finite_Collect" rewrites set comprehensions into pointfree 
555 
expressions. 

556 

557 
* Preprocessing of the code generator rewrites set comprehensions into 

558 
pointfree expressions. 

559 

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

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

562 
arithmetic, datatypes/records) with potential proof reconstruction 

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

564 
INCOMPATIBILITY. 

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

565 

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

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

567 
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

568 
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

569 
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

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

571 

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

574 

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

576 
List. INCOMPATIBILITY. 

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

577 

49739  578 
* Theorem UN_o generalized to SUP_comp. INCOMPATIBILITY. 
579 

49738  580 
* Class "comm_monoid_diff" formalises properties of bounded 
49388  581 
subtraction, with natural numbers and multisets as typical instances. 
582 

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

585 
* Theory "Transitive_Closure": renamed lemmas 

586 

587 
reflcl_tranclp > reflclp_tranclp 

588 
rtranclp_reflcl > rtranclp_reflclp 

589 

590 
INCOMPATIBILITY. 

591 

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

593 

594 
left_distrib ~> distrib_right 

595 
right_distrib ~> distrib_left 

596 

597 
INCOMPATIBILITY. 

598 

599 
* Generalized the definition of limits: 

600 

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

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

603 
output f x converges to G. 

604 

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

606 
infinity (at_bot). 

607 

608 
 Moved infinity in the norm (at_infinity) from 

609 
Multivariate_Analysis to Complex_Main. 

610 

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

612 
at_top". 

613 

614 
INCOMPATIBILITY. 

615 

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

617 
lattice type classes. 

618 

619 
* Theory "Library/Multiset": renamed 

620 

621 
constant fold_mset ~> Multiset.fold 

622 
fact fold_mset_commute ~> fold_mset_comm 

623 

624 
INCOMPATIBILITY. 

625 

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

627 
changes as follows. 

628 

629 
 Renamed constants (and related lemmas) 

49145  630 

631 
prefix ~> prefixeq 

632 
strict_prefix ~> prefix 

633 

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

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

637 
Renamed lemmas accordingly. 

638 

639 
 Added constant "list_hembeq" for homeomorphic embedding on 

640 
lists. Added abbreviation "sublisteq" for special case 

641 
"list_hembeq (op =)". 

642 

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

644 
class instances for the prefix order (merely corresponding locale 

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

646 
Library/Prefix_Order. 

647 

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

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

50516  650 

651 
le_list_append_le_same_iff ~> Sublist.sublisteq_append_le_same_iff 

652 
le_list_append_mono ~> Sublist.list_hembeq_append_mono 

653 
le_list_below_empty ~> Sublist.list_hembeq_Nil, Sublist.list_hembeq_Nil2 

654 
le_list_Cons_EX ~> Sublist.list_hembeq_ConsD 

655 
le_list_drop_Cons2 ~> Sublist.sublisteq_Cons2' 

656 
le_list_drop_Cons_neq ~> Sublist.sublisteq_Cons2_neq 

657 
le_list_drop_Cons ~> Sublist.sublisteq_Cons' 

658 
le_list_drop_many ~> Sublist.sublisteq_drop_many 

659 
le_list_filter_left ~> Sublist.sublisteq_filter_left 

660 
le_list_rev_drop_many ~> Sublist.sublisteq_rev_drop_many 

661 
le_list_rev_take_iff ~> Sublist.sublisteq_append 

662 
le_list_same_length ~> Sublist.sublisteq_same_length 

663 
le_list_take_many_iff ~> Sublist.sublisteq_append' 

49145  664 
less_eq_list.drop ~> less_eq_list_drop 
665 
less_eq_list.induct ~> less_eq_list_induct 

50516  666 
not_le_list_length ~> Sublist.not_sublisteq_length 
49145  667 

50646  668 
INCOMPATIBILITY. 
669 

670 
* New theory Library/Countable_Set. 

671 

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

673 
parallel execution for code generated towards Isabelle/ML. 

674 

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

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

677 
extensional_funcset by an abbreviation, and renamed lemmas from 

678 
extensional_funcset to PiE as follows: 

679 

680 
extensional_empty ~> PiE_empty 

681 
extensional_funcset_empty_domain ~> PiE_empty_domain 

682 
extensional_funcset_empty_range ~> PiE_empty_range 

683 
extensional_funcset_arb ~> PiE_arb 

684 
extensional_funcset_mem ~> PiE_mem 

685 
extensional_funcset_extend_domainI ~> PiE_fun_upd 

686 
extensional_funcset_restrict_domain ~> fun_upd_in_PiE 

687 
extensional_funcset_extend_domain_eq ~> PiE_insert_eq 

688 
card_extensional_funcset ~> card_PiE 

689 
finite_extensional_funcset ~> finite_PiE 

690 

691 
INCOMPATIBILITY. 

692 

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

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

695 
Data"). 

696 

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

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

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

700 
code. 

701 

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

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

704 
return a structurally different tree than before. Potential 

705 
INCOMPATIBILITY. 

706 

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

708 

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

710 

711 
* HOL/Multivariate_Analysis: replaced 

712 

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

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

715 

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

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

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

719 

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

721 

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

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

724 
cart_base i removed 

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

726 

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

727 
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

728 

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

729 
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

730 

50646  731 
component_le_norm ~> Basis_le_norm 
732 
euclidean_eq ~> euclidean_eq_iff 

733 
differential_zero_maxmin_component ~> differential_zero_maxmin_cart 

734 
euclidean_simps ~> inner_simps 

735 
independent_basis ~> independent_Basis 

736 
span_basis ~> span_Basis 

737 
in_span_basis ~> in_span_Basis 

738 
norm_bound_component_le ~> norm_boound_Basis_le 

739 
norm_bound_component_lt ~> norm_boound_Basis_lt 

740 
component_le_infnorm ~> Basis_le_infnorm 

741 

742 
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

743 

50141  744 
* HOL/Probability: 
50646  745 

746 
 Added simproc "measurable" to automatically prove measurability. 

747 

748 
 Added induction rules for sigma sets with disjoint union 

749 
(sigma_sets_induct_disjoint) and for Borelmeasurable functions 

750 
(borel_measurable_induct). 

751 

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

753 
projective family). 

754 

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

756 
AFP entry "Ordinals_and_Cardinals"). 

757 

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

759 
with support for mixed, nested recursion and interesting nonfree 

760 
datatypes. 

48094  761 

50991  762 
* HOL/Finite_Set and Relation: added new set and relation operations 
50878  763 
expressed by Finite_Set.fold. 
764 

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

766 
trees for the code generator. 

767 

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

769 
Lifting/Transfer. 

770 
possible INCOMPATIBILITY. 

771 

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

773 
INCOMPATIBILITY. 

774 

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

775 

48206  776 
*** Document preparation *** 
777 

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

780 
Discontinued legacy styles "prem1" .. "prem19". 

781 

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

783 
instead of slightly exotic babel/greek. 

48206  784 

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

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

786 
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

787 
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

788 

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

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

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

791 

48206  792 

48992  793 
*** ML *** 
794 

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

797 
hardware and Poly/ML runtime system. 

798 

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

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

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

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

802 

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

805 
necessarily printing visible text. 

806 

807 

48206  808 
*** System *** 
809 

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

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

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

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

815 
document preparation as well. INCOMPATIBILITY, isabelle usedir / 

48736  816 
mkdir / make are rendered obsolete. 
817 

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

820 

821 
isabelle build s b HOL 

822 

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

824 

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

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

826 
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

827 
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

828 
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

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

830 

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

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

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

833 

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

836 

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

838 
INCOMPATIBILITY. 

839 

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

842 
version of Isabelle. 

843 

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

846 

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

848 
picked up from some surrounding directory. Potential INCOMPATIBILITY 

849 
for homemade settings. 

50132  850 

50701  851 
* Improved ML runtime statistics (heap, threads, future tasks etc.). 
852 

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

855 
configuration. 

856 

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

859 
INCOMPATIBILITY: provide PROOFGENERAL_HOME and PROOFGENERAL_OPTIONS 

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

861 
bundled as Isabelle component. 

48206  862 

50182  863 

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

864 

47462  865 
New in Isabelle2012 (May 2012) 
866 
 

45109  867 

45593  868 
*** General *** 
869 

45614  870 
* Prover IDE (PIDE) improvements: 
871 

47585  872 
 more robust Sledgehammer integration (as before the sledgehammer 
47806  873 
commandline needs to be typed into the source buffer) 
45614  874 
 markup for bound variables 
47806  875 
 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

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

45614  879 

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

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

46485  883 

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

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

885 
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

886 
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

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

888 
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

889 

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

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

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

892 
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

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

894 

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

895 
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

896 

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

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

898 

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

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

900 

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

901 
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

902 
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

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

904 

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

905 
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

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

907 

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

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

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

47484  913 

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

916 
oldstyle "standard" after instantiation or composition of facts 

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

918 
indices of schematic variables. 

919 

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

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

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

923 
the historic accident of dynamic reevaluation in interpretations 

924 
etc. was exploited. 

925 

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

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

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

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

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

931 
of the material of that old tutorial. 

932 

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

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

935 
manual. 

936 

937 

938 
*** Pure *** 

939 

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

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

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

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

943 

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

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

947 
undocumented feature.) 

948 

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

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

952 

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

954 

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

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

957 

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

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

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

961 
order to accommodate newly introduced premises.) 

962 

47806  963 
* Renamed some inner syntax categories: 
964 

965 
num ~> num_token 

966 
xnum ~> xnum_token 

967 
xstr ~> str_token 

968 

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

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

971 
position information via constraints). 

972 

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

975 
manual. Minor INCOMPATIBILITY. 

976 

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

45134  979 

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

982 
Use commands of the generic code generator instead. INCOMPATIBILITY. 
45383  983 

47464  984 
* Redundant attribute "code_inline" has been discontinued. Use 
985 
"code_unfold" instead. INCOMPATIBILITY. 

986 

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

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

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

989 

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

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

991 

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

992 
INCOMPATIBILITY. 
45383  993 

47856  994 
* Obsolete 'types' command has been discontinued. Use 'type_synonym' 
995 
instead. INCOMPATIBILITY. 

996 

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

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

999 
legacy since Isabelle2011). 

47855  1000 

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

1001 

45122  1002 
*** HOL *** 
1003 

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

1006 
Nontrivial INCOMPATIBILITY. For developments keeping predicates and 

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

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

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

1011 
tinkering with former theorems mem_def and Collect_def as far as 

1012 
possible. 

1013 

1014 
For developments which deliberately mix predicates and sets, a 

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

1017 
Isabelle20111 before jumping right into the current release. 

1018 

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

1021 

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

1023 

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

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

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

1029 
user theories may require adaptations as follows: 

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

1030 

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

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

1032 
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

1033 

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

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

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

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

1037 

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

1038 
 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

1039 
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

1040 

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

1041 
 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

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

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

1044 

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

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

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

1047 

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

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

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

1052 
corresponding parts of the Quotient package.) 

47809  1053 

1054 
 transfer_rule attribute: Maintains a collection of transfer rules, 

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

1056 
relate different type instances of the same polymorphic constant, 

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

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

1059 

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

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

1062 

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

1064 
equivalent subgoal on the corresponding raw types. Constants are 

1065 
replaced with corresponding ones according to the transfer rules. 

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

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

1071 

1072 
 relator_eq attribute: Collects identity laws for relators of 

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

1074 
transfer method uses these lemmas to infer transfer rules for 

1075 
nonpolymorphic constants on the fly. 

1076 

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

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

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

1080 
after unfolding the constant definitions. 

1081 

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

1083 
from type nat to type int. 

1084 

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

47809  1087 

1088 
 lift_definition command: Defines operations on an abstract type in 

1089 
terms of a corresponding operation on a representation 

1090 
type. Example syntax: 

1091 

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

1093 
is List.insert 

1094 

1095 
Users must discharge a respectfulness proof obligation when each 

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

1097 
the proof is discharged automatically.) The obligation is 

1098 
presented in a userfriendly, readable form; a respectfulness 

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

1100 
by the package. 

1101 

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

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

1104 
lift_definition generates a code certificate theorem and sets up 

1105 
code generation for each constant. 

1106 

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

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

1109 
or a type_definition theorem. The package configures transfer 

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

1111 
lift_definition command to work with the type. 

1112 

1113 
 Usage examples: See Quotient_Examples/Lift_DList.thy, 

47851  1114 
Quotient_Examples/Lift_RBT.thy, Quotient_Examples/Lift_FSet.thy, 
1115 
Word/Word.thy and Library/Float.thy. 

47809  1116 

1117 
* Quotient package: 

1118 

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

1120 
rep and abs functions, similar to typedef. 

1121 

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

1123 
Transfer packages, as with 'setup_lifting'. 

1124 

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

1126 
respectfulness property at the point where the constant is 

1127 
defined, similar to lift_definition; INCOMPATIBILITY. 

1128 

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

1130 
accordingly, INCOMPATIBILITY. 

1131 

1132 
* New diagnostic command 'find_unused_assms' to find potentially 

1133 
superfluous assumptions in theorems using Quickcheck. 

1134 

1135 
* Quickcheck: 

1136 

1137 
 Quickcheck returns variable assignments as counterexamples, which 

1138 
allows to reveal the underspecification of functions under test. 

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

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

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

1142 

1143 
These counterexample are marked as potentially spurious, as 

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

1145 
obvious theorem "hd xs = hd xs". 

1146 

1147 
After finding a potentially spurious counterexample, Quickcheck 

1148 
continues searching for genuine ones. 

1149 

1150 
By default, Quickcheck shows potentially spurious and genuine 

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

1152 
show genuine counterexamples. 

1153 

1154 
 The command 'quickcheck_generator' creates random and exhaustive 

1155 
value generators for a given type and operations. 

1156 

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

1158 
constructors of that type. 

1159 

1160 
 Support for multisets. 

1161 

1162 
 Added "use_subtype" options. 

1163 

1164 
 Added "quickcheck_locale" configuration to specify how to process 

1165 
conjectures in a locale context. 

1166 

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

47809  1169 

1170 
* Sledgehammer: 

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

1172 
paper "More SPASS with Isabelle". 

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

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

1175 
TFF1), iProver, iProverEq. 

1176 
 Sped up the minimizer. 

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

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

1179 
 Renamed "sound" option to "strict". 

1180 

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

1183 

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

1185 

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

47809  1187 

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

1190 

1191 
list.exhaust [case_product nat.exhaust] 

1192 

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

1194 
a list and a nat. 

1195 

47809  1196 
* New "eventually_elim" method as a generalized variant of the 
47855  1197 
eventually_elim* rules. Supports structured proofs. 
1198 

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

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

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

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

1202 

47856  1203 
* Record: code generation can be switched off manually with 
1204 

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

1206 

1207 
* Datatype: type parameters allow explicit sort constraints. 

1208 

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

1211 
INCOMPATIBILITY for oldstyle syntax translations that augment the 

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

1213 
one_case. 

1214 

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

1216 
the result of the fact expression. 

1217 

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

1218 
* More default pred/set conversions on a couple of relation operations 
47464  1219 
and predicates. Added powers of predicate relations. Consolidation 
1220 
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

1221 

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

1222 
converse_def ~> converse_unfold 
47549  1223 
rel_comp_def ~> relcomp_unfold 
47820  1224 
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

1225 
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

1226 
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

1227 
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

1228 

46981  1229 
Generalized theorems INF_INT_eq, INF_INT_eq2, SUP_UN_eq, SUP_UN_eq2. 
1230 

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

47086  1233 

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

1234 
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

1235 

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

46458  1239 
rel_pow_1 ~> relpow_1 
46363  1240 
rel_pow_0_I ~> relpow_0_I 
1241 
rel_pow_Suc_I ~> relpow_Suc_I 

1242 
rel_pow_Suc_I2 ~> relpow_Suc_I2 

1243 
rel_pow_0_E ~> relpow_0_E 

1244 
rel_pow_Suc_E ~> relpow_Suc_E 

1245 
rel_pow_E ~> relpow_E 

46458  1246 
rel_pow_Suc_D2 ~> relpow_Suc_D2 
47463  1247 
rel_pow_Suc_E2 ~> relpow_Suc_E2 
46363  1248 
rel_pow_Suc_D2' ~> relpow_Suc_D2' 
1249 
rel_pow_E2 ~> relpow_E2 

1250 
rel_pow_add ~> relpow_add 

1251 
rel_pow_commute ~> relpow 

1252 
rel_pow_empty ~> relpow_empty: 

1253 
rtrancl_imp_UN_rel_pow ~> rtrancl_imp_UN_relpow 

1254 
rel_pow_imp_rtrancl ~> relpow_imp_rtrancl 

1255 
rtrancl_is_UN_rel_pow ~> rtrancl_is_UN_relpow 

1256 
rtrancl_imp_rel_pow ~> rtrancl_imp_relpow 

1257 
rel_pow_fun_conv ~> relpow_fun_conv 

1258 
rel_pow_finite_bounded1 ~> relpow_finite_bounded1 

1259 
rel_pow_finite_bounded ~> relpow_finite_bounded 

1260 
rtrancl_finite_eq_rel_pow ~> rtrancl_finite_eq_relpow 

1261 
trancl_finite_eq_rel_pow ~> trancl_finite_eq_relpow 

1262 
single_valued_rel_pow ~> single_valued_relpow 

47463  1263 

46363  1264 
INCOMPATIBILITY. 
1265 

47448  1266 
* Theory Relation: Consolidated constant name for relation composition 
47464  1267 
and corresponding theorem names: 
1268 

47549  1269 
 Renamed constant rel_comp to relcomp. 
47464  1270 

47448  1271 
 Dropped abbreviation pred_comp. Use relcompp instead. 
47464  1272 

47448  1273 
 Renamed theorems: 
47464  1274 

47448  1275 
rel_compI ~> relcompI 
1276 
rel_compEpair ~> relcompEpair 

1277 
rel_compE ~> relcompE 

1278 
pred_comp_rel_comp_eq ~> relcompp_relcomp_eq 

1279 
rel_comp_empty1 ~> relcomp_empty1 

1280 
rel_comp_mono ~> relcomp_mono 

1281 
rel_comp_subset_Sigma ~> relcomp_subset_Sigma 

1282 
rel_comp_distrib ~> relcomp_distrib 

1283 
rel_comp_distrib2 ~> relcomp_distrib2 

1284 
rel_comp_UNION_distrib ~> relcomp_UNION_distrib 

1285 
rel_comp_UNION_distrib2 ~> relcomp_UNION_distrib2 

1286 
single_valued_rel_comp ~> single_valued_relcomp 

47549  1287 
rel_comp_def ~> relcomp_unfold 
47448  1288 
converse_rel_comp ~> converse_relcomp 
1289 
pred_compI ~> relcomppI 

1290 
pred_compE ~> relcomppE 

1291 
pred_comp_bot1 ~> relcompp_bot1 

1292 
pred_comp_bot2 ~> relcompp_bot2 

1293 
transp_pred_comp_less_eq ~> transp_relcompp_less_eq 

1294 
pred_comp_mono ~> relcompp_mono 

1295 
pred_comp_distrib ~> relcompp_distrib 

1296 
pred_comp_distrib2 ~> relcompp_distrib2 

1297 
converse_pred_comp ~> converse_relcompp 

47464  1298 

47448  1299 
finite_rel_comp ~> finite_relcomp 
47464  1300 

47448  1301 
set_rel_comp ~> set_relcomp 
1302 

1303 
INCOMPATIBILITY. 

1304 

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

1307 

1308 
DIVISION_BY_ZERO ~> div_by_0, mod_by_0 

1309 
zdiv_self ~> div_self 

1310 
zmod_self ~> mod_self 

1311 
zdiv_zero ~> div_0 

1312 
zmod_zero ~> mod_0 

1313 
zdiv_zmod_equality ~> div_mod_equality2 

1314 
zdiv_zmod_equality2 ~> div_mod_equality 

1315 
zmod_zdiv_trivial ~> mod_div_trivial 

1316 
zdiv_zminus_zminus ~> div_minus_minus 

1317 
zmod_zminus_zminus ~> mod_minus_minus 

1318 
zdiv_zminus2 ~> div_minus_right 

1319 
zmod_zminus2 ~> mod_minus_right 

1320 
zdiv_minus1_right ~> div_minus1_right 

1321 
zmod_minus1_right ~> mod_minus1_right 

1322 
zdvd_mult_div_cancel ~> dvd_mult_div_cancel 

1323 
zmod_zmult1_eq ~> mod_mult_right_eq 

1324 
zpower_zmod ~> power_mod 

1325 
zdvd_zmod ~> dvd_mod 

1326 
zdvd_zmod_imp_zdvd ~> dvd_mod_imp_dvd 

1327 
mod_mult_distrib ~> mult_mod_left 

1328 
mod_mult_distrib2 ~> mult_mod_right 

1329 

1330 
* Removed redundant theorems nat_mult_2 and nat_mult_2_right; use 

1331 
generic mult_2 and mult_2_right instead. INCOMPATIBILITY. 

1332 

47551  1333 
* Finite_Set.fold now qualified. INCOMPATIBILITY. 
1334 

47552  1335 
* Consolidated theorem names concerning fold combinators: 
47550  1336 

1337 
inf_INFI_fold_inf ~> inf_INF_fold_inf 

1338 
sup_SUPR_fold_sup ~> sup_SUP_fold_sup 

1339 
INFI_fold_inf ~> INF_fold_inf 

1340 
SUPR_fold_sup ~> SUP_fold_sup 

1341 
union_set ~> union_set_fold 

1342 
minus_set ~> minus_set_fold 

1343 
INFI_set_fold ~> INF_set_fold 

1344 
SUPR_set_fold ~> SUP_set_fold 

1345 
INF_code ~> INF_set_foldr 

1346 
SUP_code ~> SUP_set_foldr 

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

1348 
foldr_fold_rev ~> foldr_conv_fold 

1349 
foldl_fold ~> foldl_conv_fold 

1350 
foldr_foldr ~> foldr_conv_foldl 

1351 
foldl_foldr ~> foldl_conv_foldr 

47552  1352 
fold_set_remdups ~> fold_set_fold_remdups 
1353 
fold_set ~> fold_set_fold 

1354 
fold1_set ~> fold1_set_fold 

47550  1355 

1356 
INCOMPATIBILITY. 

1357 

1358 
* Dropped rarely useful theorems concerning fold combinators: 

1359 
foldl_apply, foldl_fun_comm, foldl_rev, fold_weak_invariant, 

1360 
rev_foldl_cons, fold_set_remdups, fold_set, fold_set1, 

1361 
concat_conv_foldl, foldl_weak_invariant, foldl_invariant, 

1362 
foldr_invariant, foldl_absorb0, foldl_foldr1_lemma, foldl_foldr1, 

1363 
listsum_conv_fold, listsum_foldl, sort_foldl_insort, foldl_assoc, 

1364 
foldr_conv_foldl, start_le_sum, elem_le_sum, sum_eq_0_conv. 

1365 
INCOMPATIBILITY. For the common phrases "%xs. List.foldr plus xs 0" 

1366 
and "List.foldl plus 0", prefer "List.listsum". Otherwise it can be 

1367 
useful to boil down "List.foldr" and "List.foldl" to "List.fold" by 

1368 
unfolding "foldr_conv_fold" and "foldl_conv_fold". 

1369 

1370 
* Dropped lemmas minus_set_foldr, union_set_foldr, union_coset_foldr, 

1371 
inter_coset_foldr, Inf_fin_set_foldr, Sup_fin_set_foldr, 

1372 
Min_fin_set_foldr, Max_fin_set_foldr, Inf_set_foldr, Sup_set_foldr, 

1373 
INF_set_foldr, SUP_set_foldr. INCOMPATIBILITY. Prefer corresponding 

1374 
lemmas over fold rather than foldr, or make use of lemmas 

1375 
fold_conv_foldr and fold_rev. 

1376 

1377 
* Congruence rules Option.map_cong and Option.bind_cong for recursion 

1378 
through option types. 

1379 

47856  1380 
* "Transitive_Closure.ntrancl": bounded transitive closure on 
1381 
relations. 

1382 

1383 
* Constant "Set.not_member" now qualified. INCOMPATIBILITY. 

1384 

1385 
* Theory Int: Discontinued many legacy theorems specific to type int. 

1386 
INCOMPATIBILITY, use the corresponding generic theorems instead. 

1387 

1388 
zminus_zminus ~> minus_minus 

1389 
zminus_0 ~> minus_zero 

1390 
zminus_zadd_distrib ~> minus_add_distrib 

1391 
zadd_commute ~> add_commute 

1392 
zadd_assoc ~> add_assoc 

1393 
zadd_left_commute ~> add_left_commute 

1394 
zadd_ac ~> add_ac 

1395 
zmult_ac ~> mult_ac 

1396 
zadd_0 ~> add_0_left 

1397 
zadd_0_right ~> add_0_right 

1398 
zadd_zminus_inverse2 ~> left_minus 

1399 
zmult_zminus ~> mult_minus_left 

1400 
zmult_commute ~> mult_commute 

1401 
zmult_assoc ~> mult_assoc 

1402 
zadd_zmult_distrib ~> left_distrib 

1403 
zadd_zmult_distrib2 ~> right_distrib 

1404 
zdiff_zmult_distrib ~> left_diff_distrib 

1405 
zdiff_zmult_distrib2 ~> right_diff_distrib 

1406 
zmult_1 ~> mult_1_left 

1407 
zmult_1_right ~> mult_1_right 

1408 
zle_refl ~> order_refl 

1409 
zle_trans ~> order_trans 

1410 
zle_antisym ~> order_antisym 

1411 
zle_linear ~> linorder_linear 

1412 
zless_linear ~> linorder_less_linear 

1413 
zadd_left_mono ~> add_left_mono 

1414 
zadd_strict_right_mono ~> add_strict_right_mono 

1415 
zadd_zless_mono ~> add_less_le_mono 

1416 
int_0_less_1 ~> zero_less_one 

1417 
int_0_neq_1 ~> zero_neq_one 

1418 
zless_le ~> less_le 

1419 
zpower_zadd_distrib ~> power_add 

1420 
zero_less_zpower_abs_iff ~> zero_less_power_abs_iff 

1421 
zero_le_zpower_abs ~> zero_le_power_abs 

1422 

1423 
* Theory Deriv: Renamed 

1424 

1425 
DERIV_nonneg_imp_nonincreasing ~> DERIV_nonneg_imp_nondecreasing 

1426 

1427 
* Theory Library/Multiset: Improved code generation of multisets. 

1428 

47855  1429 
* Theory HOL/Library/Set_Algebras: Addition and multiplication on sets 
47703 