2 Isabelle NEWS -- history of user-visible changes
3 ================================================
5 New in Isabelle??? (FIXME)
6 --------------------------
8 * Rewrite rules for case distinctions can now be added permanently to the
9 default simpset using Addsplits just like Addsimps. They can be removed via
10 Delsplits just like Delsimps. Lower-case versions are also available.
11 For applications see HOL below.
13 * Changed wrapper mechanism for the classical reasoner now allows for selected
14 deletion of wrappers, by introduction of names for wrapper functionals.
15 This implies that addbefore, addSbefore, addaltern, and addSaltern now take
16 a pair (name, tactic) as argument, and that adding two tactics with the same
17 name overwrites the first one (emitting a warning).
18 setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by
19 addWrapper, addSWrapper: claset * wrapper -> claset
20 delWrapper, delSWrapper: claset * string -> claset
21 getWrapper is renamed to appWrappers, getSWrapper to appSWrappers;
23 * Inductive definitions now handle disjunctive premises correctly (HOL and ZF)
28 * added option_map_eq_Some to simpset(), option_map_eq_Some RS iffD1 to claset()
29 * New directory HOL/UNITY: Chandy and Misra's UNITY formalism
31 * split_all_tac now fails if there is nothing to split
32 split_all_tac has moved within claset() from usafe wrappers to safe wrappers
34 * added disj_not1 = "(~P | Q) = (P --> Q)" to the default simpset
36 * HOL/Arithmetic: removed 'pred' (predecessor) function; and generalized
37 some theorems about n-1
39 * HOL/Relation: renamed the relational operatotr r^-1 "converse" instead of
42 * HOL/equalities: added many new laws involving unions, intersectinos,
45 * recdef can now declare non-recursive functions, with {} supplied as the
50 -The rule expand_if is now part of the default simpset. This means that
51 the simplifier will eliminate all ocurrences of if-then-else in the
52 conclusion of a goal. To prevent this, you can either remove expand_if
53 completely from the default simpset by `Delsplits [expand_if]' or
54 remove it in a specific call of the simplifier using
55 `... delsplits [expand_if]'.
56 You can also add/delete other case splitting rules to/from the default
57 simpset: every datatype generates a suitable rule `split_t_case' (where t
58 is the name of the datatype).
60 -Asm_full_simp_tac is now more aggressive:
61 1. It will sometimes reorient premises if that increases their power to
63 2. It does no longer proceed strictly from left to right but may also
64 rotate premises to achieve further simplification.
65 For compatibility reasons there is now Asm_lr_simp_tac which is like the
66 old Asm_full_simp_tac in that it does not rotate premises.
68 * new theory Vimage (inverse image of a function, syntax f-``B);
70 * many new identities for unions, intersections, etc.;
73 New in Isabelle98 (January 1998)
74 --------------------------------
76 *** Overview of INCOMPATIBILITIES (see below for more details) ***
78 * changed lexical syntax of terms / types: dots made part of long
79 identifiers, e.g. "%x.x" no longer possible, should be "%x. x";
81 * simpset (and claset) reference variable replaced by functions
82 simpset / simpset_ref;
84 * no longer supports theory aliases (via merge) and non-trivial
85 implicit merge of thms' signatures;
87 * most internal names of constants changed due to qualified names;
89 * changed Pure/Sequence interface (see Pure/seq.ML);
92 *** General Changes ***
94 * hierachically structured name spaces (for consts, types, axms, thms
95 etc.); new lexical class 'longid' (e.g. Foo.bar.x) may render much of
96 old input syntactically incorrect (e.g. "%x.x"); COMPATIBILITY:
97 isatool fixdots ensures space after dots (e.g. "%x. x"); set
98 long_names for fully qualified output names; NOTE: ML programs
99 (special tactics, packages etc.) referring to internal names may have
100 to be adapted to cope with fully qualified names; in case of severe
101 backward campatibility problems try setting 'global_names' at compile
102 time to have enrything declared within a flat name space; one may also
103 fine tune name declarations in theories via the 'global' and 'local'
106 * reimplemented the implicit simpset and claset using the new anytype
107 data filed in signatures; references simpset:simpset ref etc. are
108 replaced by functions simpset:unit->simpset and
109 simpset_ref:unit->simpset ref; COMPATIBILITY: use isatool fixclasimp
110 to patch your ML files accordingly;
112 * HTML output now includes theory graph data for display with Java
113 applet or isatool browser; data generated automatically via isatool
114 usedir (see -i option, ISABELLE_USEDIR_OPTIONS);
116 * defs may now be conditional; improved rewrite_goals_tac to handle
117 conditional equations;
119 * defs now admits additional type arguments, using TYPE('a) syntax;
121 * theory aliases via merge (e.g. M=A+B+C) no longer supported, always
122 creates a new theory node; implicit merge of thms' signatures is
123 restricted to 'trivial' ones; COMPATIBILITY: one may have to use
124 transfer:theory->thm->thm in (rare) cases;
126 * improved handling of draft signatures / theories; draft thms (and
127 ctyps, cterms) are automatically promoted to real ones;
129 * slightly changed interfaces for oracles: admit many per theory, named
130 (e.g. oracle foo = mlfun), additional name argument for invoke_oracle;
132 * print_goals: optional output of const types (set show_consts and
135 * improved output of warnings (###) and errors (***);
137 * subgoal_tac displays a warning if the new subgoal has type variables;
139 * removed old README and Makefiles;
141 * replaced print_goals_ref hook by print_current_goals_fn and result_error_fn;
143 * removed obsolete init_pps and init_database;
145 * deleted the obsolete tactical STATE, which was declared by
146 fun STATE tacfun st = tacfun st st;
148 * cd and use now support path variables, e.g. $ISABELLE_HOME, or ~
149 (which abbreviates $HOME);
151 * changed Pure/Sequence interface (see Pure/seq.ML); COMPATIBILITY:
152 use isatool fixseq to adapt your ML programs (this works for fully
153 qualified references to the Sequence structure only!);
155 * use_thy no longer requires writable current directory; it always
156 reloads .ML *and* .thy file, if either one is out of date;
159 *** Classical Reasoner ***
161 * Clarify_tac, clarify_tac, clarify_step_tac, Clarify_step_tac: new
162 tactics that use classical reasoning to simplify a subgoal without
163 splitting it into several subgoals;
165 * Safe_tac: like safe_tac but uses the default claset;
170 * added simplification meta rules:
171 (asm_)(full_)simplify: simpset -> thm -> thm;
173 * simplifier.ML no longer part of Pure -- has to be loaded by object
176 * added prems argument to simplification procedures;
178 * HOL, FOL, ZF: added infix function `addsplits':
179 instead of `<simpset> setloop (split_tac <thms>)'
180 you can simply write `<simpset> addsplits <thms>'
185 * TYPE('a) syntax for type reflection terms;
187 * no longer handles consts with name "" -- declare as 'syntax' instead;
189 * pretty printer: changed order of mixfix annotation preference (again!);
191 * Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
196 * HOL: there is a new splitter `split_asm_tac' that can be used e.g.
197 with `addloop' of the simplifier to faciliate case splitting in premises.
199 * HOL/TLA: Stephan Merz's formalization of Lamport's Temporal Logic of Actions;
201 * HOL/Auth: new protocol proofs including some for the Internet
204 * HOL/Map: new theory of `maps' a la VDM;
206 * HOL/simplifier: simplification procedures nat_cancel_sums for
207 cancelling out common nat summands from =, <, <= (in)equalities, or
208 differences; simplification procedures nat_cancel_factor for
209 cancelling common factor from =, <, <= (in)equalities over natural
210 sums; nat_cancel contains both kinds of procedures, it is installed by
211 default in Arith.thy -- this COULD MAKE EXISTING PROOFS FAIL;
213 * HOL/simplifier: terms of the form
214 `? x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x)' (or t=x)
216 `P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t)',
217 and those of the form
218 `! x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x) --> R(x)' (or t=x)
220 `P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t) --> R(t)',
223 Each datatype `t' now comes with a theorem `split_t_case' of the form
225 P(t_case f1 ... fn x) =
226 ( (!y1 ... ym1. x = C1 y1 ... ym1 --> P(f1 y1 ... ym1)) &
228 (!y1 ... ymn. x = Cn y1 ... ymn --> P(f1 y1 ... ymn))
231 which can be added to a simpset via `addsplits'. The existing theorems
232 expand_list_case and expand_option_case have been renamed to
233 split_list_case and split_option_case.
235 Additionally, there is a theorem `split_t_case_asm' of the form
237 P(t_case f1 ... fn x) =
238 ~( (? y1 ... ym1. x = C1 y1 ... ym1 & ~P(f1 y1 ... ym1)) |
240 (? y1 ... ymn. x = Cn y1 ... ymn & ~P(f1 y1 ... ymn))
243 it be used with the new `split_asm_tac'.
246 - `pred n' is automatically converted to `n-1'.
247 Users are strongly encouraged not to use `pred' any longer,
248 because it will disappear altogether at some point.
249 - Users are strongly encouraged to write "0 < n" rather than
250 "n ~= 0". Theorems and proof tools have been modified towards this
254 the function "set_of_list" has been renamed "set" (and its theorems too);
255 the function "nth" now takes its arguments in the reverse order and
256 has acquired the infix notation "!" as in "xs!n".
258 * HOL/Set: UNIV is now a constant and is no longer translated to Compl{};
260 * HOL/Set: The operator (UN x.B x) now abbreviates (UN x:UNIV. B x) and its
261 specialist theorems (like UN1_I) are gone. Similarly for (INT x.B x);
263 * HOL/record: extensible records with schematic structural subtyping
264 (single inheritance); EXPERIMENTAL version demonstrating the encoding,
265 still lacks various theorems and concrete record syntax;
270 * removed "axioms" and "generated by" sections;
272 * replaced "ops" section by extended "consts" section, which is capable of
273 handling the continuous function space "->" directly;
276 . proves theorems immediately and stores them in the theory,
277 . creates hierachical name space,
278 . now uses normal mixfix annotations (instead of cinfix...),
279 . minor changes to some names and values (for consistency),
280 . e.g. cases -> casedist, dists_eq -> dist_eqs, [take_lemma] -> take_lemmas,
281 . separator between mutual domain defs: changed "," to "and",
282 . improved handling of sort constraints; now they have to
283 appear on the left-hand side of the equations only;
285 * fixed LAM <x,y,zs>.b syntax;
287 * added extended adm_tac to simplifier in HOLCF -- can now discharge
288 adm (%x. P (t x)), where P is chainfinite and t continuous;
293 * FOL: there is a new splitter `split_asm_tac' that can be used e.g.
294 with `addloop' of the simplifier to faciliate case splitting in premises.
296 * qed_spec_mp, qed_goal_spec_mp, qed_goalw_spec_mp are available, as
297 in HOL, they strip ALL and --> from proved theorems;
301 New in Isabelle94-8 (May 1997)
302 ------------------------------
304 *** General Changes ***
306 * new utilities to build / run / maintain Isabelle etc. (in parts
307 still somewhat experimental); old Makefiles etc. still functional;
309 * new 'Isabelle System Manual';
311 * INSTALL text, together with ./configure and ./build scripts;
313 * reimplemented type inference for greater efficiency, better error
314 messages and clean internal interface;
316 * prlim command for dealing with lots of subgoals (an easier way of
317 setting goals_limit);
322 * supports alternative (named) syntax tables (parser and pretty
323 printer); internal interface is provided by add_modesyntax(_i);
325 * Pure, FOL, ZF, HOL, HOLCF now support symbolic input and output; to
326 be used in conjunction with the Isabelle symbol font; uses the
327 "symbols" syntax table;
329 * added token_translation interface (may translate name tokens in
330 arbitrary ways, dependent on their type (free, bound, tfree, ...) and
331 the current print_mode); IMPORTANT: user print translation functions
332 are responsible for marking newly introduced bounds
333 (Syntax.mark_boundT);
335 * token translations for modes "xterm" and "xterm_color" that display
336 names in bold, underline etc. or colors (which requires a color
339 * infixes may now be declared with names independent of their syntax;
341 * added typed_print_translation (like print_translation, but may
342 access type of constant);
345 *** Classical Reasoner ***
347 Blast_tac: a new tactic! It is often more powerful than fast_tac, but has
348 some limitations. Blast_tac...
349 + ignores addss, addbefore, addafter; this restriction is intrinsic
350 + ignores elimination rules that don't have the correct format
351 (the conclusion MUST be a formula variable)
352 + ignores types, which can make HOL proofs fail
353 + rules must not require higher-order unification, e.g. apply_type in ZF
354 [message "Function Var's argument not a bound variable" relates to this]
355 + its proof strategy is more general but can actually be slower
357 * substitution with equality assumptions no longer permutes other
360 * minor changes in semantics of addafter (now called addaltern); renamed
361 setwrapper to setWrapper and compwrapper to compWrapper; added safe wrapper
362 (and access functions for it);
364 * improved combination of classical reasoner and simplifier:
365 + functions for handling clasimpsets
366 + improvement of addss: now the simplifier is called _after_ the
368 + safe variant of addss called addSss: uses safe simplifications
369 _during_ the safe steps. It is more complete as it allows multiple
370 instantiations of unknowns (e.g. with slow_tac).
374 * added interface for simplification procedures (functions that
375 produce *proven* rewrite rules on the fly, depending on current
378 * ordering on terms as parameter (used for ordered rewriting);
380 * new functions delcongs, deleqcongs, and Delcongs. richer rep_ss;
382 * the solver is now split into a safe and an unsafe part.
383 This should be invisible for the normal user, except that the
384 functions setsolver and addsolver have been renamed to setSolver and
385 addSolver; added safe_asm_full_simp_tac;
390 * a generic induction tactic `induct_tac' which works for all datatypes and
393 * a generic case distinction tactic `exhaust_tac' which works for all
394 datatypes and also for type `nat';
396 * each datatype comes with a function `size';
398 * patterns in case expressions allow tuple patterns as arguments to
399 constructors, for example `case x of [] => ... | (x,y,z)#ps => ...';
401 * primrec now also works with type nat;
403 * recdef: a new declaration form, allows general recursive functions to be
404 defined in theory files. See HOL/ex/Fib, HOL/ex/Primes, HOL/Subst/Unify.
406 * the constant for negation has been renamed from "not" to "Not" to
407 harmonize with FOL, ZF, LK, etc.;
409 * HOL/ex/LFilter theory of a corecursive "filter" functional for
412 * HOL/Modelcheck demonstrates invocation of model checker oracle;
414 * HOL/ex/Ring.thy declares cring_simp, which solves equational
415 problems in commutative rings, using axiomatic type classes for + and *;
417 * more examples in HOL/MiniML and HOL/Auth;
419 * more default rewrite rules for quantifiers, union/intersection;
421 * a new constant `arbitrary == @x.False';
423 * HOLCF/IOA replaces old HOL/IOA;
425 * HOLCF changes: derived all rules and arities
426 + axiomatic type classes instead of classes
427 + typedef instead of faking type definitions
428 + eliminated the internal constants less_fun, less_cfun, UU_fun, UU_cfun etc.
429 + new axclasses cpo, chfin, flat with flat < chfin < pcpo < cpo < po
430 + eliminated the types void, one, tr
431 + use unit lift and bool lift (with translations) instead of one and tr
432 + eliminated blift from Lift3.thy (use Def instead of blift)
433 all eliminated rules are derived as theorems --> no visible changes ;
438 * ZF now has Fast_tac, Simp_tac and Auto_tac. Union_iff is a now a default
439 rewrite rule; this may affect some proofs. eq_cs is gone but can be put back
440 as ZF_cs addSIs [equalityI];
444 New in Isabelle94-7 (November 96)
445 ---------------------------------
447 * allowing negative levels (as offsets) in prlev and choplev;
449 * super-linear speedup for large simplifications;
451 * FOL, ZF and HOL now use miniscoping: rewriting pushes
452 quantifications in as far as possible (COULD MAKE EXISTING PROOFS
453 FAIL); can suppress it using the command Delsimps (ex_simps @
454 all_simps); De Morgan laws are also now included, by default;
456 * improved printing of ==> : ~:
458 * new object-logic "Sequents" adds linear logic, while replacing LK
459 and Modal (thanks to Sara Kalvala);
461 * HOL/Auth: correctness proofs for authentication protocols;
463 * HOL: new auto_tac combines rewriting and classical reasoning (many
464 examples on HOL/Auth);
466 * HOL: new command AddIffs for declaring theorems of the form P=Q to
467 the rewriter and classical reasoner simultaneously;
469 * function uresult no longer returns theorems in "standard" format;
470 regain previous version by: val uresult = standard o uresult;
477 * oracles -- these establish an interface between Isabelle and trusted
478 external reasoners, which may deliver results as theorems;
480 * proof objects (in particular record all uses of oracles);
482 * Simp_tac, Fast_tac, etc. that refer to implicit simpset / claset;
484 * "constdefs" section in theory files;
486 * "primrec" section (HOL) no longer requires names;
488 * internal type "tactic" now simply "thm -> thm Sequence.seq";
495 * reduced space requirements;
497 * automatic HTML generation from theories;
499 * theory files no longer require "..." (quotes) around most types;
501 * new examples, including two proofs of the Church-Rosser theorem;
503 * non-curried (1994) version of HOL is no longer distributed;
510 * greatly reduced space requirements;
512 * theory files (.thy) no longer require \...\ escapes at line breaks;
514 * searchable theorem database (see the section "Retrieving theorems" on
515 page 8 of the Reference Manual);
517 * new examples, including Grabczewski's monumental case study of the
520 * The previous version of HOL renamed to Old_HOL;
522 * The new version of HOL (previously called CHOL) uses a curried syntax
523 for functions. Application looks like f a b instead of f(a,b);
525 * Mutually recursive inductive definitions finally work in HOL;
527 * In ZF, pattern-matching on tuples is now available in all abstractions and
528 translates to the operator "split";
535 * new infix operator, addss, allowing the classical reasoner to
536 perform simplification at each step of its search. Example:
537 fast_tac (cs addss ss)
539 * a new logic, CHOL, the same as HOL, but with a curried syntax
540 for functions. Application looks like f a b instead of f(a,b). Also pairs
541 look like (a,b) instead of <a,b>;
543 * PLEASE NOTE: CHOL will eventually replace HOL!
545 * In CHOL, pattern-matching on tuples is now available in all abstractions.
546 It translates to the operator "split". A new theory of integers is available;
548 * In ZF, integer numerals now denote two's-complement binary integers.
549 Arithmetic operations can be performed by rewriting. See ZF/ex/Bin.ML;
551 * Many new examples: I/O automata, Church-Rosser theorem, equivalents
552 of the Axiom of Choice;
559 * Significantly faster resolution;
561 * the different sections in a .thy file can now be mixed and repeated
564 * Database of theorems for FOL, HOL and ZF. New
565 commands including qed, qed_goal and bind_thm store theorems in the database.
567 * Simple database queries: return a named theorem (get_thm) or all theorems of
568 a given theory (thms_of), or find out what theory a theorem was proved in
571 * Bugs fixed in the inductive definition and datatype packages;
573 * The classical reasoner provides deepen_tac and depth_tac, making FOL_dup_cs
574 and HOL_dup_cs obsolete;
576 * Syntactic ambiguities caused by the new treatment of syntax in Isabelle94-1
579 * Simpler definition of function space in ZF;
581 * new results about cardinal and ordinal arithmetic in ZF;
583 * 'subtype' facility in HOL for introducing new types as subsets of existing