author | berghofe |
Wed, 01 Jul 1998 19:11:20 +0200 | |
changeset 5109 | b3d18eb3ac20 |
parent 5106 | 05b7c9a2ddf9 |
child 5125 | 463a0e9df5b5 |
permissions | -rw-r--r-- |
2553 | 1 |
Isabelle NEWS -- history of user-visible changes |
2 |
================================================ |
|
3 |
||
4981 | 4 |
New in this Isabelle version |
5 |
---------------------------- |
|
4649 | 6 |
|
4842 | 7 |
*** General Changes *** |
8 |
||
5075 | 9 |
* new toplevel commands `Goal' and `Goalw' that improve upon `goal' |
10 |
and `goalw': the theory is no longer needed as an explicit argument - |
|
11 |
the current theory is used; assumptions are no longer returned at the |
|
12 |
ML-level unless one of them starts with ==> or !!; it is recommended |
|
13 |
to convert to these new commands using isatool fixgoal (as usual, |
|
14 |
backup your sources first!); |
|
4880 | 15 |
|
5075 | 16 |
* Simplifier: Asm_full_simp_tac is now more aggressive. |
4880 | 17 |
1. It will sometimes reorient premises if that increases their power to |
18 |
simplify. |
|
19 |
2. It does no longer proceed strictly from left to right but may also |
|
20 |
rotate premises to achieve further simplification. |
|
21 |
For compatibility reasons there is now Asm_lr_simp_tac which is like the |
|
22 |
old Asm_full_simp_tac in that it does not rotate premises. |
|
23 |
||
4842 | 24 |
* Changed wrapper mechanism for the classical reasoner now allows for |
25 |
selected deletion of wrappers, by introduction of names for wrapper |
|
26 |
functionals. This implies that addbefore, addSbefore, addaltern, and |
|
27 |
addSaltern now take a pair (name, tactic) as argument, and that adding |
|
28 |
two tactics with the same name overwrites the first one (emitting a |
|
29 |
warning). |
|
4824 | 30 |
type wrapper = (int -> tactic) -> (int -> tactic) |
4649 | 31 |
setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by |
4824 | 32 |
addWrapper, addSWrapper: claset * (string * wrapper) -> claset |
33 |
delWrapper, delSWrapper: claset * string -> claset |
|
4649 | 34 |
getWrapper is renamed to appWrappers, getSWrapper to appSWrappers; |
35 |
||
4842 | 36 |
* inductive definitions now handle disjunctive premises correctly (HOL |
37 |
and ZF); |
|
38 |
||
5059 | 39 |
* new toplevel commands 'thm' and 'thms' for retrieving theorems from |
4842 | 40 |
the current theory context; |
4806 | 41 |
|
4858 | 42 |
* new theory section 'nonterminals'; |
43 |
||
4869 | 44 |
* new theory section 'setup'; |
45 |
||
4711 | 46 |
|
4661 | 47 |
*** HOL *** |
48 |
||
5109 | 49 |
* Inductive definition package: Mutually recursive definitions such as |
50 |
||
51 |
inductive EVEN ODD |
|
52 |
intrs |
|
53 |
null " 0 : EVEN" |
|
54 |
oddI "n : EVEN ==> Suc n : ODD" |
|
55 |
evenI "n : ODD ==> Suc n : EVEN" |
|
56 |
||
57 |
are now possible. Theories containing (co)inductive definitions must now |
|
58 |
have theory "Inductive" as an ancestor. The new component "elims" of the |
|
59 |
structure created by the package contains an elimination rule for each of |
|
60 |
the recursive sets. Note that the component "mutual_induct" no longer |
|
61 |
exists - the induction rule is always contained in "induct". |
|
62 |
||
5106 | 63 |
* HOL/Real: a construction of the reals using Dedekind cuts |
64 |
||
4915
5ff99bd60da9
HOL/record: now includes concrete syntax for record terms;
wenzelm
parents:
4899
diff
changeset
|
65 |
* HOL/record: now includes concrete syntax for record terms (still |
5ff99bd60da9
HOL/record: now includes concrete syntax for record terms;
wenzelm
parents:
4899
diff
changeset
|
66 |
lacks important theorems, like surjective pairing and split); |
5ff99bd60da9
HOL/record: now includes concrete syntax for record terms;
wenzelm
parents:
4899
diff
changeset
|
67 |
|
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
68 |
* simplification procedure unit_eq_proc rewrites (?x::unit) = (); this |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
69 |
is made part of the default simpset of Prod.thy, which COULD MAKE |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
70 |
EXISTING PROOFS FAIL (consider 'Delsimprocs [unit_eq_proc];' as last |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
71 |
resort); |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
72 |
|
4842 | 73 |
* new force_tac (and its derivations Force_tac, force): combines |
74 |
rewriting and classical reasoning (and whatever other tools) similarly |
|
75 |
to auto_tac, but is aimed to solve the given subgoal totally; |
|
4824 | 76 |
|
4838 | 77 |
* added option_map_eq_Some to simpset() and claset() |
78 |
||
5077
71043526295f
* HOL/List: new function list_update written xs[i:=v] that updates the i-th
nipkow
parents:
5075
diff
changeset
|
79 |
* New directory HOL/UNITY: Chandy and Misra's UNITY formalism |
71043526295f
* HOL/List: new function list_update written xs[i:=v] that updates the i-th
nipkow
parents:
5075
diff
changeset
|
80 |
|
4899 | 81 |
* New theory HOL/Update of function updates: |
5072 | 82 |
f(a:=b) == %x. if x=a then b else f x |
83 |
May also be iterated as in f(a:=b,c:=d,...). |
|
4899 | 84 |
|
5077
71043526295f
* HOL/List: new function list_update written xs[i:=v] that updates the i-th
nipkow
parents:
5075
diff
changeset
|
85 |
* HOL/List: new function list_update written xs[i:=v] that updates the i-th |
71043526295f
* HOL/List: new function list_update written xs[i:=v] that updates the i-th
nipkow
parents:
5075
diff
changeset
|
86 |
list position. May also be iterated as in xs[i:=a,j:=b,...]. |
4779 | 87 |
|
4842 | 88 |
* split_all_tac is now much faster and fails if there is nothing to |
89 |
split. Existing (fragile) proofs may require adaption because the |
|
90 |
order and the names of the automatically generated variables have |
|
91 |
changed. split_all_tac has moved within claset() from usafe wrappers |
|
92 |
to safe wrappers, which means that !!-bound variables are splitted |
|
93 |
much more aggressively, and safe_tac and clarify_tac now split such |
|
94 |
variables. If this splitting is not appropriate, use delSWrapper |
|
95 |
"split_all_tac". |
|
4766 | 96 |
|
4842 | 97 |
* added disj_not1 = "(~P | Q) = (P --> Q)" to the default simpset; |
4743 | 98 |
|
4842 | 99 |
* HOL/Arithmetic: |
4825 | 100 |
|
101 |
- removed 'pred' (predecessor) function |
|
102 |
- generalized some theorems about n-1 |
|
103 |
- Many new laws about "div" and "mod" |
|
104 |
- New laws about greatest common divisors (see theory ex/Primes) |
|
4747 | 105 |
|
4842 | 106 |
* HOL/Relation: renamed the relational operatotr r^-1 "converse" |
107 |
instead of "inverse"; |
|
4711 | 108 |
|
4842 | 109 |
* recdef can now declare non-recursive functions, with {} supplied as |
110 |
the well-founded relation; |
|
4806 | 111 |
|
4880 | 112 |
* expand_if, expand_split, expand_sum_case and expand_nat_case are now called |
113 |
split_if, split_split, split_sum_case and split_nat_case |
|
114 |
(to go with add/delsplits). |
|
115 |
||
4730 | 116 |
* Simplifier: |
117 |
||
4835 | 118 |
-Rewrite rules for case distinctions can now be added permanently to the |
119 |
default simpset using Addsplits just like Addsimps. They can be removed via |
|
120 |
Delsplits just like Delsimps. Lower-case versions are also available. |
|
121 |
||
4880 | 122 |
-The rule split_if is now part of the default simpset. This means that |
4683 | 123 |
the simplifier will eliminate all ocurrences of if-then-else in the |
4880 | 124 |
conclusion of a goal. To prevent this, you can either remove split_if |
125 |
completely from the default simpset by `Delsplits [split_if]' or |
|
4683 | 126 |
remove it in a specific call of the simplifier using |
4880 | 127 |
`... delsplits [split_if]'. |
4683 | 128 |
You can also add/delete other case splitting rules to/from the default |
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
129 |
simpset: every datatype generates suitable rules `split_t_case' and |
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
130 |
`split_t_case_asm' (where t is the name of the datatype). |
4683 | 131 |
|
4711 | 132 |
* new theory Vimage (inverse image of a function, syntax f-``B); |
4661 | 133 |
|
4825 | 134 |
* many new identities for unions, intersections, set difference, etc.; |
4711 | 135 |
|
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
136 |
|
4879
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
137 |
*** ZF *** |
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
138 |
|
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
139 |
* in let x=t in u(x), neither t nor u(x) has to be an FOL term. |
4649 | 140 |
|
4842 | 141 |
|
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
142 |
*** Internal changes *** |
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
143 |
|
5008 | 144 |
* improved the theory data mechanism to support encapsulation (data |
145 |
kind name replaced by private Object.kind, acting as authorization |
|
146 |
key); new type-safe user interface via functor TheoryDataFun; |
|
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
147 |
|
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
148 |
* module Pure/Syntax now offers quote / antiquote translation |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
149 |
functions (useful for Hoare logic etc. with implicit dependencies); |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
150 |
|
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
151 |
|
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
152 |
|
4410 | 153 |
New in Isabelle98 (January 1998) |
154 |
-------------------------------- |
|
155 |
||
156 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
|
157 |
||
158 |
* changed lexical syntax of terms / types: dots made part of long |
|
159 |
identifiers, e.g. "%x.x" no longer possible, should be "%x. x"; |
|
160 |
||
161 |
* simpset (and claset) reference variable replaced by functions |
|
162 |
simpset / simpset_ref; |
|
163 |
||
164 |
* no longer supports theory aliases (via merge) and non-trivial |
|
165 |
implicit merge of thms' signatures; |
|
166 |
||
167 |
* most internal names of constants changed due to qualified names; |
|
168 |
||
169 |
* changed Pure/Sequence interface (see Pure/seq.ML); |
|
170 |
||
3454 | 171 |
|
3715 | 172 |
*** General Changes *** |
173 |
||
4174 | 174 |
* hierachically structured name spaces (for consts, types, axms, thms |
3943 | 175 |
etc.); new lexical class 'longid' (e.g. Foo.bar.x) may render much of |
4108 | 176 |
old input syntactically incorrect (e.g. "%x.x"); COMPATIBILITY: |
177 |
isatool fixdots ensures space after dots (e.g. "%x. x"); set |
|
4174 | 178 |
long_names for fully qualified output names; NOTE: ML programs |
179 |
(special tactics, packages etc.) referring to internal names may have |
|
180 |
to be adapted to cope with fully qualified names; in case of severe |
|
181 |
backward campatibility problems try setting 'global_names' at compile |
|
182 |
time to have enrything declared within a flat name space; one may also |
|
183 |
fine tune name declarations in theories via the 'global' and 'local' |
|
184 |
section; |
|
4108 | 185 |
|
186 |
* reimplemented the implicit simpset and claset using the new anytype |
|
187 |
data filed in signatures; references simpset:simpset ref etc. are |
|
188 |
replaced by functions simpset:unit->simpset and |
|
189 |
simpset_ref:unit->simpset ref; COMPATIBILITY: use isatool fixclasimp |
|
190 |
to patch your ML files accordingly; |
|
3856 | 191 |
|
3857 | 192 |
* HTML output now includes theory graph data for display with Java |
193 |
applet or isatool browser; data generated automatically via isatool |
|
3901 | 194 |
usedir (see -i option, ISABELLE_USEDIR_OPTIONS); |
3857 | 195 |
|
3856 | 196 |
* defs may now be conditional; improved rewrite_goals_tac to handle |
197 |
conditional equations; |
|
198 |
||
4174 | 199 |
* defs now admits additional type arguments, using TYPE('a) syntax; |
200 |
||
3901 | 201 |
* theory aliases via merge (e.g. M=A+B+C) no longer supported, always |
202 |
creates a new theory node; implicit merge of thms' signatures is |
|
4112 | 203 |
restricted to 'trivial' ones; COMPATIBILITY: one may have to use |
3901 | 204 |
transfer:theory->thm->thm in (rare) cases; |
205 |
||
3968
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
206 |
* improved handling of draft signatures / theories; draft thms (and |
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
207 |
ctyps, cterms) are automatically promoted to real ones; |
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
208 |
|
3901 | 209 |
* slightly changed interfaces for oracles: admit many per theory, named |
210 |
(e.g. oracle foo = mlfun), additional name argument for invoke_oracle; |
|
211 |
||
212 |
* print_goals: optional output of const types (set show_consts and |
|
213 |
show_types); |
|
3851
fe9932a7cd46
print_goals: optional output of const types (set show_consts);
wenzelm
parents:
3846
diff
changeset
|
214 |
|
4388 | 215 |
* improved output of warnings (###) and errors (***); |
3697
c5833dfcc2cc
Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
wenzelm
parents:
3671
diff
changeset
|
216 |
|
4178
e64ff1c1bc70
subgoal_tac displays a warning if the new subgoal has type variables
paulson
parents:
4174
diff
changeset
|
217 |
* subgoal_tac displays a warning if the new subgoal has type variables; |
e64ff1c1bc70
subgoal_tac displays a warning if the new subgoal has type variables
paulson
parents:
4174
diff
changeset
|
218 |
|
3715 | 219 |
* removed old README and Makefiles; |
3697
c5833dfcc2cc
Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
wenzelm
parents:
3671
diff
changeset
|
220 |
|
3856 | 221 |
* replaced print_goals_ref hook by print_current_goals_fn and result_error_fn; |
3670
9fea3562f8c7
replaced print_goals_ref hook by print_current_goals_fn and
wenzelm
parents:
3658
diff
changeset
|
222 |
|
3715 | 223 |
* removed obsolete init_pps and init_database; |
224 |
||
225 |
* deleted the obsolete tactical STATE, which was declared by |
|
226 |
fun STATE tacfun st = tacfun st st; |
|
227 |
||
4388 | 228 |
* cd and use now support path variables, e.g. $ISABELLE_HOME, or ~ |
229 |
(which abbreviates $HOME); |
|
4269 | 230 |
|
231 |
* changed Pure/Sequence interface (see Pure/seq.ML); COMPATIBILITY: |
|
232 |
use isatool fixseq to adapt your ML programs (this works for fully |
|
233 |
qualified references to the Sequence structure only!); |
|
234 |
||
4381 | 235 |
* use_thy no longer requires writable current directory; it always |
236 |
reloads .ML *and* .thy file, if either one is out of date; |
|
4269 | 237 |
|
3715 | 238 |
|
239 |
*** Classical Reasoner *** |
|
240 |
||
3744 | 241 |
* Clarify_tac, clarify_tac, clarify_step_tac, Clarify_step_tac: new |
242 |
tactics that use classical reasoning to simplify a subgoal without |
|
243 |
splitting it into several subgoals; |
|
3715 | 244 |
|
3719 | 245 |
* Safe_tac: like safe_tac but uses the default claset; |
246 |
||
3715 | 247 |
|
248 |
*** Simplifier *** |
|
249 |
||
250 |
* added simplification meta rules: |
|
251 |
(asm_)(full_)simplify: simpset -> thm -> thm; |
|
252 |
||
253 |
* simplifier.ML no longer part of Pure -- has to be loaded by object |
|
254 |
logics (again); |
|
255 |
||
256 |
* added prems argument to simplification procedures; |
|
257 |
||
4325 | 258 |
* HOL, FOL, ZF: added infix function `addsplits': |
259 |
instead of `<simpset> setloop (split_tac <thms>)' |
|
260 |
you can simply write `<simpset> addsplits <thms>' |
|
261 |
||
3715 | 262 |
|
263 |
*** Syntax *** |
|
264 |
||
4174 | 265 |
* TYPE('a) syntax for type reflection terms; |
266 |
||
3985 | 267 |
* no longer handles consts with name "" -- declare as 'syntax' instead; |
3856 | 268 |
|
269 |
* pretty printer: changed order of mixfix annotation preference (again!); |
|
3846 | 270 |
|
3715 | 271 |
* Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories; |
272 |
||
273 |
||
274 |
*** HOL *** |
|
275 |
||
4207 | 276 |
* HOL: there is a new splitter `split_asm_tac' that can be used e.g. |
4189 | 277 |
with `addloop' of the simplifier to faciliate case splitting in premises. |
278 |
||
4035 | 279 |
* HOL/TLA: Stephan Merz's formalization of Lamport's Temporal Logic of Actions; |
3985 | 280 |
|
281 |
* HOL/Auth: new protocol proofs including some for the Internet |
|
4035 | 282 |
protocol TLS; |
3985 | 283 |
|
4125 | 284 |
* HOL/Map: new theory of `maps' a la VDM; |
3982 | 285 |
|
4335 | 286 |
* HOL/simplifier: simplification procedures nat_cancel_sums for |
287 |
cancelling out common nat summands from =, <, <= (in)equalities, or |
|
288 |
differences; simplification procedures nat_cancel_factor for |
|
289 |
cancelling common factor from =, <, <= (in)equalities over natural |
|
4373 | 290 |
sums; nat_cancel contains both kinds of procedures, it is installed by |
291 |
default in Arith.thy -- this COULD MAKE EXISTING PROOFS FAIL; |
|
4335 | 292 |
|
3580 | 293 |
* HOL/simplifier: terms of the form |
4325 | 294 |
`? x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x)' (or t=x) |
3580 | 295 |
are rewritten to |
4035 | 296 |
`P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t)', |
297 |
and those of the form |
|
4325 | 298 |
`! x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x) --> R(x)' (or t=x) |
4035 | 299 |
are rewritten to |
300 |
`P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t) --> R(t)', |
|
301 |
||
302 |
* HOL/datatype |
|
303 |
Each datatype `t' now comes with a theorem `split_t_case' of the form |
|
3580 | 304 |
|
4035 | 305 |
P(t_case f1 ... fn x) = |
306 |
( (!y1 ... ym1. x = C1 y1 ... ym1 --> P(f1 y1 ... ym1)) & |
|
307 |
... |
|
4189 | 308 |
(!y1 ... ymn. x = Cn y1 ... ymn --> P(f1 y1 ... ymn)) |
4035 | 309 |
) |
310 |
||
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
311 |
and a theorem `split_t_case_asm' of the form |
4189 | 312 |
|
313 |
P(t_case f1 ... fn x) = |
|
314 |
~( (? y1 ... ym1. x = C1 y1 ... ym1 & ~P(f1 y1 ... ym1)) | |
|
315 |
... |
|
316 |
(? y1 ... ymn. x = Cn y1 ... ymn & ~P(f1 y1 ... ymn)) |
|
317 |
) |
|
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
318 |
which can be added to a simpset via `addsplits'. The existing theorems |
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
319 |
expand_list_case and expand_option_case have been renamed to |
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
320 |
split_list_case and split_option_case. |
4189 | 321 |
|
4361 | 322 |
* HOL/Arithmetic: |
323 |
- `pred n' is automatically converted to `n-1'. |
|
324 |
Users are strongly encouraged not to use `pred' any longer, |
|
325 |
because it will disappear altogether at some point. |
|
326 |
- Users are strongly encouraged to write "0 < n" rather than |
|
327 |
"n ~= 0". Theorems and proof tools have been modified towards this |
|
328 |
`standard'. |
|
4357 | 329 |
|
4502 | 330 |
* HOL/Lists: |
331 |
the function "set_of_list" has been renamed "set" (and its theorems too); |
|
332 |
the function "nth" now takes its arguments in the reverse order and |
|
333 |
has acquired the infix notation "!" as in "xs!n". |
|
3570 | 334 |
|
4154 | 335 |
* HOL/Set: UNIV is now a constant and is no longer translated to Compl{}; |
336 |
||
337 |
* HOL/Set: The operator (UN x.B x) now abbreviates (UN x:UNIV. B x) and its |
|
338 |
specialist theorems (like UN1_I) are gone. Similarly for (INT x.B x); |
|
339 |
||
4575 | 340 |
* HOL/record: extensible records with schematic structural subtyping |
341 |
(single inheritance); EXPERIMENTAL version demonstrating the encoding, |
|
342 |
still lacks various theorems and concrete record syntax; |
|
343 |
||
4125 | 344 |
|
3715 | 345 |
*** HOLCF *** |
3535 | 346 |
|
4125 | 347 |
* removed "axioms" and "generated by" sections; |
348 |
||
4123 | 349 |
* replaced "ops" section by extended "consts" section, which is capable of |
4125 | 350 |
handling the continuous function space "->" directly; |
351 |
||
352 |
* domain package: |
|
353 |
. proves theorems immediately and stores them in the theory, |
|
354 |
. creates hierachical name space, |
|
355 |
. now uses normal mixfix annotations (instead of cinfix...), |
|
356 |
. minor changes to some names and values (for consistency), |
|
357 |
. e.g. cases -> casedist, dists_eq -> dist_eqs, [take_lemma] -> take_lemmas, |
|
358 |
. separator between mutual domain defs: changed "," to "and", |
|
359 |
. improved handling of sort constraints; now they have to |
|
360 |
appear on the left-hand side of the equations only; |
|
4123 | 361 |
|
362 |
* fixed LAM <x,y,zs>.b syntax; |
|
3567 | 363 |
|
3744 | 364 |
* added extended adm_tac to simplifier in HOLCF -- can now discharge |
365 |
adm (%x. P (t x)), where P is chainfinite and t continuous; |
|
3579 | 366 |
|
367 |
||
3719 | 368 |
*** FOL and ZF *** |
369 |
||
4207 | 370 |
* FOL: there is a new splitter `split_asm_tac' that can be used e.g. |
4189 | 371 |
with `addloop' of the simplifier to faciliate case splitting in premises. |
372 |
||
3744 | 373 |
* qed_spec_mp, qed_goal_spec_mp, qed_goalw_spec_mp are available, as |
374 |
in HOL, they strip ALL and --> from proved theorems; |
|
375 |
||
3719 | 376 |
|
3579 | 377 |
|
3006 | 378 |
New in Isabelle94-8 (May 1997) |
379 |
------------------------------ |
|
2654 | 380 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
381 |
*** General Changes *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
382 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
383 |
* new utilities to build / run / maintain Isabelle etc. (in parts |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
384 |
still somewhat experimental); old Makefiles etc. still functional; |
2971 | 385 |
|
3205 | 386 |
* new 'Isabelle System Manual'; |
387 |
||
2825 | 388 |
* INSTALL text, together with ./configure and ./build scripts; |
2773 | 389 |
|
3006 | 390 |
* reimplemented type inference for greater efficiency, better error |
391 |
messages and clean internal interface; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
392 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
393 |
* prlim command for dealing with lots of subgoals (an easier way of |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
394 |
setting goals_limit); |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
395 |
|
3006 | 396 |
|
397 |
*** Syntax *** |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
398 |
|
3116 | 399 |
* supports alternative (named) syntax tables (parser and pretty |
400 |
printer); internal interface is provided by add_modesyntax(_i); |
|
401 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
402 |
* Pure, FOL, ZF, HOL, HOLCF now support symbolic input and output; to |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
403 |
be used in conjunction with the Isabelle symbol font; uses the |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
404 |
"symbols" syntax table; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
405 |
|
2705 | 406 |
* added token_translation interface (may translate name tokens in |
2756 | 407 |
arbitrary ways, dependent on their type (free, bound, tfree, ...) and |
3116 | 408 |
the current print_mode); IMPORTANT: user print translation functions |
409 |
are responsible for marking newly introduced bounds |
|
410 |
(Syntax.mark_boundT); |
|
2705 | 411 |
|
2730 | 412 |
* token translations for modes "xterm" and "xterm_color" that display |
3006 | 413 |
names in bold, underline etc. or colors (which requires a color |
414 |
version of xterm); |
|
2730 | 415 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
416 |
* infixes may now be declared with names independent of their syntax; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
417 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
418 |
* added typed_print_translation (like print_translation, but may |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
419 |
access type of constant); |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
420 |
|
3006 | 421 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
422 |
*** Classical Reasoner *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
423 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
424 |
Blast_tac: a new tactic! It is often more powerful than fast_tac, but has |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
425 |
some limitations. Blast_tac... |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
426 |
+ ignores addss, addbefore, addafter; this restriction is intrinsic |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
427 |
+ ignores elimination rules that don't have the correct format |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
428 |
(the conclusion MUST be a formula variable) |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
429 |
+ ignores types, which can make HOL proofs fail |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
430 |
+ rules must not require higher-order unification, e.g. apply_type in ZF |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
431 |
[message "Function Var's argument not a bound variable" relates to this] |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
432 |
+ its proof strategy is more general but can actually be slower |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
433 |
|
3107 | 434 |
* substitution with equality assumptions no longer permutes other |
435 |
assumptions; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
436 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
437 |
* minor changes in semantics of addafter (now called addaltern); renamed |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
438 |
setwrapper to setWrapper and compwrapper to compWrapper; added safe wrapper |
3107 | 439 |
(and access functions for it); |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
440 |
|
3317 | 441 |
* improved combination of classical reasoner and simplifier: |
442 |
+ functions for handling clasimpsets |
|
443 |
+ improvement of addss: now the simplifier is called _after_ the |
|
444 |
safe steps. |
|
445 |
+ safe variant of addss called addSss: uses safe simplifications |
|
446 |
_during_ the safe steps. It is more complete as it allows multiple |
|
447 |
instantiations of unknowns (e.g. with slow_tac). |
|
3006 | 448 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
449 |
*** Simplifier *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
450 |
|
3006 | 451 |
* added interface for simplification procedures (functions that |
452 |
produce *proven* rewrite rules on the fly, depending on current |
|
453 |
redex); |
|
454 |
||
455 |
* ordering on terms as parameter (used for ordered rewriting); |
|
456 |
||
3107 | 457 |
* new functions delcongs, deleqcongs, and Delcongs. richer rep_ss; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
458 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
459 |
* the solver is now split into a safe and an unsafe part. |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
460 |
This should be invisible for the normal user, except that the |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
461 |
functions setsolver and addsolver have been renamed to setSolver and |
3107 | 462 |
addSolver; added safe_asm_full_simp_tac; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
463 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
464 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
465 |
*** HOL *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
466 |
|
3042 | 467 |
* a generic induction tactic `induct_tac' which works for all datatypes and |
3107 | 468 |
also for type `nat'; |
3042 | 469 |
|
3316 | 470 |
* a generic case distinction tactic `exhaust_tac' which works for all |
471 |
datatypes and also for type `nat'; |
|
472 |
||
473 |
* each datatype comes with a function `size'; |
|
474 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
475 |
* patterns in case expressions allow tuple patterns as arguments to |
3107 | 476 |
constructors, for example `case x of [] => ... | (x,y,z)#ps => ...'; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
477 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
478 |
* primrec now also works with type nat; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
479 |
|
3338 | 480 |
* recdef: a new declaration form, allows general recursive functions to be |
481 |
defined in theory files. See HOL/ex/Fib, HOL/ex/Primes, HOL/Subst/Unify. |
|
482 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
483 |
* the constant for negation has been renamed from "not" to "Not" to |
3107 | 484 |
harmonize with FOL, ZF, LK, etc.; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
485 |
|
3107 | 486 |
* HOL/ex/LFilter theory of a corecursive "filter" functional for |
487 |
infinite lists; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
488 |
|
3227 | 489 |
* HOL/Modelcheck demonstrates invocation of model checker oracle; |
490 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
491 |
* HOL/ex/Ring.thy declares cring_simp, which solves equational |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
492 |
problems in commutative rings, using axiomatic type classes for + and *; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
493 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
494 |
* more examples in HOL/MiniML and HOL/Auth; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
495 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
496 |
* more default rewrite rules for quantifiers, union/intersection; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
497 |
|
3321 | 498 |
* a new constant `arbitrary == @x.False'; |
499 |
||
3107 | 500 |
* HOLCF/IOA replaces old HOL/IOA; |
501 |
||
2653
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
502 |
* HOLCF changes: derived all rules and arities |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
503 |
+ axiomatic type classes instead of classes |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
504 |
+ typedef instead of faking type definitions |
2747 | 505 |
+ eliminated the internal constants less_fun, less_cfun, UU_fun, UU_cfun etc. |
2730 | 506 |
+ new axclasses cpo, chfin, flat with flat < chfin < pcpo < cpo < po |
2653
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
507 |
+ eliminated the types void, one, tr |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
508 |
+ use unit lift and bool lift (with translations) instead of one and tr |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
509 |
+ eliminated blift from Lift3.thy (use Def instead of blift) |
3107 | 510 |
all eliminated rules are derived as theorems --> no visible changes ; |
2649 | 511 |
|
3006 | 512 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
513 |
*** ZF *** |
2553 | 514 |
|
2865 | 515 |
* ZF now has Fast_tac, Simp_tac and Auto_tac. Union_iff is a now a default |
516 |
rewrite rule; this may affect some proofs. eq_cs is gone but can be put back |
|
517 |
as ZF_cs addSIs [equalityI]; |
|
2553 | 518 |
|
2554 | 519 |
|
2732 | 520 |
|
2553 | 521 |
New in Isabelle94-7 (November 96) |
522 |
--------------------------------- |
|
523 |
||
524 |
* allowing negative levels (as offsets) in prlev and choplev; |
|
525 |
||
2554 | 526 |
* super-linear speedup for large simplifications; |
527 |
||
528 |
* FOL, ZF and HOL now use miniscoping: rewriting pushes |
|
529 |
quantifications in as far as possible (COULD MAKE EXISTING PROOFS |
|
530 |
FAIL); can suppress it using the command Delsimps (ex_simps @ |
|
531 |
all_simps); De Morgan laws are also now included, by default; |
|
532 |
||
533 |
* improved printing of ==> : ~: |
|
534 |
||
535 |
* new object-logic "Sequents" adds linear logic, while replacing LK |
|
536 |
and Modal (thanks to Sara Kalvala); |
|
537 |
||
538 |
* HOL/Auth: correctness proofs for authentication protocols; |
|
539 |
||
540 |
* HOL: new auto_tac combines rewriting and classical reasoning (many |
|
541 |
examples on HOL/Auth); |
|
542 |
||
543 |
* HOL: new command AddIffs for declaring theorems of the form P=Q to |
|
544 |
the rewriter and classical reasoner simultaneously; |
|
545 |
||
546 |
* function uresult no longer returns theorems in "standard" format; |
|
547 |
regain previous version by: val uresult = standard o uresult; |
|
548 |
||
549 |
||
550 |
||
551 |
New in Isabelle94-6 |
|
552 |
------------------- |
|
553 |
||
554 |
* oracles -- these establish an interface between Isabelle and trusted |
|
555 |
external reasoners, which may deliver results as theorems; |
|
556 |
||
557 |
* proof objects (in particular record all uses of oracles); |
|
558 |
||
559 |
* Simp_tac, Fast_tac, etc. that refer to implicit simpset / claset; |
|
560 |
||
561 |
* "constdefs" section in theory files; |
|
562 |
||
563 |
* "primrec" section (HOL) no longer requires names; |
|
564 |
||
565 |
* internal type "tactic" now simply "thm -> thm Sequence.seq"; |
|
566 |
||
567 |
||
568 |
||
569 |
New in Isabelle94-5 |
|
570 |
------------------- |
|
571 |
||
572 |
* reduced space requirements; |
|
573 |
||
574 |
* automatic HTML generation from theories; |
|
575 |
||
576 |
* theory files no longer require "..." (quotes) around most types; |
|
577 |
||
578 |
* new examples, including two proofs of the Church-Rosser theorem; |
|
579 |
||
580 |
* non-curried (1994) version of HOL is no longer distributed; |
|
581 |
||
2553 | 582 |
|
2557 | 583 |
|
584 |
New in Isabelle94-4 |
|
585 |
------------------- |
|
586 |
||
2747 | 587 |
* greatly reduced space requirements; |
2557 | 588 |
|
589 |
* theory files (.thy) no longer require \...\ escapes at line breaks; |
|
590 |
||
591 |
* searchable theorem database (see the section "Retrieving theorems" on |
|
592 |
page 8 of the Reference Manual); |
|
593 |
||
594 |
* new examples, including Grabczewski's monumental case study of the |
|
595 |
Axiom of Choice; |
|
596 |
||
597 |
* The previous version of HOL renamed to Old_HOL; |
|
598 |
||
599 |
* The new version of HOL (previously called CHOL) uses a curried syntax |
|
600 |
for functions. Application looks like f a b instead of f(a,b); |
|
601 |
||
602 |
* Mutually recursive inductive definitions finally work in HOL; |
|
603 |
||
604 |
* In ZF, pattern-matching on tuples is now available in all abstractions and |
|
605 |
translates to the operator "split"; |
|
606 |
||
607 |
||
608 |
||
609 |
New in Isabelle94-3 |
|
610 |
------------------- |
|
611 |
||
612 |
* new infix operator, addss, allowing the classical reasoner to |
|
613 |
perform simplification at each step of its search. Example: |
|
614 |
fast_tac (cs addss ss) |
|
615 |
||
616 |
* a new logic, CHOL, the same as HOL, but with a curried syntax |
|
617 |
for functions. Application looks like f a b instead of f(a,b). Also pairs |
|
618 |
look like (a,b) instead of <a,b>; |
|
619 |
||
620 |
* PLEASE NOTE: CHOL will eventually replace HOL! |
|
621 |
||
622 |
* In CHOL, pattern-matching on tuples is now available in all abstractions. |
|
623 |
It translates to the operator "split". A new theory of integers is available; |
|
624 |
||
625 |
* In ZF, integer numerals now denote two's-complement binary integers. |
|
626 |
Arithmetic operations can be performed by rewriting. See ZF/ex/Bin.ML; |
|
627 |
||
628 |
* Many new examples: I/O automata, Church-Rosser theorem, equivalents |
|
629 |
of the Axiom of Choice; |
|
630 |
||
631 |
||
632 |
||
633 |
New in Isabelle94-2 |
|
634 |
------------------- |
|
635 |
||
636 |
* Significantly faster resolution; |
|
637 |
||
638 |
* the different sections in a .thy file can now be mixed and repeated |
|
639 |
freely; |
|
640 |
||
641 |
* Database of theorems for FOL, HOL and ZF. New |
|
642 |
commands including qed, qed_goal and bind_thm store theorems in the database. |
|
643 |
||
644 |
* Simple database queries: return a named theorem (get_thm) or all theorems of |
|
645 |
a given theory (thms_of), or find out what theory a theorem was proved in |
|
646 |
(theory_of_thm); |
|
647 |
||
648 |
* Bugs fixed in the inductive definition and datatype packages; |
|
649 |
||
650 |
* The classical reasoner provides deepen_tac and depth_tac, making FOL_dup_cs |
|
651 |
and HOL_dup_cs obsolete; |
|
652 |
||
653 |
* Syntactic ambiguities caused by the new treatment of syntax in Isabelle94-1 |
|
654 |
have been removed; |
|
655 |
||
656 |
* Simpler definition of function space in ZF; |
|
657 |
||
658 |
* new results about cardinal and ordinal arithmetic in ZF; |
|
659 |
||
660 |
* 'subtype' facility in HOL for introducing new types as subsets of existing |
|
661 |
types; |
|
662 |
||
663 |
||
2553 | 664 |
$Id$ |