34 instead. |
34 instead. |
35 |
35 |
36 * The "op <infix-op>" syntax for infix operators has been replaced by |
36 * The "op <infix-op>" syntax for infix operators has been replaced by |
37 "(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to |
37 "(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to |
38 be a space between the "*" and the corresponding parenthesis. |
38 be a space between the "*" and the corresponding parenthesis. |
39 INCOMPATIBILITY. |
39 INCOMPATIBILITY, use the command-line tool "isabelle update_op" to |
40 There is an Isabelle tool "update_op" that converts theory and ML files |
40 convert theory and ML files to the new syntax. Because it is based on |
41 to the new syntax. Because it is based on regular expression matching, |
41 regular expression matching, the result may need a bit of manual |
42 the result may need a bit of manual postprocessing. Invoking "isabelle |
42 postprocessing. Invoking "isabelle update_op" converts all files in the |
43 update_op" converts all files in the current directory (recursively). |
43 current directory (recursively). In case you want to exclude conversion |
44 In case you want to exclude conversion of ML files (because the tool |
44 of ML files (because the tool frequently also converts ML's "op" |
45 frequently also converts ML's "op" syntax), use option "-m". |
45 syntax), use option "-m". |
46 |
46 |
47 * Theory header 'abbrevs' specifications need to be separated by 'and'. |
47 * Theory header 'abbrevs' specifications need to be separated by 'and'. |
48 INCOMPATIBILITY. |
48 INCOMPATIBILITY. |
49 |
49 |
50 * Command 'external_file' declares the formal dependency on the given |
50 * Command 'external_file' declares the formal dependency on the given |
205 |
205 |
206 * The old 'def' command has been discontinued (legacy since |
206 * The old 'def' command has been discontinued (legacy since |
207 Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with |
207 Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with |
208 object-logic equality or equivalence. |
208 object-logic equality or equivalence. |
209 |
209 |
|
210 |
|
211 *** Pure *** |
|
212 |
|
213 * The inner syntax category "sort" now includes notation "_" for the |
|
214 dummy sort: it is effectively ignored in type-inference. |
|
215 |
210 * Rewrites clauses (keyword 'rewrites') were moved into the locale |
216 * Rewrites clauses (keyword 'rewrites') were moved into the locale |
211 expression syntax, where they are part of locale instances. In |
217 expression syntax, where they are part of locale instances. In |
212 interpretation commands rewrites clauses now need to occur before 'for' |
218 interpretation commands rewrites clauses now need to occur before 'for' |
213 and 'defines'. Rare INCOMPATIBILITY; definitions immediately subject to |
219 and 'defines'. Rare INCOMPATIBILITY; definitions immediately subject to |
214 rewriting may need to be pulled up into the surrounding theory. |
220 rewriting may need to be pulled up into the surrounding theory. |
216 * For 'rewrites' clauses, if activating a locale instance fails, fall |
222 * For 'rewrites' clauses, if activating a locale instance fails, fall |
217 back to reading the clause first. This helps avoid qualification of |
223 back to reading the clause first. This helps avoid qualification of |
218 locale instances where the qualifier's sole purpose is avoiding |
224 locale instances where the qualifier's sole purpose is avoiding |
219 duplicate constant declarations. |
225 duplicate constant declarations. |
220 |
226 |
221 * Proof method 'simp' now supports a new modifier 'flip:' followed by a list |
227 * Proof method "simp" now supports a new modifier "flip:" followed by a |
222 of theorems. Each of these theorems is removed from the simpset |
228 list of theorems. Each of these theorems is removed from the simpset |
223 (without warning if it is not there) and the symmetric version of the theorem |
229 (without warning if it is not there) and the symmetric version of the |
224 (i.e. lhs and rhs exchanged) is added to the simpset. |
230 theorem (i.e. lhs and rhs exchanged) is added to the simpset. For "auto" |
225 For 'auto' and friends the modifier is "simp flip:". |
231 and friends the modifier is "simp flip:". |
226 |
|
227 |
|
228 *** Pure *** |
|
229 |
|
230 * The inner syntax category "sort" now includes notation "_" for the |
|
231 dummy sort: it is effectively ignored in type-inference. |
|
232 |
232 |
233 |
233 |
234 *** HOL *** |
234 *** HOL *** |
235 |
235 |
236 * Clarified relationship of characters, strings and code generation: |
236 * Clarified relationship of characters, strings and code generation: |
389 INCOMPATIBILITY. |
389 INCOMPATIBILITY. |
390 |
390 |
391 * Session HOL-Algebra: renamed (^) to [^] to avoid conflict with new |
391 * Session HOL-Algebra: renamed (^) to [^] to avoid conflict with new |
392 infix/prefix notation. |
392 infix/prefix notation. |
393 |
393 |
394 * Session HOL-Algebra: Revamped with much new material. |
394 * Session HOL-Algebra: revamped with much new material. The set of |
395 The set of isomorphisms between two groups is now denoted iso rather than iso_set. |
395 isomorphisms between two groups is now denoted iso rather than iso_set. |
396 INCOMPATIBILITY. |
396 INCOMPATIBILITY. |
397 |
397 |
398 * Session HOL-Analysis: the Arg function now respects the same interval as |
398 * Session HOL-Analysis: the Arg function now respects the same interval |
399 Ln, namely (-pi,pi]; the old Arg function has been renamed Arg2pi. |
399 as Ln, namely (-pi,pi]; the old Arg function has been renamed Arg2pi. |
400 INCOMPATIBILITY. |
400 INCOMPATIBILITY. |
401 |
401 |
402 * Session HOL-Analysis: infinite products, Moebius functions, the |
402 * Session HOL-Analysis: infinite products, Moebius functions, the |
403 Riemann mapping theorem, the Vitali covering theorem, |
403 Riemann mapping theorem, the Vitali covering theorem, |
404 change-of-variables results for integration and measures. |
404 change-of-variables results for integration and measures. |