NEWS
author paulson
Fri, 10 Apr 1998 13:41:04 +0200
changeset 4806 79cc986bc4d7
parent 4801 f8701e067e43
child 4824 df8fc4626a9e
permissions -rw-r--r--
bug fixes
     1 
     2 Isabelle NEWS -- history of user-visible changes
     3 ================================================
     4 
     5 New in Isabelle??? (FIXME)
     6 --------------------------
     7 
     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.
    12 
    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;
    22 
    23 * Inductive definitions now handle disjunctive premises correctly (HOL and ZF)
    24 
    25 
    26 *** HOL ***
    27 
    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
    30 
    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
    33 
    34 * added disj_not1 = "(~P | Q) = (P --> Q)" to the default simpset
    35 
    36 * HOL/Arithmetic: removed 'pred' (predecessor) function; and generalized
    37   some theorems about n-1
    38 
    39 * HOL/Relation: renamed the relational operatotr r^-1 "converse" instead of
    40   "inverse"
    41 
    42 * HOL/equalities: added many new laws involving unions, intersectinos,
    43   difference, etc.
    44 
    45 * recdef can now declare non-recursive functions, with {} supplied as the 
    46   well-founded relation
    47 
    48 * Simplifier:
    49 
    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).
    59 
    60  -Asm_full_simp_tac is now more aggressive:
    61   1. It will sometimes reorient premises if that increases their power to
    62      simplify.
    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.
    67 
    68 * new theory Vimage (inverse image of a function, syntax f-``B);
    69 
    70 * many new identities for unions, intersections, etc.;
    71 
    72 
    73 New in Isabelle98 (January 1998)
    74 --------------------------------
    75 
    76 *** Overview of INCOMPATIBILITIES (see below for more details) ***
    77 
    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";
    80 
    81 * simpset (and claset) reference variable replaced by functions
    82 simpset / simpset_ref;
    83 
    84 * no longer supports theory aliases (via merge) and non-trivial
    85 implicit merge of thms' signatures;
    86 
    87 * most internal names of constants changed due to qualified names;
    88 
    89 * changed Pure/Sequence interface (see Pure/seq.ML);
    90 
    91 
    92 *** General Changes ***
    93 
    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'
   104 section;
   105 
   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;
   111 
   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);
   115 
   116 * defs may now be conditional; improved rewrite_goals_tac to handle
   117 conditional equations;
   118 
   119 * defs now admits additional type arguments, using TYPE('a) syntax;
   120 
   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;
   125 
   126 * improved handling of draft signatures / theories; draft thms (and
   127 ctyps, cterms) are automatically promoted to real ones;
   128 
   129 * slightly changed interfaces for oracles: admit many per theory, named
   130 (e.g. oracle foo = mlfun), additional name argument for invoke_oracle;
   131 
   132 * print_goals: optional output of const types (set show_consts and
   133 show_types);
   134 
   135 * improved output of warnings (###) and errors (***);
   136 
   137 * subgoal_tac displays a warning if the new subgoal has type variables;
   138 
   139 * removed old README and Makefiles;
   140 
   141 * replaced print_goals_ref hook by print_current_goals_fn and result_error_fn;
   142 
   143 * removed obsolete init_pps and init_database;
   144 
   145 * deleted the obsolete tactical STATE, which was declared by
   146     fun STATE tacfun st = tacfun st st;
   147 
   148 * cd and use now support path variables, e.g. $ISABELLE_HOME, or ~
   149 (which abbreviates $HOME);
   150 
   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!);
   154 
   155 * use_thy no longer requires writable current directory; it always
   156 reloads .ML *and* .thy file, if either one is out of date;
   157 
   158 
   159 *** Classical Reasoner ***
   160 
   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;
   164 
   165 * Safe_tac: like safe_tac but uses the default claset;
   166 
   167 
   168 *** Simplifier ***
   169 
   170 * added simplification meta rules:
   171     (asm_)(full_)simplify: simpset -> thm -> thm;
   172 
   173 * simplifier.ML no longer part of Pure -- has to be loaded by object
   174 logics (again);
   175 
   176 * added prems argument to simplification procedures;
   177 
   178 * HOL, FOL, ZF: added infix function `addsplits':
   179   instead of `<simpset> setloop (split_tac <thms>)'
   180   you can simply write `<simpset> addsplits <thms>'
   181 
   182 
   183 *** Syntax ***
   184 
   185 * TYPE('a) syntax for type reflection terms;
   186 
   187 * no longer handles consts with name "" -- declare as 'syntax' instead;
   188 
   189 * pretty printer: changed order of mixfix annotation preference (again!);
   190 
   191 * Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
   192 
   193 
   194 *** HOL ***
   195 
   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.
   198 
   199 * HOL/TLA: Stephan Merz's formalization of Lamport's Temporal Logic of Actions;
   200 
   201 * HOL/Auth: new protocol proofs including some for the Internet
   202   protocol TLS;
   203 
   204 * HOL/Map: new theory of `maps' a la VDM;
   205 
   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;
   212 
   213 * HOL/simplifier: terms of the form
   214   `? x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x)'  (or t=x)
   215   are rewritten to
   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)
   219   are rewritten to
   220   `P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t) --> R(t)',
   221 
   222 * HOL/datatype
   223   Each datatype `t' now comes with a theorem `split_t_case' of the form
   224 
   225   P(t_case f1 ... fn x) =
   226      ( (!y1 ... ym1. x = C1 y1 ... ym1 --> P(f1 y1 ... ym1)) &
   227         ...
   228        (!y1 ... ymn. x = Cn y1 ... ymn --> P(f1 y1 ... ymn))
   229      )
   230 
   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.
   234 
   235   Additionally, there is a theorem `split_t_case_asm' of the form
   236 
   237   P(t_case f1 ... fn x) =
   238     ~( (? y1 ... ym1. x = C1 y1 ... ym1 & ~P(f1 y1 ... ym1)) |
   239         ...
   240        (? y1 ... ymn. x = Cn y1 ... ymn & ~P(f1 y1 ... ymn))
   241      )
   242 
   243   it be used with the new `split_asm_tac'.
   244 
   245 * HOL/Arithmetic:
   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
   251     `standard'.
   252 
   253 * HOL/Lists:
   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".
   257 
   258 * HOL/Set: UNIV is now a constant and is no longer translated to Compl{};
   259 
   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);
   262 
   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;
   266 
   267 
   268 *** HOLCF ***
   269 
   270 * removed "axioms" and "generated by" sections;
   271 
   272 * replaced "ops" section by extended "consts" section, which is capable of
   273   handling the continuous function space "->" directly;
   274 
   275 * domain package:
   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;
   284 
   285 * fixed LAM <x,y,zs>.b syntax;
   286 
   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;
   289 
   290 
   291 *** FOL and ZF ***
   292 
   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.
   295 
   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;
   298 
   299 
   300 
   301 New in Isabelle94-8 (May 1997)
   302 ------------------------------
   303 
   304 *** General Changes ***
   305 
   306 * new utilities to build / run / maintain Isabelle etc. (in parts
   307 still somewhat experimental); old Makefiles etc. still functional;
   308 
   309 * new 'Isabelle System Manual';
   310 
   311 * INSTALL text, together with ./configure and ./build scripts;
   312 
   313 * reimplemented type inference for greater efficiency, better error
   314 messages and clean internal interface;
   315 
   316 * prlim command for dealing with lots of subgoals (an easier way of
   317 setting goals_limit);
   318 
   319 
   320 *** Syntax ***
   321 
   322 * supports alternative (named) syntax tables (parser and pretty
   323 printer); internal interface is provided by add_modesyntax(_i);
   324 
   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;
   328 
   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);
   334 
   335 * token translations for modes "xterm" and "xterm_color" that display
   336 names in bold, underline etc. or colors (which requires a color
   337 version of xterm);
   338 
   339 * infixes may now be declared with names independent of their syntax;
   340 
   341 * added typed_print_translation (like print_translation, but may
   342 access type of constant);
   343 
   344 
   345 *** Classical Reasoner ***
   346 
   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
   356 
   357 * substitution with equality assumptions no longer permutes other
   358 assumptions;
   359 
   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);
   363 
   364 * improved combination of classical reasoner and simplifier: 
   365   + functions for handling clasimpsets
   366   + improvement of addss: now the simplifier is called _after_ the
   367     safe steps.
   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).
   371 
   372 *** Simplifier ***
   373 
   374 * added interface for simplification procedures (functions that
   375 produce *proven* rewrite rules on the fly, depending on current
   376 redex);
   377 
   378 * ordering on terms as parameter (used for ordered rewriting);
   379 
   380 * new functions delcongs, deleqcongs, and Delcongs. richer rep_ss;
   381 
   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;
   386 
   387 
   388 *** HOL ***
   389 
   390 * a generic induction tactic `induct_tac' which works for all datatypes and
   391 also for type `nat';
   392 
   393 * a generic case distinction tactic `exhaust_tac' which works for all
   394 datatypes and also for type `nat';
   395 
   396 * each datatype comes with a function `size';
   397 
   398 * patterns in case expressions allow tuple patterns as arguments to
   399 constructors, for example `case x of [] => ... | (x,y,z)#ps => ...';
   400 
   401 * primrec now also works with type nat;
   402 
   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.
   405 
   406 * the constant for negation has been renamed from "not" to "Not" to
   407 harmonize with FOL, ZF, LK, etc.;
   408 
   409 * HOL/ex/LFilter theory of a corecursive "filter" functional for
   410 infinite lists;
   411 
   412 * HOL/Modelcheck demonstrates invocation of model checker oracle;
   413 
   414 * HOL/ex/Ring.thy declares cring_simp, which solves equational
   415 problems in commutative rings, using axiomatic type classes for + and *;
   416 
   417 * more examples in HOL/MiniML and HOL/Auth;
   418 
   419 * more default rewrite rules for quantifiers, union/intersection;
   420 
   421 * a new constant `arbitrary == @x.False';
   422 
   423 * HOLCF/IOA replaces old HOL/IOA;
   424 
   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 ;
   434 
   435 
   436 *** ZF ***
   437 
   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];
   441 
   442 
   443 
   444 New in Isabelle94-7 (November 96)
   445 ---------------------------------
   446 
   447 * allowing negative levels (as offsets) in prlev and choplev;
   448 
   449 * super-linear speedup for large simplifications;
   450 
   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;
   455 
   456 * improved printing of ==>  :  ~:
   457 
   458 * new object-logic "Sequents" adds linear logic, while replacing LK
   459 and Modal (thanks to Sara Kalvala);
   460 
   461 * HOL/Auth: correctness proofs for authentication protocols;
   462 
   463 * HOL: new auto_tac combines rewriting and classical reasoning (many
   464 examples on HOL/Auth);
   465 
   466 * HOL: new command AddIffs for declaring theorems of the form P=Q to
   467 the rewriter and classical reasoner simultaneously;
   468 
   469 * function uresult no longer returns theorems in "standard" format;
   470 regain previous version by: val uresult = standard o uresult;
   471 
   472 
   473 
   474 New in Isabelle94-6
   475 -------------------
   476 
   477 * oracles -- these establish an interface between Isabelle and trusted
   478 external reasoners, which may deliver results as theorems;
   479 
   480 * proof objects (in particular record all uses of oracles);
   481 
   482 * Simp_tac, Fast_tac, etc. that refer to implicit simpset / claset;
   483 
   484 * "constdefs" section in theory files;
   485 
   486 * "primrec" section (HOL) no longer requires names;
   487 
   488 * internal type "tactic" now simply "thm -> thm Sequence.seq";
   489 
   490 
   491 
   492 New in Isabelle94-5
   493 -------------------
   494 
   495 * reduced space requirements;
   496 
   497 * automatic HTML generation from theories;
   498 
   499 * theory files no longer require "..." (quotes) around most types;
   500 
   501 * new examples, including two proofs of the Church-Rosser theorem;
   502 
   503 * non-curried (1994) version of HOL is no longer distributed;
   504 
   505 
   506 
   507 New in Isabelle94-4
   508 -------------------
   509 
   510 * greatly reduced space requirements;
   511 
   512 * theory files (.thy) no longer require \...\ escapes at line breaks;
   513 
   514 * searchable theorem database (see the section "Retrieving theorems" on 
   515 page 8 of the Reference Manual);
   516 
   517 * new examples, including Grabczewski's monumental case study of the
   518 Axiom of Choice;
   519 
   520 * The previous version of HOL renamed to Old_HOL;
   521 
   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);
   524 
   525 * Mutually recursive inductive definitions finally work in HOL;
   526 
   527 * In ZF, pattern-matching on tuples is now available in all abstractions and
   528 translates to the operator "split";
   529 
   530 
   531 
   532 New in Isabelle94-3
   533 -------------------
   534 
   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)
   538 
   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>;
   542 
   543 * PLEASE NOTE: CHOL will eventually replace HOL!
   544 
   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;
   547 
   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;
   550 
   551 * Many new examples: I/O automata, Church-Rosser theorem, equivalents 
   552 of the Axiom of Choice;
   553 
   554 
   555 
   556 New in Isabelle94-2
   557 -------------------
   558 
   559 * Significantly faster resolution;  
   560 
   561 * the different sections in a .thy file can now be mixed and repeated
   562 freely;
   563 
   564 * Database of theorems for FOL, HOL and ZF.  New
   565 commands including qed, qed_goal and bind_thm store theorems in the database.
   566 
   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
   569 (theory_of_thm);
   570 
   571 * Bugs fixed in the inductive definition and datatype packages;
   572 
   573 * The classical reasoner provides deepen_tac and depth_tac, making FOL_dup_cs
   574 and HOL_dup_cs obsolete;
   575 
   576 * Syntactic ambiguities caused by the new treatment of syntax in Isabelle94-1
   577 have been removed;
   578 
   579 * Simpler definition of function space in ZF;
   580 
   581 * new results about cardinal and ordinal arithmetic in ZF;
   582 
   583 * 'subtype' facility in HOL for introducing new types as subsets of existing
   584 types;
   585 
   586 
   587 $Id$