author | paulson |
Fri, 23 Apr 1999 12:23:21 +0200 | |
changeset 6498 | 1ebbe18fe236 |
parent 6482 | 324a4051ff7b |
child 6533 | b8929d23aaa4 |
permissions | -rw-r--r-- |
6420 | 1 |
|
5363 | 2 |
Isabelle NEWS -- history user-relevant changes |
3 |
============================================== |
|
2553 | 4 |
|
4981 | 5 |
New in this Isabelle version |
6 |
---------------------------- |
|
4649 | 7 |
|
5931 | 8 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
9 |
||
6269 | 10 |
* HOL: Removed the obsolete syntax "Compl A"; use -A for set |
11 |
complement; |
|
5931 | 12 |
|
6269 | 13 |
* HOL: the predicate "inj" is now defined by translation to "inj_on"; |
6174 | 14 |
|
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
15 |
* HOL/typedef: fixed type inference for representing set; type |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
16 |
arguments now have to occur explicitly on the rhs as type constraints; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
17 |
|
6269 | 18 |
* ZF: The con_defs part of an inductive definition may no longer refer |
19 |
to constants declared in the same theory; |
|
6057 | 20 |
|
6269 | 21 |
* HOL, ZF: the function mk_cases, generated by the inductive |
22 |
definition package, has lost an argument. To simplify its result, it |
|
23 |
uses the default simpset instead of a supplied list of theorems. |
|
6141 | 24 |
|
6057 | 25 |
|
6069 | 26 |
*** Proof tools *** |
27 |
||
6343 | 28 |
* Provers/Arith/fast_lin_arith.ML contains a functor for creating a |
29 |
decision procedure for linear arithmetic. Currently it is used for |
|
30 |
types `nat' and `int' in HOL (see below) but can, should and will be |
|
31 |
instantiated for other types and logics as well. |
|
6069 | 32 |
|
33 |
||
6014 | 34 |
*** General *** |
35 |
||
6449 | 36 |
* theory loader rewritten from scratch (may not be fully |
37 |
bug-compatible); old loadpath variable has been replaced by show_path, |
|
38 |
add_path, del_path, reset_path functions; |
|
39 |
||
6343 | 40 |
* in locales, the "assumes" and "defines" parts may be omitted if |
41 |
empty; |
|
5973 | 42 |
|
6269 | 43 |
* new print_mode "xsymbols" for extended symbol support (e.g. genuine |
44 |
long arrows); |
|
6259
488bdc1bd11a
path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents:
6174
diff
changeset
|
45 |
|
6343 | 46 |
* new print_mode "HTML"; |
47 |
||
6259
488bdc1bd11a
path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents:
6174
diff
changeset
|
48 |
* path element specification '~~' refers to '$ISABELLE_HOME'; |
488bdc1bd11a
path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents:
6174
diff
changeset
|
49 |
|
6343 | 50 |
* new flag show_tags controls display of tags of theorems (which are |
51 |
basically just comments that may be attached by some tools); |
|
52 |
||
6420 | 53 |
* improved isatool install: option -k creates KDE application icon, |
54 |
option -p DIR installs standalone binaries; |
|
6415 | 55 |
|
6413 | 56 |
* added ML_PLATFORM setting (useful for cross-platform installations); |
57 |
||
6461 | 58 |
* Isamode 2.6 requires patch to accomodate change of Isabelle font |
59 |
mode and goal output format: |
|
60 |
||
61 |
diff -r Isamode-2.6/elisp/isa-load.el Isamode/elisp/isa-load.el |
|
62 |
244c244 |
|
63 |
< (list (isa-getenv "ISABELLE") "-msymbols" logic-name) |
|
64 |
--- |
|
65 |
> (list (isa-getenv "ISABELLE") "-misabelle_font" "-msymbols" |
|
66 |
logic-name) |
|
67 |
diff -r Isabelle-2.6/elisp/isa-proofstate.el Isamode/elisp/isa-proofstate.el |
|
68 |
181c181 |
|
69 |
< (defconst proofstate-proofstart-regexp "^Level [0-9]+$" |
|
70 |
--- |
|
71 |
> (defconst proofstate-proofstart-regexp "^Level [0-9]+" |
|
72 |
||
6028 | 73 |
|
6057 | 74 |
*** HOL *** |
75 |
||
6482 | 76 |
* recdef (TFL) now requires theory Recdef; |
77 |
||
6343 | 78 |
* There are now decision procedures for linear arithmetic over nat and |
79 |
int: |
|
6131 | 80 |
|
6343 | 81 |
1. arith_tac copes with arbitrary formulae involving `=', `<', `<=', |
82 |
`+', `-', `Suc', `min', `max' and numerical constants; other subterms |
|
83 |
are treated as atomic; subformulae not involving type `nat' or `int' |
|
84 |
are ignored; quantified subformulae are ignored unless they are |
|
85 |
positive universal or negative existential. The tactic has to be |
|
86 |
invoked by hand and can be a little bit slow. In particular, the |
|
87 |
running time is exponential in the number of occurrences of `min' and |
|
88 |
`max', and `-' on `nat'. |
|
6131 | 89 |
|
6343 | 90 |
2. fast_arith_tac is a cut-down version of arith_tac: it only takes |
91 |
(negated) (in)equalities among the premises and the conclusion into |
|
92 |
account (i.e. no compound formulae) and does not know about `min' and |
|
93 |
`max', and `-' on `nat'. It is fast and is used automatically by the |
|
94 |
simplifier. |
|
6131 | 95 |
|
6343 | 96 |
NB: At the moment, these decision procedures do not cope with mixed |
97 |
nat/int formulae where the two parts interact, such as `m < n ==> |
|
98 |
int(m) < int(n)'. |
|
6028 | 99 |
|
6403 | 100 |
* New bounded quantifier syntax (input only): |
101 |
! x < y. P, ! x <= y. P, ? x < y. P, ? x <= y. P |
|
102 |
||
6278 | 103 |
* HOL/TLA (Lamport's Temporal Logic of Actions): major reorganization |
104 |
-- avoids syntactic ambiguities and treats state, transition, and |
|
105 |
temporal levels more uniformly; introduces INCOMPATIBILITIES due to |
|
106 |
changed syntax and (many) tactics; |
|
107 |
||
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
108 |
* HOL/typedef: fixed type inference for representing set; type |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
109 |
arguments now have to occur explicitly on the rhs as type constraints; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
110 |
|
6269 | 111 |
|
6064 | 112 |
*** ZF *** |
113 |
||
114 |
* new primrec section allows primitive recursive functions to be given |
|
6269 | 115 |
directly (as in HOL) over datatypes and the natural numbers; |
6064 | 116 |
|
6269 | 117 |
* new tactics induct_tac and exhaust_tac for induction (or case |
118 |
analysis) over datatypes and the natural numbers; |
|
6064 | 119 |
|
120 |
* the datatype declaration of type T now defines the recursor T_rec; |
|
121 |
||
6141 | 122 |
* simplification automatically does freeness reasoning for datatype |
6269 | 123 |
constructors; |
6141 | 124 |
|
6269 | 125 |
* automatic type-inference, with AddTCs command to insert new |
126 |
type-checking rules; |
|
6155 | 127 |
|
6269 | 128 |
* datatype introduction rules are now added as Safe Introduction rules |
129 |
to the claset; |
|
6155 | 130 |
|
6269 | 131 |
* the syntax "if P then x else y" is now available in addition to |
132 |
if(P,x,y); |
|
133 |
||
6069 | 134 |
|
6343 | 135 |
*** Internal programming interfaces *** |
136 |
||
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
137 |
* AxClass.axclass_tac lost the theory argument; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
138 |
|
6343 | 139 |
* tuned current_goals_markers semantics: begin / end goal avoids |
140 |
printing empty lines; |
|
141 |
||
142 |
* removed prs and prs_fn hook, which was broken because it did not |
|
143 |
include \n in its semantics, forcing writeln to add one |
|
144 |
uncoditionally; replaced prs_fn by writeln_fn; consider std_output: |
|
145 |
string -> unit if you really want to output text without newline; |
|
146 |
||
147 |
* Symbol.output subject to print mode; INCOMPATIBILITY: defaults to |
|
148 |
plain output, interface builders may have to enable 'isabelle_font' |
|
149 |
mode to get Isabelle font glyphs as before; |
|
150 |
||
151 |
* refined token_translation interface; INCOMPATIBILITY: output length |
|
152 |
now of type real instead of int; |
|
153 |
||
154 |
||
6064 | 155 |
|
5781 | 156 |
New in Isabelle98-1 (October 1998) |
157 |
---------------------------------- |
|
158 |
||
5127 | 159 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
4842 | 160 |
|
5726 | 161 |
* several changes of automated proof tools; |
5373 | 162 |
|
5726 | 163 |
* HOL: major changes to the inductive and datatype packages, including |
164 |
some minor incompatibilities of theory syntax; |
|
5214 | 165 |
|
5726 | 166 |
* HOL: renamed r^-1 to 'converse' from 'inverse'; 'inj_onto' is now |
5217 | 167 |
called `inj_on'; |
5160 | 168 |
|
5275 | 169 |
* HOL: removed duplicate thms in Arith: |
170 |
less_imp_add_less should be replaced by trans_less_add1 |
|
171 |
le_imp_add_le should be replaced by trans_le_add1 |
|
5160 | 172 |
|
5726 | 173 |
* HOL: unary minus is now overloaded (new type constraints may be |
174 |
required); |
|
5490 | 175 |
|
5726 | 176 |
* HOL and ZF: unary minus for integers is now #- instead of #~. In |
177 |
ZF, expressions such as n#-1 must be changed to n#- 1, since #-1 is |
|
178 |
now taken as an integer constant. |
|
5541 | 179 |
|
5726 | 180 |
* Pure: ML function 'theory_of' renamed to 'theory'; |
5397
034ed25535b9
* Pure: ML function 'theory_of' replaced by 'theory';
wenzelm
parents:
5373
diff
changeset
|
181 |
|
5363 | 182 |
|
5127 | 183 |
*** Proof tools *** |
4880 | 184 |
|
5657
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
185 |
* Simplifier: |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
186 |
1. Asm_full_simp_tac is now more aggressive. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
187 |
1. It will sometimes reorient premises if that increases their power to |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
188 |
simplify. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
189 |
2. It does no longer proceed strictly from left to right but may also |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
190 |
rotate premises to achieve further simplification. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
191 |
For compatibility reasons there is now Asm_lr_simp_tac which is like the |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
192 |
old Asm_full_simp_tac in that it does not rotate premises. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
193 |
2. The simplifier now knows a little bit about nat-arithmetic. |
4880 | 194 |
|
5127 | 195 |
* Classical reasoner: wrapper mechanism for the classical reasoner now |
196 |
allows for selected deletion of wrappers, by introduction of names for |
|
197 |
wrapper functionals. This implies that addbefore, addSbefore, |
|
198 |
addaltern, and addSaltern now take a pair (name, tactic) as argument, |
|
199 |
and that adding two tactics with the same name overwrites the first |
|
200 |
one (emitting a warning). |
|
4824 | 201 |
type wrapper = (int -> tactic) -> (int -> tactic) |
4649 | 202 |
setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by |
4824 | 203 |
addWrapper, addSWrapper: claset * (string * wrapper) -> claset |
204 |
delWrapper, delSWrapper: claset * string -> claset |
|
4649 | 205 |
getWrapper is renamed to appWrappers, getSWrapper to appSWrappers; |
206 |
||
5705
56f2030c46c6
tuned (all proofs are INSTABLE by David's definition of instability);
wenzelm
parents:
5671
diff
changeset
|
207 |
* Classical reasoner: addbefore/addSbefore now have APPEND/ORELSE |
5726 | 208 |
semantics; addbefore now affects only the unsafe part of step_tac |
209 |
etc.; this affects addss/auto_tac/force_tac, so EXISTING PROOFS MAY |
|
210 |
FAIL, but proofs should be fixable easily, e.g. by replacing Auto_tac |
|
211 |
by Force_tac; |
|
5524 | 212 |
|
5726 | 213 |
* Classical reasoner: setwrapper to setWrapper and compwrapper to |
214 |
compWrapper; added safe wrapper (and access functions for it); |
|
5524 | 215 |
|
5127 | 216 |
* HOL/split_all_tac is now much faster and fails if there is nothing |
5726 | 217 |
to split. Some EXISTING PROOFS MAY REQUIRE ADAPTION because the order |
218 |
and the names of the automatically generated variables have changed. |
|
219 |
split_all_tac has moved within claset() from unsafe wrappers to safe |
|
220 |
wrappers, which means that !!-bound variables are split much more |
|
221 |
aggressively, and safe_tac and clarify_tac now split such variables. |
|
222 |
If this splitting is not appropriate, use delSWrapper "split_all_tac". |
|
223 |
Note: the same holds for record_split_tac, which does the job of |
|
224 |
split_all_tac for record fields. |
|
5127 | 225 |
|
5726 | 226 |
* HOL/Simplifier: Rewrite rules for case distinctions can now be added |
227 |
permanently to the default simpset using Addsplits just like |
|
228 |
Addsimps. They can be removed via Delsplits just like |
|
229 |
Delsimps. Lower-case versions are also available. |
|
5127 | 230 |
|
5726 | 231 |
* HOL/Simplifier: The rule split_if is now part of the default |
232 |
simpset. This means that the simplifier will eliminate all occurrences |
|
233 |
of if-then-else in the conclusion of a goal. To prevent this, you can |
|
234 |
either remove split_if completely from the default simpset by |
|
235 |
`Delsplits [split_if]' or remove it in a specific call of the |
|
236 |
simplifier using `... delsplits [split_if]'. You can also add/delete |
|
237 |
other case splitting rules to/from the default simpset: every datatype |
|
238 |
generates suitable rules `split_t_case' and `split_t_case_asm' (where |
|
239 |
t is the name of the datatype). |
|
5127 | 240 |
|
5726 | 241 |
* Classical reasoner / Simplifier combination: new force_tac (and |
5127 | 242 |
derivatives Force_tac, force) combines rewriting and classical |
243 |
reasoning (and whatever other tools) similarly to auto_tac, but is |
|
5726 | 244 |
aimed to solve the given subgoal completely. |
5127 | 245 |
|
246 |
||
247 |
*** General *** |
|
248 |
||
5217 | 249 |
* new top-level commands `Goal' and `Goalw' that improve upon `goal' |
5127 | 250 |
and `goalw': the theory is no longer needed as an explicit argument - |
251 |
the current theory context is used; assumptions are no longer returned |
|
252 |
at the ML-level unless one of them starts with ==> or !!; it is |
|
5217 | 253 |
recommended to convert to these new commands using isatool fixgoal |
254 |
(backup your sources first!); |
|
4842 | 255 |
|
5217 | 256 |
* new top-level commands 'thm' and 'thms' for retrieving theorems from |
5207 | 257 |
the current theory context, and 'theory' to lookup stored theories; |
4806 | 258 |
|
5722 | 259 |
* new theory section 'locale' for declaring constants, assumptions and |
260 |
definitions that have local scope; |
|
261 |
||
5127 | 262 |
* new theory section 'nonterminals' for purely syntactic types; |
4858 | 263 |
|
5127 | 264 |
* new theory section 'setup' for generic ML setup functions |
265 |
(e.g. package initialization); |
|
4869 | 266 |
|
5131 | 267 |
* the distribution now includes Isabelle icons: see |
268 |
lib/logo/isabelle-{small,tiny}.xpm; |
|
269 |
||
5363 | 270 |
* isatool install - install binaries with absolute references to |
271 |
ISABELLE_HOME/bin; |
|
272 |
||
5572 | 273 |
* isatool logo -- create instances of the Isabelle logo (as EPS); |
274 |
||
5407 | 275 |
* print mode 'emacs' reserved for Isamode; |
276 |
||
5726 | 277 |
* support multiple print (ast) translations per constant name; |
278 |
||
4711 | 279 |
|
4661 | 280 |
*** HOL *** |
281 |
||
5710 | 282 |
* there is now a tutorial on Isabelle/HOL (do 'isatool doc tutorial'); |
5709 | 283 |
|
5217 | 284 |
* HOL/inductive package reorganized and improved: now supports mutual |
5267 | 285 |
definitions such as |
5217 | 286 |
|
287 |
inductive EVEN ODD |
|
288 |
intrs |
|
289 |
null "0 : EVEN" |
|
290 |
oddI "n : EVEN ==> Suc n : ODD" |
|
291 |
evenI "n : ODD ==> Suc n : EVEN" |
|
292 |
||
293 |
new theorem list "elims" contains an elimination rule for each of the |
|
294 |
recursive sets; inductive definitions now handle disjunctive premises |
|
295 |
correctly (also ZF); |
|
5214 | 296 |
|
5217 | 297 |
INCOMPATIBILITIES: requires Inductive as an ancestor; component |
298 |
"mutual_induct" no longer exists - the induction rule is always |
|
299 |
contained in "induct"; |
|
300 |
||
301 |
||
302 |
* HOL/datatype package re-implemented and greatly improved: now |
|
5267 | 303 |
supports mutually recursive datatypes such as |
5217 | 304 |
|
305 |
datatype |
|
306 |
'a aexp = IF_THEN_ELSE ('a bexp) ('a aexp) ('a aexp) |
|
307 |
| SUM ('a aexp) ('a aexp) |
|
308 |
| DIFF ('a aexp) ('a aexp) |
|
309 |
| NUM 'a |
|
310 |
and |
|
311 |
'a bexp = LESS ('a aexp) ('a aexp) |
|
312 |
| AND ('a bexp) ('a bexp) |
|
313 |
| OR ('a bexp) ('a bexp) |
|
314 |
||
5267 | 315 |
as well as indirectly recursive datatypes such as |
5214 | 316 |
|
5217 | 317 |
datatype |
318 |
('a, 'b) term = Var 'a |
|
319 |
| App 'b ((('a, 'b) term) list) |
|
5214 | 320 |
|
5217 | 321 |
The new tactic mutual_induct_tac [<var_1>, ..., <var_n>] i performs |
322 |
induction on mutually / indirectly recursive datatypes. |
|
323 |
||
324 |
Primrec equations are now stored in theory and can be accessed via |
|
325 |
<function_name>.simps. |
|
326 |
||
327 |
INCOMPATIBILITIES: |
|
5214 | 328 |
|
5217 | 329 |
- Theories using datatypes must now have theory Datatype as an |
330 |
ancestor. |
|
331 |
- The specific <typename>.induct_tac no longer exists - use the |
|
332 |
generic induct_tac instead. |
|
5226 | 333 |
- natE has been renamed to nat.exhaust - use exhaust_tac |
5217 | 334 |
instead of res_inst_tac ... natE. Note that the variable |
5226 | 335 |
names in nat.exhaust differ from the names in natE, this |
5217 | 336 |
may cause some "fragile" proofs to fail. |
337 |
- The theorems split_<typename>_case and split_<typename>_case_asm |
|
338 |
have been renamed to <typename>.split and <typename>.split_asm. |
|
339 |
- Since default sorts of type variables are now handled correctly, |
|
340 |
some datatype definitions may have to be annotated with explicit |
|
341 |
sort constraints. |
|
342 |
- Primrec definitions no longer require function name and type |
|
343 |
of recursive argument. |
|
5214 | 344 |
|
5217 | 345 |
Consider using isatool fixdatatype to adapt your theories and proof |
346 |
scripts to the new package (backup your sources first!). |
|
347 |
||
348 |
||
5726 | 349 |
* HOL/record package: considerably improved implementation; now |
350 |
includes concrete syntax for record types, terms, updates; theorems |
|
351 |
for surjective pairing and splitting !!-bound record variables; proof |
|
352 |
support is as follows: |
|
353 |
||
354 |
1) standard conversions (selectors or updates applied to record |
|
355 |
constructor terms) are part of the standard simpset; |
|
356 |
||
357 |
2) inject equations of the form ((x, y) = (x', y')) == x=x' & y=y' are |
|
358 |
made part of standard simpset and claset via addIffs; |
|
359 |
||
360 |
3) a tactic for record field splitting (record_split_tac) is part of |
|
361 |
the standard claset (addSWrapper); |
|
362 |
||
363 |
To get a better idea about these rules you may retrieve them via |
|
364 |
something like 'thms "foo.simps"' or 'thms "foo.iffs"', where "foo" is |
|
365 |
the name of your record type. |
|
366 |
||
367 |
The split tactic 3) conceptually simplifies by the following rule: |
|
368 |
||
369 |
"(!!x. PROP ?P x) == (!!a b. PROP ?P (a, b))" |
|
370 |
||
371 |
Thus any record variable that is bound by meta-all will automatically |
|
372 |
blow up into some record constructor term, consequently the |
|
373 |
simplifications of 1), 2) apply. Thus force_tac, auto_tac etc. shall |
|
374 |
solve record problems automatically. |
|
375 |
||
5214 | 376 |
|
5125 | 377 |
* reorganized the main HOL image: HOL/Integ and String loaded by |
378 |
default; theory Main includes everything; |
|
379 |
||
5650 | 380 |
* automatic simplification of integer sums and comparisons, using cancellation; |
381 |
||
5526 | 382 |
* added option_map_eq_Some and not_Some_eq to the default simpset and claset; |
5127 | 383 |
|
384 |
* added disj_not1 = "(~P | Q) = (P --> Q)" to the default simpset; |
|
385 |
||
386 |
* many new identities for unions, intersections, set difference, etc.; |
|
387 |
||
388 |
* expand_if, expand_split, expand_sum_case and expand_nat_case are now |
|
389 |
called split_if, split_split, split_sum_case and split_nat_case (to go |
|
390 |
with add/delsplits); |
|
5125 | 391 |
|
5127 | 392 |
* HOL/Prod introduces simplification procedure unit_eq_proc rewriting |
393 |
(?x::unit) = (); this is made part of the default simpset, which COULD |
|
394 |
MAKE EXISTING PROOFS FAIL under rare circumstances (consider |
|
5207 | 395 |
'Delsimprocs [unit_eq_proc];' as last resort); also note that |
396 |
unit_abs_eta_conv is added in order to counter the effect of |
|
397 |
unit_eq_proc on (%u::unit. f u), replacing it by f rather than by |
|
398 |
%u.f(); |
|
5125 | 399 |
|
5217 | 400 |
* HOL/Fun INCOMPATIBILITY: `inj_onto' is now called `inj_on' (which |
401 |
makes more sense); |
|
5109 | 402 |
|
5475 | 403 |
* HOL/Set INCOMPATIBILITY: rule `equals0D' is now a well-formed destruct rule; |
404 |
It and 'sym RS equals0D' are now in the default claset, giving automatic |
|
405 |
disjointness reasoning but breaking a few old proofs. |
|
5267 | 406 |
|
5217 | 407 |
* HOL/Relation INCOMPATIBILITY: renamed the relational operator r^-1 |
408 |
to 'converse' from 'inverse' (for compatibility with ZF and some |
|
409 |
literature); |
|
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
410 |
|
5127 | 411 |
* HOL/recdef can now declare non-recursive functions, with {} supplied as |
412 |
the well-founded relation; |
|
4838 | 413 |
|
5490 | 414 |
* HOL/Set INCOMPATIBILITY: the complement of set A is now written -A instead of |
415 |
Compl A. The "Compl" syntax remains available as input syntax for this |
|
416 |
release ONLY. |
|
417 |
||
5127 | 418 |
* HOL/Update: new theory of function updates: |
419 |
f(a:=b) == %x. if x=a then b else f x |
|
420 |
may also be iterated as in f(a:=b,c:=d,...); |
|
5077
71043526295f
* HOL/List: new function list_update written xs[i:=v] that updates the i-th
nipkow
parents:
5075
diff
changeset
|
421 |
|
5127 | 422 |
* HOL/Vimage: new theory for inverse image of a function, syntax f-``B; |
4899 | 423 |
|
5282 | 424 |
* HOL/List: |
425 |
- new function list_update written xs[i:=v] that updates the i-th |
|
426 |
list position. May also be iterated as in xs[i:=a,j:=b,...]. |
|
5428 | 427 |
- new function `upt' written [i..j(] which generates the list |
428 |
[i,i+1,...,j-1], i.e. the upper bound is excluded. To include the upper |
|
429 |
bound write [i..j], which is a shorthand for [i..j+1(]. |
|
5282 | 430 |
- new lexicographic orderings and corresponding wellfoundedness theorems. |
4779 | 431 |
|
5127 | 432 |
* HOL/Arith: |
433 |
- removed 'pred' (predecessor) function; |
|
434 |
- generalized some theorems about n-1; |
|
435 |
- many new laws about "div" and "mod"; |
|
436 |
- new laws about greatest common divisors (see theory ex/Primes); |
|
4766 | 437 |
|
5127 | 438 |
* HOL/Relation: renamed the relational operator r^-1 "converse" |
4842 | 439 |
instead of "inverse"; |
4711 | 440 |
|
5651 | 441 |
* HOL/Induct/Multiset: a theory of multisets, including the wellfoundedness |
442 |
of the multiset ordering; |
|
443 |
||
5127 | 444 |
* directory HOL/Real: a construction of the reals using Dedekind cuts |
5651 | 445 |
(not included by default); |
4835 | 446 |
|
5127 | 447 |
* directory HOL/UNITY: Chandy and Misra's UNITY formalism; |
4711 | 448 |
|
5651 | 449 |
* directory HOL/Hoare: a new version of Hoare logic which permits many-sorted |
450 |
programs, i.e. different program variables may have different types. |
|
451 |
||
5142 | 452 |
* calling (stac rew i) now fails if "rew" has no effect on the goal |
453 |
[previously, this check worked only if the rewrite rule was unconditional] |
|
5308 | 454 |
Now rew can involve either definitions or equalities (either == or =). |
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
455 |
|
5363 | 456 |
|
4879
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
457 |
*** ZF *** |
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
458 |
|
5332 | 459 |
* theory Main includes everything; INCOMPATIBILITY: theory ZF.thy contains |
460 |
only the theorems proved on ZF.ML; |
|
5160 | 461 |
|
5475 | 462 |
* ZF INCOMPATIBILITY: rule `equals0D' is now a well-formed destruct rule; |
463 |
It and 'sym RS equals0D' are now in the default claset, giving automatic |
|
464 |
disjointness reasoning but breaking a few old proofs. |
|
5267 | 465 |
|
5160 | 466 |
* ZF/Update: new theory of function updates |
467 |
with default rewrite rule f(x:=y) ` z = if(z=x, y, f`z) |
|
468 |
may also be iterated as in f(a:=b,c:=d,...); |
|
469 |
||
4879
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
470 |
* in let x=t in u(x), neither t nor u(x) has to be an FOL term. |
4649 | 471 |
|
5142 | 472 |
* calling (stac rew i) now fails if "rew" has no effect on the goal |
473 |
[previously, this check worked only if the rewrite rule was unconditional] |
|
5308 | 474 |
Now rew can involve either definitions or equalities (either == or =). |
5142 | 475 |
|
5160 | 476 |
* case_tac provided for compatibility with HOL |
477 |
(like the old excluded_middle_tac, but with subgoals swapped) |
|
478 |
||
4842 | 479 |
|
5127 | 480 |
*** Internal programming interfaces *** |
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
481 |
|
5251 | 482 |
* Pure: several new basic modules made available for general use, see |
483 |
also src/Pure/README; |
|
5207 | 484 |
|
5008 | 485 |
* improved the theory data mechanism to support encapsulation (data |
486 |
kind name replaced by private Object.kind, acting as authorization |
|
5373 | 487 |
key); new type-safe user interface via functor TheoryDataFun; generic |
488 |
print_data function becomes basically useless; |
|
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
489 |
|
5251 | 490 |
* removed global_names compatibility flag -- all theory declarations |
491 |
are qualified by default; |
|
492 |
||
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
493 |
* module Pure/Syntax now offers quote / antiquote translation |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
494 |
functions (useful for Hoare logic etc. with implicit dependencies); |
5373 | 495 |
see HOL/ex/Antiquote for an example use; |
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
496 |
|
5127 | 497 |
* Simplifier now offers conversions (asm_)(full_)rewrite: simpset -> |
498 |
cterm -> thm; |
|
499 |
||
5207 | 500 |
* new tactical CHANGED_GOAL for checking that a tactic modifies a |
501 |
subgoal; |
|
5142 | 502 |
|
5251 | 503 |
* Display.print_goals function moved to Locale.print_goals; |
504 |
||
5731 | 505 |
* standard print function for goals supports current_goals_markers |
506 |
variable for marking begin of proof, end of proof, start of goal; the |
|
507 |
default is ("", "", ""); setting current_goals_markers := ("<proof>", |
|
508 |
"</proof>", "<goal>") causes SGML like tagged proof state printing, |
|
509 |
for example; |
|
510 |
||
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
511 |
|
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
512 |
|
4410 | 513 |
New in Isabelle98 (January 1998) |
514 |
-------------------------------- |
|
515 |
||
516 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
|
517 |
||
518 |
* changed lexical syntax of terms / types: dots made part of long |
|
519 |
identifiers, e.g. "%x.x" no longer possible, should be "%x. x"; |
|
520 |
||
521 |
* simpset (and claset) reference variable replaced by functions |
|
522 |
simpset / simpset_ref; |
|
523 |
||
524 |
* no longer supports theory aliases (via merge) and non-trivial |
|
525 |
implicit merge of thms' signatures; |
|
526 |
||
527 |
* most internal names of constants changed due to qualified names; |
|
528 |
||
529 |
* changed Pure/Sequence interface (see Pure/seq.ML); |
|
530 |
||
3454 | 531 |
|
3715 | 532 |
*** General Changes *** |
533 |
||
4174 | 534 |
* hierachically structured name spaces (for consts, types, axms, thms |
3943 | 535 |
etc.); new lexical class 'longid' (e.g. Foo.bar.x) may render much of |
4108 | 536 |
old input syntactically incorrect (e.g. "%x.x"); COMPATIBILITY: |
537 |
isatool fixdots ensures space after dots (e.g. "%x. x"); set |
|
4174 | 538 |
long_names for fully qualified output names; NOTE: ML programs |
539 |
(special tactics, packages etc.) referring to internal names may have |
|
540 |
to be adapted to cope with fully qualified names; in case of severe |
|
541 |
backward campatibility problems try setting 'global_names' at compile |
|
542 |
time to have enrything declared within a flat name space; one may also |
|
543 |
fine tune name declarations in theories via the 'global' and 'local' |
|
544 |
section; |
|
4108 | 545 |
|
546 |
* reimplemented the implicit simpset and claset using the new anytype |
|
547 |
data filed in signatures; references simpset:simpset ref etc. are |
|
548 |
replaced by functions simpset:unit->simpset and |
|
549 |
simpset_ref:unit->simpset ref; COMPATIBILITY: use isatool fixclasimp |
|
550 |
to patch your ML files accordingly; |
|
3856 | 551 |
|
3857 | 552 |
* HTML output now includes theory graph data for display with Java |
553 |
applet or isatool browser; data generated automatically via isatool |
|
3901 | 554 |
usedir (see -i option, ISABELLE_USEDIR_OPTIONS); |
3857 | 555 |
|
3856 | 556 |
* defs may now be conditional; improved rewrite_goals_tac to handle |
557 |
conditional equations; |
|
558 |
||
4174 | 559 |
* defs now admits additional type arguments, using TYPE('a) syntax; |
560 |
||
3901 | 561 |
* theory aliases via merge (e.g. M=A+B+C) no longer supported, always |
562 |
creates a new theory node; implicit merge of thms' signatures is |
|
4112 | 563 |
restricted to 'trivial' ones; COMPATIBILITY: one may have to use |
3901 | 564 |
transfer:theory->thm->thm in (rare) cases; |
565 |
||
3968
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
566 |
* improved handling of draft signatures / theories; draft thms (and |
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
567 |
ctyps, cterms) are automatically promoted to real ones; |
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
568 |
|
3901 | 569 |
* slightly changed interfaces for oracles: admit many per theory, named |
570 |
(e.g. oracle foo = mlfun), additional name argument for invoke_oracle; |
|
571 |
||
572 |
* print_goals: optional output of const types (set show_consts and |
|
573 |
show_types); |
|
3851
fe9932a7cd46
print_goals: optional output of const types (set show_consts);
wenzelm
parents:
3846
diff
changeset
|
574 |
|
4388 | 575 |
* improved output of warnings (###) and errors (***); |
3697
c5833dfcc2cc
Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
wenzelm
parents:
3671
diff
changeset
|
576 |
|
4178
e64ff1c1bc70
subgoal_tac displays a warning if the new subgoal has type variables
paulson
parents:
4174
diff
changeset
|
577 |
* 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
|
578 |
|
3715 | 579 |
* removed old README and Makefiles; |
3697
c5833dfcc2cc
Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
wenzelm
parents:
3671
diff
changeset
|
580 |
|
3856 | 581 |
* 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
|
582 |
|
3715 | 583 |
* removed obsolete init_pps and init_database; |
584 |
||
585 |
* deleted the obsolete tactical STATE, which was declared by |
|
586 |
fun STATE tacfun st = tacfun st st; |
|
587 |
||
4388 | 588 |
* cd and use now support path variables, e.g. $ISABELLE_HOME, or ~ |
589 |
(which abbreviates $HOME); |
|
4269 | 590 |
|
591 |
* changed Pure/Sequence interface (see Pure/seq.ML); COMPATIBILITY: |
|
592 |
use isatool fixseq to adapt your ML programs (this works for fully |
|
593 |
qualified references to the Sequence structure only!); |
|
594 |
||
4381 | 595 |
* use_thy no longer requires writable current directory; it always |
596 |
reloads .ML *and* .thy file, if either one is out of date; |
|
4269 | 597 |
|
3715 | 598 |
|
599 |
*** Classical Reasoner *** |
|
600 |
||
3744 | 601 |
* Clarify_tac, clarify_tac, clarify_step_tac, Clarify_step_tac: new |
602 |
tactics that use classical reasoning to simplify a subgoal without |
|
603 |
splitting it into several subgoals; |
|
3715 | 604 |
|
3719 | 605 |
* Safe_tac: like safe_tac but uses the default claset; |
606 |
||
3715 | 607 |
|
608 |
*** Simplifier *** |
|
609 |
||
610 |
* added simplification meta rules: |
|
611 |
(asm_)(full_)simplify: simpset -> thm -> thm; |
|
612 |
||
613 |
* simplifier.ML no longer part of Pure -- has to be loaded by object |
|
614 |
logics (again); |
|
615 |
||
616 |
* added prems argument to simplification procedures; |
|
617 |
||
4325 | 618 |
* HOL, FOL, ZF: added infix function `addsplits': |
619 |
instead of `<simpset> setloop (split_tac <thms>)' |
|
620 |
you can simply write `<simpset> addsplits <thms>' |
|
621 |
||
3715 | 622 |
|
623 |
*** Syntax *** |
|
624 |
||
4174 | 625 |
* TYPE('a) syntax for type reflection terms; |
626 |
||
3985 | 627 |
* no longer handles consts with name "" -- declare as 'syntax' instead; |
3856 | 628 |
|
629 |
* pretty printer: changed order of mixfix annotation preference (again!); |
|
3846 | 630 |
|
3715 | 631 |
* Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories; |
632 |
||
633 |
||
634 |
*** HOL *** |
|
635 |
||
5726 | 636 |
* HOL: there is a new splitter `split_asm_tac' that can be used e.g. |
4189 | 637 |
with `addloop' of the simplifier to faciliate case splitting in premises. |
638 |
||
4035 | 639 |
* HOL/TLA: Stephan Merz's formalization of Lamport's Temporal Logic of Actions; |
3985 | 640 |
|
641 |
* HOL/Auth: new protocol proofs including some for the Internet |
|
4035 | 642 |
protocol TLS; |
3985 | 643 |
|
4125 | 644 |
* HOL/Map: new theory of `maps' a la VDM; |
3982 | 645 |
|
4335 | 646 |
* HOL/simplifier: simplification procedures nat_cancel_sums for |
647 |
cancelling out common nat summands from =, <, <= (in)equalities, or |
|
648 |
differences; simplification procedures nat_cancel_factor for |
|
649 |
cancelling common factor from =, <, <= (in)equalities over natural |
|
4373 | 650 |
sums; nat_cancel contains both kinds of procedures, it is installed by |
651 |
default in Arith.thy -- this COULD MAKE EXISTING PROOFS FAIL; |
|
4335 | 652 |
|
3580 | 653 |
* HOL/simplifier: terms of the form |
4325 | 654 |
`? x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x)' (or t=x) |
3580 | 655 |
are rewritten to |
4035 | 656 |
`P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t)', |
657 |
and those of the form |
|
4325 | 658 |
`! x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x) --> R(x)' (or t=x) |
4035 | 659 |
are rewritten to |
660 |
`P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t) --> R(t)', |
|
661 |
||
662 |
* HOL/datatype |
|
663 |
Each datatype `t' now comes with a theorem `split_t_case' of the form |
|
3580 | 664 |
|
4035 | 665 |
P(t_case f1 ... fn x) = |
666 |
( (!y1 ... ym1. x = C1 y1 ... ym1 --> P(f1 y1 ... ym1)) & |
|
667 |
... |
|
4189 | 668 |
(!y1 ... ymn. x = Cn y1 ... ymn --> P(f1 y1 ... ymn)) |
4035 | 669 |
) |
670 |
||
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
671 |
and a theorem `split_t_case_asm' of the form |
4189 | 672 |
|
673 |
P(t_case f1 ... fn x) = |
|
674 |
~( (? y1 ... ym1. x = C1 y1 ... ym1 & ~P(f1 y1 ... ym1)) | |
|
675 |
... |
|
676 |
(? y1 ... ymn. x = Cn y1 ... ymn & ~P(f1 y1 ... ymn)) |
|
677 |
) |
|
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
678 |
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
|
679 |
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
|
680 |
split_list_case and split_option_case. |
4189 | 681 |
|
4361 | 682 |
* HOL/Arithmetic: |
683 |
- `pred n' is automatically converted to `n-1'. |
|
684 |
Users are strongly encouraged not to use `pred' any longer, |
|
685 |
because it will disappear altogether at some point. |
|
686 |
- Users are strongly encouraged to write "0 < n" rather than |
|
687 |
"n ~= 0". Theorems and proof tools have been modified towards this |
|
688 |
`standard'. |
|
4357 | 689 |
|
4502 | 690 |
* HOL/Lists: |
691 |
the function "set_of_list" has been renamed "set" (and its theorems too); |
|
692 |
the function "nth" now takes its arguments in the reverse order and |
|
693 |
has acquired the infix notation "!" as in "xs!n". |
|
3570 | 694 |
|
4154 | 695 |
* HOL/Set: UNIV is now a constant and is no longer translated to Compl{}; |
696 |
||
697 |
* HOL/Set: The operator (UN x.B x) now abbreviates (UN x:UNIV. B x) and its |
|
698 |
specialist theorems (like UN1_I) are gone. Similarly for (INT x.B x); |
|
699 |
||
4575 | 700 |
* HOL/record: extensible records with schematic structural subtyping |
701 |
(single inheritance); EXPERIMENTAL version demonstrating the encoding, |
|
702 |
still lacks various theorems and concrete record syntax; |
|
703 |
||
4125 | 704 |
|
3715 | 705 |
*** HOLCF *** |
3535 | 706 |
|
4125 | 707 |
* removed "axioms" and "generated by" sections; |
708 |
||
4123 | 709 |
* replaced "ops" section by extended "consts" section, which is capable of |
4125 | 710 |
handling the continuous function space "->" directly; |
711 |
||
712 |
* domain package: |
|
713 |
. proves theorems immediately and stores them in the theory, |
|
714 |
. creates hierachical name space, |
|
715 |
. now uses normal mixfix annotations (instead of cinfix...), |
|
716 |
. minor changes to some names and values (for consistency), |
|
717 |
. e.g. cases -> casedist, dists_eq -> dist_eqs, [take_lemma] -> take_lemmas, |
|
718 |
. separator between mutual domain defs: changed "," to "and", |
|
719 |
. improved handling of sort constraints; now they have to |
|
720 |
appear on the left-hand side of the equations only; |
|
4123 | 721 |
|
722 |
* fixed LAM <x,y,zs>.b syntax; |
|
3567 | 723 |
|
3744 | 724 |
* added extended adm_tac to simplifier in HOLCF -- can now discharge |
725 |
adm (%x. P (t x)), where P is chainfinite and t continuous; |
|
3579 | 726 |
|
727 |
||
3719 | 728 |
*** FOL and ZF *** |
729 |
||
5726 | 730 |
* FOL: there is a new splitter `split_asm_tac' that can be used e.g. |
4189 | 731 |
with `addloop' of the simplifier to faciliate case splitting in premises. |
732 |
||
3744 | 733 |
* qed_spec_mp, qed_goal_spec_mp, qed_goalw_spec_mp are available, as |
734 |
in HOL, they strip ALL and --> from proved theorems; |
|
735 |
||
3719 | 736 |
|
3579 | 737 |
|
3006 | 738 |
New in Isabelle94-8 (May 1997) |
739 |
------------------------------ |
|
2654 | 740 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
741 |
*** General Changes *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
742 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
743 |
* 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
|
744 |
still somewhat experimental); old Makefiles etc. still functional; |
2971 | 745 |
|
3205 | 746 |
* new 'Isabelle System Manual'; |
747 |
||
2825 | 748 |
* INSTALL text, together with ./configure and ./build scripts; |
2773 | 749 |
|
3006 | 750 |
* reimplemented type inference for greater efficiency, better error |
751 |
messages and clean internal interface; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
752 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
753 |
* 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
|
754 |
setting goals_limit); |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
755 |
|
3006 | 756 |
|
757 |
*** Syntax *** |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
758 |
|
3116 | 759 |
* supports alternative (named) syntax tables (parser and pretty |
760 |
printer); internal interface is provided by add_modesyntax(_i); |
|
761 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
762 |
* 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
|
763 |
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
|
764 |
"symbols" syntax table; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
765 |
|
2705 | 766 |
* added token_translation interface (may translate name tokens in |
2756 | 767 |
arbitrary ways, dependent on their type (free, bound, tfree, ...) and |
3116 | 768 |
the current print_mode); IMPORTANT: user print translation functions |
769 |
are responsible for marking newly introduced bounds |
|
770 |
(Syntax.mark_boundT); |
|
2705 | 771 |
|
2730 | 772 |
* token translations for modes "xterm" and "xterm_color" that display |
3006 | 773 |
names in bold, underline etc. or colors (which requires a color |
774 |
version of xterm); |
|
2730 | 775 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
776 |
* 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
|
777 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
778 |
* added typed_print_translation (like print_translation, but may |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
779 |
access type of constant); |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
780 |
|
3006 | 781 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
782 |
*** Classical Reasoner *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
783 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
784 |
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
|
785 |
some limitations. Blast_tac... |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
786 |
+ ignores addss, addbefore, addafter; this restriction is intrinsic |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
787 |
+ ignores elimination rules that don't have the correct format |
5726 | 788 |
(the conclusion MUST be a formula variable) |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
789 |
+ ignores types, which can make HOL proofs fail |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
790 |
+ 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
|
791 |
[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
|
792 |
+ 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
|
793 |
|
3107 | 794 |
* substitution with equality assumptions no longer permutes other |
795 |
assumptions; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
796 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
797 |
* 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
|
798 |
setwrapper to setWrapper and compwrapper to compWrapper; added safe wrapper |
3107 | 799 |
(and access functions for it); |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
800 |
|
5726 | 801 |
* improved combination of classical reasoner and simplifier: |
3317 | 802 |
+ functions for handling clasimpsets |
803 |
+ improvement of addss: now the simplifier is called _after_ the |
|
804 |
safe steps. |
|
805 |
+ safe variant of addss called addSss: uses safe simplifications |
|
5726 | 806 |
_during_ the safe steps. It is more complete as it allows multiple |
3317 | 807 |
instantiations of unknowns (e.g. with slow_tac). |
3006 | 808 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
809 |
*** Simplifier *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
810 |
|
3006 | 811 |
* added interface for simplification procedures (functions that |
812 |
produce *proven* rewrite rules on the fly, depending on current |
|
813 |
redex); |
|
814 |
||
815 |
* ordering on terms as parameter (used for ordered rewriting); |
|
816 |
||
3107 | 817 |
* 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
|
818 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
819 |
* 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
|
820 |
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
|
821 |
functions setsolver and addsolver have been renamed to setSolver and |
3107 | 822 |
addSolver; added safe_asm_full_simp_tac; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
823 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
824 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
825 |
*** HOL *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
826 |
|
3042 | 827 |
* a generic induction tactic `induct_tac' which works for all datatypes and |
3107 | 828 |
also for type `nat'; |
3042 | 829 |
|
3316 | 830 |
* a generic case distinction tactic `exhaust_tac' which works for all |
831 |
datatypes and also for type `nat'; |
|
832 |
||
833 |
* each datatype comes with a function `size'; |
|
834 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
835 |
* patterns in case expressions allow tuple patterns as arguments to |
3107 | 836 |
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
|
837 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
838 |
* primrec now also works with type nat; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
839 |
|
3338 | 840 |
* recdef: a new declaration form, allows general recursive functions to be |
841 |
defined in theory files. See HOL/ex/Fib, HOL/ex/Primes, HOL/Subst/Unify. |
|
842 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
843 |
* the constant for negation has been renamed from "not" to "Not" to |
3107 | 844 |
harmonize with FOL, ZF, LK, etc.; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
845 |
|
3107 | 846 |
* HOL/ex/LFilter theory of a corecursive "filter" functional for |
847 |
infinite lists; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
848 |
|
3227 | 849 |
* HOL/Modelcheck demonstrates invocation of model checker oracle; |
850 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
851 |
* 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
|
852 |
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
|
853 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
854 |
* more examples in HOL/MiniML and HOL/Auth; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
855 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
856 |
* more default rewrite rules for quantifiers, union/intersection; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
857 |
|
3321 | 858 |
* a new constant `arbitrary == @x.False'; |
859 |
||
3107 | 860 |
* HOLCF/IOA replaces old HOL/IOA; |
861 |
||
5726 | 862 |
* HOLCF changes: derived all rules and arities |
863 |
+ axiomatic type classes instead of classes |
|
2653
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
864 |
+ typedef instead of faking type definitions |
2747 | 865 |
+ eliminated the internal constants less_fun, less_cfun, UU_fun, UU_cfun etc. |
2730 | 866 |
+ 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
|
867 |
+ eliminated the types void, one, tr |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
868 |
+ 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
|
869 |
+ eliminated blift from Lift3.thy (use Def instead of blift) |
3107 | 870 |
all eliminated rules are derived as theorems --> no visible changes ; |
2649 | 871 |
|
3006 | 872 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
873 |
*** ZF *** |
2553 | 874 |
|
2865 | 875 |
* ZF now has Fast_tac, Simp_tac and Auto_tac. Union_iff is a now a default |
876 |
rewrite rule; this may affect some proofs. eq_cs is gone but can be put back |
|
877 |
as ZF_cs addSIs [equalityI]; |
|
2553 | 878 |
|
2554 | 879 |
|
2732 | 880 |
|
2553 | 881 |
New in Isabelle94-7 (November 96) |
882 |
--------------------------------- |
|
883 |
||
884 |
* allowing negative levels (as offsets) in prlev and choplev; |
|
885 |
||
2554 | 886 |
* super-linear speedup for large simplifications; |
887 |
||
888 |
* FOL, ZF and HOL now use miniscoping: rewriting pushes |
|
889 |
quantifications in as far as possible (COULD MAKE EXISTING PROOFS |
|
890 |
FAIL); can suppress it using the command Delsimps (ex_simps @ |
|
891 |
all_simps); De Morgan laws are also now included, by default; |
|
892 |
||
893 |
* improved printing of ==> : ~: |
|
894 |
||
895 |
* new object-logic "Sequents" adds linear logic, while replacing LK |
|
896 |
and Modal (thanks to Sara Kalvala); |
|
897 |
||
898 |
* HOL/Auth: correctness proofs for authentication protocols; |
|
899 |
||
900 |
* HOL: new auto_tac combines rewriting and classical reasoning (many |
|
901 |
examples on HOL/Auth); |
|
902 |
||
903 |
* HOL: new command AddIffs for declaring theorems of the form P=Q to |
|
904 |
the rewriter and classical reasoner simultaneously; |
|
905 |
||
906 |
* function uresult no longer returns theorems in "standard" format; |
|
907 |
regain previous version by: val uresult = standard o uresult; |
|
908 |
||
909 |
||
910 |
||
911 |
New in Isabelle94-6 |
|
912 |
------------------- |
|
913 |
||
914 |
* oracles -- these establish an interface between Isabelle and trusted |
|
915 |
external reasoners, which may deliver results as theorems; |
|
916 |
||
917 |
* proof objects (in particular record all uses of oracles); |
|
918 |
||
919 |
* Simp_tac, Fast_tac, etc. that refer to implicit simpset / claset; |
|
920 |
||
921 |
* "constdefs" section in theory files; |
|
922 |
||
923 |
* "primrec" section (HOL) no longer requires names; |
|
924 |
||
925 |
* internal type "tactic" now simply "thm -> thm Sequence.seq"; |
|
926 |
||
927 |
||
928 |
||
929 |
New in Isabelle94-5 |
|
930 |
------------------- |
|
931 |
||
932 |
* reduced space requirements; |
|
933 |
||
934 |
* automatic HTML generation from theories; |
|
935 |
||
936 |
* theory files no longer require "..." (quotes) around most types; |
|
937 |
||
938 |
* new examples, including two proofs of the Church-Rosser theorem; |
|
939 |
||
940 |
* non-curried (1994) version of HOL is no longer distributed; |
|
941 |
||
2553 | 942 |
|
2557 | 943 |
|
944 |
New in Isabelle94-4 |
|
945 |
------------------- |
|
946 |
||
2747 | 947 |
* greatly reduced space requirements; |
2557 | 948 |
|
949 |
* theory files (.thy) no longer require \...\ escapes at line breaks; |
|
950 |
||
5726 | 951 |
* searchable theorem database (see the section "Retrieving theorems" on |
2557 | 952 |
page 8 of the Reference Manual); |
953 |
||
954 |
* new examples, including Grabczewski's monumental case study of the |
|
955 |
Axiom of Choice; |
|
956 |
||
957 |
* The previous version of HOL renamed to Old_HOL; |
|
958 |
||
5726 | 959 |
* The new version of HOL (previously called CHOL) uses a curried syntax |
2557 | 960 |
for functions. Application looks like f a b instead of f(a,b); |
961 |
||
962 |
* Mutually recursive inductive definitions finally work in HOL; |
|
963 |
||
964 |
* In ZF, pattern-matching on tuples is now available in all abstractions and |
|
965 |
translates to the operator "split"; |
|
966 |
||
967 |
||
968 |
||
969 |
New in Isabelle94-3 |
|
970 |
------------------- |
|
971 |
||
5726 | 972 |
* new infix operator, addss, allowing the classical reasoner to |
2557 | 973 |
perform simplification at each step of its search. Example: |
5726 | 974 |
fast_tac (cs addss ss) |
2557 | 975 |
|
5726 | 976 |
* a new logic, CHOL, the same as HOL, but with a curried syntax |
977 |
for functions. Application looks like f a b instead of f(a,b). Also pairs |
|
2557 | 978 |
look like (a,b) instead of <a,b>; |
979 |
||
980 |
* PLEASE NOTE: CHOL will eventually replace HOL! |
|
981 |
||
982 |
* In CHOL, pattern-matching on tuples is now available in all abstractions. |
|
983 |
It translates to the operator "split". A new theory of integers is available; |
|
984 |
||
985 |
* In ZF, integer numerals now denote two's-complement binary integers. |
|
986 |
Arithmetic operations can be performed by rewriting. See ZF/ex/Bin.ML; |
|
987 |
||
5726 | 988 |
* Many new examples: I/O automata, Church-Rosser theorem, equivalents |
2557 | 989 |
of the Axiom of Choice; |
990 |
||
991 |
||
992 |
||
993 |
New in Isabelle94-2 |
|
994 |
------------------- |
|
995 |
||
5726 | 996 |
* Significantly faster resolution; |
2557 | 997 |
|
998 |
* the different sections in a .thy file can now be mixed and repeated |
|
999 |
freely; |
|
1000 |
||
1001 |
* Database of theorems for FOL, HOL and ZF. New |
|
1002 |
commands including qed, qed_goal and bind_thm store theorems in the database. |
|
1003 |
||
1004 |
* Simple database queries: return a named theorem (get_thm) or all theorems of |
|
1005 |
a given theory (thms_of), or find out what theory a theorem was proved in |
|
1006 |
(theory_of_thm); |
|
1007 |
||
1008 |
* Bugs fixed in the inductive definition and datatype packages; |
|
1009 |
||
1010 |
* The classical reasoner provides deepen_tac and depth_tac, making FOL_dup_cs |
|
1011 |
and HOL_dup_cs obsolete; |
|
1012 |
||
1013 |
* Syntactic ambiguities caused by the new treatment of syntax in Isabelle94-1 |
|
1014 |
have been removed; |
|
1015 |
||
1016 |
* Simpler definition of function space in ZF; |
|
1017 |
||
1018 |
* new results about cardinal and ordinal arithmetic in ZF; |
|
1019 |
||
1020 |
* 'subtype' facility in HOL for introducing new types as subsets of existing |
|
1021 |
types; |
|
1022 |
||
1023 |
||
2553 | 1024 |
$Id$ |