author | hoelzl |
Thu, 01 Jul 2010 10:57:19 +0200 | |
changeset 37666 | e31fd427c285 |
parent 37608 | 165cd386288d |
child 37679 | 03217132b792 |
permissions | -rw-r--r-- |
5363 | 1 |
Isabelle NEWS -- history user-relevant changes |
2 |
============================================== |
|
2553 | 3 |
|
37383 | 4 |
New in this Isabelle version |
5 |
---------------------------- |
|
6 |
||
37536
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
7 |
*** General *** |
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
8 |
|
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
9 |
* Explicit treatment of UTF8 sequences as Isabelle symbols, such that |
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
10 |
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
|
11 |
non-ASCII bytes as before. Since Isabelle/ML string literals may |
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
12 |
contain symbols without further backslash escapes, Unicode can now be |
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
13 |
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
|
14 |
consistent view on symbols, while raw explode (or String.explode) |
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
15 |
merely give a byte-oriented representation. |
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
16 |
|
c62aa9281101
explicit treatment of UTF8 sequences as Isabelle symbols;
wenzelm
parents:
37484
diff
changeset
|
17 |
|
37387
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
18 |
*** HOL *** |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
19 |
|
37591 | 20 |
* Constant "split" has been merged with constant "prod_case"; names |
21 |
of ML functions, facts etc. involving split have been retained so far, |
|
22 |
though. INCOMPATIBILITY. |
|
23 |
||
37595
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
24 |
* Dropped old infix syntax "mem" for List.member; use "in set" |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
25 |
instead. INCOMPATIBILITY. |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
26 |
|
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
27 |
* Refactoring of code-generation specific operations in List.thy |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
28 |
|
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
29 |
constants |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
30 |
null ~> List.null |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
31 |
|
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
32 |
facts |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
33 |
mem_iff ~> member_def |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
34 |
null_empty ~> null_def |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
35 |
|
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
36 |
INCOMPATIBILITY. Note that these were not suppossed to be used |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
37 |
regularly unless for striking reasons; their main purpose was code |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
38 |
generation. |
9591362629e3
dropped ancient infix mem; refined code generation operations in List.thy
haftmann
parents:
37484
diff
changeset
|
39 |
|
37387
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
40 |
* Some previously unqualified names have been qualified: |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
41 |
|
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
42 |
types |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
43 |
nat ~> Nat.nat |
37666 | 44 |
* ~> Product_Type.* |
37387
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
45 |
+ ~> Sum_Type.+ |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
46 |
|
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
47 |
constants |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
48 |
Ball ~> Set.Ball |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
49 |
Bex ~> Set.Bex |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
50 |
Suc ~> Nat.Suc |
37389
09467cdfa198
qualified type "*"; qualified constants Pair, fst, snd, split
haftmann
parents:
37387
diff
changeset
|
51 |
Pair ~> Product_Type.Pair |
09467cdfa198
qualified type "*"; qualified constants Pair, fst, snd, split
haftmann
parents:
37387
diff
changeset
|
52 |
fst ~> Product_Type.fst |
09467cdfa198
qualified type "*"; qualified constants Pair, fst, snd, split
haftmann
parents:
37387
diff
changeset
|
53 |
snd ~> Product_Type.snd |
09467cdfa198
qualified type "*"; qualified constants Pair, fst, snd, split
haftmann
parents:
37387
diff
changeset
|
54 |
split ~> Product_Type.split |
37387
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
55 |
curry ~> Product_Type.curry |
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
56 |
|
3581483cca6c
qualified types "+" and nat; qualified constants Ball, Bex, Suc, curry; modernized some specifications
haftmann
parents:
37383
diff
changeset
|
57 |
INCOMPATIBILITY. |
37383 | 58 |
|
37411
c88c44156083
removed simplifier congruence rule of "prod_case"
haftmann
parents:
37389
diff
changeset
|
59 |
* Removed simplifier congruence rule of "prod_case", as has for long |
c88c44156083
removed simplifier congruence rule of "prod_case"
haftmann
parents:
37389
diff
changeset
|
60 |
been the case with "split". |
c88c44156083
removed simplifier congruence rule of "prod_case"
haftmann
parents:
37389
diff
changeset
|
61 |
|
37423 | 62 |
* Datatype package: theorems generated for executable equality |
63 |
(class eq) carry proper names and are treated as default code |
|
64 |
equations. |
|
65 |
||
66 |
* List.thy: use various operations from the Haskell prelude when |
|
67 |
generating Haskell code. |
|
68 |
||
37442 | 69 |
* code_simp.ML: simplification with rules determined by |
70 |
code generator. |
|
71 |
||
72 |
* code generator: do not print function definitions for case |
|
73 |
combinators any longer. |
|
74 |
||
37666 | 75 |
* Multivariate Analysis: Introduced a type class for euclidean space. Most |
76 |
theorems are now stated in terms of euclidean spaces instead of finite |
|
77 |
cartesian products. |
|
78 |
||
79 |
types |
|
80 |
real ^ 'n ~> 'a::real_vector |
|
81 |
~> 'a::euclidean_space |
|
82 |
~> 'a::ordered_euclidean_space |
|
83 |
(depends on your needs) |
|
84 |
||
85 |
constants |
|
86 |
_ $ _ ~> _ $$ _ |
|
87 |
\<chi> x. _ ~> \<chi>\<chi> x. _ |
|
88 |
CARD('n) ~> DIM('a) |
|
89 |
||
90 |
Also note that the indices are now natural numbers and not from some finite |
|
91 |
type. Finite cartesian products of euclidean spaces, products of euclidean |
|
92 |
spaces the real and complex numbers are instantiated to be euclidean_spaces. |
|
93 |
||
94 |
INCOMPATIBILITY. |
|
37383 | 95 |
|
96 |
||
37144 | 97 |
New in Isabelle2009-2 (June 2010) |
98 |
--------------------------------- |
|
33993 | 99 |
|
35260 | 100 |
*** General *** |
101 |
||
35436 | 102 |
* Authentic syntax for *all* logical entities (type classes, type |
103 |
constructors, term constants): provides simple and robust |
|
104 |
correspondence between formal entities and concrete syntax. Within |
|
105 |
the parse tree / AST representations, "constants" are decorated by |
|
106 |
their category (class, type, const) and spelled out explicitly with |
|
107 |
their full internal name. |
|
108 |
||
109 |
Substantial INCOMPATIBILITY concerning low-level syntax declarations |
|
110 |
and translations (translation rules and translation functions in ML). |
|
111 |
Some hints on upgrading: |
|
35260 | 112 |
|
113 |
- Many existing uses of 'syntax' and 'translations' can be replaced |
|
35436 | 114 |
by more modern 'type_notation', 'notation' and 'abbreviation', |
115 |
which are independent of this issue. |
|
35260 | 116 |
|
117 |
- 'translations' require markup within the AST; the term syntax |
|
118 |
provides the following special forms: |
|
119 |
||
120 |
CONST c -- produces syntax version of constant c from context |
|
35261 | 121 |
XCONST c -- literally c, checked as constant from context |
122 |
c -- literally c, if declared by 'syntax' |
|
123 |
||
124 |
Plain identifiers are treated as AST variables -- occasionally the |
|
125 |
system indicates accidental variables via the error "rhs contains |
|
126 |
extra variables". |
|
35260 | 127 |
|
35436 | 128 |
Type classes and type constructors are marked according to their |
129 |
concrete syntax. Some old translations rules need to be written |
|
130 |
for the "type" category, using type constructor application |
|
131 |
instead of pseudo-term application of the default category |
|
132 |
"logic". |
|
133 |
||
35260 | 134 |
- 'parse_translation' etc. in ML may use the following |
135 |
antiquotations: |
|
136 |
||
35436 | 137 |
@{class_syntax c} -- type class c within parse tree / AST |
138 |
@{term_syntax c} -- type constructor c within parse tree / AST |
|
35260 | 139 |
@{const_syntax c} -- ML version of "CONST c" above |
140 |
@{syntax_const c} -- literally c (checked wrt. 'syntax' declarations) |
|
141 |
||
35436 | 142 |
- Literal types within 'typed_print_translations', i.e. those *not* |
143 |
represented as pseudo-terms are represented verbatim. Use @{class |
|
144 |
c} or @{type_name c} here instead of the above syntax |
|
145 |
antiquotations. |
|
146 |
||
35260 | 147 |
Note that old non-authentic syntax was based on unqualified base |
35436 | 148 |
names, so all of the above "constant" names would coincide. Recall |
149 |
that 'print_syntax' and ML_command "set Syntax.trace_ast" help to |
|
150 |
diagnose syntax problems. |
|
35260 | 151 |
|
35351
7425aece4ee3
allow general mixfix syntax for type constructors;
wenzelm
parents:
35306
diff
changeset
|
152 |
* Type constructors admit general mixfix syntax, not just infix. |
7425aece4ee3
allow general mixfix syntax for type constructors;
wenzelm
parents:
35306
diff
changeset
|
153 |
|
36508
03d2a2d0ee4a
allow concrete syntax for local entities within a proof body, either via regular mixfix annotations to 'fix' etc. or the separate 'write' command;
wenzelm
parents:
36461
diff
changeset
|
154 |
* Concrete syntax may be attached to local entities without a proof |
03d2a2d0ee4a
allow concrete syntax for local entities within a proof body, either via regular mixfix annotations to 'fix' etc. or the separate 'write' command;
wenzelm
parents:
36461
diff
changeset
|
155 |
body, too. This works via regular mixfix annotations for 'fix', |
03d2a2d0ee4a
allow concrete syntax for local entities within a proof body, either via regular mixfix annotations to 'fix' etc. or the separate 'write' command;
wenzelm
parents:
36461
diff
changeset
|
156 |
'def', 'obtain' etc. or via the explicit 'write' command, which is |
03d2a2d0ee4a
allow concrete syntax for local entities within a proof body, either via regular mixfix annotations to 'fix' etc. or the separate 'write' command;
wenzelm
parents:
36461
diff
changeset
|
157 |
similar to the 'notation' command in theory specifications. |
03d2a2d0ee4a
allow concrete syntax for local entities within a proof body, either via regular mixfix annotations to 'fix' etc. or the separate 'write' command;
wenzelm
parents:
36461
diff
changeset
|
158 |
|
37351 | 159 |
* Discontinued unnamed infix syntax (legacy feature for many years) -- |
160 |
need to specify constant name and syntax separately. Internal ML |
|
161 |
datatype constructors have been renamed from InfixName to Infix etc. |
|
162 |
Minor INCOMPATIBILITY. |
|
163 |
||
164 |
* Schematic theorem statements need to be explicitly markup as such, |
|
165 |
via commands 'schematic_lemma', 'schematic_theorem', |
|
166 |
'schematic_corollary'. Thus the relevance of the proof is made |
|
167 |
syntactically clear, which impacts performance in a parallel or |
|
168 |
asynchronous interactive environment. Minor INCOMPATIBILITY. |
|
169 |
||
35613 | 170 |
* Use of cumulative prems via "!" in some proof methods has been |
37351 | 171 |
discontinued (old legacy feature). |
35613 | 172 |
|
35979
12bb31230550
replaced references 'trace_simp' and 'debug_simp' by configuration options stored in the context
boehmes
parents:
35845
diff
changeset
|
173 |
* References 'trace_simp' and 'debug_simp' have been replaced by |
36857 | 174 |
configuration options stored in the context. Enabling tracing (the |
175 |
case of debugging is similar) in proofs works via |
|
176 |
||
177 |
using [[trace_simp = true]] |
|
178 |
||
179 |
Tracing is then active for all invocations of the simplifier in |
|
180 |
subsequent goal refinement steps. Tracing may also still be enabled or |
|
181 |
disabled via the ProofGeneral settings menu. |
|
35979
12bb31230550
replaced references 'trace_simp' and 'debug_simp' by configuration options stored in the context
boehmes
parents:
35845
diff
changeset
|
182 |
|
36177
8e0770d2e499
separate commands 'hide_class', 'hide_type', 'hide_const', 'hide_fact';
wenzelm
parents:
36162
diff
changeset
|
183 |
* Separate commands 'hide_class', 'hide_type', 'hide_const', |
8e0770d2e499
separate commands 'hide_class', 'hide_type', 'hide_const', 'hide_fact';
wenzelm
parents:
36162
diff
changeset
|
184 |
'hide_fact' replace the former 'hide' KIND command. Minor |
8e0770d2e499
separate commands 'hide_class', 'hide_type', 'hide_const', 'hide_fact';
wenzelm
parents:
36162
diff
changeset
|
185 |
INCOMPATIBILITY. |
8e0770d2e499
separate commands 'hide_class', 'hide_type', 'hide_const', 'hide_fact';
wenzelm
parents:
36162
diff
changeset
|
186 |
|
37298
1f3ca94ccb84
improved parallelism of proof term normalization;
wenzelm
parents:
37273
diff
changeset
|
187 |
* Improved parallelism of proof term normalization: usedir -p2 -q0 is |
1f3ca94ccb84
improved parallelism of proof term normalization;
wenzelm
parents:
37273
diff
changeset
|
188 |
more efficient than combinations with -q1 or -q2. |
1f3ca94ccb84
improved parallelism of proof term normalization;
wenzelm
parents:
37273
diff
changeset
|
189 |
|
35260 | 190 |
|
34170
254ac75e4c38
reduced code generator cache to the baremost minimum; corrected spelling
haftmann
parents:
34076
diff
changeset
|
191 |
*** Pure *** |
254ac75e4c38
reduced code generator cache to the baremost minimum; corrected spelling
haftmann
parents:
34076
diff
changeset
|
192 |
|
37351 | 193 |
* Proofterms record type-class reasoning explicitly, using the |
194 |
"unconstrain" operation internally. This eliminates all sort |
|
195 |
constraints from a theorem and proof, introducing explicit |
|
196 |
OFCLASS-premises. On the proof term level, this operation is |
|
197 |
automatically applied at theorem boundaries, such that closed proofs |
|
198 |
are always free of sort constraints. INCOMPATIBILITY for tools that |
|
199 |
inspect proof terms. |
|
36147
b43b22f63665
theory RBT with abstract type of red-black trees backed by implementation RBT_Impl
haftmann
parents:
36096
diff
changeset
|
200 |
|
35765
09e238561460
local theory specifications handle hidden polymorphism implicitly;
wenzelm
parents:
35763
diff
changeset
|
201 |
* Local theory specifications may depend on extra type variables that |
09e238561460
local theory specifications handle hidden polymorphism implicitly;
wenzelm
parents:
35763
diff
changeset
|
202 |
are not present in the result type -- arguments TYPE('a) :: 'a itself |
09e238561460
local theory specifications handle hidden polymorphism implicitly;
wenzelm
parents:
35763
diff
changeset
|
203 |
are added internally. For example: |
09e238561460
local theory specifications handle hidden polymorphism implicitly;
wenzelm
parents:
35763
diff
changeset
|
204 |
|
09e238561460
local theory specifications handle hidden polymorphism implicitly;
wenzelm
parents:
35763
diff
changeset
|
205 |
definition unitary :: bool where "unitary = (ALL (x::'a) y. x = y)" |
09e238561460
local theory specifications handle hidden polymorphism implicitly;
wenzelm
parents:
35763
diff
changeset
|
206 |
|
37351 | 207 |
* Predicates of locales introduced by classes carry a mandatory |
208 |
"class" prefix. INCOMPATIBILITY. |
|
209 |
||
210 |
* Vacuous class specifications observe default sort. INCOMPATIBILITY. |
|
211 |
||
212 |
* Old 'axclass' command has been discontinued. INCOMPATIBILITY, use |
|
213 |
'class' instead. |
|
214 |
||
215 |
* Command 'code_reflect' allows to incorporate generated ML code into |
|
216 |
runtime environment; replaces immature code_datatype antiquotation. |
|
217 |
INCOMPATIBILITY. |
|
218 |
||
219 |
* Code generator: simple concept for abstract datatypes obeying |
|
220 |
invariants. |
|
221 |
||
36857 | 222 |
* Code generator: details of internal data cache have no impact on the |
223 |
user space functionality any longer. |
|
224 |
||
37351 | 225 |
* Methods "unfold_locales" and "intro_locales" ignore non-locale |
226 |
subgoals. This is more appropriate for interpretations with 'where'. |
|
36857 | 227 |
INCOMPATIBILITY. |
34170
254ac75e4c38
reduced code generator cache to the baremost minimum; corrected spelling
haftmann
parents:
34076
diff
changeset
|
228 |
|
36356
5ab0f8859f9f
command 'example_proof' opens an empty proof body;
wenzelm
parents:
36348
diff
changeset
|
229 |
* Command 'example_proof' opens an empty proof body. This allows to |
5ab0f8859f9f
command 'example_proof' opens an empty proof body;
wenzelm
parents:
36348
diff
changeset
|
230 |
experiment with Isar, without producing any persistent result. |
5ab0f8859f9f
command 'example_proof' opens an empty proof body;
wenzelm
parents:
36348
diff
changeset
|
231 |
|
35413 | 232 |
* Commands 'type_notation' and 'no_type_notation' declare type syntax |
233 |
within a local theory context, with explicit checking of the |
|
234 |
constructors involved (in contrast to the raw 'syntax' versions). |
|
235 |
||
36178
0e5c133b48b6
keep localized 'types' as regular non-old-style version -- 'type_abbrev' as 'type' just causes too many problems, e.g. clash with "type" in translations or "type:" argument syntax;
wenzelm
parents:
36177
diff
changeset
|
236 |
* Commands 'types' and 'typedecl' now work within a local theory |
0e5c133b48b6
keep localized 'types' as regular non-old-style version -- 'type_abbrev' as 'type' just causes too many problems, e.g. clash with "type" in translations or "type:" argument syntax;
wenzelm
parents:
36177
diff
changeset
|
237 |
context -- without introducing dependencies on parameters or |
0e5c133b48b6
keep localized 'types' as regular non-old-style version -- 'type_abbrev' as 'type' just causes too many problems, e.g. clash with "type" in translations or "type:" argument syntax;
wenzelm
parents:
36177
diff
changeset
|
238 |
assumptions, which is not possible in Isabelle/Pure. |
35681 | 239 |
|
36857 | 240 |
* Command 'defaultsort' has been renamed to 'default_sort', it works |
241 |
within a local theory context. Minor INCOMPATIBILITY. |
|
36454
f2b5bcc61a8c
command 'defaultsort' is renamed to 'default_sort', it works within a local theory context;
wenzelm
parents:
36446
diff
changeset
|
242 |
|
34170
254ac75e4c38
reduced code generator cache to the baremost minimum; corrected spelling
haftmann
parents:
34076
diff
changeset
|
243 |
|
33993 | 244 |
*** HOL *** |
245 |
||
37351 | 246 |
* Command 'typedef' now works within a local theory context -- without |
247 |
introducing dependencies on parameters or assumptions, which is not |
|
248 |
possible in Isabelle/Pure/HOL. Note that the logical environment may |
|
249 |
contain multiple interpretations of local typedefs (with different |
|
250 |
non-emptiness proofs), even in a global theory context. |
|
251 |
||
252 |
* New package for quotient types. Commands 'quotient_type' and |
|
253 |
'quotient_definition' may be used for defining types and constants by |
|
254 |
quotient constructions. An example is the type of integers created by |
|
255 |
quotienting pairs of natural numbers: |
|
37380 | 256 |
|
37351 | 257 |
fun |
37380 | 258 |
intrel :: "(nat * nat) => (nat * nat) => bool" |
37351 | 259 |
where |
260 |
"intrel (x, y) (u, v) = (x + v = u + y)" |
|
261 |
||
37380 | 262 |
quotient_type int = "nat * nat" / intrel |
37351 | 263 |
by (auto simp add: equivp_def expand_fun_eq) |
37380 | 264 |
|
37351 | 265 |
quotient_definition |
266 |
"0::int" is "(0::nat, 0::nat)" |
|
267 |
||
268 |
The method "lifting" can be used to lift of theorems from the |
|
269 |
underlying "raw" type to the quotient type. The example |
|
270 |
src/HOL/Quotient_Examples/FSet.thy includes such a quotient |
|
271 |
construction and provides a reasoning infrastructure for finite sets. |
|
272 |
||
273 |
* Renamed Library/Quotient.thy to Library/Quotient_Type.thy to avoid |
|
274 |
clash with new theory Quotient in Main HOL. |
|
275 |
||
276 |
* Moved the SMT binding into the main HOL session, eliminating |
|
277 |
separate HOL-SMT session. |
|
278 |
||
37020 | 279 |
* List membership infix mem operation is only an input abbreviation. |
280 |
INCOMPATIBILITY. |
|
281 |
||
37144 | 282 |
* Theory Library/Word.thy has been removed. Use library Word/Word.thy |
283 |
for future developements; former Library/Word.thy is still present in |
|
284 |
the AFP entry RSAPPS. |
|
36963
9a017146675f
dropped old Library/Word.thy and toy example ex/Adder.thy
haftmann
parents:
36953
diff
changeset
|
285 |
|
36857 | 286 |
* Theorem Int.int_induct renamed to Int.int_of_nat_induct and is no |
287 |
longer shadowed. INCOMPATIBILITY. |
|
36808
cbeb3484fa07
theorem Presburger.int_induct has been renamed to Int.int_bidirectional_induct
haftmann
parents:
36714
diff
changeset
|
288 |
|
36836
49156805321c
removed lemma real_sq_order; use power2_le_imp_le instead
huffman
parents:
36830
diff
changeset
|
289 |
* Dropped theorem duplicate comp_arith; use semiring_norm instead. |
49156805321c
removed lemma real_sq_order; use power2_le_imp_le instead
huffman
parents:
36830
diff
changeset
|
290 |
INCOMPATIBILITY. |
49156805321c
removed lemma real_sq_order; use power2_le_imp_le instead
huffman
parents:
36830
diff
changeset
|
291 |
|
49156805321c
removed lemma real_sq_order; use power2_le_imp_le instead
huffman
parents:
36830
diff
changeset
|
292 |
* Dropped theorem RealPow.real_sq_order; use power2_le_imp_le instead. |
49156805321c
removed lemma real_sq_order; use power2_le_imp_le instead
huffman
parents:
36830
diff
changeset
|
293 |
INCOMPATIBILITY. |
36714 | 294 |
|
36857 | 295 |
* Dropped normalizing_semiring etc; use the facts in semiring classes |
296 |
instead. INCOMPATIBILITY. |
|
297 |
||
36979
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
298 |
* Dropped several real-specific versions of lemmas about floor and |
37351 | 299 |
ceiling; use the generic lemmas from theory "Archimedean_Field" |
300 |
instead. INCOMPATIBILITY. |
|
36979
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
301 |
|
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
302 |
floor_number_of_eq ~> floor_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
303 |
le_floor_eq_number_of ~> number_of_le_floor |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
304 |
le_floor_eq_zero ~> zero_le_floor |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
305 |
le_floor_eq_one ~> one_le_floor |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
306 |
floor_less_eq_number_of ~> floor_less_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
307 |
floor_less_eq_zero ~> floor_less_zero |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
308 |
floor_less_eq_one ~> floor_less_one |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
309 |
less_floor_eq_number_of ~> number_of_less_floor |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
310 |
less_floor_eq_zero ~> zero_less_floor |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
311 |
less_floor_eq_one ~> one_less_floor |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
312 |
floor_le_eq_number_of ~> floor_le_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
313 |
floor_le_eq_zero ~> floor_le_zero |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
314 |
floor_le_eq_one ~> floor_le_one |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
315 |
floor_subtract_number_of ~> floor_diff_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
316 |
floor_subtract_one ~> floor_diff_one |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
317 |
ceiling_number_of_eq ~> ceiling_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
318 |
ceiling_le_eq_number_of ~> ceiling_le_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
319 |
ceiling_le_zero_eq ~> ceiling_le_zero |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
320 |
ceiling_le_eq_one ~> ceiling_le_one |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
321 |
less_ceiling_eq_number_of ~> number_of_less_ceiling |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
322 |
less_ceiling_eq_zero ~> zero_less_ceiling |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
323 |
less_ceiling_eq_one ~> one_less_ceiling |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
324 |
ceiling_less_eq_number_of ~> ceiling_less_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
325 |
ceiling_less_eq_zero ~> ceiling_less_zero |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
326 |
ceiling_less_eq_one ~> ceiling_less_one |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
327 |
le_ceiling_eq_number_of ~> number_of_le_ceiling |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
328 |
le_ceiling_eq_zero ~> zero_le_ceiling |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
329 |
le_ceiling_eq_one ~> one_le_ceiling |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
330 |
ceiling_subtract_number_of ~> ceiling_diff_number_of |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
331 |
ceiling_subtract_one ~> ceiling_diff_one |
da7c06ab3169
remove several redundant lemmas about floor and ceiling
huffman
parents:
36972
diff
changeset
|
332 |
|
37144 | 333 |
* Theory "Finite_Set": various folding_XXX locales facilitate the |
36857 | 334 |
application of the various fold combinators on finite sets. |
335 |
||
336 |
* Library theory "RBT" renamed to "RBT_Impl"; new library theory "RBT" |
|
337 |
provides abstract red-black tree type which is backed by "RBT_Impl" as |
|
338 |
implementation. INCOMPATIBILTY. |
|
36147
b43b22f63665
theory RBT with abstract type of red-black trees backed by implementation RBT_Impl
haftmann
parents:
36096
diff
changeset
|
339 |
|
36830 | 340 |
* Theory Library/Coinductive_List has been removed -- superseded by |
35763
765f8adf10f9
removed obsolete HOL/Library/Coinductive_List.thy, superceded by thys/Coinductive/Coinductive_List.thy in AFP/f2f5727b77d0;
wenzelm
parents:
35745
diff
changeset
|
341 |
AFP/thys/Coinductive. |
765f8adf10f9
removed obsolete HOL/Library/Coinductive_List.thy, superceded by thys/Coinductive/Coinductive_List.thy in AFP/f2f5727b77d0;
wenzelm
parents:
35745
diff
changeset
|
342 |
|
36829 | 343 |
* Theory PReal, including the type "preal" and related operations, has |
344 |
been removed. INCOMPATIBILITY. |
|
345 |
||
37380 | 346 |
* Real: new development using Cauchy Sequences. |
347 |
||
37351 | 348 |
* Split off theory "Big_Operators" containing setsum, setprod, |
349 |
Inf_fin, Sup_fin, Min, Max from theory Finite_Set. INCOMPATIBILITY. |
|
36857 | 350 |
|
351 |
* Theory "Rational" renamed to "Rat", for consistency with "Nat", |
|
352 |
"Int" etc. INCOMPATIBILITY. |
|
353 |
||
37351 | 354 |
* Constant Rat.normalize needs to be qualified. INCOMPATIBILITY. |
37143 | 355 |
|
36857 | 356 |
* New set of rules "ac_simps" provides combined assoc / commute |
357 |
rewrites for all interpretations of the appropriate generic locales. |
|
358 |
||
359 |
* Renamed theory "OrderedGroup" to "Groups" and split theory |
|
360 |
"Ring_and_Field" into theories "Rings" and "Fields"; for more |
|
361 |
appropriate and more consistent names suitable for name prefixes |
|
362 |
within the HOL theories. INCOMPATIBILITY. |
|
35050
9f841f20dca6
renamed OrderedGroup to Groups; split theory Ring_and_Field into Rings Fields
haftmann
parents:
35042
diff
changeset
|
363 |
|
35084 | 364 |
* Some generic constants have been put to appropriate theories: |
36857 | 365 |
- less_eq, less: Orderings |
366 |
- zero, one, plus, minus, uminus, times, abs, sgn: Groups |
|
367 |
- inverse, divide: Rings |
|
35084 | 368 |
INCOMPATIBILITY. |
369 |
||
36857 | 370 |
* More consistent naming of type classes involving orderings (and |
371 |
lattices): |
|
35027
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
372 |
|
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
373 |
lower_semilattice ~> semilattice_inf |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
374 |
upper_semilattice ~> semilattice_sup |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
375 |
|
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
376 |
dense_linear_order ~> dense_linorder |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
377 |
|
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
378 |
pordered_ab_group_add ~> ordered_ab_group_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
379 |
pordered_ab_group_add_abs ~> ordered_ab_group_add_abs |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
380 |
pordered_ab_semigroup_add ~> ordered_ab_semigroup_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
381 |
pordered_ab_semigroup_add_imp_le ~> ordered_ab_semigroup_add_imp_le |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
382 |
pordered_cancel_ab_semigroup_add ~> ordered_cancel_ab_semigroup_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
383 |
pordered_cancel_comm_semiring ~> ordered_cancel_comm_semiring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
384 |
pordered_cancel_semiring ~> ordered_cancel_semiring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
385 |
pordered_comm_monoid_add ~> ordered_comm_monoid_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
386 |
pordered_comm_ring ~> ordered_comm_ring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
387 |
pordered_comm_semiring ~> ordered_comm_semiring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
388 |
pordered_ring ~> ordered_ring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
389 |
pordered_ring_abs ~> ordered_ring_abs |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
390 |
pordered_semiring ~> ordered_semiring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
391 |
|
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
392 |
ordered_ab_group_add ~> linordered_ab_group_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
393 |
ordered_ab_semigroup_add ~> linordered_ab_semigroup_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
394 |
ordered_cancel_ab_semigroup_add ~> linordered_cancel_ab_semigroup_add |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
395 |
ordered_comm_semiring_strict ~> linordered_comm_semiring_strict |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
396 |
ordered_field ~> linordered_field |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
397 |
ordered_field_no_lb ~> linordered_field_no_lb |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
398 |
ordered_field_no_ub ~> linordered_field_no_ub |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
399 |
ordered_field_dense_linear_order ~> dense_linordered_field |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
400 |
ordered_idom ~> linordered_idom |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
401 |
ordered_ring ~> linordered_ring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
402 |
ordered_ring_le_cancel_factor ~> linordered_ring_le_cancel_factor |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
403 |
ordered_ring_less_cancel_factor ~> linordered_ring_less_cancel_factor |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
404 |
ordered_ring_strict ~> linordered_ring_strict |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
405 |
ordered_semidom ~> linordered_semidom |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
406 |
ordered_semiring ~> linordered_semiring |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
407 |
ordered_semiring_1 ~> linordered_semiring_1 |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
408 |
ordered_semiring_1_strict ~> linordered_semiring_1_strict |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
409 |
ordered_semiring_strict ~> linordered_semiring_strict |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
410 |
|
36857 | 411 |
The following slightly odd type classes have been moved to a |
37351 | 412 |
separate theory Library/Lattice_Algebras: |
35032
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
413 |
|
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
414 |
lordered_ab_group_add ~> lattice_ab_group_add |
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
415 |
lordered_ab_group_add_abs ~> lattice_ab_group_add_abs |
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
416 |
lordered_ab_group_add_meet ~> semilattice_inf_ab_group_add |
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
417 |
lordered_ab_group_add_join ~> semilattice_sup_ab_group_add |
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
418 |
lordered_ring ~> lattice_ring |
7efe662e41b4
separate library theory for type classes combining lattices with various algebraic structures
haftmann
parents:
35027
diff
changeset
|
419 |
|
35027
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
420 |
INCOMPATIBILITY. |
ed7d12bcf8f8
more consistent naming of type classes involving orderings (and lattices) -- c.f. NEWS
haftmann
parents:
34974
diff
changeset
|
421 |
|
36416 | 422 |
* Refined field classes: |
36857 | 423 |
- classes division_ring_inverse_zero, field_inverse_zero, |
424 |
linordered_field_inverse_zero include rule inverse 0 = 0 -- |
|
425 |
subsumes former division_by_zero class; |
|
426 |
- numerous lemmas have been ported from field to division_ring. |
|
427 |
INCOMPATIBILITY. |
|
36416 | 428 |
|
429 |
* Refined algebra theorem collections: |
|
36857 | 430 |
- dropped theorem group group_simps, use algebra_simps instead; |
431 |
- dropped theorem group ring_simps, use field_simps instead; |
|
432 |
- proper theorem collection field_simps subsumes former theorem |
|
433 |
groups field_eq_simps and field_simps; |
|
434 |
- dropped lemma eq_minus_self_iff which is a duplicate for |
|
435 |
equal_neg_zero. |
|
436 |
INCOMPATIBILITY. |
|
35009 | 437 |
|
438 |
* Theory Finite_Set and List: some lemmas have been generalized from |
|
34076
e3daf3c07381
Subgoal.FOCUS (and variants): resulting goal state is normalized as usual for resolution;
wenzelm
parents:
34062
diff
changeset
|
439 |
sets to lattices: |
e3daf3c07381
Subgoal.FOCUS (and variants): resulting goal state is normalized as usual for resolution;
wenzelm
parents:
34062
diff
changeset
|
440 |
|
34007
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
441 |
fun_left_comm_idem_inter ~> fun_left_comm_idem_inf |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
442 |
fun_left_comm_idem_union ~> fun_left_comm_idem_sup |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
443 |
inter_Inter_fold_inter ~> inf_Inf_fold_inf |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
444 |
union_Union_fold_union ~> sup_Sup_fold_sup |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
445 |
Inter_fold_inter ~> Inf_fold_inf |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
446 |
Union_fold_union ~> Sup_fold_sup |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
447 |
inter_INTER_fold_inter ~> inf_INFI_fold_inf |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
448 |
union_UNION_fold_union ~> sup_SUPR_fold_sup |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
449 |
INTER_fold_inter ~> INFI_fold_inf |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
450 |
UNION_fold_union ~> SUPR_fold_sup |
aea892559fc5
tuned lattices theory fragements; generlized some lemmas from sets to lattices
haftmann
parents:
33994
diff
changeset
|
451 |
|
37351 | 452 |
* Theory "Complete_Lattice": lemmas top_def and bot_def have been |
36416 | 453 |
replaced by the more convenient lemmas Inf_empty and Sup_empty. |
454 |
Dropped lemmas Inf_insert_simp and Sup_insert_simp, which are subsumed |
|
455 |
by Inf_insert and Sup_insert. Lemmas Inf_UNIV and Sup_UNIV replace |
|
456 |
former Inf_Univ and Sup_Univ. Lemmas inf_top_right and sup_bot_right |
|
457 |
subsume inf_top and sup_bot respectively. INCOMPATIBILITY. |
|
458 |
||
36857 | 459 |
* Reorganized theory Multiset: swapped notation of pointwise and |
460 |
multiset order: |
|
37351 | 461 |
|
36857 | 462 |
- pointwise ordering is instance of class order with standard syntax |
463 |
<= and <; |
|
464 |
- multiset ordering has syntax <=# and <#; partial order properties |
|
465 |
are provided by means of interpretation with prefix |
|
466 |
multiset_order; |
|
467 |
- less duplication, less historical organization of sections, |
|
468 |
conversion from associations lists to multisets, rudimentary code |
|
469 |
generation; |
|
470 |
- use insert_DiffM2 [symmetric] instead of elem_imp_eq_diff_union, |
|
471 |
if needed. |
|
37351 | 472 |
|
36903 | 473 |
Renamed: |
37351 | 474 |
|
475 |
multiset_eq_conv_count_eq ~> multiset_ext_iff |
|
476 |
multi_count_ext ~> multiset_ext |
|
477 |
diff_union_inverse2 ~> diff_union_cancelR |
|
478 |
||
36857 | 479 |
INCOMPATIBILITY. |
36416 | 480 |
|
36903 | 481 |
* Theory Permutation: replaced local "remove" by List.remove1. |
482 |
||
36416 | 483 |
* Code generation: ML and OCaml code is decorated with signatures. |
484 |
||
35009 | 485 |
* Theory List: added transpose. |
486 |
||
35810 | 487 |
* Library/Nat_Bijection.thy is a collection of bijective functions |
488 |
between nat and other types, which supersedes the older libraries |
|
489 |
Library/Nat_Int_Bij.thy and HOLCF/NatIso.thy. INCOMPATIBILITY. |
|
490 |
||
491 |
Constants: |
|
492 |
Nat_Int_Bij.nat2_to_nat ~> prod_encode |
|
493 |
Nat_Int_Bij.nat_to_nat2 ~> prod_decode |
|
494 |
Nat_Int_Bij.int_to_nat_bij ~> int_encode |
|
495 |
Nat_Int_Bij.nat_to_int_bij ~> int_decode |
|
496 |
Countable.pair_encode ~> prod_encode |
|
497 |
NatIso.prod2nat ~> prod_encode |
|
498 |
NatIso.nat2prod ~> prod_decode |
|
499 |
NatIso.sum2nat ~> sum_encode |
|
500 |
NatIso.nat2sum ~> sum_decode |
|
501 |
NatIso.list2nat ~> list_encode |
|
502 |
NatIso.nat2list ~> list_decode |
|
503 |
NatIso.set2nat ~> set_encode |
|
504 |
NatIso.nat2set ~> set_decode |
|
505 |
||
506 |
Lemmas: |
|
507 |
Nat_Int_Bij.bij_nat_to_int_bij ~> bij_int_decode |
|
508 |
Nat_Int_Bij.nat2_to_nat_inj ~> inj_prod_encode |
|
509 |
Nat_Int_Bij.nat2_to_nat_surj ~> surj_prod_encode |
|
510 |
Nat_Int_Bij.nat_to_nat2_inj ~> inj_prod_decode |
|
511 |
Nat_Int_Bij.nat_to_nat2_surj ~> surj_prod_decode |
|
512 |
Nat_Int_Bij.i2n_n2i_id ~> int_encode_inverse |
|
513 |
Nat_Int_Bij.n2i_i2n_id ~> int_decode_inverse |
|
514 |
Nat_Int_Bij.surj_nat_to_int_bij ~> surj_int_encode |
|
515 |
Nat_Int_Bij.surj_int_to_nat_bij ~> surj_int_decode |
|
516 |
Nat_Int_Bij.inj_nat_to_int_bij ~> inj_int_encode |
|
517 |
Nat_Int_Bij.inj_int_to_nat_bij ~> inj_int_decode |
|
518 |
Nat_Int_Bij.bij_nat_to_int_bij ~> bij_int_encode |
|
519 |
Nat_Int_Bij.bij_int_to_nat_bij ~> bij_int_decode |
|
520 |
||
36929 | 521 |
* Sledgehammer: |
522 |
- Renamed ATP commands: |
|
523 |
atp_info ~> sledgehammer running_atps |
|
524 |
atp_kill ~> sledgehammer kill_atps |
|
525 |
atp_messages ~> sledgehammer messages |
|
526 |
atp_minimize ~> sledgehammer minimize |
|
527 |
print_atps ~> sledgehammer available_atps |
|
528 |
INCOMPATIBILITY. |
|
529 |
- Added user's manual ("isabelle doc sledgehammer"). |
|
530 |
- Added option syntax and "sledgehammer_params" to customize |
|
531 |
Sledgehammer's behavior. See the manual for details. |
|
532 |
- Modified the Isar proof reconstruction code so that it produces |
|
533 |
direct proofs rather than proofs by contradiction. (This feature |
|
534 |
is still experimental.) |
|
535 |
- Made Isar proof reconstruction work for SPASS, remote ATPs, and in |
|
536 |
full-typed mode. |
|
537 |
- Added support for TPTP syntax for SPASS via the "spass_tptp" ATP. |
|
538 |
||
36928 | 539 |
* Nitpick: |
540 |
- Added and implemented "binary_ints" and "bits" options. |
|
541 |
- Added "std" option and implemented support for nonstandard models. |
|
542 |
- Added and implemented "finitize" option to improve the precision |
|
543 |
of infinite datatypes based on a monotonicity analysis. |
|
544 |
- Added support for quotient types. |
|
545 |
- Added support for "specification" and "ax_specification" |
|
546 |
constructs. |
|
547 |
- Added support for local definitions (for "function" and |
|
548 |
"termination" proofs). |
|
549 |
- Added support for term postprocessors. |
|
550 |
- Optimized "Multiset.multiset" and "FinFun.finfun". |
|
551 |
- Improved efficiency of "destroy_constrs" optimization. |
|
552 |
- Fixed soundness bugs related to "destroy_constrs" optimization and |
|
553 |
record getters. |
|
37272 | 554 |
- Fixed soundness bug related to higher-order constructors. |
555 |
- Fixed soundness bug when "full_descrs" is enabled. |
|
36928 | 556 |
- Improved precision of set constructs. |
37260
dde817e6dfb1
added "atoms" option to Nitpick (request from Karlsruhe) + wrap Refute. functions to "nitpick_util.ML"
blanchet
parents:
37158
diff
changeset
|
557 |
- Added "atoms" option. |
36928 | 558 |
- Added cache to speed up repeated Kodkod invocations on the same |
559 |
problems. |
|
560 |
- Renamed "MiniSatJNI", "zChaffJNI", "BerkMinAlloy", and |
|
561 |
"SAT4JLight" to "MiniSat_JNI", "zChaff_JNI", "BerkMin_Alloy", and |
|
562 |
"SAT4J_Light". INCOMPATIBILITY. |
|
563 |
- Removed "skolemize", "uncurry", "sym_break", "flatten_prop", |
|
564 |
"sharing_depth", and "show_skolems" options. INCOMPATIBILITY. |
|
37264
8b931fb51cc6
removed "nitpick_intro" attribute -- Nitpick noew uses Spec_Rules instead
blanchet
parents:
37260
diff
changeset
|
565 |
- Removed "nitpick_intro" attribute. INCOMPATIBILITY. |
36928 | 566 |
|
37361
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
567 |
* Method "induct" now takes instantiations of the form t, where t is not |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
568 |
a variable, as a shorthand for "x == t", where x is a fresh variable. |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
569 |
If this is not intended, t has to be enclosed in parentheses. |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
570 |
By default, the equalities generated by definitional instantiations |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
571 |
are pre-simplified, which may cause parameters of inductive cases |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
572 |
to disappear, or may even delete some of the inductive cases. |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
573 |
Use "induct (no_simp)" instead of "induct" to restore the old |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
574 |
behaviour. The (no_simp) option is also understood by the "cases" |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
575 |
and "nominal_induct" methods, which now perform pre-simplification, too. |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
576 |
INCOMPATIBILITY. |
250f487b3034
Documented changes in induct, cases, and nominal_induct method.
berghofe
parents:
37352
diff
changeset
|
577 |
|
33993 | 578 |
|
36828 | 579 |
*** HOLCF *** |
580 |
||
581 |
* Variable names in lemmas generated by the domain package have |
|
582 |
changed; the naming scheme is now consistent with the HOL datatype |
|
583 |
package. Some proof scripts may be affected, INCOMPATIBILITY. |
|
584 |
||
585 |
* The domain package no longer defines the function "foo_copy" for |
|
586 |
recursive domain "foo". The reach lemma is now stated directly in |
|
587 |
terms of "foo_take". Lemmas and proofs that mention "foo_copy" must |
|
588 |
be reformulated in terms of "foo_take", INCOMPATIBILITY. |
|
589 |
||
590 |
* Most definedness lemmas generated by the domain package (previously |
|
591 |
of the form "x ~= UU ==> foo$x ~= UU") now have an if-and-only-if form |
|
592 |
like "foo$x = UU <-> x = UU", which works better as a simp rule. |
|
37351 | 593 |
Proofs that used definedness lemmas as intro rules may break, |
36828 | 594 |
potential INCOMPATIBILITY. |
595 |
||
596 |
* Induction and casedist rules generated by the domain package now |
|
597 |
declare proper case_names (one called "bottom", and one named for each |
|
598 |
constructor). INCOMPATIBILITY. |
|
599 |
||
600 |
* For mutually-recursive domains, separate "reach" and "take_lemma" |
|
601 |
rules are generated for each domain, INCOMPATIBILITY. |
|
602 |
||
603 |
foo_bar.reach ~> foo.reach bar.reach |
|
604 |
foo_bar.take_lemmas ~> foo.take_lemma bar.take_lemma |
|
605 |
||
606 |
* Some lemmas generated by the domain package have been renamed for |
|
607 |
consistency with the datatype package, INCOMPATIBILITY. |
|
608 |
||
609 |
foo.ind ~> foo.induct |
|
610 |
foo.finite_ind ~> foo.finite_induct |
|
611 |
foo.coind ~> foo.coinduct |
|
612 |
foo.casedist ~> foo.exhaust |
|
613 |
foo.exhaust ~> foo.nchotomy |
|
614 |
||
615 |
* For consistency with other definition packages, the fixrec package |
|
616 |
now generates qualified theorem names, INCOMPATIBILITY. |
|
617 |
||
618 |
foo_simps ~> foo.simps |
|
619 |
foo_unfold ~> foo.unfold |
|
620 |
foo_induct ~> foo.induct |
|
621 |
||
37087 | 622 |
* The "fixrec_simp" attribute has been removed. The "fixrec_simp" |
623 |
method and internal fixrec proofs now use the default simpset instead. |
|
624 |
INCOMPATIBILITY. |
|
625 |
||
36828 | 626 |
* The "contlub" predicate has been removed. Proof scripts should use |
627 |
lemma contI2 in place of monocontlub2cont, INCOMPATIBILITY. |
|
628 |
||
629 |
* The "admw" predicate has been removed, INCOMPATIBILITY. |
|
630 |
||
631 |
* The constants cpair, cfst, and csnd have been removed in favor of |
|
632 |
Pair, fst, and snd from Isabelle/HOL, INCOMPATIBILITY. |
|
633 |
||
634 |
||
33993 | 635 |
*** ML *** |
636 |
||
37351 | 637 |
* Antiquotations for basic formal entities: |
638 |
||
639 |
@{class NAME} -- type class |
|
640 |
@{class_syntax NAME} -- syntax representation of the above |
|
641 |
||
642 |
@{type_name NAME} -- logical type |
|
643 |
@{type_abbrev NAME} -- type abbreviation |
|
644 |
@{nonterminal NAME} -- type of concrete syntactic category |
|
645 |
@{type_syntax NAME} -- syntax representation of any of the above |
|
646 |
||
647 |
@{const_name NAME} -- logical constant (INCOMPATIBILITY) |
|
648 |
@{const_abbrev NAME} -- abbreviated constant |
|
649 |
@{const_syntax NAME} -- syntax representation of any of the above |
|
650 |
||
651 |
* Antiquotation @{syntax_const NAME} ensures that NAME refers to a raw |
|
652 |
syntax constant (cf. 'syntax' command). |
|
653 |
||
654 |
* Antiquotation @{make_string} inlines a function to print arbitrary |
|
655 |
values similar to the ML toplevel. The result is compiler dependent |
|
656 |
and may fall back on "?" in certain situations. |
|
657 |
||
658 |
* Diagnostic commands 'ML_val' and 'ML_command' may refer to |
|
659 |
antiquotations @{Isar.state} and @{Isar.goal}. This replaces impure |
|
660 |
Isar.state() and Isar.goal(), which belong to the old TTY loop and do |
|
661 |
not work with the asynchronous Isar document model. |
|
662 |
||
663 |
* Configuration options now admit dynamic default values, depending on |
|
664 |
the context or even global references. |
|
665 |
||
666 |
* SHA1.digest digests strings according to SHA-1 (see RFC 3174). It |
|
667 |
uses an efficient external library if available (for Poly/ML). |
|
668 |
||
37144 | 669 |
* Renamed some important ML structures, while keeping the old names |
670 |
for some time as aliases within the structure Legacy: |
|
671 |
||
672 |
OuterKeyword ~> Keyword |
|
673 |
OuterLex ~> Token |
|
674 |
OuterParse ~> Parse |
|
675 |
OuterSyntax ~> Outer_Syntax |
|
37216
3165bc303f66
modernized some structure names, keeping a few legacy aliases;
wenzelm
parents:
37158
diff
changeset
|
676 |
PrintMode ~> Print_Mode |
37144 | 677 |
SpecParse ~> Parse_Spec |
37216
3165bc303f66
modernized some structure names, keeping a few legacy aliases;
wenzelm
parents:
37158
diff
changeset
|
678 |
ThyInfo ~> Thy_Info |
3165bc303f66
modernized some structure names, keeping a few legacy aliases;
wenzelm
parents:
37158
diff
changeset
|
679 |
ThyLoad ~> Thy_Load |
3165bc303f66
modernized some structure names, keeping a few legacy aliases;
wenzelm
parents:
37158
diff
changeset
|
680 |
ThyOutput ~> Thy_Output |
37145
01aa36932739
renamed structure TypeInfer to Type_Infer, keeping the old name as legacy alias for some time;
wenzelm
parents:
37144
diff
changeset
|
681 |
TypeInfer ~> Type_Infer |
37144 | 682 |
|
683 |
Note that "open Legacy" simplifies porting of sources, but forgetting |
|
684 |
to remove it again will complicate porting again in the future. |
|
685 |
||
686 |
* Most operations that refer to a global context are named |
|
687 |
accordingly, e.g. Simplifier.global_context or |
|
688 |
ProofContext.init_global. There are some situations where a global |
|
689 |
context actually works, but under normal circumstances one needs to |
|
690 |
pass the proper local context through the code! |
|
691 |
||
692 |
* Discontinued old TheoryDataFun with its copy/init operation -- data |
|
693 |
needs to be pure. Functor Theory_Data_PP retains the traditional |
|
694 |
Pretty.pp argument to merge, which is absent in the standard |
|
695 |
Theory_Data version. |
|
36429
9d6b3be996d4
monotonic sort certification: sorts are no longer minimized at the kernel boundary, only when reading input from the end-user;
wenzelm
parents:
36416
diff
changeset
|
696 |
|
37144 | 697 |
* Sorts.certify_sort and derived "cert" operations for types and terms |
698 |
no longer minimize sorts. Thus certification at the boundary of the |
|
699 |
inference kernel becomes invariant under addition of class relations, |
|
700 |
which is an important monotonicity principle. Sorts are now minimized |
|
701 |
in the syntax layer only, at the boundary between the end-user and the |
|
702 |
system. Subtle INCOMPATIBILITY, may have to use Sign.minimize_sort |
|
703 |
explicitly in rare situations. |
|
704 |
||
35021
c839a4c670c6
renamed old-style Drule.standard to Drule.export_without_context, to emphasize that this is in no way a standard operation;
wenzelm
parents:
35009
diff
changeset
|
705 |
* Renamed old-style Drule.standard to Drule.export_without_context, to |
c839a4c670c6
renamed old-style Drule.standard to Drule.export_without_context, to emphasize that this is in no way a standard operation;
wenzelm
parents:
35009
diff
changeset
|
706 |
emphasize that this is in no way a standard operation. |
c839a4c670c6
renamed old-style Drule.standard to Drule.export_without_context, to emphasize that this is in no way a standard operation;
wenzelm
parents:
35009
diff
changeset
|
707 |
INCOMPATIBILITY. |
c839a4c670c6
renamed old-style Drule.standard to Drule.export_without_context, to emphasize that this is in no way a standard operation;
wenzelm
parents:
35009
diff
changeset
|
708 |
|
34076
e3daf3c07381
Subgoal.FOCUS (and variants): resulting goal state is normalized as usual for resolution;
wenzelm
parents:
34062
diff
changeset
|
709 |
* Subgoal.FOCUS (and variants): resulting goal state is normalized as |
e3daf3c07381
Subgoal.FOCUS (and variants): resulting goal state is normalized as usual for resolution;
wenzelm
parents:
34062
diff
changeset
|
710 |
usual for resolution. Rare INCOMPATIBILITY. |
e3daf3c07381
Subgoal.FOCUS (and variants): resulting goal state is normalized as usual for resolution;
wenzelm
parents:
34062
diff
changeset
|
711 |
|
35845
e5980f0ad025
renamed varify/unvarify operations to varify_global/unvarify_global to emphasize that these only work in a global situation;
wenzelm
parents:
35810
diff
changeset
|
712 |
* Renamed varify/unvarify operations to varify_global/unvarify_global |
e5980f0ad025
renamed varify/unvarify operations to varify_global/unvarify_global to emphasize that these only work in a global situation;
wenzelm
parents:
35810
diff
changeset
|
713 |
to emphasize that these only work in a global situation (which is |
e5980f0ad025
renamed varify/unvarify operations to varify_global/unvarify_global to emphasize that these only work in a global situation;
wenzelm
parents:
35810
diff
changeset
|
714 |
quite rare). |
e5980f0ad025
renamed varify/unvarify operations to varify_global/unvarify_global to emphasize that these only work in a global situation;
wenzelm
parents:
35810
diff
changeset
|
715 |
|
37144 | 716 |
* Curried take and drop in library.ML; negative length is interpreted |
717 |
as infinity (as in chop). Subtle INCOMPATIBILITY. |
|
36961 | 718 |
|
37351 | 719 |
* Proof terms: type substitutions on proof constants now use canonical |
720 |
order of type variables. INCOMPATIBILITY for tools working with proof |
|
721 |
terms. |
|
722 |
||
723 |
* Raw axioms/defs may no longer carry sort constraints, and raw defs |
|
724 |
may no longer carry premises. User-level specifications are |
|
725 |
transformed accordingly by Thm.add_axiom/add_def. |
|
726 |
||
33993 | 727 |
|
34238 | 728 |
*** System *** |
729 |
||
730 |
* Discontinued special HOL_USEDIR_OPTIONS for the main HOL image; |
|
731 |
ISABELLE_USEDIR_OPTIONS applies uniformly to all sessions. Note that |
|
732 |
proof terms are enabled unconditionally in the new HOL-Proofs image. |
|
733 |
||
34255
2dd2547acb41
discontinued old ISABELLE and ISATOOL environment settings;
wenzelm
parents:
34238
diff
changeset
|
734 |
* Discontinued old ISABELLE and ISATOOL environment settings (legacy |
2dd2547acb41
discontinued old ISABELLE and ISATOOL environment settings;
wenzelm
parents:
34238
diff
changeset
|
735 |
feature since Isabelle2009). Use ISABELLE_PROCESS and ISABELLE_TOOL, |
2dd2547acb41
discontinued old ISABELLE and ISATOOL environment settings;
wenzelm
parents:
34238
diff
changeset
|
736 |
respectively. |
2dd2547acb41
discontinued old ISABELLE and ISATOOL environment settings;
wenzelm
parents:
34238
diff
changeset
|
737 |
|
36201
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
738 |
* Old lib/scripts/polyml-platform is superseded by the |
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
739 |
ISABELLE_PLATFORM setting variable, which defaults to the 32 bit |
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
740 |
variant, even on a 64 bit machine. The following example setting |
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
741 |
prefers 64 bit if available: |
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
742 |
|
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
743 |
ML_PLATFORM="${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM}" |
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36178
diff
changeset
|
744 |
|
37218 | 745 |
* The preliminary Isabelle/jEdit application demonstrates the emerging |
746 |
Isabelle/Scala layer for advanced prover interaction and integration. |
|
747 |
See src/Tools/jEdit or "isabelle jedit" provided by the properly built |
|
748 |
component. |
|
749 |
||
37375 | 750 |
* "IsabelleText" is a Unicode font derived from Bitstream Vera Mono |
751 |
and Bluesky TeX fonts. It provides the usual Isabelle symbols, |
|
752 |
similar to the default assignment of the document preparation system |
|
753 |
(cf. isabellesym.sty). The Isabelle/Scala class Isabelle_System |
|
754 |
provides some operations for direct access to the font without asking |
|
755 |
the user for manual installation. |
|
756 |
||
34238 | 757 |
|
33993 | 758 |
|
33842 | 759 |
New in Isabelle2009-1 (December 2009) |
760 |
------------------------------------- |
|
30904 | 761 |
|
31547 | 762 |
*** General *** |
763 |
||
764 |
* Discontinued old form of "escaped symbols" such as \\<forall>. Only |
|
765 |
one backslash should be used, even in ML sources. |
|
766 |
||
767 |
||
30951
a6e26a248f03
formal declaration of undefined parameters after class instantiation
haftmann
parents:
30949
diff
changeset
|
768 |
*** Pure *** |
a6e26a248f03
formal declaration of undefined parameters after class instantiation
haftmann
parents:
30949
diff
changeset
|
769 |
|
32846
29941e925c82
News entry: inheritance of mixins; print_interps.
ballarin
parents:
32775
diff
changeset
|
770 |
* Locale interpretation propagates mixins along the locale hierarchy. |
29941e925c82
News entry: inheritance of mixins; print_interps.
ballarin
parents:
32775
diff
changeset
|
771 |
The currently only available mixins are the equations used to map |
29941e925c82
News entry: inheritance of mixins; print_interps.
ballarin
parents:
32775
diff
changeset
|
772 |
local definitions to terms of the target domain of an interpretation. |
29941e925c82
News entry: inheritance of mixins; print_interps.
ballarin
parents:
32775
diff
changeset
|
773 |
|
33842 | 774 |
* Reactivated diagnostic command 'print_interps'. Use "print_interps |
775 |
loc" to print all interpretations of locale "loc" in the theory. |
|
776 |
Interpretations in proofs are not shown. |
|
32846
29941e925c82
News entry: inheritance of mixins; print_interps.
ballarin
parents:
32775
diff
changeset
|
777 |
|
32983 | 778 |
* Thoroughly revised locales tutorial. New section on conditional |
779 |
interpretation. |
|
780 |
||
33843 | 781 |
* On instantiation of classes, remaining undefined class parameters |
782 |
are formally declared. INCOMPATIBILITY. |
|
783 |
||
30951
a6e26a248f03
formal declaration of undefined parameters after class instantiation
haftmann
parents:
30949
diff
changeset
|
784 |
|
33842 | 785 |
*** Document preparation *** |
786 |
||
787 |
* New generalized style concept for printing terms: @{foo (style) ...} |
|
788 |
instead of @{foo_style style ...} (old form is still retained for |
|
789 |
backward compatibility). Styles can be also applied for |
|
790 |
antiquotations prop, term_type and typeof. |
|
32891 | 791 |
|
792 |
||
30930 | 793 |
*** HOL *** |
794 |
||
33842 | 795 |
* New proof method "smt" for a combination of first-order logic with |
796 |
equality, linear and nonlinear (natural/integer/real) arithmetic, and |
|
797 |
fixed-size bitvectors; there is also basic support for higher-order |
|
798 |
features (esp. lambda abstractions). It is an incomplete decision |
|
799 |
procedure based on external SMT solvers using the oracle mechanism; |
|
800 |
for the SMT solver Z3, this method is proof-producing. Certificates |
|
801 |
are provided to avoid calling the external solvers solely for |
|
802 |
re-checking proofs. Due to a remote SMT service there is no need for |
|
803 |
installing SMT solvers locally. See src/HOL/SMT. |
|
804 |
||
805 |
* New commands to load and prove verification conditions generated by |
|
806 |
the Boogie program verifier or derived systems (e.g. the Verifying C |
|
807 |
Compiler (VCC) or Spec#). See src/HOL/Boogie. |
|
808 |
||
809 |
* New counterexample generator tool 'nitpick' based on the Kodkod |
|
810 |
relational model finder. See src/HOL/Tools/Nitpick and |
|
811 |
src/HOL/Nitpick_Examples. |
|
812 |
||
33860 | 813 |
* New commands 'code_pred' and 'values' to invoke the predicate |
814 |
compiler and to enumerate values of inductive predicates. |
|
815 |
||
816 |
* A tabled implementation of the reflexive transitive closure. |
|
817 |
||
818 |
* New implementation of quickcheck uses generic code generator; |
|
819 |
default generators are provided for all suitable HOL types, records |
|
820 |
and datatypes. Old quickcheck can be re-activated importing theory |
|
821 |
Library/SML_Quickcheck. |
|
822 |
||
33843 | 823 |
* New testing tool Mirabelle for automated proof tools. Applies |
824 |
several tools and tactics like sledgehammer, metis, or quickcheck, to |
|
825 |
every proof step in a theory. To be used in batch mode via the |
|
826 |
"mirabelle" utility. |
|
827 |
||
828 |
* New proof method "sos" (sum of squares) for nonlinear real |
|
829 |
arithmetic (originally due to John Harison). It requires theory |
|
830 |
Library/Sum_Of_Squares. It is not a complete decision procedure but |
|
831 |
works well in practice on quantifier-free real arithmetic with +, -, |
|
832 |
*, ^, =, <= and <, i.e. boolean combinations of equalities and |
|
833 |
inequalities between polynomials. It makes use of external |
|
834 |
semidefinite programming solvers. Method "sos" generates a |
|
835 |
certificate that can be pasted into the proof thus avoiding the need |
|
836 |
to call an external tool every time the proof is checked. See |
|
837 |
src/HOL/Library/Sum_Of_Squares. |
|
838 |
||
839 |
* New method "linarith" invokes existing linear arithmetic decision |
|
840 |
procedure only. |
|
841 |
||
842 |
* New command 'atp_minimal' reduces result produced by Sledgehammer. |
|
843 |
||
844 |
* New Sledgehammer option "Full Types" in Proof General settings menu. |
|
845 |
Causes full type information to be output to the ATPs. This slows |
|
846 |
ATPs down considerably but eliminates a source of unsound "proofs" |
|
847 |
that fail later. |
|
848 |
||
849 |
* New method "metisFT": A version of metis that uses full type |
|
850 |
information in order to avoid failures of proof reconstruction. |
|
851 |
||
852 |
* New evaluator "approximate" approximates an real valued term using |
|
853 |
the same method as the approximation method. |
|
854 |
||
855 |
* Method "approximate" now supports arithmetic expressions as |
|
856 |
boundaries of intervals and implements interval splitting and Taylor |
|
857 |
series expansion. |
|
858 |
||
859 |
* ML antiquotation @{code_datatype} inserts definition of a datatype |
|
860 |
generated by the code generator; e.g. see src/HOL/Predicate.thy. |
|
861 |
||
33860 | 862 |
* New theory SupInf of the supremum and infimum operators for sets of |
863 |
reals. |
|
864 |
||
865 |
* New theory Probability, which contains a development of measure |
|
866 |
theory, eventually leading to Lebesgue integration and probability. |
|
867 |
||
868 |
* Extended Multivariate Analysis to include derivation and Brouwer's |
|
869 |
fixpoint theorem. |
|
33843 | 870 |
|
33842 | 871 |
* Reorganization of number theory, INCOMPATIBILITY: |
33873 | 872 |
- new number theory development for nat and int, in theories Divides |
873 |
and GCD as well as in new session Number_Theory |
|
874 |
- some constants and facts now suffixed with _nat and _int |
|
875 |
accordingly |
|
876 |
- former session NumberTheory now named Old_Number_Theory, including |
|
877 |
theories Legacy_GCD and Primes (prefer Number_Theory if possible) |
|
33842 | 878 |
- moved theory Pocklington from src/HOL/Library to |
879 |
src/HOL/Old_Number_Theory |
|
32479 | 880 |
|
33873 | 881 |
* Theory GCD includes functions Gcd/GCD and Lcm/LCM for the gcd and |
882 |
lcm of finite and infinite sets. It is shown that they form a complete |
|
32600 | 883 |
lattice. |
884 |
||
885 |
* Class semiring_div requires superclass no_zero_divisors and proof of |
|
886 |
div_mult_mult1; theorems div_mult_mult1, div_mult_mult2, |
|
887 |
div_mult_mult1_if, div_mult_mult1 and div_mult_mult2 have been |
|
888 |
generalized to class semiring_div, subsuming former theorems |
|
889 |
zdiv_zmult_zmult1, zdiv_zmult_zmult1_if, zdiv_zmult_zmult1 and |
|
890 |
zdiv_zmult_zmult2. div_mult_mult1 is now [simp] by default. |
|
891 |
INCOMPATIBILITY. |
|
892 |
||
32588
5e06a1634e55
Inter and Union are mere abbreviations for Inf and Sup; tuned
haftmann
parents:
32485
diff
changeset
|
893 |
* Refinements to lattice classes and sets: |
32064 | 894 |
- less default intro/elim rules in locale variant, more default |
895 |
intro/elim rules in class variant: more uniformity |
|
33842 | 896 |
- lemma ge_sup_conv renamed to le_sup_iff, in accordance with |
897 |
le_inf_iff |
|
898 |
- dropped lemma alias inf_ACI for inf_aci (same for sup_ACI and |
|
899 |
sup_aci) |
|
32064 | 900 |
- renamed ACI to inf_sup_aci |
32600 | 901 |
- new class "boolean_algebra" |
33842 | 902 |
- class "complete_lattice" moved to separate theory |
33860 | 903 |
"Complete_Lattice"; corresponding constants (and abbreviations) |
33842 | 904 |
renamed and with authentic syntax: |
33860 | 905 |
Set.Inf ~> Complete_Lattice.Inf |
906 |
Set.Sup ~> Complete_Lattice.Sup |
|
907 |
Set.INFI ~> Complete_Lattice.INFI |
|
908 |
Set.SUPR ~> Complete_Lattice.SUPR |
|
909 |
Set.Inter ~> Complete_Lattice.Inter |
|
910 |
Set.Union ~> Complete_Lattice.Union |
|
911 |
Set.INTER ~> Complete_Lattice.INTER |
|
912 |
Set.UNION ~> Complete_Lattice.UNION |
|
32600 | 913 |
- authentic syntax for |
914 |
Set.Pow |
|
915 |
Set.image |
|
32588
5e06a1634e55
Inter and Union are mere abbreviations for Inf and Sup; tuned
haftmann
parents:
32485
diff
changeset
|
916 |
- mere abbreviations: |
5e06a1634e55
Inter and Union are mere abbreviations for Inf and Sup; tuned
haftmann
parents:
32485
diff
changeset
|
917 |
Set.empty (for bot) |
5e06a1634e55
Inter and Union are mere abbreviations for Inf and Sup; tuned
haftmann
parents:
32485
diff
changeset
|
918 |
Set.UNIV (for top) |
33860 | 919 |
Set.inter (for inf, formerly Set.Int) |
920 |
Set.union (for sup, formerly Set.Un) |
|
32588
5e06a1634e55
Inter and Union are mere abbreviations for Inf and Sup; tuned
haftmann
parents:
32485
diff
changeset
|
921 |
Complete_Lattice.Inter (for Inf) |
5e06a1634e55
Inter and Union are mere abbreviations for Inf and Sup; tuned
haftmann
parents:
32485
diff
changeset
|
922 |
Complete_Lattice.Union (for Sup) |
32606
b5c3a8a75772
INTER and UNION are mere abbreviations for INFI and SUPR
haftmann
parents:
32600
diff
changeset
|
923 |
Complete_Lattice.INTER (for INFI) |
b5c3a8a75772
INTER and UNION are mere abbreviations for INFI and SUPR
haftmann
parents:
32600
diff
changeset
|
924 |
Complete_Lattice.UNION (for SUPR) |
32600 | 925 |
- object-logic definitions as far as appropriate |
32217 | 926 |
|
32691 | 927 |
INCOMPATIBILITY. Care is required when theorems Int_subset_iff or |
33842 | 928 |
Un_subset_iff are explicitly deleted as default simp rules; then also |
929 |
their lattice counterparts le_inf_iff and le_sup_iff have to be |
|
32691 | 930 |
deleted to achieve the desired effect. |
32064 | 931 |
|
33842 | 932 |
* Rules inf_absorb1, inf_absorb2, sup_absorb1, sup_absorb2 are no simp |
933 |
rules by default any longer; the same applies to min_max.inf_absorb1 |
|
934 |
etc. INCOMPATIBILITY. |
|
935 |
||
936 |
* Rules sup_Int_eq and sup_Un_eq are no longer declared as |
|
937 |
pred_set_conv by default. INCOMPATIBILITY. |
|
938 |
||
939 |
* Power operations on relations and functions are now one dedicated |
|
32706 | 940 |
constant "compow" with infix syntax "^^". Power operation on |
31547 | 941 |
multiplicative monoids retains syntax "^" and is now defined generic |
942 |
in class power. INCOMPATIBILITY. |
|
943 |
||
33842 | 944 |
* Relation composition "R O S" now has a more standard argument order: |
945 |
"R O S = {(x, z). EX y. (x, y) : R & (y, z) : S}". INCOMPATIBILITY, |
|
946 |
rewrite propositions with "S O R" --> "R O S". Proofs may occasionally |
|
947 |
break, since the O_assoc rule was not rewritten like this. Fix using |
|
948 |
O_assoc[symmetric]. The same applies to the curried version "R OO S". |
|
32427 | 949 |
|
33057 | 950 |
* Function "Inv" is renamed to "inv_into" and function "inv" is now an |
33842 | 951 |
abbreviation for "inv_into UNIV". Lemmas are renamed accordingly. |
32988 | 952 |
INCOMPATIBILITY. |
953 |
||
33860 | 954 |
* Most rules produced by inductive and datatype package have mandatory |
955 |
prefixes. INCOMPATIBILITY. |
|
31790 | 956 |
|
33842 | 957 |
* Changed "DERIV_intros" to a dynamic fact, which can be augmented by |
958 |
the attribute of the same name. Each of the theorems in the list |
|
959 |
DERIV_intros assumes composition with an additional function and |
|
960 |
matches a variable to the derivative, which has to be solved by the |
|
961 |
Simplifier. Hence (auto intro!: DERIV_intros) computes the derivative |
|
33873 | 962 |
of most elementary terms. Former Maclauren.DERIV_tac and |
963 |
Maclauren.deriv_tac should be replaced by (auto intro!: DERIV_intros). |
|
964 |
INCOMPATIBILITY. |
|
33860 | 965 |
|
966 |
* Code generator attributes follow the usual underscore convention: |
|
967 |
code_unfold replaces code unfold |
|
968 |
code_post replaces code post |
|
969 |
etc. |
|
970 |
INCOMPATIBILITY. |
|
31900 | 971 |
|
33471 | 972 |
* Renamed methods: |
973 |
sizechange -> size_change |
|
974 |
induct_scheme -> induction_schema |
|
33860 | 975 |
INCOMPATIBILITY. |
33673 | 976 |
|
33843 | 977 |
* Discontinued abbreviation "arbitrary" of constant "undefined". |
978 |
INCOMPATIBILITY, use "undefined" directly. |
|
979 |
||
33860 | 980 |
* Renamed theorems: |
981 |
Suc_eq_add_numeral_1 -> Suc_eq_plus1 |
|
982 |
Suc_eq_add_numeral_1_left -> Suc_eq_plus1_left |
|
983 |
Suc_plus1 -> Suc_eq_plus1 |
|
984 |
*anti_sym -> *antisym* |
|
985 |
vector_less_eq_def -> vector_le_def |
|
986 |
INCOMPATIBILITY. |
|
987 |
||
988 |
* Added theorem List.map_map as [simp]. Removed List.map_compose. |
|
989 |
INCOMPATIBILITY. |
|
990 |
||
991 |
* Removed predicate "M hassize n" (<--> card M = n & finite M). |
|
992 |
INCOMPATIBILITY. |
|
993 |
||
31812 | 994 |
|
33825 | 995 |
*** HOLCF *** |
996 |
||
33842 | 997 |
* Theory Representable defines a class "rep" of domains that are |
998 |
representable (via an ep-pair) in the universal domain type "udom". |
|
33825 | 999 |
Instances are provided for all type constructors defined in HOLCF. |
1000 |
||
1001 |
* The 'new_domain' command is a purely definitional version of the |
|
1002 |
domain package, for representable domains. Syntax is identical to the |
|
1003 |
old domain package. The 'new_domain' package also supports indirect |
|
1004 |
recursion using previously-defined type constructors. See |
|
33842 | 1005 |
src/HOLCF/ex/New_Domain.thy for examples. |
1006 |
||
1007 |
* Method "fixrec_simp" unfolds one step of a fixrec-defined constant |
|
33825 | 1008 |
on the left-hand side of an equation, and then performs |
1009 |
simplification. Rewriting is done using rules declared with the |
|
33842 | 1010 |
"fixrec_simp" attribute. The "fixrec_simp" method is intended as a |
1011 |
replacement for "fixpat"; see src/HOLCF/ex/Fixrec_ex.thy for examples. |
|
33825 | 1012 |
|
1013 |
* The pattern-match compiler in 'fixrec' can now handle constructors |
|
1014 |
with HOL function types. Pattern-match combinators for the Pair |
|
1015 |
constructor are pre-configured. |
|
1016 |
||
1017 |
* The 'fixrec' package now produces better fixed-point induction rules |
|
1018 |
for mutually-recursive definitions: Induction rules have conclusions |
|
1019 |
of the form "P foo bar" instead of "P <foo, bar>". |
|
1020 |
||
1021 |
* The constant "sq_le" (with infix syntax "<<" or "\<sqsubseteq>") has |
|
1022 |
been renamed to "below". The name "below" now replaces "less" in many |
|
33842 | 1023 |
theorem names. (Legacy theorem names using "less" are still supported |
1024 |
as well.) |
|
33825 | 1025 |
|
1026 |
* The 'fixrec' package now supports "bottom patterns". Bottom |
|
1027 |
patterns can be used to generate strictness rules, or to make |
|
1028 |
functions more strict (much like the bang-patterns supported by the |
|
33873 | 1029 |
Glasgow Haskell Compiler). See src/HOLCF/ex/Fixrec_ex.thy for |
1030 |
examples. |
|
33825 | 1031 |
|
1032 |
||
31304 | 1033 |
*** ML *** |
1034 |
||
33843 | 1035 |
* Support for Poly/ML 5.3.0, with improved reporting of compiler |
1036 |
errors and run-time exceptions, including detailed source positions. |
|
1037 |
||
1038 |
* Structure Name_Space (formerly NameSpace) now manages uniquely |
|
1039 |
identified entries, with some additional information such as source |
|
1040 |
position, logical grouping etc. |
|
1041 |
||
33524
a08e6c1cbc04
updated functor Theory_Data, Proof_Data, Generic_Data;
wenzelm
parents:
33472
diff
changeset
|
1042 |
* Theory and context data is now introduced by the simplified and |
a08e6c1cbc04
updated functor Theory_Data, Proof_Data, Generic_Data;
wenzelm
parents:
33472
diff
changeset
|
1043 |
modernized functors Theory_Data, Proof_Data, Generic_Data. Data needs |
a08e6c1cbc04
updated functor Theory_Data, Proof_Data, Generic_Data;
wenzelm
parents:
33472
diff
changeset
|
1044 |
to be pure, but the old TheoryDataFun for mutable data (with explicit |
a08e6c1cbc04
updated functor Theory_Data, Proof_Data, Generic_Data;
wenzelm
parents:
33472
diff
changeset
|
1045 |
copy operation) is still available for some time. |
a08e6c1cbc04
updated functor Theory_Data, Proof_Data, Generic_Data;
wenzelm
parents:
33472
diff
changeset
|
1046 |
|
32742 | 1047 |
* Structure Synchronized (cf. src/Pure/Concurrent/synchronized.ML) |
1048 |
provides a high-level programming interface to synchronized state |
|
1049 |
variables with atomic update. This works via pure function |
|
1050 |
application within a critical section -- its runtime should be as |
|
1051 |
short as possible; beware of deadlocks if critical code is nested, |
|
1052 |
either directly or indirectly via other synchronized variables! |
|
1053 |
||
1054 |
* Structure Unsynchronized (cf. src/Pure/ML-Systems/unsynchronized.ML) |
|
1055 |
wraps raw ML references, explicitly indicating their non-thread-safe |
|
1056 |
behaviour. The Isar toplevel keeps this structure open, to |
|
1057 |
accommodate Proof General as well as quick and dirty interactive |
|
1058 |
experiments with references. |
|
1059 |
||
32365 | 1060 |
* PARALLEL_CHOICE and PARALLEL_GOALS provide basic support for |
1061 |
parallel tactical reasoning. |
|
1062 |
||
32427 | 1063 |
* Tacticals Subgoal.FOCUS, Subgoal.FOCUS_PREMS, Subgoal.FOCUS_PARAMS |
1064 |
are similar to SUBPROOF, but are slightly more flexible: only the |
|
1065 |
specified parts of the subgoal are imported into the context, and the |
|
1066 |
body tactic may introduce new subgoals and schematic variables. |
|
1067 |
||
1068 |
* Old tactical METAHYPS, which does not observe the proof context, has |
|
1069 |
been renamed to Old_Goals.METAHYPS and awaits deletion. Use SUBPROOF |
|
1070 |
or Subgoal.FOCUS etc. |
|
32216 | 1071 |
|
31971
8c1b845ed105
renamed functor TableFun to Table, and GraphFun to Graph;
wenzelm
parents:
31901
diff
changeset
|
1072 |
* Renamed functor TableFun to Table, and GraphFun to Graph. (Since |
8c1b845ed105
renamed functor TableFun to Table, and GraphFun to Graph;
wenzelm
parents:
31901
diff
changeset
|
1073 |
functors have their own ML name space there is no point to mark them |
8c1b845ed105
renamed functor TableFun to Table, and GraphFun to Graph;
wenzelm
parents:
31901
diff
changeset
|
1074 |
separately.) Minor INCOMPATIBILITY. |
8c1b845ed105
renamed functor TableFun to Table, and GraphFun to Graph;
wenzelm
parents:
31901
diff
changeset
|
1075 |
|
31901 | 1076 |
* Renamed NamedThmsFun to Named_Thms. INCOMPATIBILITY. |
1077 |
||
33842 | 1078 |
* Renamed several structures FooBar to Foo_Bar. Occasional, |
1079 |
INCOMPATIBILITY. |
|
1080 |
||
33843 | 1081 |
* Operations of structure Skip_Proof no longer require quick_and_dirty |
1082 |
mode, which avoids critical setmp. |
|
1083 |
||
31306
a74ee84288a0
eliminated old Attrib.add_attributes (and Attrib.syntax);
wenzelm
parents:
31304
diff
changeset
|
1084 |
* Eliminated old Attrib.add_attributes, Method.add_methods and related |
33842 | 1085 |
combinators for "args". INCOMPATIBILITY, need to use simplified |
31306
a74ee84288a0
eliminated old Attrib.add_attributes (and Attrib.syntax);
wenzelm
parents:
31304
diff
changeset
|
1086 |
Attrib/Method.setup introduced in Isabelle2009. |
31304 | 1087 |
|
32151
2f65c45c2e7e
Proper context for simpset_of, claset_of, clasimpset_of.
wenzelm
parents:
32136
diff
changeset
|
1088 |
* Proper context for simpset_of, claset_of, clasimpset_of. May fall |
2f65c45c2e7e
Proper context for simpset_of, claset_of, clasimpset_of.
wenzelm
parents:
32136
diff
changeset
|
1089 |
back on global_simpset_of, global_claset_of, global_clasimpset_of as |
2f65c45c2e7e
Proper context for simpset_of, claset_of, clasimpset_of.
wenzelm
parents:
32136
diff
changeset
|
1090 |
last resort. INCOMPATIBILITY. |
2f65c45c2e7e
Proper context for simpset_of, claset_of, clasimpset_of.
wenzelm
parents:
32136
diff
changeset
|
1091 |
|
32092
6a5995438266
Display.pretty_thm now requires a proper context;
wenzelm
parents:
32079
diff
changeset
|
1092 |
* Display.pretty_thm now requires a proper context (cf. former |
6a5995438266
Display.pretty_thm now requires a proper context;
wenzelm
parents:
32079
diff
changeset
|
1093 |
ProofContext.pretty_thm). May fall back on Display.pretty_thm_global |
6a5995438266
Display.pretty_thm now requires a proper context;
wenzelm
parents:
32079
diff
changeset
|
1094 |
or even Display.pretty_thm_without_context as last resort. |
6a5995438266
Display.pretty_thm now requires a proper context;
wenzelm
parents:
32079
diff
changeset
|
1095 |
INCOMPATIBILITY. |
6a5995438266
Display.pretty_thm now requires a proper context;
wenzelm
parents:
32079
diff
changeset
|
1096 |
|
32433 | 1097 |
* Discontinued Display.pretty_ctyp/cterm etc. INCOMPATIBILITY, use |
1098 |
Syntax.pretty_typ/term directly, preferably with proper context |
|
1099 |
instead of global theory. |
|
1100 |
||
31304 | 1101 |
|
31308 | 1102 |
*** System *** |
1103 |
||
33842 | 1104 |
* Further fine tuning of parallel proof checking, scales up to 8 cores |
1105 |
(max. speedup factor 5.0). See also Goal.parallel_proofs in ML and |
|
1106 |
usedir option -q. |
|
1107 |
||
32326 | 1108 |
* Support for additional "Isabelle components" via etc/components, see |
1109 |
also the system manual. |
|
1110 |
||
1111 |
* The isabelle makeall tool now operates on all components with |
|
1112 |
IsaMakefile, not just hardwired "logics". |
|
1113 |
||
33842 | 1114 |
* Removed "compress" option from isabelle-process and isabelle usedir; |
1115 |
this is always enabled. |
|
33818 | 1116 |
|
31308 | 1117 |
* Discontinued support for Poly/ML 4.x versions. |
1118 |
||
33842 | 1119 |
* Isabelle tool "wwwfind" provides web interface for 'find_theorems' |
1120 |
on a given logic image. This requires the lighttpd webserver and is |
|
1121 |
currently supported on Linux only. |
|
32061
11f8ee55662d
parallel_proofs: more fine-grained control with optional parallel checking of nested Isar proofs;
wenzelm
parents:
31997
diff
changeset
|
1122 |
|
31308 | 1123 |
|
31304 | 1124 |
|
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1125 |
New in Isabelle2009 (April 2009) |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1126 |
-------------------------------- |
27104
791607529f6d
rep_datatype command now takes list of constructors as input arguments
haftmann
parents:
27067
diff
changeset
|
1127 |
|
27599 | 1128 |
*** General *** |
1129 |
||
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1130 |
* Simplified main Isabelle executables, with less surprises on |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1131 |
case-insensitive file-systems (such as Mac OS). |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1132 |
|
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1133 |
- The main Isabelle tool wrapper is now called "isabelle" instead of |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1134 |
"isatool." |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1135 |
|
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1136 |
- The former "isabelle" alias for "isabelle-process" has been |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1137 |
removed (should rarely occur to regular users). |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1138 |
|
28915
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1139 |
- The former "isabelle-interface" and its alias "Isabelle" have been |
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1140 |
removed (interfaces are now regular Isabelle tools). |
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1141 |
|
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1142 |
Within scripts and make files, the Isabelle environment variables |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1143 |
ISABELLE_TOOL and ISABELLE_PROCESS replace old ISATOOL and ISABELLE, |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1144 |
respectively. (The latter are still available as legacy feature.) |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1145 |
|
28915
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1146 |
The old isabelle-interface wrapper could react in confusing ways if |
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1147 |
the interface was uninstalled or changed otherwise. Individual |
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1148 |
interface tool configuration is now more explicit, see also the |
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1149 |
Isabelle system manual. In particular, Proof General is now available |
0642cbb60c98
removed obsolete isabelle-interface executable and ISABELLE_INTERFACE setting;
wenzelm
parents:
28914
diff
changeset
|
1150 |
via "isabelle emacs". |
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1151 |
|
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1152 |
INCOMPATIBILITY, need to adapt derivative scripts. Users may need to |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1153 |
purge installed copies of Isabelle executables and re-run "isabelle |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1154 |
install -p ...", or use symlinks. |
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28475
diff
changeset
|
1155 |
|
28914
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1156 |
* The default for ISABELLE_HOME_USER is now ~/.isabelle instead of the |
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1157 |
old ~/isabelle, which was slightly non-standard and apt to cause |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1158 |
surprises on case-insensitive file-systems (such as Mac OS). |
28914
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1159 |
|
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1160 |
INCOMPATIBILITY, need to move existing ~/isabelle/etc, |
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1161 |
~/isabelle/heaps, ~/isabelle/browser_info to the new place. Special |
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1162 |
care is required when using older releases of Isabelle. Note that |
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1163 |
ISABELLE_HOME_USER can be changed in Isabelle/etc/settings of any |
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1164 |
Isabelle distribution, in order to use the new ~/.isabelle uniformly. |
28914
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28856
diff
changeset
|
1165 |
|
29161
9903e84a9c9c
* Proofs of are run in parallel on multi-core systems;
wenzelm
parents:
29145
diff
changeset
|
1166 |
* Proofs of fully specified statements are run in parallel on |
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1167 |
multi-core systems. A speedup factor of 2.5 to 3.2 can be expected on |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1168 |
a regular 4-core machine, if the initial heap space is made reasonably |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1169 |
large (cf. Poly/ML option -H). (Requires Poly/ML 5.2.1 or later.) |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1170 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1171 |
* The main reference manuals ("isar-ref", "implementation", and |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1172 |
"system") have been updated and extended. Formally checked references |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1173 |
as hyperlinks are now available uniformly. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1174 |
|
30163
faf95eb3f375
* New prover for coherent logic (see src/Tools/coherent.ML).
wenzelm
parents:
30106
diff
changeset
|
1175 |
|
27599 | 1176 |
*** Pure *** |
1177 |
||
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1178 |
* Complete re-implementation of locales. INCOMPATIBILITY in several |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1179 |
respects. The most important changes are listed below. See the |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1180 |
Tutorial on Locales ("locales" manual) for details. |
29253 | 1181 |
|
1182 |
- In locale expressions, instantiation replaces renaming. Parameters |
|
1183 |
must be declared in a for clause. To aid compatibility with previous |
|
1184 |
parameter inheritance, in locale declarations, parameters that are not |
|
1185 |
'touched' (instantiation position "_" or omitted) are implicitly added |
|
1186 |
with their syntax at the beginning of the for clause. |
|
1187 |
||
1188 |
- Syntax from abbreviations and definitions in locales is available in |
|
1189 |
locale expressions and context elements. The latter is particularly |
|
1190 |
useful in locale declarations. |
|
1191 |
||
1192 |
- More flexible mechanisms to qualify names generated by locale |
|
1193 |
expressions. Qualifiers (prefixes) may be specified in locale |
|
30728
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1194 |
expressions, and can be marked as mandatory (syntax: "name!:") or |
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1195 |
optional (syntax "name?:"). The default depends for plain "name:" |
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1196 |
depends on the situation where a locale expression is used: in |
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1197 |
commands 'locale' and 'sublocale' prefixes are optional, in |
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1198 |
'interpretation' and 'interpret' prefixes are mandatory. The old |
30728
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1199 |
implicit qualifiers derived from the parameter names of a locale are |
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1200 |
no longer generated. |
30106 | 1201 |
|
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1202 |
- Command "sublocale l < e" replaces "interpretation l < e". The |
30106 | 1203 |
instantiation clause in "interpretation" and "interpret" (square |
1204 |
brackets) is no longer available. Use locale expressions. |
|
29253 | 1205 |
|
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1206 |
- When converting proof scripts, mandatory qualifiers in |
30728
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1207 |
'interpretation' and 'interpret' should be retained by default, even |
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1208 |
if this is an INCOMPATIBILITY compared to former behavior. In the |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1209 |
worst case, use the "name?:" form for non-mandatory ones. Qualifiers |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1210 |
in locale expressions range over a single locale instance only. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1211 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1212 |
- Dropped locale element "includes". This is a major INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1213 |
In existing theorem specifications replace the includes element by the |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1214 |
respective context elements of the included locale, omitting those |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1215 |
that are already present in the theorem specification. Multiple |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1216 |
assume elements of a locale should be replaced by a single one |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1217 |
involving the locale predicate. In the proof body, declarations (most |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1218 |
notably theorems) may be regained by interpreting the respective |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1219 |
locales in the proof context as required (command "interpret"). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1220 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1221 |
If using "includes" in replacement of a target solely because the |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1222 |
parameter types in the theorem are not as general as in the target, |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1223 |
consider declaring a new locale with additional type constraints on |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1224 |
the parameters (context element "constrains"). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1225 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1226 |
- Discontinued "locale (open)". INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1227 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1228 |
- Locale interpretation commands no longer attempt to simplify goal. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1229 |
INCOMPATIBILITY: in rare situations the generated goal differs. Use |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1230 |
methods intro_locales and unfold_locales to clarify. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1231 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1232 |
- Locale interpretation commands no longer accept interpretation |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1233 |
attributes. INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1234 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1235 |
* Class declaration: so-called "base sort" must not be given in import |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1236 |
list any longer, but is inferred from the specification. Particularly |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1237 |
in HOL, write |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1238 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1239 |
class foo = ... |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1240 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1241 |
instead of |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1242 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1243 |
class foo = type + ... |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1244 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1245 |
* Class target: global versions of theorems stemming do not carry a |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1246 |
parameter prefix any longer. INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1247 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1248 |
* Class 'instance' command no longer accepts attached definitions. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1249 |
INCOMPATIBILITY, use proper 'instantiation' target instead. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1250 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1251 |
* Recovered hiding of consts, which was accidentally broken in |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1252 |
Isabelle2007. Potential INCOMPATIBILITY, ``hide const c'' really |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1253 |
makes c inaccessible; consider using ``hide (open) const c'' instead. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1254 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1255 |
* Slightly more coherent Pure syntax, with updated documentation in |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1256 |
isar-ref manual. Removed locales meta_term_syntax and |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1257 |
meta_conjunction_syntax: TERM and &&& (formerly &&) are now permanent, |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1258 |
INCOMPATIBILITY in rare situations. Note that &&& should not be used |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1259 |
directly in regular applications. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1260 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1261 |
* There is a new syntactic category "float_const" for signed decimal |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1262 |
fractions (e.g. 123.45 or -123.45). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1263 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1264 |
* Removed exotic 'token_translation' command. INCOMPATIBILITY, use ML |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1265 |
interface with 'setup' command instead. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1266 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1267 |
* Command 'local_setup' is similar to 'setup', but operates on a local |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1268 |
theory context. |
27104
791607529f6d
rep_datatype command now takes list of constructors as input arguments
haftmann
parents:
27067
diff
changeset
|
1269 |
|
28114 | 1270 |
* The 'axiomatization' command now only works within a global theory |
1271 |
context. INCOMPATIBILITY. |
|
1272 |
||
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1273 |
* Goal-directed proof now enforces strict proof irrelevance wrt. sort |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1274 |
hypotheses. Sorts required in the course of reasoning need to be |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1275 |
covered by the constraints in the initial statement, completed by the |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1276 |
type instance information of the background theory. Non-trivial sort |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1277 |
hypotheses, which rarely occur in practice, may be specified via |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1278 |
vacuous propositions of the form SORT_CONSTRAINT('a::c). For example: |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1279 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1280 |
lemma assumes "SORT_CONSTRAINT('a::empty)" shows False ... |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1281 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1282 |
The result contains an implicit sort hypotheses as before -- |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1283 |
SORT_CONSTRAINT premises are eliminated as part of the canonical rule |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1284 |
normalization. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1285 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1286 |
* Generalized Isar history, with support for linear undo, direct state |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1287 |
addressing etc. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1288 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1289 |
* Changed defaults for unify configuration options: |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1290 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1291 |
unify_trace_bound = 50 (formerly 25) |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1292 |
unify_search_bound = 60 (formerly 30) |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1293 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1294 |
* Different bookkeeping for code equations (INCOMPATIBILITY): |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1295 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1296 |
a) On theory merge, the last set of code equations for a particular |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1297 |
constant is taken (in accordance with the policy applied by other |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1298 |
parts of the code generator framework). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1299 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1300 |
b) Code equations stemming from explicit declarations (e.g. code |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1301 |
attribute) gain priority over default code equations stemming |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1302 |
from definition, primrec, fun etc. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1303 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1304 |
* Keyword 'code_exception' now named 'code_abort'. INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1305 |
|
30965 | 1306 |
* Unified theorem tables for both code generators. Thus [code |
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1307 |
func] has disappeared and only [code] remains. INCOMPATIBILITY. |
30577 | 1308 |
|
1309 |
* Command 'find_consts' searches for constants based on type and name |
|
1310 |
patterns, e.g. |
|
29883 | 1311 |
|
1312 |
find_consts "_ => bool" |
|
1313 |
||
30106 | 1314 |
By default, matching is against subtypes, but it may be restricted to |
30728
f0aeca99b5d9
interpretation/interpret: prefixes are mandatory by default;
wenzelm
parents:
30706
diff
changeset
|
1315 |
the whole type. Searching by name is possible. Multiple queries are |
30106 | 1316 |
conjunctive and queries may be negated by prefixing them with a |
1317 |
hyphen: |
|
29883 | 1318 |
|
1319 |
find_consts strict: "_ => bool" name: "Int" -"int => int" |
|
29861
3c348f5873f3
updated NEWS etc with "solves" criterion and auto_solves
kleing
parents:
29823
diff
changeset
|
1320 |
|
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1321 |
* New 'find_theorems' criterion "solves" matches theorems that |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1322 |
directly solve the current goal (modulo higher-order unification). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1323 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1324 |
* Auto solve feature for main theorem statements: whenever a new goal |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1325 |
is stated, "find_theorems solves" is called; any theorems that could |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1326 |
solve the lemma directly are listed as part of the goal state. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1327 |
Cf. associated options in Proof General Isabelle settings menu, |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1328 |
enabled by default, with reasonable timeout for pathological cases of |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1329 |
higher-order unification. |
30415
9501af91c4a3
Instead of giving up entirely, arith now ignores all inequalities when there are too many.
webertj
parents:
30399
diff
changeset
|
1330 |
|
27104
791607529f6d
rep_datatype command now takes list of constructors as input arguments
haftmann
parents:
27067
diff
changeset
|
1331 |
|
27381 | 1332 |
*** Document preparation *** |
1333 |
||
1334 |
* Antiquotation @{lemma} now imitates a regular terminal proof, |
|
27392 | 1335 |
demanding keyword 'by' and supporting the full method expression |
27519
59b54d80d2ae
slightly improved @{lemma} (both for latex and ML);
wenzelm
parents:
27485
diff
changeset
|
1336 |
syntax just like the Isar command 'by'. |
27381 | 1337 |
|
1338 |
||
27104
791607529f6d
rep_datatype command now takes list of constructors as input arguments
haftmann
parents:
27067
diff
changeset
|
1339 |
*** HOL *** |
791607529f6d
rep_datatype command now takes list of constructors as input arguments
haftmann
parents:
27067
diff
changeset
|
1340 |
|
30845
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1341 |
* Integrated main parts of former image HOL-Complex with HOL. Entry |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1342 |
points Main and Complex_Main remain as before. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1343 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1344 |
* Logic image HOL-Plain provides a minimal HOL with the most important |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1345 |
tools available (inductive, datatype, primrec, ...). This facilitates |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1346 |
experimentation and tool development. Note that user applications |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1347 |
(and library theories) should never refer to anything below theory |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1348 |
Main, as before. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1349 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1350 |
* Logic image HOL-Main stops at theory Main, and thus facilitates |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1351 |
experimentation due to shorter build times. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1352 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1353 |
* Logic image HOL-NSA contains theories of nonstandard analysis which |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1354 |
were previously part of former HOL-Complex. Entry point Hyperreal |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1355 |
remains valid, but theories formerly using Complex_Main should now use |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1356 |
new entry point Hypercomplex. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1357 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1358 |
* Generic ATP manager for Sledgehammer, based on ML threads instead of |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1359 |
Posix processes. Avoids potentially expensive forking of the ML |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1360 |
process. New thread-based implementation also works on non-Unix |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1361 |
platforms (Cygwin). Provers are no longer hardwired, but defined |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1362 |
within the theory via plain ML wrapper functions. Basic Sledgehammer |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1363 |
commands are covered in the isar-ref manual. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1364 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1365 |
* Wrapper scripts for remote SystemOnTPTP service allows to use |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1366 |
sledgehammer without local ATP installation (Vampire etc.). Other |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1367 |
provers may be included via suitable ML wrappers, see also |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1368 |
src/HOL/ATP_Linkup.thy. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1369 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1370 |
* ATP selection (E/Vampire/Spass) is now via Proof General's settings |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1371 |
menu. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1372 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1373 |
* The metis method no longer fails because the theorem is too trivial |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1374 |
(contains the empty clause). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1375 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1376 |
* The metis method now fails in the usual manner, rather than raising |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1377 |
an exception, if it determines that it cannot prove the theorem. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1378 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1379 |
* Method "coherent" implements a prover for coherent logic (see also |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1380 |
src/Tools/coherent.ML). |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1381 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1382 |
* Constants "undefined" and "default" replace "arbitrary". Usually |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1383 |
"undefined" is the right choice to replace "arbitrary", though |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1384 |
logically there is no difference. INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1385 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1386 |
* Command "value" now integrates different evaluation mechanisms. The |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1387 |
result of the first successful evaluation mechanism is printed. In |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1388 |
square brackets a particular named evaluation mechanisms may be |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1389 |
specified (currently, [SML], [code] or [nbe]). See further |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1390 |
src/HOL/ex/Eval_Examples.thy. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1391 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1392 |
* Normalization by evaluation now allows non-leftlinear equations. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1393 |
Declare with attribute [code nbe]. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1394 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1395 |
* Methods "case_tac" and "induct_tac" now refer to the very same rules |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1396 |
as the structured Isar versions "cases" and "induct", cf. the |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1397 |
corresponding "cases" and "induct" attributes. Mutual induction rules |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1398 |
are now presented as a list of individual projections |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1399 |
(e.g. foo_bar.inducts for types foo and bar); the old format with |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1400 |
explicit HOL conjunction is no longer supported. INCOMPATIBILITY, in |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1401 |
rare situations a different rule is selected --- notably nested tuple |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1402 |
elimination instead of former prod.exhaust: use explicit (case_tac t |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1403 |
rule: prod.exhaust) here. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1404 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1405 |
* Attributes "cases", "induct", "coinduct" support "del" option. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1406 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1407 |
* Removed fact "case_split_thm", which duplicates "case_split". |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1408 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1409 |
* The option datatype has been moved to a new theory Option. Renamed |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1410 |
option_map to Option.map, and o2s to Option.set, INCOMPATIBILITY. |
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1411 |
|
9a887484de53
misc cleanup and rearrangements for Isabelle2009 release;
wenzelm
parents:
30741
diff
changeset
|
1412 |
* New predicate "strict_mono" classifies strict functions on partial |