author  haftmann 
Thu, 29 Dec 2011 10:47:55 +0100  
changeset 46028  9f113cdf3d66 
parent 46014  2b63c77ba9c3 
child 46125  00cd193a48dc 
permissions  rwrr 
5363  1 
Isabelle NEWS  history userrelevant changes 
2 
============================================== 

2553  3 

45109  4 
New in this Isabelle version 
5 
 

6 

45593  7 
*** General *** 
8 

45614  9 
* Prover IDE (PIDE) improvements: 
10 

11 
 markup for bound variables 

12 
 markup for types of term variables (e.g. displayed as tooltips) 

13 

45593  14 
* Rule attributes in local theory declarations (e.g. locale or class) 
15 
are now statically evaluated: the resulting theorem is stored instead 

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

17 
the historic accident of dynamic reevaluation in interpretations 

18 
etc. was exploited. 

19 

45600
1bbbac9a0cb0
'lemmas' / 'theorems' commands allow 'for' fixes and standardize the result before storing;
wenzelm
parents:
45593
diff
changeset

20 
* Commands 'lemmas' and 'theorems' allow local variables using 'for' 
1bbbac9a0cb0
'lemmas' / 'theorems' commands allow 'for' fixes and standardize the result before storing;
wenzelm
parents:
45593
diff
changeset

21 
declaration, and results are standardized before being stored. Thus 
1bbbac9a0cb0
'lemmas' / 'theorems' commands allow 'for' fixes and standardize the result before storing;
wenzelm
parents:
45593
diff
changeset

22 
oldstyle "standard" after instantiation or composition of facts 
1bbbac9a0cb0
'lemmas' / 'theorems' commands allow 'for' fixes and standardize the result before storing;
wenzelm
parents:
45593
diff
changeset

23 
becomes obsolete. Minor INCOMPATIBILITY, due to potential change of 
1bbbac9a0cb0
'lemmas' / 'theorems' commands allow 'for' fixes and standardize the result before storing;
wenzelm
parents:
45593
diff
changeset

24 
indices of schematic variables. 
1bbbac9a0cb0
'lemmas' / 'theorems' commands allow 'for' fixes and standardize the result before storing;
wenzelm
parents:
45593
diff
changeset

25 

45703
c7a13ce60161
renamed inner syntax categories "num" to "num_token" and "xnum" to "xnum_token";
wenzelm
parents:
45625
diff
changeset

26 
* Renamed inner syntax categories "num" to "num_token" and "xnum" to 
c7a13ce60161
renamed inner syntax categories "num" to "num_token" and "xnum" to "xnum_token";
wenzelm
parents:
45625
diff
changeset

27 
"xnum_token", in accordance to existing "float_token". Minor 
c7a13ce60161
renamed inner syntax categories "num" to "num_token" and "xnum" to "xnum_token";
wenzelm
parents:
45625
diff
changeset

28 
INCOMPATIBILITY. Note that in practice "num_const" etc. are mainly 
c7a13ce60161
renamed inner syntax categories "num" to "num_token" and "xnum" to "xnum_token";
wenzelm
parents:
45625
diff
changeset

29 
used instead. 
c7a13ce60161
renamed inner syntax categories "num" to "num_token" and "xnum" to "xnum_token";
wenzelm
parents:
45625
diff
changeset

30 

45593  31 

45134  32 
*** Pure *** 
33 

34 
* Obsolete command 'types' has been discontinued. Use 'type_synonym' 

35 
instead. INCOMPATIBILITY. 

36 

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

39 
Use commands of the generic code generator instead. INCOMPATIBILITY. 
45383  40 

41 
* Redundant attribute 'code_inline' has been discontinued. Use 

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

42 
'code_unfold' instead. INCOMPATIBILITY. 
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

43 

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

44 
* Dropped attribute 'code_unfold_post' in favor of the its dual 'code_abbrev', 
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

45 
which yields a common pattern in definitions like 
9f113cdf3d66
attribute code_abbrev superseedes code_unfold_post
haftmann
parents:
46014
diff
changeset

46 

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

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

48 

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

49 
INCOMPATIBILITY. 
45383  50 

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

51 
* Sort constraints are now propagated in simultaneous statements, just 
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

52 
like type constraints. INCOMPATIBILITY in rare situations, where 
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

53 
distinct sorts used to be assigned accidentally. For example: 
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

54 

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

55 
lemma "P (x::'a::foo)" and "Q (y::'a::bar)"  "now illegal" 
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

56 

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

57 
lemma "P (x::'a)" and "Q (y::'a::bar)" 
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

58 
 "now uniform 'a::bar instead of default sort for first occurence (!)" 
fca432074fb2
sort assignment before simultaneous term_check, not isolated parse_term;
wenzelm
parents:
45398
diff
changeset

59 

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

60 

45122  61 
*** HOL *** 
62 

45991  63 
* Finite_Set.fold now qualified. INCOMPATIBILITY. 
64 

45988  65 
* Renamed some facts on canonical fold on lists, in order to avoid problems 
66 
with interpretation involving corresponding facts on foldl with the same base names: 

67 

68 
fold_set_remdups ~> fold_set_fold_remdups 

69 
fold_set ~> fold_set_fold 

70 
fold1_set ~> fold1_set_fold 

71 

72 
INCOMPATIBILITY. 

73 

45983  74 
* 'set' is now a proper type constructor. Definitions mem_def and Collect_def 
75 
have disappeared. INCOMPATIBILITY, rephrase sets S used as predicates by 

76 
`%x. x : S` and predicates P used as sets by `{x. P x}`. For typical proofs, 

77 
it is often sufficent to prune any tinkering with former theorems mem_def 

78 
and Collect_def. 

79 

46014  80 
* Theory HOL/Library/AList has been renamed to AList_Impl. INCOMPATIBILITY. 
45874  81 

45839
43a5b86bc102
'datatype' specifications allow explicit sort constraints;
wenzelm
parents:
45810
diff
changeset

82 
* 'datatype' specifications allow explicit sort constraints. 
43a5b86bc102
'datatype' specifications allow explicit sort constraints;
wenzelm
parents:
45810
diff
changeset

83 

45748
cf79cc09cab4
remove Library/Diagonalize.thy, because Library/Nat_Bijection.thy includes all the same functionality
huffman
parents:
45707
diff
changeset

84 
* Theory HOL/Library/Diagonalize has been removed. INCOMPATIBILITY, use 
cf79cc09cab4
remove Library/Diagonalize.thy, because Library/Nat_Bijection.thy includes all the same functionality
huffman
parents:
45707
diff
changeset

85 
theory HOL/Library/Nat_Bijection instead. 
cf79cc09cab4
remove Library/Diagonalize.thy, because Library/Nat_Bijection.thy includes all the same functionality
huffman
parents:
45707
diff
changeset

86 

45546
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

87 
* Session HOLWord: Discontinued many redundant theorems specific to type 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

88 
'a word. INCOMPATIBILITY, use the corresponding generic theorems instead. 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

89 

6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

90 
word_sub_alt ~> word_sub_wi 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

91 
word_add_alt ~> word_add_def 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

92 
word_mult_alt ~> word_mult_def 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

93 
word_minus_alt ~> word_minus_def 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

94 
word_0_alt ~> word_0_wi 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

95 
word_1_alt ~> word_1_wi 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

96 
word_add_0 ~> add_0_left 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

97 
word_add_0_right ~> add_0_right 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

98 
word_mult_1 ~> mult_1_left 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

99 
word_mult_1_right ~> mult_1_right 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

100 
word_add_commute ~> add_commute 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

101 
word_add_assoc ~> add_assoc 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

102 
word_add_left_commute ~> add_left_commute 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

103 
word_mult_commute ~> mult_commute 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

104 
word_mult_assoc ~> mult_assoc 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

105 
word_mult_left_commute ~> mult_left_commute 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

106 
word_left_distrib ~> left_distrib 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

107 
word_right_distrib ~> right_distrib 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

108 
word_left_minus ~> left_minus 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

109 
word_diff_0_right ~> diff_0_right 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

110 
word_diff_self ~> diff_self 
45957  111 
word_sub_def ~> diff_minus 
45804  112 
word_diff_minus ~> diff_minus 
45546
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

113 
word_add_ac ~> add_ac 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

114 
word_mult_ac ~> mult_ac 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

115 
word_plus_ac0 ~> add_0_left add_0_right add_ac 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

116 
word_times_ac1 ~> mult_1_left mult_1_right mult_ac 
45547  117 
word_order_trans ~> order_trans 
118 
word_order_refl ~> order_refl 

119 
word_order_antisym ~> order_antisym 

120 
word_order_linear ~> linorder_linear 

45810  121 
lenw1_zero_neq_one ~> zero_neq_one 
122 
word_number_of_eq ~> number_of_eq 

46013  123 
word_of_int_add_hom ~> wi_hom_add 
124 
word_of_int_sub_hom ~> wi_hom_sub 

125 
word_of_int_mult_hom ~> wi_hom_mult 

126 
word_of_int_minus_hom ~> wi_hom_neg 

127 
word_of_int_succ_hom ~> wi_hom_succ 

128 
word_of_int_pred_hom ~> wi_hom_pred 

129 
word_of_int_0_hom ~> word_0_wi 

130 
word_of_int_1_hom ~> word_1_wi 

45546
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

131 

46014  132 
* Clarified attribute "mono_set": pure declaration without modifying 
45384
dffa657f0aa2
clarified attribute "mono_set": pure declaration, proper export in ML;
wenzelm
parents:
45383
diff
changeset

133 
the result of the fact expression. 
dffa657f0aa2
clarified attribute "mono_set": pure declaration, proper export in ML;
wenzelm
parents:
45383
diff
changeset

134 

45383  135 
* "Transitive_Closure.ntrancl": bounded transitive closure on 
136 
relations. 

137 

46014  138 
* Constant "Set.not_member" now qualified. INCOMPATIBILITY. 
45383  139 

140 
* "sublists" moved to theory More_List. INCOMPATIBILITY. 

45143  141 

45122  142 
* Theory Int: Discontinued many legacy theorems specific to type int. 
45383  143 
INCOMPATIBILITY, use the corresponding generic theorems instead. 
45122  144 

145 
zminus_zminus ~> minus_minus 

146 
zminus_0 ~> minus_zero 

147 
zminus_zadd_distrib ~> minus_add_distrib 

148 
zadd_commute ~> add_commute 

149 
zadd_assoc ~> add_assoc 

150 
zadd_left_commute ~> add_left_commute 

45196
78478d938cb8
inlined @{thms} (ML compiletime) allows to get rid of legacy zadd_ac as well (cf. 49e305100097);
wenzelm
parents:
45191
diff
changeset

151 
zadd_ac ~> add_ac 
45122  152 
zmult_ac ~> mult_ac 
153 
zadd_0 ~> add_0_left 

154 
zadd_0_right ~> add_0_right 

155 
zadd_zminus_inverse2 ~> left_minus 

156 
zmult_zminus ~> mult_minus_left 

157 
zmult_commute ~> mult_commute 

158 
zmult_assoc ~> mult_assoc 

159 
zadd_zmult_distrib ~> left_distrib 

160 
zadd_zmult_distrib2 ~> right_distrib 

161 
zdiff_zmult_distrib ~> left_diff_distrib 

162 
zdiff_zmult_distrib2 ~> right_diff_distrib 

163 
zmult_1 ~> mult_1_left 

164 
zmult_1_right ~> mult_1_right 

165 
zle_refl ~> order_refl 

166 
zle_trans ~> order_trans 

167 
zle_antisym ~> order_antisym 

168 
zle_linear ~> linorder_linear 

169 
zless_linear ~> linorder_less_linear 

170 
zadd_left_mono ~> add_left_mono 

171 
zadd_strict_right_mono ~> add_strict_right_mono 

172 
zadd_zless_mono ~> add_less_le_mono 

173 
int_0_less_1 ~> zero_less_one 

174 
int_0_neq_1 ~> zero_neq_one 

175 
zless_le ~> less_le 

176 
zpower_zadd_distrib ~> power_add 

177 
zero_less_zpower_abs_iff ~> zero_less_power_abs_iff 

178 
zero_le_zpower_abs ~> zero_le_power_abs 

179 

45791  180 
* Theory Deriv: Renamed 
181 

182 
DERIV_nonneg_imp_nonincreasing ~> DERIV_nonneg_imp_nondecreasing 

183 

45383  184 
* New "case_product" attribute to generate a case rule doing multiple 
185 
case distinctions at the same time. E.g. 

186 

187 
list.exhaust [case_product nat.exhaust] 

188 

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

190 
a list and a nat. 

191 

45759  192 
* Quickcheck: 
193 
 Quickcheck returns variable assignments as counterexamples, which 

194 
allows to reveal the underspecification of functions under test. 

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

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

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

198 
These counterexample are marked as potentially spurious, as 

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

200 
obvious theorem "hd xs = hd xs". 

201 
After finding a potentially spurious counterexample, Quickcheck 

202 
continues searching for genuine ones. 

203 
By default, Quickcheck shows potentially spurious and genuine 

204 
counterexamples. The option "genuine_only" sets quickcheck to 

205 
only show genuine counterexamples. 

45941  206 

207 
 The command 'quickcheck_generator' creates random and exhaustive 

208 
value generators for a given type and operations. 

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

210 
constructors of that type. 

211 

45398
7dbb7b044a11
avoid infinite recursion in peephole optimizer function  this had a debilitating effect on rationals and reals
blanchet
parents:
45384
diff
changeset

212 
* Nitpick: 
45516  213 
 Fixed infinite loop caused by the 'peephole_optim' option and 
214 
affecting 'rat' and 'real'. 

215 

216 
* Sledgehammer: 

45707
6bf7eec9b153
added "minimize" option for more control over automatic minimization
blanchet
parents:
45706
diff
changeset

217 
 Added "lam_trans" and "minimize" options. 
45706  218 
 Renamed "slicing" ("no_slicing") option to "slice" ("dont_slice"). 
45516  219 

220 
* Metis: 

221 
 Added possibility to specify lambda translations scheme as a 

222 
parenthesized argument (e.g., "by (metis (lam_lifting) ...)"). 

45398
7dbb7b044a11
avoid infinite recursion in peephole optimizer function  this had a debilitating effect on rationals and reals
blanchet
parents:
45384
diff
changeset

223 

7dbb7b044a11
avoid infinite recursion in peephole optimizer function  this had a debilitating effect on rationals and reals
blanchet
parents:
45384
diff
changeset

224 

45160  225 
*** FOL *** 
226 

45383  227 
* New "case_product" attribute (see HOL). 
45160  228 

45109  229 

45128
5af3a3203a76
discontinued obsolete alias structure ProofContext;
wenzelm
parents:
45122
diff
changeset

230 
*** ML *** 
5af3a3203a76
discontinued obsolete alias structure ProofContext;
wenzelm
parents:
45122
diff
changeset

231 

45592  232 
* Antiquotation @{attributes [...]} embeds attribute source 
233 
representation into the ML text, which is particularly useful with 

234 
declarations like Local_Theory.note. 

235 

45128
5af3a3203a76
discontinued obsolete alias structure ProofContext;
wenzelm
parents:
45122
diff
changeset

236 
* Structure Proof_Context follows standard naming scheme. Old 
5af3a3203a76
discontinued obsolete alias structure ProofContext;
wenzelm
parents:
45122
diff
changeset

237 
ProofContext has been discontinued. INCOMPATIBILITY. 
5af3a3203a76
discontinued obsolete alias structure ProofContext;
wenzelm
parents:
45122
diff
changeset

238 

45293
57def0b39696
refined Local_Theory.declaration {syntax = false, pervasive} semantics: update is applied to auxiliary context as well;
wenzelm
parents:
45233
diff
changeset

239 
* Refined Local_Theory.declaration {syntax, pervasive}, with subtle 
45298
aa35859c8741
uniform treatment of syntax declaration wrt. aux. context (NB: notation avoids duplicate mixfix internally);
wenzelm
parents:
45293
diff
changeset

240 
change of semantics: update is applied to auxiliary local theory 
45293
57def0b39696
refined Local_Theory.declaration {syntax = false, pervasive} semantics: update is applied to auxiliary context as well;
wenzelm
parents:
45233
diff
changeset

241 
context as well. 
57def0b39696
refined Local_Theory.declaration {syntax = false, pervasive} semantics: update is applied to auxiliary context as well;
wenzelm
parents:
45233
diff
changeset

242 

45620
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

243 
* Modernized some oldstyle infix operations: 
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

244 

f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

245 
addeqcongs ~> Simplifier.add_eqcong 
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

246 
deleqcongs ~> Simplifier.del_eqcong 
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

247 
addcongs ~> Simplifier.add_cong 
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

248 
delcongs ~> Simplifier.del_cong 
45625
750c5a47400b
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45620
diff
changeset

249 
setmksimps ~> Simplifier.set_mksimps 
750c5a47400b
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45620
diff
changeset

250 
setmkcong ~> Simplifier.set_mkcong 
750c5a47400b
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45620
diff
changeset

251 
setmksym ~> Simplifier.set_mksym 
750c5a47400b
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45620
diff
changeset

252 
setmkeqTrue ~> Simplifier.set_mkeqTrue 
750c5a47400b
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45620
diff
changeset

253 
settermless ~> Simplifier.set_termless 
750c5a47400b
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45620
diff
changeset

254 
setsubgoaler ~> Simplifier.set_subgoaler 
45620
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

255 
addsplits ~> Splitter.add_split 
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

256 
delsplits ~> Splitter.del_split 
f2a587696afb
modernized some oldstyle infix operations, which were left over from the time of ML proof scripts;
wenzelm
parents:
45614
diff
changeset

257 

45128
5af3a3203a76
discontinued obsolete alias structure ProofContext;
wenzelm
parents:
45122
diff
changeset

258 

45109  259 

44801  260 
New in Isabelle20111 (October 2011) 
261 
 

41651  262 

41703
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

263 
*** General *** 
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

264 

44760  265 
* Improved Isabelle/jEdit Prover IDE (PIDE), which can be invoked as 
44968  266 
"isabelle jedit" or "ISABELLE_HOME/Isabelle" on the command line. 
44760  267 

44777  268 
 Management of multiple theory files directly from the editor 
44760  269 
buffer store  bypassing the filesystem (no requirement to save 
270 
files for checking). 

271 

44777  272 
 Markup of formal entities within the text buffer, with semantic 
44760  273 
highlighting, tooltips and hyperlinks to jump to defining source 
274 
positions. 

275 

44777  276 
 Improved text rendering, with sub/superscripts in the source 
277 
buffer (including support for copy/paste wrt. output panel, HTML 

278 
theory output and other nonIsabelle text boxes). 

279 

280 
 Refined scheduling of proof checking and printing of results, 

44760  281 
based on interactive editor view. (Note: jEdit folding and 
282 
narrowing allows to restrict buffer perspectives explicitly.) 

283 

44777  284 
 Reduced CPU performance requirements, usable on machines with few 
44760  285 
cores. 
286 

44777  287 
 Reduced memory requirements due to pruning of unused document 
44760  288 
versions (garbage collection). 
289 

290 
See also ~~/src/Tools/jEdit/README.html for further information, 

291 
including some remaining limitations. 

292 

44800  293 
* Theory loader: source files are exclusively located via the master 
294 
directory of each theory node (where the .thy file itself resides). 

295 
The global load path (such as src/HOL/Library) has been discontinued. 

296 
Note that the path element ~~ may be used to reference theories in the 

297 
Isabelle home folder  for instance, "~~/src/HOL/Library/FuncSet". 

298 
INCOMPATIBILITY. 

299 

41955
703ea96b13c6
files are identified via SHA1 digests  discontinued ISABELLE_FILE_IDENT;
wenzelm
parents:
41952
diff
changeset

300 
* Theory loader: source files are identified by content via SHA1 
703ea96b13c6
files are identified via SHA1 digests  discontinued ISABELLE_FILE_IDENT;
wenzelm
parents:
41952
diff
changeset

301 
digests. Discontinued former path/modtime identification and optional 
703ea96b13c6
files are identified via SHA1 digests  discontinued ISABELLE_FILE_IDENT;
wenzelm
parents:
41952
diff
changeset

302 
ISABELLE_FILE_IDENT plugin scripts. 
703ea96b13c6
files are identified via SHA1 digests  discontinued ISABELLE_FILE_IDENT;
wenzelm
parents:
41952
diff
changeset

303 

41703
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

304 
* Parallelization of nested Isar proofs is subject to 
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

305 
Goal.parallel_proofs_threshold (default 100). See also isabelle 
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

306 
usedir option Q. 
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

307 

42669
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

308 
* Name space: former unsynchronized references are now proper 
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

309 
configuration options, with more conventional names: 
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

310 

04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

311 
long_names ~> names_long 
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

312 
short_names ~> names_short 
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

313 
unique_names ~> names_unique 
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

314 

04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

315 
Minor INCOMPATIBILITY, need to declare options in context like this: 
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

316 

04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42658
diff
changeset

317 
declare [[names_unique = false]] 
42358
b47d41d9f4b5
Name_Space: proper configuration options long_names, short_names, unique_names instead of former unsynchronized references;
wenzelm
parents:
42290
diff
changeset

318 

42502  319 
* Literal facts `prop` may contain dummy patterns, e.g. `_ = _`. Note 
320 
that the result needs to be unique, which means fact specifications 

321 
may have to be refined after enriching a proof context. 

322 

44800  323 
* Attribute "case_names" has been refined: the assumptions in each case 
324 
can be named now by following the case name with [name1 name2 ...]. 

325 

44968  326 
* Isabelle/Isar reference manual has been updated and extended: 
327 
 "Synopsis" provides a catalog of main Isar language concepts. 

328 
 Formal references in syntax diagrams, via @{rail} antiquotation. 

329 
 Updated material from classic "ref" manual, notably about 

330 
"Classical Reasoner". 

42633  331 

41703
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

332 

41727
ab3f6d76fb23
available_provers ~> supported_provers (for clarity)
blanchet
parents:
41703
diff
changeset

333 
*** HOL *** 
ab3f6d76fb23
available_provers ~> supported_provers (for clarity)
blanchet
parents:
41703
diff
changeset

334 

44968  335 
* Class bot and top require underlying partial order rather than 
44800  336 
preorder: uniqueness of bot and top is guaranteed. INCOMPATIBILITY. 
43815
4f6e2965d821
adjusted to tightened specification of classes bot and top
haftmann
parents:
43752
diff
changeset

337 

43940  338 
* Class complete_lattice: generalized a couple of lemmas from sets; 
44800  339 
generalized theorems INF_cong and SUP_cong. New type classes for 
340 
complete boolean algebras and complete linear orders. Lemmas 

341 
Inf_less_iff, less_Sup_iff, INF_less_iff, less_SUP_iff now reside in 

342 
class complete_linorder. 

343 

344 
Changed proposition of lemmas Inf_bool_def, Sup_bool_def, Inf_fun_def, 

345 
Sup_fun_def, Inf_apply, Sup_apply. 

346 

45088  347 
Removed redundant lemmas (the right hand side gives hints how to 
348 
replace them for (metis ...), or (simp only: ...) proofs): 

45041
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

349 

0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

350 
Inf_singleton ~> Inf_insert [where A="{}", unfolded Inf_empty inf_top_right] 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

351 
Sup_singleton ~> Sup_insert [where A="{}", unfolded Sup_empty sup_bot_right] 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

352 
Inf_binary ~> Inf_insert, Inf_empty, and inf_top_right 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

353 
Sup_binary ~> Sup_insert, Sup_empty, and sup_bot_right 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

354 
Int_eq_Inter ~> Inf_insert, Inf_empty, and inf_top_right 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

355 
Un_eq_Union ~> Sup_insert, Sup_empty, and sup_bot_right 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

356 
Inter_def ~> INF_def, image_def 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

357 
Union_def ~> SUP_def, image_def 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

358 
INT_eq ~> INF_def, and image_def 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

359 
UN_eq ~> SUP_def, and image_def 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

360 
INF_subset ~> INF_superset_mono [OF _ order_refl] 
44800  361 

362 
More consistent and comprehensive names: 

363 

45041
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

364 
INTER_eq_Inter_image ~> INF_def 
0523a6be8ade
NEWS: mention replacement lemmas for the removed ones in Complete_Lattices
hoelzl
parents:
45016
diff
changeset

365 
UNION_eq_Union_image ~> SUP_def 
43872  366 
INFI_def ~> INF_def 
367 
SUPR_def ~> SUP_def 

44103
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

368 
INF_leI ~> INF_lower 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

369 
INF_leI2 ~> INF_lower2 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

370 
le_INFI ~> INF_greatest 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

371 
le_SUPI ~> SUP_upper 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

372 
le_SUPI2 ~> SUP_upper2 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

373 
SUP_leI ~> SUP_least 
43873  374 
INFI_bool_eq ~> INF_bool_eq 
375 
SUPR_bool_eq ~> SUP_bool_eq 

376 
INFI_apply ~> INF_apply 

377 
SUPR_apply ~> SUP_apply 

44103
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

378 
INTER_def ~> INTER_eq 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

379 
UNION_def ~> UNION_eq 
cedaca00789f
more uniform naming scheme for Inf/INF and Sup/SUP lemmas
haftmann
parents:
44086
diff
changeset

380 

43865
db18f4d0cc7d
further generalization from sets to complete lattices
haftmann
parents:
43816
diff
changeset

381 
INCOMPATIBILITY. 
db18f4d0cc7d
further generalization from sets to complete lattices
haftmann
parents:
43816
diff
changeset

382 

44973
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

383 
* Renamed theory Complete_Lattice to Complete_Lattices. 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

384 
INCOMPATIBILITY. 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

385 

dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

386 
* Theory Complete_Lattices: lemmas Inf_eq_top_iff, INF_eq_top_iff, 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

387 
INF_image, Inf_insert, INF_top, Inf_top_conv, INF_top_conv, SUP_bot, 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

388 
Sup_bot_conv, SUP_bot_conv, Sup_eq_top_iff, SUP_eq_top_iff, SUP_image, 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

389 
Sup_insert are now declared as [simp]. INCOMPATIBILITY. 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

390 

dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

391 
* Theory Lattice: lemmas compl_inf_bot, compl_le_comp_iff, 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

392 
compl_sup_top, inf_idem, inf_left_idem, inf_sup_absorb, sup_idem, 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

393 
sup_inf_absob, sup_left_idem are now declared as [simp]. Minor 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

394 
INCOMPATIBILITY. 
dfe923d5308d
separated NEWS for Isabelle2011 from Isabelle20111 (cf. e1139e612b55);
wenzelm
parents:
44968
diff
changeset

395 

44845  396 
* Added syntactic classes "inf" and "sup" for the respective 
397 
constants. INCOMPATIBILITY: Changes in the argument order of the 

398 
(mostly internal) locale predicates for some derived classes. 

399 

44800  400 
* Theorem collections ball_simps and bex_simps do not contain theorems 
401 
referring to UNION any longer; these have been moved to collection 

402 
UN_ball_bex_simps. INCOMPATIBILITY. 

403 

404 
* Theory Archimedean_Field: floor now is defined as parameter of a 

405 
separate type class floor_ceiling. 

406 

407 
* Theory Finite_Set: more coherent development of fold_set locales: 

42874  408 

409 
locale fun_left_comm ~> locale comp_fun_commute 

410 
locale fun_left_comm_idem ~> locale comp_fun_idem 

44800  411 

412 
Both use pointfree characterization; interpretation proofs may need 

413 
adjustment. INCOMPATIBILITY. 

42874  414 

44800  415 
* Theory Limits: Type "'a net" has been renamed to "'a filter", in 
44081
730f7cced3a6
rename type 'a net to 'a filter, following standard mathematical terminology
huffman
parents:
44027
diff
changeset

416 
accordance with standard mathematical terminology. INCOMPATIBILITY. 
730f7cced3a6
rename type 'a net to 'a filter, following standard mathematical terminology
huffman
parents:
44027
diff
changeset

417 

44800  418 
* Theory Complex_Main: The locale interpretations for the 
419 
bounded_linear and bounded_bilinear locales have been removed, in 

420 
order to reduce the number of duplicate lemmas. Users must use the 

421 
original names for distributivity theorems, potential INCOMPATIBILITY. 

44282
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

422 

f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

423 
divide.add ~> add_divide_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

424 
divide.diff ~> diff_divide_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

425 
divide.setsum ~> setsum_divide_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

426 
mult.add_right ~> right_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

427 
mult.diff_right ~> right_diff_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

428 
mult_right.setsum ~> setsum_right_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

429 
mult_left.diff ~> left_diff_distrib 
f0de18b62d63
remove bounded_(bi)linear locale interpretations, to avoid duplicating so many lemmas
huffman
parents:
44274
diff
changeset

430 

44800  431 
* Theory Complex_Main: Several redundant theorems have been removed or 
44568
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

432 
replaced by more general versions. INCOMPATIBILITY. 
44522
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

433 

45051
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

434 
real_diff_def ~> minus_real_def 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

435 
real_divide_def ~> divide_real_def 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

436 
real_less_def ~> less_le 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

437 
real_abs_def ~> abs_real_def 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

438 
real_sgn_def ~> sgn_real_def 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

439 
real_mult_commute ~> mult_commute 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

440 
real_mult_assoc ~> mult_assoc 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

441 
real_mult_1 ~> mult_1_left 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

442 
real_add_mult_distrib ~> left_distrib 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

443 
real_zero_not_eq_one ~> zero_neq_one 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

444 
real_mult_inverse_left ~> left_inverse 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

445 
INVERSE_ZERO ~> inverse_zero 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

446 
real_le_refl ~> order_refl 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

447 
real_le_antisym ~> order_antisym 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

448 
real_le_trans ~> order_trans 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

449 
real_le_linear ~> linear 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

450 
real_le_eq_diff ~> le_iff_diff_le_0 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

451 
real_add_left_mono ~> add_left_mono 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

452 
real_mult_order ~> mult_pos_pos 
c478d1876371
discontinued legacy theorem names from RealDef.thy
huffman
parents:
45049
diff
changeset

453 
real_mult_less_mono2 ~> mult_strict_left_mono 
44822
2690b6de5021
remove duplicate lemma real_of_int_real_of_nat in favor of real_of_int_of_nat_eq
huffman
parents:
44777
diff
changeset

454 
real_of_int_real_of_nat ~> real_of_int_of_nat_eq 
44522
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

455 
real_0_le_divide_iff ~> zero_le_divide_iff 
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

456 
realpow_two_disj ~> power2_eq_iff 
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

457 
real_squared_diff_one_factored ~> square_diff_one_factored 
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

458 
realpow_two_diff ~> square_diff_square_factored 
44669
8e6cdb9c00a7
remove redundant lemma reals_complete2 in favor of complete_real
huffman
parents:
44666
diff
changeset

459 
reals_complete2 ~> complete_real 
44749
5b1e1432c320
remove redundant lemma real_sum_squared_expand in favor of power2_sum
huffman
parents:
44748
diff
changeset

460 
real_sum_squared_expand ~> power2_sum 
44522
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

461 
exp_ln_eq ~> ln_unique 
44711  462 
expi_add ~> exp_add 
463 
expi_zero ~> exp_zero 

44522
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

464 
lemma_DERIV_subst ~> DERIV_cong 
44568
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

465 
LIMSEQ_Zfun_iff ~> tendsto_Zfun_iff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

466 
LIMSEQ_const ~> tendsto_const 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

467 
LIMSEQ_norm ~> tendsto_norm 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

468 
LIMSEQ_add ~> tendsto_add 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

469 
LIMSEQ_minus ~> tendsto_minus 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

470 
LIMSEQ_minus_cancel ~> tendsto_minus_cancel 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

471 
LIMSEQ_diff ~> tendsto_diff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

472 
bounded_linear.LIMSEQ ~> bounded_linear.tendsto 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

473 
bounded_bilinear.LIMSEQ ~> bounded_bilinear.tendsto 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

474 
LIMSEQ_mult ~> tendsto_mult 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

475 
LIMSEQ_inverse ~> tendsto_inverse 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

476 
LIMSEQ_divide ~> tendsto_divide 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

477 
LIMSEQ_pow ~> tendsto_power 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

478 
LIMSEQ_setsum ~> tendsto_setsum 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

479 
LIMSEQ_setprod ~> tendsto_setprod 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

480 
LIMSEQ_norm_zero ~> tendsto_norm_zero_iff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

481 
LIMSEQ_rabs_zero ~> tendsto_rabs_zero_iff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

482 
LIMSEQ_imp_rabs ~> tendsto_rabs 
44710  483 
LIMSEQ_add_minus ~> tendsto_add [OF _ tendsto_minus] 
484 
LIMSEQ_add_const ~> tendsto_add [OF _ tendsto_const] 

485 
LIMSEQ_diff_const ~> tendsto_diff [OF _ tendsto_const] 

44748
7f6838b3474a
remove redundant lemma LIMSEQ_Complex in favor of tendsto_Complex
huffman
parents:
44711
diff
changeset

486 
LIMSEQ_Complex ~> tendsto_Complex 
44568
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

487 
LIM_ident ~> tendsto_ident_at 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

488 
LIM_const ~> tendsto_const 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

489 
LIM_add ~> tendsto_add 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

490 
LIM_add_zero ~> tendsto_add_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

491 
LIM_minus ~> tendsto_minus 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

492 
LIM_diff ~> tendsto_diff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

493 
LIM_norm ~> tendsto_norm 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

494 
LIM_norm_zero ~> tendsto_norm_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

495 
LIM_norm_zero_cancel ~> tendsto_norm_zero_cancel 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

496 
LIM_norm_zero_iff ~> tendsto_norm_zero_iff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

497 
LIM_rabs ~> tendsto_rabs 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

498 
LIM_rabs_zero ~> tendsto_rabs_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

499 
LIM_rabs_zero_cancel ~> tendsto_rabs_zero_cancel 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

500 
LIM_rabs_zero_iff ~> tendsto_rabs_zero_iff 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

501 
LIM_compose ~> tendsto_compose 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

502 
LIM_mult ~> tendsto_mult 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

503 
LIM_scaleR ~> tendsto_scaleR 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

504 
LIM_of_real ~> tendsto_of_real 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

505 
LIM_power ~> tendsto_power 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

506 
LIM_inverse ~> tendsto_inverse 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

507 
LIM_sgn ~> tendsto_sgn 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

508 
isCont_LIM_compose ~> isCont_tendsto_compose 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

509 
bounded_linear.LIM ~> bounded_linear.tendsto 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

510 
bounded_linear.LIM_zero ~> bounded_linear.tendsto_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

511 
bounded_bilinear.LIM ~> bounded_bilinear.tendsto 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

512 
bounded_bilinear.LIM_prod_zero ~> bounded_bilinear.tendsto_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

513 
bounded_bilinear.LIM_left_zero ~> bounded_bilinear.tendsto_left_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

514 
bounded_bilinear.LIM_right_zero ~> bounded_bilinear.tendsto_right_zero 
e6f291cb5810
discontinue many legacy theorems about LIM and LIMSEQ, in favor of tendsto theorems
huffman
parents:
44538
diff
changeset

515 
LIM_inverse_fun ~> tendsto_inverse [OF tendsto_ident_at] 
44522
2f7e9d890efe
rename subset_{interior,closure} to {interior,closure}_mono;
huffman
parents:
44322
diff
changeset

516 

44967  517 
* Theory Complex_Main: The definition of infinite series was 
518 
generalized. Now it is defined on the type class {topological_space, 

519 
comm_monoid_add}. Hence it is useable also for extended real numbers. 

42484  520 

44908  521 
* Theory Complex_Main: The complex exponential function "expi" is now 
522 
a typeconstrained abbreviation for "exp :: complex => complex"; thus 

523 
several polymorphic lemmas about "exp" are now applicable to "expi". 

524 

44968  525 
* Code generation: 
526 

527 
 Theory Library/Code_Char_ord provides native ordering of 

528 
characters in the target language. 

529 

530 
 Commands code_module and code_library are legacy, use export_code 

531 
instead. 

532 

533 
 Method "evaluation" is legacy, use method "eval" instead. 

534 

535 
 Legacy evaluator "SML" is deactivated by default. May be 

536 
reactivated by the following theory command: 

537 

538 
setup {* Value.add_evaluator ("SML", Codegen.eval_term) *} 

539 

540 
* Declare ext [intro] by default. Rare INCOMPATIBILITY. 

541 

45088  542 
* New proof method "induction" that gives induction hypotheses the 
543 
name "IH", thus distinguishing them from further hypotheses that come 

544 
from rule induction. The latter are still called "hyps". Method 

545 
"induction" is a thin wrapper around "induct" and follows the same 

546 
syntax. 

547 

44968  548 
* Method "fastsimp" has been renamed to "fastforce", but "fastsimp" is 
549 
still available as a legacy feature for some time. 

550 

551 
* Nitpick: 

552 
 Added "need" and "total_consts" options. 

553 
 Reintroduced "show_skolems" option by popular demand. 

554 
 Renamed attribute: nitpick_def ~> nitpick_unfold. 

555 
INCOMPATIBILITY. 

556 

557 
* Sledgehammer: 

558 
 Use quasisound (and efficient) translations by default. 

559 
 Added support for the following provers: EToFoF, LEOII, 

560 
Satallax, SNARK, Waldmeister, and Z3 with TPTP syntax. 

561 
 Automatically preplay and minimize proofs before showing them if 

562 
this can be done within reasonable time. 

563 
 sledgehammer available_provers ~> sledgehammer supported_provers. 

564 
INCOMPATIBILITY. 

565 
 Added "preplay_timeout", "slicing", "type_enc", "sound", 

566 
"max_mono_iters", and "max_new_mono_instances" options. 

567 
 Removed "explicit_apply" and "full_types" options as well as "Full 

568 
Types" Proof General menu item. INCOMPATIBILITY. 

569 

570 
* Metis: 

571 
 Removed "metisF"  use "metis" instead. INCOMPATIBILITY. 

572 
 Obsoleted "metisFT"  use "metis (full_types)" instead. 

573 
INCOMPATIBILITY. 

574 

575 
* Command 'try': 

576 
 Renamed 'try_methods' and added "simp:", "intro:", "dest:", and 

577 
"elim:" options. INCOMPATIBILITY. 

578 
 Introduced 'try' that not only runs 'try_methods' but also 

579 
'solve_direct', 'sledgehammer', 'quickcheck', and 'nitpick'. 

580 

581 
* Quickcheck: 

582 
 Added "eval" option to evaluate terms for the found counterexample 

583 
(currently only supported by the default (exhaustive) tester). 

584 
 Added postprocessing of terms to obtain readable counterexamples 

585 
(currently only supported by the default (exhaustive) tester). 

586 
 New counterexample generator quickcheck[narrowing] enables 

587 
narrowingbased testing. Requires the Glasgow Haskell compiler 

588 
with its installation location defined in the Isabelle settings 

589 
environment as ISABELLE_GHC. 

590 
 Removed quickcheck tester "SML" based on the SML code generator 

591 
(formly in HOL/Library). 

592 

593 
* Function package: discontinued option "tailrec". INCOMPATIBILITY, 

594 
use 'partial_function' instead. 

595 

596 
* Theory Library/Extended_Reals replaces now the positive extended 

597 
reals found in probability theory. This file is extended by 

598 
Multivariate_Analysis/Extended_Real_Limits. 

599 

44974  600 
* Theory Library/Old_Recdef: old 'recdef' package has been moved here, 
601 
from where it must be imported explicitly if it is really required. 

602 
INCOMPATIBILITY. 

44968  603 

604 
* Theory Library/Wfrec: wellfounded recursion combinator "wfrec" has 

605 
been moved here. INCOMPATIBILITY. 

606 

607 
* Theory Library/Saturated provides type of numbers with saturated 

608 
arithmetic. 

609 

610 
* Theory Library/Product_Lattice defines a pointwise ordering for the 

611 
product type 'a * 'b, and provides instance proofs for various order 

612 
and lattice type classes. 

613 

614 
* Theory Library/Countable now provides the "countable_datatype" proof 

615 
method for proving "countable" class instances for datatypes. 

616 

617 
* Theory Library/Cset_Monad allows do notation for computable sets 

618 
(cset) via the generic monad adhoc overloading facility. 

619 

620 
* Library: Theories of common data structures are split into theories 

621 
for implementation, an invariantensuring type, and connection to an 

622 
abstract type. INCOMPATIBILITY. 

623 

624 
 RBT is split into RBT and RBT_Mapping. 

625 
 AssocList is split and renamed into AList and AList_Mapping. 

626 
 DList is split into DList_Impl, DList, and DList_Cset. 

627 
 Cset is split into Cset and List_Cset. 

628 

629 
* Theory Library/Nat_Infinity has been renamed to 

630 
Library/Extended_Nat, with name changes of the following types and 

631 
constants: 

632 

633 
type inat ~> type enat 

634 
Fin ~> enat 

635 
Infty ~> infinity (overloaded) 

636 
iSuc ~> eSuc 

637 
the_Fin ~> the_enat 

638 

639 
Every theorem name containing "inat", "Fin", "Infty", or "iSuc" has 

640 
been renamed accordingly. INCOMPATIBILITY. 

641 

642 
* Session Multivariate_Analysis: The euclidean_space type class now 

643 
fixes a constant "Basis :: 'a set" consisting of the standard 

644 
orthonormal basis for the type. Users now have the option of 

645 
quantifying over this set instead of using the "basis" function, e.g. 

646 
"ALL x:Basis. P x" vs "ALL i<DIM('a). P (basis i)". 

647 

648 
* Session Multivariate_Analysis: Type "('a, 'b) cart" has been renamed 

649 
to "('a, 'b) vec" (the syntax "'a ^ 'b" remains unaffected). Constants 

650 
"Cart_nth" and "Cart_lambda" have been respectively renamed to 

651 
"vec_nth" and "vec_lambda"; theorems mentioning those names have 

652 
changed to match. Definition theorems for overloaded constants now use 

653 
the standard "foo_vec_def" naming scheme. A few other theorems have 

654 
been renamed as follows (INCOMPATIBILITY): 

655 

656 
Cart_eq ~> vec_eq_iff 

657 
dist_nth_le_cart ~> dist_vec_nth_le 

658 
tendsto_vector ~> vec_tendstoI 

659 
Cauchy_vector ~> vec_CauchyI 

660 

661 
* Session Multivariate_Analysis: Several duplicate theorems have been 

662 
removed, and other theorems have been renamed or replaced with more 

663 
general versions. INCOMPATIBILITY. 

664 

665 
finite_choice ~> finite_set_choice 

666 
eventually_conjI ~> eventually_conj 

667 
eventually_and ~> eventually_conj_iff 

668 
eventually_false ~> eventually_False 

669 
setsum_norm ~> norm_setsum 

670 
Lim_sequentially ~> LIMSEQ_def 

671 
Lim_ident_at ~> LIM_ident 

672 
Lim_const ~> tendsto_const 

673 
Lim_cmul ~> tendsto_scaleR [OF tendsto_const] 

674 
Lim_neg ~> tendsto_minus 

675 
Lim_add ~> tendsto_add 

676 
Lim_sub ~> tendsto_diff 

677 
Lim_mul ~> tendsto_scaleR 

678 
Lim_vmul ~> tendsto_scaleR [OF _ tendsto_const] 

679 
Lim_null_norm ~> tendsto_norm_zero_iff [symmetric] 

680 
Lim_linear ~> bounded_linear.tendsto 

681 
Lim_component ~> tendsto_euclidean_component 

682 
Lim_component_cart ~> tendsto_vec_nth 

683 
Lim_inner ~> tendsto_inner [OF tendsto_const] 

684 
dot_lsum ~> inner_setsum_left 

685 
dot_rsum ~> inner_setsum_right 

686 
continuous_cmul ~> continuous_scaleR [OF continuous_const] 

687 
continuous_neg ~> continuous_minus 

688 
continuous_sub ~> continuous_diff 

689 
continuous_vmul ~> continuous_scaleR [OF _ continuous_const] 

690 
continuous_mul ~> continuous_scaleR 

691 
continuous_inv ~> continuous_inverse 

692 
continuous_at_within_inv ~> continuous_at_within_inverse 

693 
continuous_at_inv ~> continuous_at_inverse 

694 
continuous_at_norm ~> continuous_norm [OF continuous_at_id] 

695 
continuous_at_infnorm ~> continuous_infnorm [OF continuous_at_id] 

696 
continuous_at_component ~> continuous_component [OF continuous_at_id] 

697 
continuous_on_neg ~> continuous_on_minus 

698 
continuous_on_sub ~> continuous_on_diff 

699 
continuous_on_cmul ~> continuous_on_scaleR [OF continuous_on_const] 

700 
continuous_on_vmul ~> continuous_on_scaleR [OF _ continuous_on_const] 

701 
continuous_on_mul ~> continuous_on_scaleR 

702 
continuous_on_mul_real ~> continuous_on_mult 

703 
continuous_on_inner ~> continuous_on_inner [OF continuous_on_const] 

704 
continuous_on_norm ~> continuous_on_norm [OF continuous_on_id] 

705 
continuous_on_inverse ~> continuous_on_inv 

706 
uniformly_continuous_on_neg ~> uniformly_continuous_on_minus 

707 
uniformly_continuous_on_sub ~> uniformly_continuous_on_diff 

708 
subset_interior ~> interior_mono 

709 
subset_closure ~> closure_mono 

710 
closure_univ ~> closure_UNIV 

711 
real_arch_lt ~> reals_Archimedean2 

712 
real_arch ~> reals_Archimedean3 

713 
real_abs_norm ~> abs_norm_cancel 

714 
real_abs_sub_norm ~> norm_triangle_ineq3 

715 
norm_cauchy_schwarz_abs ~> Cauchy_Schwarz_ineq2 

716 

717 
* Session HOLProbability: 

718 
 Caratheodory's extension lemma is now proved for ring_of_sets. 

719 
 Infinite products of probability measures are now available. 

720 
 Sigma closure is independent, if the generator is independent 

721 
 Use extended reals instead of positive extended 

722 
reals. INCOMPATIBILITY. 

723 

45049  724 
* Session HOLCF: Discontinued legacy theorem names, INCOMPATIBILITY. 
725 

726 
expand_fun_below ~> fun_below_iff 

727 
below_fun_ext ~> fun_belowI 

728 
expand_cfun_eq ~> cfun_eq_iff 

729 
ext_cfun ~> cfun_eqI 

730 
expand_cfun_below ~> cfun_below_iff 

731 
below_cfun_ext ~> cfun_belowI 

732 
monofun_fun_fun ~> fun_belowD 

733 
monofun_fun_arg ~> monofunE 

734 
monofun_lub_fun ~> adm_monofun [THEN admD] 

735 
cont_lub_fun ~> adm_cont [THEN admD] 

736 
cont2cont_Rep_CFun ~> cont2cont_APP 

737 
cont_Rep_CFun_app ~> cont_APP_app 

738 
cont_Rep_CFun_app_app ~> cont_APP_app_app 

739 
cont_cfun_fun ~> cont_Rep_cfun1 [THEN contE] 

740 
cont_cfun_arg ~> cont_Rep_cfun2 [THEN contE] 

741 
contlub_cfun ~> lub_APP [symmetric] 

742 
contlub_LAM ~> lub_LAM [symmetric] 

743 
thelubI ~> lub_eqI 

744 
UU_I ~> bottomI 

745 
lift_distinct1 ~> lift.distinct(1) 

746 
lift_distinct2 ~> lift.distinct(2) 

747 
Def_not_UU ~> lift.distinct(2) 

748 
Def_inject ~> lift.inject 

749 
below_UU_iff ~> below_bottom_iff 

750 
eq_UU_iff ~> eq_bottom_iff 

751 

44903  752 

41685
e29ea98a76ce
term style 'isub': adhoc subscripting of variables that end with digits (x1, x23, ...)
krauss
parents:
41667
diff
changeset

753 
*** Document preparation *** 
e29ea98a76ce
term style 'isub': adhoc subscripting of variables that end with digits (x1, x23, ...)
krauss
parents:
41667
diff
changeset

754 

44800  755 
* Antiquotation @{rail} layouts railroad syntax diagrams, see also 
756 
isarref manual, both for description and actual application of the 

757 
same. 

758 

759 
* Antiquotation @{value} evaluates the given term and presents its 

760 
result. 

761 

762 
* Antiquotations: term style "isub" provides adhoc conversion of 

763 
variables x1, y23 into subscripted form x\<^isub>1, 

764 
y\<^isub>2\<^isub>3. 

41651  765 

42484  766 
* Predefined LaTeX macros for Isabelle symbols \<bind> and \<then> 
767 
(e.g. see ~~/src/HOL/Library/Monad_Syntax.thy). 

768 

44967  769 
* Localized \isabellestyle switch can be used within blocks or groups 
770 
like this: 

771 

772 
\isabellestyle{it} %preferred default 

773 
{\isabellestylett @{text "typewriter stuff"}} 

774 

775 
* Discontinued special treatment of hard tabulators. Implicit 

776 
tabwidth is now defined as 1. Potential INCOMPATIBILITY for visual 

777 
layouts. 

44800  778 

41651  779 

41944
b97091ae583a
Path.print is the official way to show filesystem paths to users  note that Path.implode often indicates violation of the abstract datatype;
wenzelm
parents:
41886
diff
changeset

780 
*** ML *** 
b97091ae583a
Path.print is the official way to show filesystem paths to users  note that Path.implode often indicates violation of the abstract datatype;
wenzelm
parents:
41886
diff
changeset

781 

43731
70072780e095
inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
wenzelm
parents:
43709
diff
changeset

782 
* The inner syntax of sort/type/term/prop supports inlined YXML 
70072780e095
inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
wenzelm
parents:
43709
diff
changeset

783 
representations within quoted string tokens. By encoding logical 
70072780e095
inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
wenzelm
parents:
43709
diff
changeset

784 
entities via Term_XML (in ML or Scala) concrete syntax can be 
70072780e095
inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
wenzelm
parents:
43709
diff
changeset

785 
bypassed, which is particularly useful for producing bits of text 
70072780e095
inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
wenzelm
parents:
43709
diff
changeset

786 
under external program control. 
70072780e095
inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
wenzelm
parents:
43709
diff
changeset

787 

43565  788 
* Antiquotations for ML and document preparation are managed as theory 
789 
data, which requires explicit setup. 

790 

42897  791 
* Isabelle_Process.is_active allows tools to check if the official 
792 
process wrapper is running (Isabelle/Scala/jEdit) or the old TTY loop 

793 
(better known as Proof General). 

794 

42360  795 
* Structure Proof_Context follows standard naming scheme. Old 
796 
ProofContext is still available for some time as legacy alias. 

797 

42015
7b6e72a1b7dd
NEWS: structure Timing provides various operations for timing;
wenzelm
parents:
41999
diff
changeset

798 
* Structure Timing provides various operations for timing; supersedes 
7b6e72a1b7dd
NEWS: structure Timing provides various operations for timing;
wenzelm
parents:
41999
diff
changeset

799 
former start_timing/end_timing etc. 
7b6e72a1b7dd
NEWS: structure Timing provides various operations for timing;
wenzelm
parents:
41999
diff
changeset

800 

41944
b97091ae583a
Path.print is the official way to show filesystem paths to users  note that Path.implode often indicates violation of the abstract datatype;
wenzelm
parents:
41886
diff
changeset

801 
* Path.print is the official way to show filesystem paths to users 
b97091ae583a
Path.print is the official way to show filesystem paths to users  note that Path.implode often indicates violation of the abstract datatype;
wenzelm
parents:
41886
diff
changeset

802 
(including quotes etc.). 
b97091ae583a
Path.print is the official way to show filesystem paths to users  note that Path.implode often indicates violation of the abstract datatype;
wenzelm
parents:
41886
diff
changeset

803 

42056
160a630b2c7e
enable inner syntax source positions by default (controlled via configuration option);
wenzelm
parents:
42015
diff
changeset

804 
* Inner syntax: identifiers in parse trees of generic categories 
160a630b2c7e
enable inner syntax source positions by default (controlled via configuration option);
wenzelm
parents:
42015
diff
changeset

805 
"logic", "aprop", "idt" etc. carry position information (disguised as 
160a630b2c7e
enable inner syntax source positions by default (controlled via configuration option);
wenzelm
parents:
42015
diff
changeset

806 
type constraints). Occasional INCOMPATIBILITY with noncompliant 
42057
3eba96ff3d3e
more selective strip_positions in case patterns  reactivate translations based on "case _ of _" in HOL and special patterns in HOLCF;
wenzelm
parents:
42056
diff
changeset

807 
translations that choke on unexpected type constraints. Positions can 
3eba96ff3d3e
more selective strip_positions in case patterns  reactivate translations based on "case _ of _" in HOL and special patterns in HOLCF;
wenzelm
parents:
42056
diff
changeset

808 
be stripped in ML translations via Syntax.strip_positions / 
3eba96ff3d3e
more selective strip_positions in case patterns  reactivate translations based on "case _ of _" in HOL and special patterns in HOLCF;
wenzelm
parents:
42056
diff
changeset

809 
Syntax.strip_positions_ast, or via the syntax constant 
3eba96ff3d3e
more selective strip_positions in case patterns  reactivate translations based on "case _ of _" in HOL and special patterns in HOLCF;
wenzelm
parents:
42056
diff
changeset

810 
"_strip_positions" within parse trees. As last resort, positions can 
3eba96ff3d3e
more selective strip_positions in case patterns  reactivate translations based on "case _ of _" in HOL and special patterns in HOLCF;
wenzelm
parents:
42056
diff
changeset

811 
be disabled via the configuration option Syntax.positions, which is 
3eba96ff3d3e
more selective strip_positions in case patterns  reactivate translations based on "case _ of _" in HOL and special patterns in HOLCF;
wenzelm
parents:
42056
diff
changeset

812 
called "syntax_positions" in Isar attribute syntax. 
42056
160a630b2c7e
enable inner syntax source positions by default (controlled via configuration option);
wenzelm
parents:
42015
diff
changeset

813 

42290
b1f544c84040
discontinued special treatment of structure Lexicon;
wenzelm
parents:
42284
diff
changeset

814 
* Discontinued special status of various ML structures that contribute 
b1f544c84040
discontinued special treatment of structure Lexicon;
wenzelm
parents:
42284
diff
changeset

815 
to structure Syntax (Ast, Lexicon, Mixfix, Parser, Printer etc.): less 
b1f544c84040
discontinued special treatment of structure Lexicon;
wenzelm
parents:
42284
diff
changeset

816 
pervasive content, no inclusion in structure Syntax. INCOMPATIBILITY, 
b1f544c84040
discontinued special treatment of structure Lexicon;
wenzelm
parents:
42284
diff
changeset

817 
refer directly to Ast.Constant, Lexicon.is_identifier, 
b1f544c84040
discontinued special treatment of structure Lexicon;
wenzelm
parents:
42284
diff
changeset

818 
Syntax_Trans.mk_binder_tr etc. 
42224
578a51fae383
discontinued special treatment of structure Ast: no pervasive content, no inclusion in structure Syntax;
wenzelm
parents:
42180
diff
changeset

819 

42247
12fe41a92cd5
typed_print_translation: discontinued show_sorts argument;
wenzelm
parents:
42239
diff
changeset

820 
* Typed print translation: discontinued show_sorts argument, which is 
12fe41a92cd5
typed_print_translation: discontinued show_sorts argument;
wenzelm
parents:
42239
diff
changeset

821 
already available via context of "advanced" translation. 
12fe41a92cd5
typed_print_translation: discontinued show_sorts argument;
wenzelm
parents:
42239
diff
changeset

822 

42370  823 
* Refined PARALLEL_GOALS tactical: degrades gracefully for schematic 
824 
goal states; body tactic needs to address all subgoals uniformly. 

825 

42403
38b29c9fc742
slightly more special eq_list/eq_set, with shortcut involving pointer_eq;
wenzelm
parents:
42370
diff
changeset

826 
* Slightly more special eq_list/eq_set, with shortcut involving 
38b29c9fc742
slightly more special eq_list/eq_set, with shortcut involving pointer_eq;
wenzelm
parents:
42370
diff
changeset

827 
pointer equality (assumes that eq relation is reflexive). 
38b29c9fc742
slightly more special eq_list/eq_set, with shortcut involving pointer_eq;
wenzelm
parents:
42370
diff
changeset

828 

42793  829 
* Classical tactics use proper Proof.context instead of historic types 
830 
claset/clasimpset. Oldstyle declarations like addIs, addEs, addDs 

831 
operate directly on Proof.context. Raw type claset retains its use as 

832 
snapshot of the classical context, which can be recovered via 

833 
(put_claset HOL_cs) etc. Type clasimpset has been discontinued. 

834 
INCOMPATIBILITY, classical tactics and derived proof methods require 

835 
proper Proof.context. 

836 

44803  837 

838 
*** System *** 

839 

44968  840 
* Discontinued support for Poly/ML 5.2, which was the last version 
841 
without proper multithreading and TimeLimit implementation. 

842 

843 
* Discontinued old lib/scripts/polymlplatform, which has been 

844 
obsolete since Isabelle20092. 

845 

44967  846 
* Various optional external tools are referenced more robustly and 
847 
uniformly by explicit Isabelle settings as follows: 

848 

849 
ISABELLE_CSDP (formerly CSDP_EXE) 

850 
ISABELLE_GHC (formerly EXEC_GHC or GHC_PATH) 

851 
ISABELLE_OCAML (formerly EXEC_OCAML) 

852 
ISABELLE_SWIPL (formerly EXEC_SWIPL) 

853 
ISABELLE_YAP (formerly EXEC_YAP) 

854 

855 
Note that automated detection from the filesystem or search path has 

856 
been discontinued. INCOMPATIBILITY. 

857 

43752  858 
* Scala layer provides JVM method invocation service for static 
44800  859 
methods of type (String)String, see Invoke_Scala.method in ML. For 
860 
example: 

43752  861 

862 
Invoke_Scala.method "java.lang.System.getProperty" "java.home" 

863 

44967  864 
Together with YXML.string_of_body/parse_body and XML.Encode/Decode 
865 
this allows to pass structured values between ML and Scala. 

44800  866 

44803  867 
* The IsabelleText fonts includes some further glyphs to support the 
868 
Prover IDE. Potential INCOMPATIBILITY: users who happen to have 

869 
installed a local copy (which is normally *not* required) need to 

870 
delete or update it from ~~/lib/fonts/. 

41944
b97091ae583a
Path.print is the official way to show filesystem paths to users  note that Path.implode often indicates violation of the abstract datatype;
wenzelm
parents:
41886
diff
changeset

871 

41703
d27950860514
parallelization of nested Isar proofs is subject to Goal.parallel_proofs_threshold;
wenzelm
parents:
41685
diff
changeset

872 

45089  873 

41512  874 
New in Isabelle2011 (January 2011) 
875 
 

37383  876 

37536
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

877 
*** General *** 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

878 

41573  879 
* Experimental Prover IDE based on Isabelle/Scala and jEdit (see 
41612  880 
src/Tools/jEdit). This also serves as IDE for Isabelle/ML, with 
881 
useful tooltips and hyperlinks produced from its static analysis. The 

882 
bundled component provides an executable Isabelle tool that can be run 

883 
like this: 

884 

885 
Isabelle2011/bin/isabelle jedit 

41573  886 

40948  887 
* Significantly improved Isabelle/Isar implementation manual. 
888 

41594  889 
* System settings: ISABELLE_HOME_USER now includes ISABELLE_IDENTIFIER 
41595  890 
(and thus refers to something like $HOME/.isabelle/Isabelle2011), 
41594  891 
while the default heap location within that directory lacks that extra 
892 
suffix. This isolates multiple Isabelle installations from each 

893 
other, avoiding problems with old settings in new versions. 

894 
INCOMPATIBILITY, need to copy/upgrade old user settings manually. 

895 

40947  896 
* Source files are always encoded as UTF8, instead of oldfashioned 
897 
ISOLatin1. INCOMPATIBILITY. Isabelle LaTeX documents might require 

40948  898 
the following package declarations: 
40947  899 

900 
\usepackage[utf8]{inputenc} 

901 
\usepackage{textcomp} 

902 

41440  903 
* Explicit treatment of UTF8 sequences as Isabelle symbols, such that 
37536
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

904 
a Unicode character is treated as a single symbol, not a sequence of 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

905 
nonASCII bytes as before. Since Isabelle/ML string literals may 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

906 
contain symbols without further backslash escapes, Unicode can now be 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

907 
used here as well. Recall that Symbol.explode in ML provides a 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

908 
consistent view on symbols, while raw explode (or String.explode) 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

909 
merely give a byteoriented representation. 
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset

910 

41594  911 
* Theory loader: source files are primarily located via the master 
912 
directory of each theory node (where the .thy file itself resides). 

913 
The global load path is still partially available as legacy feature. 

914 
Minor INCOMPATIBILITY due to subtle change in file lookup: use 

915 
explicit paths, relatively to the theory. 

38135
2b9bfa0b44f1
theory loading: only the master source file is lookedup in the implicit load path;
wenzelm
parents:
38110
diff
changeset

916 

37939
965537d86fcc
discontinued special treatment of ML files  no longer complete extensions on demand;
wenzelm
parents:
37868
diff
changeset

917 
* Special treatment of ML file names has been discontinued. 
965537d86fcc
discontinued special treatment of ML files  no longer complete extensions on demand;
wenzelm
parents:
37868
diff
changeset

918 
Historically, optional extensions .ML or .sml were added on demand  
965537d86fcc
discontinued special treatment of ML files  no longer complete extensions on demand;
wenzelm
parents:
37868
diff
changeset

919 
at the cost of clarity of file dependencies. Recall that Isabelle/ML 
965537d86fcc
discontinued special treatment of ML files  no longer complete extensions on demand;
wenzelm
parents:
37868
diff
changeset

920 
files exclusively use the .ML extension. Minor INCOMPATIBILTY. 
965537d86fcc
discontinued special treatment of ML files  no longer complete extensions on demand;
wenzelm
parents:
37868
diff
changeset

921 

38980
af73cf0dc31f
turned show_question_marks into proper configuration option;
wenzelm
parents:
38864
diff
changeset

922 
* Various options that affect pretty printing etc. are now properly 
38767
d8da44a8dd25
proper context for various Thy_Output options, via official configuration options in ML and Isar;
wenzelm
parents:
38708
diff
changeset

923 
handled within the context via configuration options, instead of 
40879
ca132ef44944
configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents:
40878
diff
changeset

924 
unsynchronized references or print modes. There are both ML Config.T 
ca132ef44944
configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents:
40878
diff
changeset

925 
entities and Isar declaration attributes to access these. 
38767
d8da44a8dd25
proper context for various Thy_Output options, via official configuration options in ML and Isar;
wenzelm
parents:
38708
diff
changeset

926 

39125
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

927 
ML (Config.T) Isar (attribute) 
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

928 

39128
93a7365fb4ee
turned eta_contract into proper configuration option;
wenzelm
parents:
39126
diff
changeset

929 
eta_contract eta_contract 
39137
ccb53edd59f0
turned show_brackets into proper configuration option;
wenzelm
parents:
39134
diff
changeset

930 
show_brackets show_brackets 
39134
917b4b6ba3d2
turned show_sorts/show_types into proper configuration options;
wenzelm
parents:
39128
diff
changeset

931 
show_sorts show_sorts 
917b4b6ba3d2
turned show_sorts/show_types into proper configuration options;
wenzelm
parents:
39128
diff
changeset

932 
show_types show_types 
39126
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

933 
show_question_marks show_question_marks 
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

934 
show_consts show_consts 
40879
ca132ef44944
configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents:
40878
diff
changeset

935 
show_abbrevs show_abbrevs 
39126
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

936 

41379  937 
Syntax.ast_trace syntax_ast_trace 
938 
Syntax.ast_stat syntax_ast_stat 

39126
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

939 
Syntax.ambiguity_level syntax_ambiguity_level 
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

940 

ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

941 
Goal_Display.goals_limit goals_limit 
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

942 
Goal_Display.show_main_goal show_main_goal 
ee117c5b3b75
configuration options Syntax.ambiguity_enabled (inverse of former Syntax.ambiguity_is_error), Syntax.ambiguity_level (with Isar attribute "syntax_ambiguity_level"), Syntax.ambiguity_limit;
wenzelm
parents:
39125
diff
changeset

943 

41379  944 
Method.rule_trace rule_trace 
945 

39125
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

946 
Thy_Output.display thy_output_display 
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

947 
Thy_Output.quotes thy_output_quotes 
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

948 
Thy_Output.indent thy_output_indent 
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

949 
Thy_Output.source thy_output_source 
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

950 
Thy_Output.break thy_output_break 
f45d332a90e3
pretty_goals: turned some global references and function arguments into configuration options (goals_limit = 10, goals_total = true, show_main_goal = false) depending on the context;
wenzelm
parents:
39105
diff
changeset

951 

41440  952 
Note that corresponding "..._default" references in ML may only be 
38767
d8da44a8dd25
proper context for various Thy_Output options, via official configuration options in ML and Isar;
wenzelm
parents:
38708
diff
changeset

953 
changed globally at the ROOT session setup, but *not* within a theory. 
40879
ca132ef44944
configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents:
40878
diff
changeset

954 
The option "show_abbrevs" supersedes the former print mode 
ca132ef44944
configuration option "show_abbrevs" supersedes print mode "no_abbrevs", with inverted meaning;
wenzelm
parents:
40878
diff
changeset

955 
"no_abbrevs" with inverted meaning. 
38767
d8da44a8dd25
proper context for various Thy_Output options, via official configuration options in ML and Isar;
wenzelm
parents:
38708
diff
changeset

956 

40878
7695e4de4d86
renamed trace_simp to simp_trace, and debug_simp to simp_debug;
wenzelm
parents:
40866
diff
changeset

957 
* More systematic naming of some configuration options. 
41294  958 
INCOMPATIBILITY. 
40878
7695e4de4d86
renamed trace_simp to simp_trace, and debug_simp to simp_debug;
wenzelm
parents:
40866
diff
changeset

959 

7695e4de4d86
renamed trace_simp to simp_trace, and debug_simp to simp_debug;
wenzelm
parents:
40866
diff
changeset

960 
trace_simp ~> simp_trace 
7695e4de4d86
renamed trace_simp to simp_trace, and debug_simp to simp_debug;
wenzelm
parents:
40866
diff
changeset

961 
debug_simp ~> simp_debug 
7695e4de4d86
renamed trace_simp to simp_trace, and debug_simp to simp_debug;
wenzelm
parents:
40866
diff
changeset

962 

40291  963 
* Support for real valued configuration options, using simplistic 
964 
floatingpoint notation that coincides with the inner syntax for 

965 
float_token. 

966 

41594  967 
* Support for real valued preferences (with approximative PGIP type): 
968 
frontends need to accept "pgint" values in float notation. 

969 
INCOMPATIBILITY. 

41573  970 

971 
* The IsabelleText font now includes Cyrillic, Hebrew, Arabic from 

972 
DejaVu Sans. 

973 

41594  974 
* Discontinued support for Poly/ML 5.0 and 5.1 versions. 
975 

40948  976 

977 
*** Pure *** 

978 

41249
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset

979 
* Command 'type_synonym' (with single argument) replaces somewhat 
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset

980 
outdated 'types', which is still available as legacy feature for some 
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset

981 
time. 
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset

982 

26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset

983 
* Command 'nonterminal' (with 'and' separated list of arguments) 
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset

984 
replaces somewhat outdated 'nonterminals'. INCOMPATIBILITY. 
41229
d797baa3d57c
replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents:
41228
diff
changeset

985 

40965
54b6c9e1c157
command 'notepad' replaces former 'example_proof';
wenzelm
parents:
40959
diff
changeset

986 
* Command 'notepad' replaces former 'example_proof' for 
41020  987 
experimentation in Isar without any result. INCOMPATIBILITY. 
40965
54b6c9e1c157
command 'notepad' replaces former 'example_proof';
wenzelm
parents:
40959
diff
changeset

988 

41435  989 
* Locale interpretation commands 'interpret' and 'sublocale' accept 
990 
lists of equations to map definitions in a locale to appropriate 

991 
entities in the context of the interpretation. The 'interpretation' 

992 
command already provided this functionality. 

993 

41594  994 
* Diagnostic command 'print_dependencies' prints the locale instances 
995 
that would be activated if the specified expression was interpreted in 

996 
the current context. Variant "print_dependencies!" assumes a context 

997 
without interpretations. 

38110  998 

999 
* Diagnostic command 'print_interps' prints interpretations in proofs 

1000 
in addition to interpretations in theories. 

1001 

38708
8915e3ce8655
discontinued obsolete 'global' and 'local' commands;
wenzelm
parents:
38656
diff
changeset

1002 
* Discontinued obsolete 'global' and 'local' commands to manipulate 
8915e3ce8655
discontinued obsolete 'global' and 'local' commands;
wenzelm
parents:
38656
diff
changeset

1003 
the theory name space. Rare INCOMPATIBILITY. The ML functions 
8915e3ce8655
discontinued obsolete 'global' and 'local' commands;
wenzelm
parents:
38656
diff
changeset

1004 
Sign.root_path and Sign.local_path may be applied directly where this 
8915e3ce8655
discontinued obsolete 'global' and 'local' commands;
wenzelm
parents:
38656
diff
changeset

1005 
feature is still required for historical reasons. 
8915e3ce8655
discontinued obsolete 'global' and 'local' commands;
wenzelm
parents:
38656
diff
changeset

1006 

40948  1007 
* Discontinued obsolete 'constdefs' command. INCOMPATIBILITY, use 
39215  1008 
'definition' instead. 
1009 

41574  1010 
* The "prems" fact, which refers to the accidental collection of 
1011 
foundational premises in the context, is now explicitly marked as 

41594  1012 
legacy feature and will be discontinued soon. Consider using "assms" 
1013 
of the head statement or reference facts by explicit names. 

41574  1014 

40801  1015 
* Document antiquotations @{class} and @{type} print classes and type 
1016 
constructors. 

1017 

1018 
* Document antiquotation @{file} checks file/directory entries within 

1019 
the local file system. 

39305
d4fa19eb0822
'class' and 'type' are now antiquoations by default
haftmann
parents:
39277
diff
changeset

1020 

38110  1021 

37387
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset

1022 
*** HOL *** 
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset

1023 

41594  1024 
* Coercive subtyping: functions can be declared as coercions and type 
1025 
inference will add them as necessary upon input of a term. Theory 

1026 
Complex_Main declares real :: nat => real and real :: int => real as 

1027 
coercions. A coercion function f is declared like this: 

40939
2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1028 

2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1029 
declare [[coercion f]] 
40866  1030 

41571  1031 
To lift coercions through type constructors (e.g. from nat => real to 
40866  1032 
nat list => real list), map functions can be declared, e.g. 
1033 

40939
2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1034 
declare [[coercion_map map]] 
2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1035 

2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1036 
Currently coercion inference is activated only in theories including 
2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1037 
real numbers, i.e. descendants of Complex_Main. This is controlled by 
41020  1038 
the configuration option "coercion_enabled", e.g. it can be enabled in 
40939
2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1039 
other theories like this: 
2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1040 

2c150063cd4d
setup subtyping/coercions once in HOL.thy, but enable it only later via configuration option;
wenzelm
parents:
40927
diff
changeset

1041 
declare [[coercion_enabled]] 
40866  1042 

41571  1043 
* Command 'partial_function' provides basic support for recursive 
1044 
function definitions over complete partial orders. Concrete instances 

40183  1045 
are provided for i) the option type, ii) tail recursion on arbitrary 
41571  1046 
types, and iii) the heap monad of Imperative_HOL. See 
1047 
src/HOL/ex/Fundefs.thy and src/HOL/Imperative_HOL/ex/Linked_Lists.thy 

1048 
for examples. 

40183  1049 

41571  1050 
* Function package: f.psimps rules are no longer implicitly declared 
1051 
as [simp]. INCOMPATIBILITY. 

41398  1052 

1053 
* Datatype package: theorems generated for executable equality (class 

41571  1054 
"eq") carry proper names and are treated as default code equations. 
1055 

41594  1056 
* Inductive package: now offers command 'inductive_simps' to 
1057 
automatically derive instantiated and simplified equations for 

1058 
inductive predicates, similar to 'inductive_cases'. 

1059 

41571  1060 
* Command 'enriched_type' allows to register properties of the 
1061 
functorial structure of types. 

39771  1062 

39644  1063 
* Improved infrastructure for term evaluation using code generator 
1064 
techniques, in particular static evaluation conversions. 

1065 

41594  1066 
* Code generator: Scala (2.8 or higher) has been added to the target 
1067 
languages. 

1068 

41398  1069 
* Code generator: globbing constant expressions "*" and "Theory.*" 
1070 
have been replaced by the more idiomatic "_" and "Theory._". 

1071 
INCOMPATIBILITY. 

1072 

1073 
* Code generator: export_code without explicit file declaration prints 

1074 
to standard output. INCOMPATIBILITY. 

1075 

1076 
* Code generator: do not print function definitions for case 

1077 
combinators any longer. 

1078 

41594  1079 
* Code generator: simplification with rules determined with 
41571  1080 
src/Tools/Code/code_simp.ML and method "code_simp". 
1081 

41594  1082 
* Code generator for records: more idiomatic representation of record 
40948  1083 
types. Warning: records are not covered by ancient SML code 
1084 
generation any longer. INCOMPATIBILITY. In cases of need, a suitable 

1085 
rep_datatype declaration helps to succeed then: 

38537  1086 

1087 
record 'a foo = ... 

1088 
... 

1089 
rep_datatype foo_ext ... 

38535  1090 

41594  1091 
* Records: logical foundation type for records does not carry a 
1092 
'_type' suffix any longer (obsolete due to authentic syntax). 

1093 
INCOMPATIBILITY. 

1094 

41398  1095 
* Quickcheck now by default uses exhaustive testing instead of random 
41571  1096 
testing. Random testing can be invoked by "quickcheck [random]", 
1097 
exhaustive testing by "quickcheck [exhaustive]". 

41398  1098 

1099 
* Quickcheck instantiates polymorphic types with small finite 

1100 
datatypes by default. This enables a simple execution mechanism to 

1101 
handle quantifiers and function equality over the finite datatypes. 

1102 

41571  1103 
* Quickcheck random generator has been renamed from "code" to 
1104 
"random". INCOMPATIBILITY. 

41398  1105 

1106 
* Quickcheck now has a configurable time limit which is set to 30 

1107 
seconds by default. This can be changed by adding [timeout = n] to the 

1108 
quickcheck command. The time limit for Auto Quickcheck is still set 

1109 
independently. 

38461  1110 

1111 
* Quickcheck in locales considers interpretations of that locale for 

1112 
counter example search. 

1113 

40059
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1114 
* Sledgehammer: 
41571  1115 
 Added "smt" and "remote_smt" provers based on the "smt" proof 
1116 
method. See the Sledgehammer manual for details ("isabelle doc 

1117 
sledgehammer"). 

40059
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1118 
 Renamed commands: 
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1119 
sledgehammer atp_info ~> sledgehammer running_provers 
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1120 
sledgehammer atp_kill ~> sledgehammer kill_provers 
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1121 
sledgehammer available_atps ~> sledgehammer available_provers 
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1122 
INCOMPATIBILITY. 
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1123 
 Renamed options: 
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1124 
sledgehammer [atps = ...] ~> sledgehammer [provers = ...] 
40062  1125 
sledgehammer [atp = ...] ~> sledgehammer [prover = ...] 
40341
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1126 
sledgehammer [timeout = 77 s] ~> sledgehammer [timeout = 77] 
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1127 
(and "ms" and "min" are no longer supported) 
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1128 
INCOMPATIBILITY. 
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1129 

03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1130 
* Nitpick: 
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1131 
 Renamed options: 
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1132 
nitpick [timeout = 77 s] ~> nitpick [timeout = 77] 
03156257040f
standardize on seconds for Nitpick and Sledgehammer timeouts
blanchet
parents:
40318
diff
changeset

1133 
nitpick [tac_timeout = 777 ms] ~> nitpick [tac_timeout = 0.777] 
40059
6ad9081665db
use consistent terminology in Sledgehammer: "prover = ATP or SMT solver or ..."
blanchet
parents:
39993
diff
changeset

1134 
INCOMPATIBILITY. 
40725  1135 
 Added support for partial quotient types. 
1136 
 Added local versions of the "Nitpick.register_xxx" functions. 

1137 
 Added "whack" option. 

1138 
 Allow registration of quotient types as codatatypes. 

1139 
 Improved "merge_type_vars" option to merge more types. 

1140 
 Removed unsound "fast_descrs" option. 

1141 
 Added custom symmetry breaking for datatypes, making it possible to reach 

1142 
higher cardinalities. 

1143 
 Prevent the expansion of too large definitions. 

39957
2f2d90cc31a2
document latest changes to Meson/Metis/Sledgehammer
blanchet
parents:
39910
diff
changeset

1144 

41571  1145 
* Proof methods "metis" and "meson" now have configuration options 
1146 
"meson_trace", "metis_trace", and "metis_verbose" that can be enabled 

1147 
to diagnose these tools. E.g. 

1148 

1149 
using [[metis_trace = true]] 

1150 

41398  1151 
* Auto Solve: Renamed "Auto Solve Direct". The tool is now available 
1152 
manually as command 'solve_direct'. 

1153 

41601  1154 
* The default SMT solver Z3 must be enabled explicitly (due to 
1155 
licensing issues) by setting the environment variable 

41603  1156 
Z3_NON_COMMERCIAL in etc/settings of the component, for example. For 
1157 
commercial applications, the SMT solver CVC3 is provided as fallback; 

1158 
changing the SMT solver is done via the configuration option 

1159 
"smt_solver". 

41432
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1160 

3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1161 
* Remote SMT solvers need to be referred to by the "remote_" prefix, 
41571  1162 
i.e. "remote_cvc3" and "remote_z3". 
1163 

1164 
* Added basic SMT support for datatypes, records, and typedefs using 

1165 
the oracle mode (no proofs). Direct support of pairs has been dropped 

1166 
in exchange (pass theorems fst_conv snd_conv pair_collapse to the SMT 

1167 
support for a similar behavior). Minor INCOMPATIBILITY. 

41432
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1168 

40162
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1169 
* Changed SMT configuration options: 
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1170 
 Renamed: 
41432
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1171 
z3_proofs ~> smt_oracle (with inverted meaning) 
40162
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1172 
z3_trace_assms ~> smt_trace_used_facts 
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1173 
INCOMPATIBILITY. 
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1174 
 Added: 
40424
7550b2cba1cb
better modularization: moved SMT configuration options and diagnostics as well as SMT failure and exception into separate structures (both of which are loaded first and consequently are available to other SMT structures)
boehmes
parents:
40388
diff
changeset

1175 
smt_verbose 
41432
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1176 
smt_random_seed 
40424
7550b2cba1cb
better modularization: moved SMT configuration options and diagnostics as well as SMT failure and exception into separate structures (both of which are loaded first and consequently are available to other SMT structures)
boehmes
parents:
40388
diff
changeset

1177 
smt_datatypes 
41432
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1178 
smt_infer_triggers 
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1179 
smt_monomorph_limit 
40162
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1180 
cvc3_options 
41432
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1181 
remote_cvc3_options 
3214c39777ab
differentiate between local and remote SMT solvers (e.g., "z3" vs. "remote_z3");
boehmes
parents:
41430
diff
changeset

1182 
remote_z3_options 
40162
7f58a9a843c2
joined setup of SMT solvers in one place; turned Z3specific options into SMT options (renamed configuration options from z3_* to smt_*); more detailed SMT exception; improved SMT filter interface
boehmes
parents:
40128
diff
changeset

1183 
yices_options 
39957
2f2d90cc31a2
document latest changes to Meson/Metis/Sledgehammer
blanchet
parents:
39910
diff
changeset

1184 

40948  1185 
* Boogie output files (.b2i files) need to be declared in the theory 
1186 
header. 

40580
0592d3a39c08
require the b2i file ending in the boogie_open command (for consistency with the theory header)
boehmes
parents:
40424
diff
changeset

1187 

41594  1188 
* Simplification procedure "list_to_set_comprehension" rewrites list 
1189 
comprehensions applied to List.set to set comprehensions. Occasional 

1190 
INCOMPATIBILITY, may be deactivated like this: 

1191 

1192 
declare [[simproc del: list_to_set_comprehension]] 

1193 

41573  1194 
* Removed old version of primrec package. INCOMPATIBILITY. 
41398  1195 

1196 
* Removed simplifier congruence rule of "prod_case", as has for long 

1197 
been the case with "split". INCOMPATIBILITY. 

1198 

1199 
* String.literal is a type, but not a datatype. INCOMPATIBILITY. 

1200 

40388
cb9fd7dd641c
abolished obscure goal variant of [split_format]  unused (cf. d1c14898fd04), unrelated to '(complete)' variant, and not at all canonical
krauss
parents:
40387
diff
changeset

1201 
* Removed [split_format ... and ... and ...] version of 
cb9fd7dd641c
abolished obscure goal variant of [split_format]  unused (cf. d1c14898fd04), unrelated to '(complete)' variant, and not at all canonical
krauss
parents:
40387
diff
changeset

1202 
[split_format]. Potential INCOMPATIBILITY. 
cb9fd7dd641c
abolished obscure goal variant of [split_format]  unused (cf. d1c14898fd04), unrelated to '(complete)' variant, and not at all canonical
krauss
parents:
40387
diff
changeset

1203 

41571  1204 
* Predicate "sorted" now defined inductively, with nice induction 
1205 
rules. INCOMPATIBILITY: former sorted.simps now named sorted_simps. 

41398  1206 

1207 
* Constant "contents" renamed to "the_elem", to free the generic name 

1208 
contents for other uses. INCOMPATIBILITY. 

1209 

1210 
* Renamed class eq and constant eq (for code generation) to class 

1211 
equal and constant equal, plus renaming of related facts and various 

1212 
tuning. INCOMPATIBILITY. 

1213 

1214 
* Dropped type classes mult_mono and mult_mono1. INCOMPATIBILITY. 

1215 

41571  1216 
* Removed output syntax "'a ~=> 'b" for "'a => 'b option". 
1217 
INCOMPATIBILITY. 

41398  1218 

1219 
* Renamed theory Fset to Cset, type Fset.fset to Cset.set, in order to 

1220 
avoid confusion with finite sets. INCOMPATIBILITY. 

1221 

1222 
* Abandoned locales equiv, congruent and congruent2 for equivalence 

1223 
relations. INCOMPATIBILITY: use equivI rather than equiv_intro (same 

1224 
for congruent(2)). 

1225 

1226 
* Some previously unqualified names have been qualified: 

1227 

1228 
types 

1229 
bool ~> HOL.bool 

1230 
nat ~> Nat.nat 

1231 

1232 
constants 

1233 
Trueprop ~> HOL.Trueprop 

1234 
True ~> HOL.True 

1235 
False ~> HOL.False 

1236 
op & ~> HOL.conj 

1237 
op  ~> HOL.disj 

1238 
op > ~> HOL.implies 

1239 
op = ~> HOL.eq 

1240 
Not ~> HOL.Not 

1241 
The ~> HOL.The 

1242 
All ~> HOL.All 

1243 
Ex ~> HOL.Ex 

1244 
Ex1 ~> HOL.Ex1 

1245 
Let ~> HOL.Let 

1246 
If ~> HOL.If 

1247 
Ball ~> Set.Ball 

1248 
Bex ~> Set.Bex 

1249 
Suc ~> Nat.Suc 

1250 
Pair ~> Product_Type.Pair 

1251 
fst ~> Product_Type.fst 

1252 
snd ~> Product_Type.snd 

1253 
curry ~> Product_Type.curry 

1254 
op : ~> Set.member 

1255 
Collect ~> Set.Collect 

1256 

1257 
INCOMPATIBILITY. 

1258 

1259 
* More canonical naming convention for some fundamental definitions: 

1260 

1261 
bot_bool_eq ~> bot_bool_def 

1262 
top_bool_eq ~> top_bool_def 

1263 
inf_bool_eq ~> inf_bool_def 

1264 
sup_bool_eq ~> sup_bool_def 

1265 
bot_fun_eq ~> bot_fun_def 

1266 
top_fun_eq ~> top_fun_def 

1267 
inf_fun_eq ~> inf_fun_def 

1268 
sup_fun_eq ~> sup_fun_def 

1269 

1270 
INCOMPATIBILITY. 

1271 

1272 
* More stylized fact names: 

1273 

1274 
expand_fun_eq ~> fun_eq_iff 

1275 
expand_set_eq ~> set_eq_iff 

1276 
set_ext ~> set_eqI 

1277 
nat_number ~> eval_nat_numeral 

1278 

1279 
INCOMPATIBILITY. 

1280 

41571  1281 
* Refactoring of codegeneration specific operations in theory List: 
41398  1282 

1283 
constants 

1284 
null ~> List.null 

1285 

1286 
facts 

1287 
mem_iff ~> member_def 

1288 
null_empty ~> null_def 

1289 

1290 
INCOMPATIBILITY. Note that these were not supposed to be used 

1291 
regularly unless for striking reasons; their main purpose was code 

1292 
generation. 

1293 

1294 
Various operations from the Haskell prelude are used for generating 

1295 
Haskell code. 

1296 

41571  1297 
* Term "bij f" is now an abbreviation of "bij_betw f UNIV UNIV". Term 
1298 
"surj f" is now an abbreviation of "range f = UNIV". The theorems 

1299 
bij_def and surj_def are unchanged. INCOMPATIBILITY. 

41398  1300 

1301 
* Abolished some nonalphabetic type names: "prod" and "sum" replace 

1302 
"*" and "+" respectively. INCOMPATIBILITY. 

1303 

1304 
* Name "Plus" of disjoint sum operator "<+>" is now hidden. Write 

41571  1305 
"Sum_Type.Plus" instead. 
41398  1306 

1307 
* Constant "split" has been merged with constant "prod_case"; names of 

1308 
ML functions, facts etc. involving split have been retained so far, 

1309 
though. INCOMPATIBILITY. 

1310 

1311 
* Dropped old infix syntax "_ mem _" for List.member; use "_ : set _" 

1312 
instead. INCOMPATIBILITY. 

1313 

41571  1314 
* Removed lemma "Option.is_none_none" which duplicates "is_none_def". 
41398  1315 
INCOMPATIBILITY. 
1316 

41594  1317 
* Former theory Library/Enum is now part of the HOLMain image. 
1318 
INCOMPATIBILITY: all constants of the Enum theory now have to be 

1319 
referred to by its qualified name. 

1320 

1321 
enum ~> Enum.enum 

1322 
nlists ~> Enum.nlists 

1323 
product ~> Enum.product 

1324 

1325 
* Theory Library/Monad_Syntax provides dosyntax for monad types. 

1326 
Syntax in Library/State_Monad has been changed to avoid ambiguities. 

1327 
INCOMPATIBILITY. 

1328 

1329 
* Theory Library/SetsAndFunctions has been split into 

1330 
Library/Function_Algebras and Library/Set_Algebras; canonical names 

1331 
for instance definitions for functions; various improvements. 

1332 
INCOMPATIBILITY. 

1333 

1334 
* Theory Library/Multiset provides stable quicksort implementation of 

1335 
sort_key. 

1336 

1337 
* Theory Library/Multiset: renamed empty_idemp ~> empty_neutral. 

1338 
INCOMPATIBILITY. 

1339 

1340 
* Session Multivariate_Analysis: introduced a type class for euclidean 

1341 
space. Most theorems are now stated in terms of euclidean spaces 

1342 
instead of finite cartesian products. 

1343 

1344 
types 

1345 
real ^ 'n ~> 'a::real_vector 

1346 
~> 'a::euclidean_space 

1347 
~> 'a::ordered_euclidean_space 

1348 
(depends on your needs) 

1349 

1350 
constants 

1351 
_ $ _ ~> _ $$ _ 

1352 
\<chi> x. _ ~> \<chi>\<chi> x. _ 

1353 
CARD('n) ~> DIM('a) 

1354 

1355 
Also note that the indices are now natural numbers and not from some 

1356 
finite type. Finite cartesian products of euclidean spaces, products 

1357 
of euclidean spaces the real and complex numbers are instantiated to 

1358 
be euclidean_spaces. INCOMPATIBILITY. 

1359 

1360 
* Session Probability: introduced pextreal as positive extended real 

1361 
numbers. Use pextreal as value for measures. Introduce the 

1362 
RadonNikodym derivative, product spaces and Fubini's theorem for 

1363 
arbitrary sigma finite measures. Introduces Lebesgue measure based on 

1364 
the integral in Multivariate Analysis. INCOMPATIBILITY. 

1365 

1366 
* Session Imperative_HOL: revamped, corrected dozens of inadequacies. 

1367 
INCOMPATIBILITY. 

1368 

1369 
* Session SPARK (with image HOLSPARK) provides commands to load and 

1370 
prove verification conditions generated by the SPARK Ada program 

1371 
verifier. See also src/HOL/SPARK and src/HOL/SPARK/Examples. 

41567  1372 

40621  1373 

41433
1b8ff770f02c
Abelian group facts obtained from group facts via interpretation (sublocale).
ballarin
parents:
41432
diff
changeset

1374 
*** HOLAlgebra *** 
1b8ff770f02c
Abelian group facts obtained from group facts via interpretation (sublocale).
ballarin
parents:
41432
diff
changeset

1375 

1b8ff770f02c
Abelian group facts obtained from group facts via interpretation (sublocale).
ballarin
parents:
41432
diff
changeset

1376 
* Theorems for additive ring operations (locale abelian_monoid and 
1b8ff770f02c
Abelian group facts obtained from group facts via interpretation (sublocale).
ballarin
parents:
41432
diff
changeset

1377 
descendants) are generated by interpretation from their multiplicative 
41434
710cdb9e0d17
Documentation for 'interpret' and 'sublocale' with mixins.
ballarin
parents:
41433
diff
changeset

1378 
counterparts. Names (in particular theorem names) have the mandatory 
710cdb9e0d17
Documentation for 'interpret' and 'sublocale' with mixins.
ballarin
parents:
41433
diff
changeset

1379 
qualifier 'add'. Previous theorem names are redeclared for 
710cdb9e0d17
Documentation for 'interpret' and 'sublocale' with mixins.
ballarin
parents:
41433
diff
changeset

1380 
compatibility. 
710cdb9e0d17
Documentation for 'interpret' and 'sublocale' with mixins.
ballarin
parents:
41433
diff
changeset

1381 

41571  1382 
* Structure "int_ring" is now an abbreviation (previously a 
41434
710cdb9e0d17
Documentation for 'interpret' and 'sublocale' with mixins.
ballarin
parents:
41433
diff
changeset

1383 
definition). This fits more natural with advanced interpretations. 
41433
1b8ff770f02c
Abelian group facts obtained from group facts via interpretation (sublocale).
ballarin
parents:
41432
diff
changeset

1384 

1b8ff770f02c
Abelian group facts obtained from group facts via interpretation (sublocale).
ballarin
parents:
41432
diff
changeset

1385 

40621  1386 
*** HOLCF *** 
1387 

1388 
* The domain package now runs in definitional mode by default: The 

41571  1389 
former command 'new_domain' is now called 'domain'. To use the domain 
40621  1390 
package in its original axiomatic mode, use 'domain (unsafe)'. 
1391 
INCOMPATIBILITY. 

1392 

41571  1393 
* The new class "domain" is now the default sort. Class "predomain" 
1394 
is an unpointed version of "domain". Theories can be updated by 

1395 
replacing sort annotations as shown below. INCOMPATIBILITY. 

40621  1396 

1397 
'a::type ~> 'a::countable 

1398 
'a::cpo ~> 'a::predomain 

1399 
'a::pcpo ~> 'a::domain 

1400 

41571  1401 
* The old type class "rep" has been superseded by class "domain". 
40621  1402 
Accordingly, users of the definitional package must remove any 
41571  1403 
"default_sort rep" declarations. INCOMPATIBILITY. 
40621
86f598f84188
accumulated NEWS updates for HOLC 