author  hoelzl 
Thu, 01 Dec 2011 15:41:58 +0100  
changeset 45714  ad4242285560 
parent 45707  6bf7eec9b153 
child 45748  cf79cc09cab4 
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. 
39 
Use commands of the generic code generator instead. INCOMPATIBILITY. 

40 

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

42 
'code_unfold' instead. INCOMPATIBILITY. 

43 

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

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

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

46 
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

47 

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

48 
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

49 

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

50 
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

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

52 

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

53 

45122  54 
*** HOL *** 
55 

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

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

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

58 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

79 
word_diff_self ~> diff_self 
6dd3e88de4c2
HOLWord: removed many duplicate theorems (see NEWS)
huffman
parents:
45516
diff
changeset

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

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

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

83 
word_times_ac1 ~> mult_1_left mult_1_right mult_ac 
45547  84 
word_order_trans ~> order_trans 
85 
word_order_refl ~> order_refl 

86 
word_order_antisym ~> order_antisym 

87 
word_order_linear ~> linorder_linear 

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

88 

45384
dffa657f0aa2
clarified attribute "mono_set": pure declaration, proper export in ML;
wenzelm
parents:
45383
diff
changeset

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

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

91 

45383  92 
* "Transitive_Closure.ntrancl": bounded transitive closure on 
93 
relations. 

94 

95 
* Constant "Set.not_member" now qualifed. INCOMPATIBILITY. 

96 

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

45143  98 

45122  99 
* Theory Int: Discontinued many legacy theorems specific to type int. 
45383  100 
INCOMPATIBILITY, use the corresponding generic theorems instead. 
45122  101 

102 
zminus_zminus ~> minus_minus 

103 
zminus_0 ~> minus_zero 

104 
zminus_zadd_distrib ~> minus_add_distrib 

105 
zadd_commute ~> add_commute 

106 
zadd_assoc ~> add_assoc 

107 
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

108 
zadd_ac ~> add_ac 
45122  109 
zmult_ac ~> mult_ac 
110 
zadd_0 ~> add_0_left 

111 
zadd_0_right ~> add_0_right 

112 
zadd_zminus_inverse2 ~> left_minus 

113 
zmult_zminus ~> mult_minus_left 

114 
zmult_commute ~> mult_commute 

115 
zmult_assoc ~> mult_assoc 

116 
zadd_zmult_distrib ~> left_distrib 

117 
zadd_zmult_distrib2 ~> right_distrib 

118 
zdiff_zmult_distrib ~> left_diff_distrib 

119 
zdiff_zmult_distrib2 ~> right_diff_distrib 

120 
zmult_1 ~> mult_1_left 

121 
zmult_1_right ~> mult_1_right 

122 
zle_refl ~> order_refl 

123 
zle_trans ~> order_trans 

124 
zle_antisym ~> order_antisym 

125 
zle_linear ~> linorder_linear 

126 
zless_linear ~> linorder_less_linear 

127 
zadd_left_mono ~> add_left_mono 

128 
zadd_strict_right_mono ~> add_strict_right_mono 

129 
zadd_zless_mono ~> add_less_le_mono 

130 
int_0_less_1 ~> zero_less_one 

131 
int_0_neq_1 ~> zero_neq_one 

132 
zless_le ~> less_le 

133 
zpower_zadd_distrib ~> power_add 

134 
zero_less_zpower_abs_iff ~> zero_less_power_abs_iff 

135 
zero_le_zpower_abs ~> zero_le_power_abs 

136 

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

139 

140 
list.exhaust [case_product nat.exhaust] 

141 

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

143 
a list and a nat. 

144 

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

145 
* Nitpick: 
45516  146 
 Fixed infinite loop caused by the 'peephole_optim' option and 
147 
affecting 'rat' and 'real'. 

148 

149 
* Sledgehammer: 

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

150 
 Added "lam_trans" and "minimize" options. 
45706  151 
 Renamed "slicing" ("no_slicing") option to "slice" ("dont_slice"). 
45516  152 

153 
* Metis: 

154 
 Added possibility to specify lambda translations scheme as a 

155 
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

156 

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

157 

45160  158 
*** FOL *** 
159 

45383  160 
* New "case_product" attribute (see HOL). 
45160  161 

45109  162 

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

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

164 

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

167 
declarations like Local_Theory.note. 

168 

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

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

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

171 

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

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

173 
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

174 
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

175 

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

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

177 

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

178 
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

179 
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

180 
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

181 
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

182 
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

183 
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

184 
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

185 
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

186 
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

187 
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

188 
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

189 
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

190 

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

191 

45109  192 

44801  193 
New in Isabelle20111 (October 2011) 
194 
 

41651  195 

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

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

197 

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

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

204 

44777  205 
 Markup of formal entities within the text buffer, with semantic 
44760  206 
highlighting, tooltips and hyperlinks to jump to defining source 
207 
positions. 

208 

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

211 
theory output and other nonIsabelle text boxes). 

212 

213 
 Refined scheduling of proof checking and printing of results, 

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

216 

44777  217 
 Reduced CPU performance requirements, usable on machines with few 
44760  218 
cores. 
219 

44777  220 
 Reduced memory requirements due to pruning of unused document 
44760  221 
versions (garbage collection). 
222 

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

224 
including some remaining limitations. 

225 

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

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

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

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

231 
INCOMPATIBILITY. 

232 

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

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

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

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

236 

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

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

238 
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

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

240 

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

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

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

243 

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

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

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

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

247 

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

248 
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

249 

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

250 
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

251 

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

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

255 

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

258 

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

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

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

263 
"Classical Reasoner". 

42633  264 

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

265 

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

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

267 

44968  268 
* Class bot and top require underlying partial order rather than 
44800  269 
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

270 

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

274 
Inf_less_iff, less_Sup_iff, INF_less_iff, less_SUP_iff now reside in 

275 
class complete_linorder. 

276 

277 
Changed proposition of lemmas Inf_bool_def, Sup_bool_def, Inf_fun_def, 

278 
Sup_fun_def, Inf_apply, Sup_apply. 

279 

45088  280 
Removed redundant lemmas (the right hand side gives hints how to 
281 
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

282 

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

283 
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

284 
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

285 
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

286 
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

287 
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

288 
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

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

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

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

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

293 
INF_subset ~> INF_superset_mono [OF _ order_refl] 
44800  294 

295 
More consistent and comprehensive names: 

296 

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

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

298 
UNION_eq_Union_image ~> SUP_def 
43872  299 
INFI_def ~> INF_def 
300 
SUPR_def ~> SUP_def 

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

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

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

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

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

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

306 
SUP_leI ~> SUP_least 
43873  307 
INFI_bool_eq ~> INF_bool_eq 
308 
SUPR_bool_eq ~> SUP_bool_eq 

309 
INFI_apply ~> INF_apply 

310 
SUPR_apply ~> SUP_apply 

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

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

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

313 

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

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

315 

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

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

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

318 

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

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

320 
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

321 
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

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

323 

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

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

325 
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

326 
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

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

328 

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

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

332 

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

335 
UN_ball_bex_simps. INCOMPATIBILITY. 

336 

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

338 
separate type class floor_ceiling. 

339 

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

42874  341 

342 
locale fun_left_comm ~> locale comp_fun_commute 

343 
locale fun_left_comm_idem ~> locale comp_fun_idem 

44800  344 

345 
Both use pointfree characterization; interpretation proofs may need 

346 
adjustment. INCOMPATIBILITY. 

42874  347 

44800  348 
* 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

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

350 

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

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

354 
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

355 

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

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

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

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

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

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

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

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

363 

44800  364 
* 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

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

366 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

386 
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

387 
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

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

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

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

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

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

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

394 
exp_ln_eq ~> ln_unique 
44711  395 
expi_add ~> exp_add 
396 
expi_zero ~> exp_zero 

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

397 
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

398 
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

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

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

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

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

403 
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

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

405 
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

406 
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

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

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

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

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

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

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

413 
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

414 
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

415 
LIMSEQ_imp_rabs ~> tendsto_rabs 
44710  416 
LIMSEQ_add_minus ~> tendsto_add [OF _ tendsto_minus] 
417 
LIMSEQ_add_const ~> tendsto_add [OF _ tendsto_const] 

418 
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

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

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

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

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

423 
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

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

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

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

427 
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

428 
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

429 
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

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

431 
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

432 
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

433 
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

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

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

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

437 
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

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

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

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

441 
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

442 
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

443 
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

444 
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

445 
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

446 
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

447 
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

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

449 

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

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

42484  453 

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

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

457 

44968  458 
* Code generation: 
459 

460 
 Theory Library/Code_Char_ord provides native ordering of 

461 
characters in the target language. 

462 

463 
 Commands code_module and code_library are legacy, use export_code 

464 
instead. 

465 

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

467 

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

469 
reactivated by the following theory command: 

470 

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

472 

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

474 

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

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

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

479 
syntax. 

480 

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

483 

484 
* Nitpick: 

485 
 Added "need" and "total_consts" options. 

486 
 Reintroduced "show_skolems" option by popular demand. 

487 
 Renamed attribute: nitpick_def ~> nitpick_unfold. 

488 
INCOMPATIBILITY. 

489 

490 
* Sledgehammer: 

491 
 Use quasisound (and efficient) translations by default. 

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

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

494 
 Automatically preplay and minimize proofs before showing them if 

495 
this can be done within reasonable time. 

496 
 sledgehammer available_provers ~> sledgehammer supported_provers. 

497 
INCOMPATIBILITY. 

498 
 Added "preplay_timeout", "slicing", "type_enc", "sound", 

499 
"max_mono_iters", and "max_new_mono_instances" options. 

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

501 
Types" Proof General menu item. INCOMPATIBILITY. 

502 

503 
* Metis: 

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

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

506 
INCOMPATIBILITY. 

507 

508 
* Command 'try': 

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

510 
"elim:" options. INCOMPATIBILITY. 

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

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

513 

514 
* Quickcheck: 

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

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

517 
 Added postprocessing of terms to obtain readable counterexamples 

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

519 
 New counterexample generator quickcheck[narrowing] enables 

520 
narrowingbased testing. Requires the Glasgow Haskell compiler 

521 
with its installation location defined in the Isabelle settings 

522 
environment as ISABELLE_GHC. 

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

524 
(formly in HOL/Library). 

525 

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

527 
use 'partial_function' instead. 

528 

529 
* Theory Library/Extended_Reals replaces now the positive extended 

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

531 
Multivariate_Analysis/Extended_Real_Limits. 

532 

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

535 
INCOMPATIBILITY. 

44968  536 

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

538 
been moved here. INCOMPATIBILITY. 

539 

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

541 
arithmetic. 

542 

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

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

545 
and lattice type classes. 

546 

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

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

549 

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

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

552 

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

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

555 
abstract type. INCOMPATIBILITY. 

556 

557 
 RBT is split into RBT and RBT_Mapping. 

558 
 AssocList is split and renamed into AList and AList_Mapping. 

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

560 
 Cset is split into Cset and List_Cset. 

561 

562 
* Theory Library/Nat_Infinity has been renamed to 

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

564 
constants: 

565 

566 
type inat ~> type enat 

567 
Fin ~> enat 

568 
Infty ~> infinity (overloaded) 

569 
iSuc ~> eSuc 

570 
the_Fin ~> the_enat 

571 

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

573 
been renamed accordingly. INCOMPATIBILITY. 

574 

575 
* Session Multivariate_Analysis: The euclidean_space type class now 

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

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

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

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

580 

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

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

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

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

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

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

587 
been renamed as follows (INCOMPATIBILITY): 

588 

589 
Cart_eq ~> vec_eq_iff 

590 
dist_nth_le_cart ~> dist_vec_nth_le 

591 
tendsto_vector ~> vec_tendstoI 

592 
Cauchy_vector ~> vec_CauchyI 

593 

594 
* Session Multivariate_Analysis: Several duplicate theorems have been 

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

596 
general versions. INCOMPATIBILITY. 

597 

598 
finite_choice ~> finite_set_choice 

599 
eventually_conjI ~> eventually_conj 

600 
eventually_and ~> eventually_conj_iff 

601 
eventually_false ~> eventually_False 

602 
setsum_norm ~> norm_setsum 

603 
Lim_sequentially ~> LIMSEQ_def 

604 
Lim_ident_at ~> LIM_ident 

605 
Lim_const ~> tendsto_const 

606 
Lim_cmul ~> tendsto_scaleR [OF tendsto_const] 

607 
Lim_neg ~> tendsto_minus 

608 
Lim_add ~> tendsto_add 

609 
Lim_sub ~> tendsto_diff 

610 
Lim_mul ~> tendsto_scaleR 

611 
Lim_vmul ~> tendsto_scaleR [OF _ tendsto_const] 

612 
Lim_null_norm ~> tendsto_norm_zero_iff [symmetric] 

613 
Lim_linear ~> bounded_linear.tendsto 

614 
Lim_component ~> tendsto_euclidean_component 

615 
Lim_component_cart ~> tendsto_vec_nth 

616 
Lim_inner ~> tendsto_inner [OF tendsto_const] 

617 
dot_lsum ~> inner_setsum_left 

618 
dot_rsum ~> inner_setsum_right 

619 
continuous_cmul ~> continuous_scaleR [OF continuous_const] 

620 
continuous_neg ~> continuous_minus 

621 
continuous_sub ~> continuous_diff 

622 
continuous_vmul ~> continuous_scaleR [OF _ continuous_const] 

623 
continuous_mul ~> continuous_scaleR 

624 
continuous_inv ~> continuous_inverse 

625 
continuous_at_within_inv ~> continuous_at_within_inverse 

626 
continuous_at_inv ~> continuous_at_inverse 

627 
continuous_at_norm ~> continuous_norm [OF continuous_at_id] 

628 
continuous_at_infnorm ~> continuous_infnorm [OF continuous_at_id] 

629 
continuous_at_component ~> continuous_component [OF continuous_at_id] 

630 
continuous_on_neg ~> continuous_on_minus 

631 
continuous_on_sub ~> continuous_on_diff 

632 
continuous_on_cmul ~> continuous_on_scaleR [OF continuous_on_const] 

633 
continuous_on_vmul ~> continuous_on_scaleR [OF _ continuous_on_const] 

634 
continuous_on_mul ~> continuous_on_scaleR 

635 
continuous_on_mul_real ~> continuous_on_mult 

636 
continuous_on_inner ~> continuous_on_inner [OF continuous_on_const] 

637 
continuous_on_norm ~> continuous_on_norm [OF continuous_on_id] 

638 
continuous_on_inverse ~> continuous_on_inv 

639 
uniformly_continuous_on_neg ~> uniformly_continuous_on_minus 

640 
uniformly_continuous_on_sub ~> uniformly_continuous_on_diff 

641 
subset_interior ~> interior_mono 

642 
subset_closure ~> closure_mono 

643 
closure_univ ~> closure_UNIV 

644 
real_arch_lt ~> reals_Archimedean2 

645 
real_arch ~> reals_Archimedean3 

646 
real_abs_norm ~> abs_norm_cancel 

647 
real_abs_sub_norm ~> norm_triangle_ineq3 

648 
norm_cauchy_schwarz_abs ~> Cauchy_Schwarz_ineq2 

649 

650 
* Session HOLProbability: 

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

652 
 Infinite products of probability measures are now available. 

653 
 Sigma closure is independent, if the generator is independent 

654 
 Use extended reals instead of positive extended 

655 
reals. INCOMPATIBILITY. 

656 

45049  657 
* Session HOLCF: Discontinued legacy theorem names, INCOMPATIBILITY. 
658 

659 
expand_fun_below ~> fun_below_iff 

660 
below_fun_ext ~> fun_belowI 

661 
expand_cfun_eq ~> cfun_eq_iff 

662 
ext_cfun ~> cfun_eqI 

663 
expand_cfun_below ~> cfun_below_iff 

664 
below_cfun_ext ~> cfun_belowI 

665 
monofun_fun_fun ~> fun_belowD 

666 
monofun_fun_arg ~> monofunE 

667 
monofun_lub_fun ~> adm_monofun [THEN admD] 

668 
cont_lub_fun ~> adm_cont [THEN admD] 

669 
cont2cont_Rep_CFun ~> cont2cont_APP 

670 
cont_Rep_CFun_app ~> cont_APP_app 

671 
cont_Rep_CFun_app_app ~> cont_APP_app_app 

672 
cont_cfun_fun ~> cont_Rep_cfun1 [THEN contE] 

673 
cont_cfun_arg ~> cont_Rep_cfun2 [THEN contE] 

674 
contlub_cfun ~> lub_APP [symmetric] 

675 
contlub_LAM ~> lub_LAM [symmetric] 

676 
thelubI ~> lub_eqI 

677 
UU_I ~> bottomI 

678 
lift_distinct1 ~> lift.distinct(1) 

679 
lift_distinct2 ~> lift.distinct(2) 

680 
Def_not_UU ~> lift.distinct(2) 

681 
Def_inject ~> lift.inject 

682 
below_UU_iff ~> below_bottom_iff 

683 
eq_UU_iff ~> eq_bottom_iff 

684 

44903  685 

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

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

687 

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

690 
same. 

691 

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

693 
result. 

694 

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

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

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

41651  698 

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

701 

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

704 

705 
\isabellestyle{it} %preferred default 

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

707 

708 
* Discontinued special treatment of hard tabulators. Implicit 

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

710 
layouts. 

44800  711 

41651  712 

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

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

714 

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

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

716 
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

717 
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

718 
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

719 
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

720 

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

723 

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

726 
(better known as Proof General). 

727 

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

730 

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

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

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

733 

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

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

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

736 

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

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

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

739 
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

740 
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

741 
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

742 
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

743 
"_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

744 
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

745 
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

746 

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

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

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

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

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

751 
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

752 

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

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

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

755 

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

758 

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

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

760 
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

761 

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

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

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

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

767 
INCOMPATIBILITY, classical tactics and derived proof methods require 

768 
proper Proof.context. 

769 

44803  770 

771 
*** System *** 

772 

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

775 

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

777 
obsolete since Isabelle20092. 

778 

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

781 

782 
ISABELLE_CSDP (formerly CSDP_EXE) 

783 
ISABELLE_GHC (formerly EXEC_GHC or GHC_PATH) 

784 
ISABELLE_OCAML (formerly EXEC_OCAML) 

785 
ISABELLE_SWIPL (formerly EXEC_SWIPL) 

786 
ISABELLE_YAP (formerly EXEC_YAP) 

787 

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

789 
been discontinued. INCOMPATIBILITY. 

790 

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

43752  794 

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

796 

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

44800  799 

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

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

803 
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

804 

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

805 

45089  806 

41512  807 
New in Isabelle2011 (January 2011) 
808 
 

37383  809 

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

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

811 

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

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

816 
like this: 

817 

818 
Isabelle2011/bin/isabelle jedit 

41573  819 

40948  820 
* Significantly improved Isabelle/Isar implementation manual. 
821 

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

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

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

828 

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

40948  831 
the following package declarations: 
40947  832 

833 
\usepackage[utf8]{inputenc} 

834 
\usepackage{textcomp} 

835 

41440  836 
* 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

837 
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

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

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

840 
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

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

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

843 

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

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

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

848 
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

849 

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

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

851 
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

852 
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

853 
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

854 

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

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

856 
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

857 
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

858 
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

859 

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

860 
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

861 

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

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

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

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

865 
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

866 
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

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

868 
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

869 

41379  870 
Syntax.ast_trace syntax_ast_trace 
871 
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

872 
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

873 

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

874 
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

875 
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

876 

41379  877 
Method.rule_trace rule_trace 
878 

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

879 
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

880 
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

881 
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

882 
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

883 
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

884 

41440  885 
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

886 
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

887 
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

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

889 

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

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

892 

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

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

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

895 

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

898 
float_token. 

899 

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

902 
INCOMPATIBILITY. 

41573  903 

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

905 
DejaVu Sans. 

906 

41594  907 
* Discontinued support for Poly/ML 5.0 and 5.1 versions. 
908 

40948  909 

910 
*** Pure *** 

911 

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

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

913 
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

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

915 

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

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

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

918 

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

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

921 

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

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

925 
command already provided this functionality. 

926 

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

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

930 
without interpretations. 

38110  931 

932 
* Diagnostic command 'print_interps' prints interpretations in proofs 

933 
in addition to interpretations in theories. 

934 

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

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

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

937 
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

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

939 

40948  940 
* Discontinued obsolete 'constdefs' command. INCOMPATIBILITY, use 
39215  941 
'definition' instead. 
942 

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

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

41574  947 

40801  948 
* Document antiquotations @{class} and @{type} print classes and type 
949 
constructors. 

950 

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

952 
the local file system. 

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

953 

38110  954 

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

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

956 

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

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

960 
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

961 

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

962 
declare [[coercion f]] 
40866  963 

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

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

967 
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

968 

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

969 
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

970 
real numbers, i.e. descendants of Complex_Main. This is controlled by 
41020  971 
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

972 
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

973 

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

974 
declare [[coercion_enabled]] 
40866  975 

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

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

981 
for examples. 

40183  982 

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

41398  985 

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

41571  987 
"eq") carry proper names and are treated as default code equations. 
988 

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

991 
inductive predicates, similar to 'inductive_cases'. 

992 

41571  993 
* Command 'enriched_type' allows to register properties of the 
994 
functorial structure of types. 

39771  995 

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

998 

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

1001 

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

1004 
INCOMPATIBILITY. 

1005 

1006 
* Code generator: export_code without explicit file declaration prints 

1007 
to standard output. INCOMPATIBILITY. 

1008 

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

1010 
combinators any longer. 

1011 

41594  1012 
* Code generator: simplification with rules determined with 
41571  1013 
src/Tools/Code/code_simp.ML and method "code_simp". 
1014 

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

1018 
rep_datatype declaration helps to succeed then: 

38537  1019 

1020 
record 'a foo = ... 

1021 
... 

1022 
rep_datatype foo_ext ... 

38535  1023 

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

1026 
INCOMPATIBILITY. 

1027 

41398  1028 
* Quickcheck now by default uses exhaustive testing instead of random 
41571  1029 
testing. Random testing can be invoked by "quickcheck [random]", 
1030 
exhaustive testing by "quickcheck [exhaustive]". 

41398  1031 

1032 
* Quickcheck instantiates polymorphic types with small finite 

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

1034 
handle quantifiers and function equality over the finite datatypes. 

1035 

41571  1036 
* Quickcheck random generator has been renamed from "code" to 
1037 
"random". INCOMPATIBILITY. 

41398  1038 

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

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

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

1042 
independently. 

38461  1043 

1044 
* Quickcheck in locales considers interpretations of that locale for 

1045 
counter example search. 

1046 

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

1047 
* Sledgehammer: 
41571  1048 
 Added "smt" and "remote_smt" provers based on the "smt" proof 
1049 
method. See the Sledgehammer manual for details ("isabelle doc 

1050 
sledgehammer"). 

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

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

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

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

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

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

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

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

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

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

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

1062 

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

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

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

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

1066 
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

1067 
INCOMPATIBILITY. 
40725  1068 
 Added support for partial quotient types. 
1069 
 Added local versions of the "Nitpick.register_xxx" functions. 

1070 
 Added "whack" option. 

1071 
 Allow registration of quotient types as codatatypes. 

1072 
 Improved "merge_type_vars" option to merge more types. 

1073 
 Removed unsound "fast_descrs" option. 

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

1075 
higher cardinalities. 

1076 
 Prevent the expansion of too large definitions. 

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

1077 

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

1080 
to diagnose these tools. E.g. 

1081 

1082 
using [[metis_trace = true]] 

1083 

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

1086 

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

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

1091 
changing the SMT solver is done via the configuration option 

1092 
"smt_solver". 

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

1093 

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

1094 
* Remote SMT solvers need to be referred to by the "remote_" prefix, 
41571  1095 
i.e. "remote_cvc3" and "remote_z3". 
1096 

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

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

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

1100 
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

1101 

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

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

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

1104 
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

1105 
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

1106 
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

1107 
 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

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

1109 
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

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

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

1112 
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

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

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

1115 
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

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

1117 

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

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

1120 

41594  1121 
* Simplification procedure "list_to_set_comprehension" rewrites list 
1122 
comprehensions applied to List.set to set comprehensions. Occasional 

1123 
INCOMPATIBILITY, may be deactivated like this: 

1124 

1125 
declare [[simproc del: list_to_set_comprehension]] 

1126 

41573  1127 
* Removed old version of primrec package. INCOMPATIBILITY. 
41398  1128 

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

1130 
been the case with "split". INCOMPATIBILITY. 

1131 

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

1133 

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

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

1135 
[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

1136 

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

41398  1139 

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

1141 
contents for other uses. INCOMPATIBILITY. 

1142 

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

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

1145 
tuning. INCOMPATIBILITY. 

1146 

1147 
* Dropped type classes mult_mono and mult_mono1. INCOMPATIBILITY. 

1148 

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

41398  1151 

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

1153 
avoid confusion with finite sets. INCOMPATIBILITY. 

1154 

1155 
* Abandoned locales equiv, congruent and congruent2 for equivalence 

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

1157 
for congruent(2)). 

1158 

1159 
* Some previously unqualified names have been qualified: 

1160 

1161 
types 

1162 
bool ~> HOL.bool 

1163 
nat ~> Nat.nat 

1164 

1165 
constants 

1166 
Trueprop ~> HOL.Trueprop 

1167 
True ~> HOL.True 

1168 
False ~> HOL.False 

1169 
op & ~> HOL.conj 

1170 
op  ~> HOL.disj 

1171 
op > ~> HOL.implies 

1172 
op = ~> HOL.eq 

1173 
Not ~> HOL.Not 

1174 
The ~> HOL.The 

1175 
All ~> HOL.All 

1176 
Ex ~> HOL.Ex 

1177 
Ex1 ~> HOL.Ex1 

1178 
Let ~> HOL.Let 

1179 
If ~> HOL.If 

1180 
Ball ~> Set.Ball 

1181 
Bex ~> Set.Bex 

1182 
Suc ~> Nat.Suc 

1183 
Pair ~> Product_Type.Pair 

1184 
fst ~> Product_Type.fst 

1185 
snd ~> Product_Type.snd 

1186 
curry ~> Product_Type.curry 

1187 
op : ~> Set.member 

1188 
Collect ~> Set.Collect 

1189 

1190 
INCOMPATIBILITY. 

1191 

1192 
* More canonical naming convention for some fundamental definitions: 

1193 

1194 
bot_bool_eq ~> bot_bool_def 

1195 
top_bool_eq ~> top_bool_def 

1196 
inf_bool_eq ~> inf_bool_def 

1197 
sup_bool_eq ~> sup_bool_def 

1198 
bot_fun_eq ~> bot_fun_def 

1199 
top_fun_eq ~> top_fun_def 

1200 
inf_fun_eq ~> inf_fun_def 

1201 
sup_fun_eq ~> sup_fun_def 

1202 

1203 
INCOMPATIBILITY. 

1204 

1205 
* More stylized fact names: 

1206 

1207 
expand_fun_eq ~> fun_eq_iff 

1208 
expand_set_eq ~> set_eq_iff 

1209 
set_ext ~> set_eqI 

1210 
nat_number ~> eval_nat_numeral 

1211 

1212 
INCOMPATIBILITY. 

1213 

41571  1214 
* Refactoring of codegeneration specific operations in theory List: 
41398  1215 

1216 
constants 

1217 
null ~> List.null 

1218 

1219 
facts 

1220 
mem_iff ~> member_def 

1221 
null_empty ~> null_def 

1222 

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

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

1225 
generation. 

1226 

1227 
Various operations from the Haskell prelude are used for generating 

1228 
Haskell code. 

1229 

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

1232 
bij_def and surj_def are unchanged. INCOMPATIBILITY. 

41398  1233 

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

1235 
"*" and "+" respectively. INCOMPATIBILITY. 

1236 

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

41571  1238 
"Sum_Type.Plus" instead. 
41398  1239 

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

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

1242 
though. INCOMPATIBILITY. 

1243 

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

1245 
instead. INCOMPATIBILITY. 

1246 

41571  1247 
* Removed lemma "Option.is_none_none" which duplicates "is_none_def". 
41398  1248 
INCOMPATIBILITY. 
1249 

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

1252 
referred to by its qualified name. 

1253 

1254 
enum ~> Enum.enum 

1255 
nlists ~> Enum.nlists 

1256 
product ~> Enum.product 

1257 

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

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

1260 
INCOMPATIBILITY. 

1261 

1262 
* Theory Library/SetsAndFunctions has been split into 

1263 
Library/Function_Algebras and Library/Set_Algebras; canonical names 

1264 
for instance definitions for functions; various improvements. 

1265 
INCOMPATIBILITY. 

1266 

1267 
* Theory Library/Multiset provides stable quicksort implementation of 

1268 
sort_key. 

1269 

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

1271 
INCOMPATIBILITY. 

1272 

1273 
* Session Multivariate_Analysis: introduced a type class for euclidean 

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

1275 
instead of finite cartesian products. 

1276 

1277 
types 

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

1279 
~> 'a::euclidean_space 

1280 
~> 'a::ordered_euclidean_space 

1281 
(depends on your needs) 

1282 

1283 
constants 

1284 
_ $ _ ~> _ $$ _ 

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

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

1287 

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

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

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

1291 
be euclidean_spaces. INCOMPATIBILITY. 

1292 

1293 
* Session Probability: introduced pextreal as positive extended real 

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

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

1296 
arbitrary sigma finite measures. Introduces Lebesgue measure based on 

1297 
the integral in Multivariate Analysis. INCOMPATIBILITY. 

1298 

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

1300 
INCOMPATIBILITY. 

1301 

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

1303 
prove verification conditions generated by the SPARK Ada program 

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

41567  1305 

40621  1306 

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

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

1308 

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

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

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

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

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

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

1314 

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

1316 
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

1317 

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

1318 

40621  1319 
*** HOLCF *** 
1320 

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

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

1325 

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

1328 
replacing sort annotations as shown below. INCOMPATIBILITY. 

40621  1329 

1330 
'a::type ~> 'a::countable 

1331 
'a::cpo ~> 'a::predomain 

1332 
'a::pcpo ~> 'a::domain 

1333 

41571  1334 
* The old type class "rep" has been superseded by class "domain". 
40621  1335 
Accordingly, users of the definitional package must remove any 
41571  1336 
"default_sort rep" declarations. INCOMPATIBILITY. 
40621  1337 

41401  1338 
* The domain package (definitional mode) now supports unpointed 
1339 
predomain argument types, as long as they are marked 'lazy'. (Strict 

41571  1340 
arguments must be in class "domain".) For example, the following 
41401  1341 
domain definition now works: 
1342 

1343 
domain natlist = nil  cons (lazy "nat discr") (lazy "natlist") 

1344 

1345 
* Theory HOLCF/Library/HOL_Cpo provides cpo and predomain class 

41571  1346 
instances for types from main HOL: bool, nat, int, char, 'a + 'b, 
1347 
'a option, and 'a list. Additionally, it configures fixrec and the 

1348 
domain package to work with these types. For example: 

41401  1349 

1350 
fixrec isInl :: "('a + 'b) u > tr" 

1351 
where "isInl$(up$(Inl x)) = TT"  "isInl$(up$(Inr y)) = FF" 

1352 

1353 
domain V = VFun (lazy "V > V")  VCon (lazy "nat") (lazy "V list") 

1354 

41571  1355 
* The "(permissive)" option of fixrec has been replaced with a 
1356 
perequation "(unchecked)" option. See 

1357 
src/HOL/HOLCF/Tutorial/Fixrec_ex.thy for examples. INCOMPATIBILITY. 

1358 

1359 
* The "bifinite" class no longer fixes a constant "approx"; the class 

1360 
now just asserts that such a function exists. INCOMPATIBILITY. 

1361 

1362 
* Former type "alg_defl" has been renamed to "defl". HOLCF no longer 

41287
029a6fc1bfb8
type 'defl' takes a type parameter again (cf. b525988432e9)
huffman
parents:
41286
diff
changeset

1363 
defines an embedding of type 'a defl into udom by default; instances 
41571  1364 
of "bifinite" and "domain" classes are available in 
1365 
src/HOL/HOLCF/Library/Defl_Bifinite.thy. 

1366 

1367 
* The syntax "REP('a)" has been replaced with "DEFL('a)". 

1368 

1369 
* The predicate "directed" has been removed. INCOMPATIBILITY. 

1370 

1371 
* The type class "finite_po" has been removed. INCOMPATIBILITY. 

1372 

1373 
* The function "cprod_map" has been renamed to "prod_map". 

41401  1374 
INCOMPATIBILITY. 
1375 

1376 
* The monadic bind operator on each powerdomain has new binder syntax 

41571  1377 
similar to sets, e.g. "\<Union>\<sharp>x\<in>xs. t" represents 
1378 
"upper_bind\<cdot>xs\<cdot>(\<Lambda> x. t)". 

41401  1379 

1380 
* The infix syntax for binary union on each powerdomain has changed 

41571  1381 
from e.g. "+\<sharp>" to "\<union>\<sharp>", for consistency with set 
1382 
syntax. INCOMPATIBILITY. 

1383 

1384 
* The constant "UU" has been renamed to "bottom". The syntax "UU" is 

41429
cf5f025bc3c7
renamed constant 'UU' to 'bottom', keeping 'UU' as alternative input syntax;
huffman
parents:
41414
diff
changeset

1385 
still supported as an input translation. 
cf5f025bc3c7
renamed constant 'UU' to 'bottom', keeping 'UU' as alternative input syntax;
huffman
parents:
41414
diff
changeset

1386 

40621  1387 
* Renamed some theorems (the original names are also still available). 
41571  1388 

40621  1389 
expand_fun_below ~> fun_below_iff 
1390 
below_fun_ext ~> fun_belowI 

1391 
expand_cfun_eq ~> cfun_eq_iff 

1392 
ext_cfun ~> cfun_eqI 

1393 
expand_cfun_below ~> cfun_below_iff 

1394 
below_cfun_ext ~> cfun_belowI 

1395 
cont2cont_Rep_CFun ~> cont2cont_APP 

1396 

1397 
* The Abs and Rep functions for various types have changed names. 

40948  1398 
Related theorem names have also changed to match. INCOMPATIBILITY. 
41571  1399 

40621  1400 
Rep_CFun ~> Rep_cfun 
1401 
Abs_CFun ~> Abs_cfun 

1402 
Rep_Sprod ~> Rep_sprod 

1403 
Abs_Sprod ~> Abs_sprod 

1404 
Rep_Ssum ~> Rep_ssum 

1405 
Abs_Ssum ~> Abs_ssum 

1406 

1407 
* Lemmas with names of the form *_defined_iff or *_strict_iff have 

41571  1408 
been renamed to *_bottom_iff. INCOMPATIBILITY. 
40621  1409 

1410 
* Various changes to bisimulation/coinduction with domain package: 

41571  1411 

1412 
 Definitions of "bisim&qu 