NEWS
author wenzelm
Tue, 25 Jul 2000 00:00:03 +0200
changeset 9431 f921cca1067d
parent 9402 480a1b40fdd6
child 9437 93e91040c286
permissions -rw-r--r--
tuned deps;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
     1
5363
0cf15843b82f isatool install;
wenzelm
parents: 5332
diff changeset
     2
Isabelle NEWS -- history user-relevant changes
0cf15843b82f isatool install;
wenzelm
parents: 5332
diff changeset
     3
==============================================
2553
ed941505cab7 Isabelle NEWS -- history of user-visible changes;
wenzelm
parents:
diff changeset
     4
8015
wenzelm
parents: 8014
diff changeset
     5
New in this Isabelle version
wenzelm
parents: 8014
diff changeset
     6
----------------------------
wenzelm
parents: 8014
diff changeset
     7
8014
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
     8
*** Overview of INCOMPATIBILITIES (see below for more details) ***
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
     9
8848
wenzelm
parents: 8832
diff changeset
    10
* HOL: simplification of natural numbers is much changed; to partly
wenzelm
parents: 8832
diff changeset
    11
recover the old behaviour (e.g. to prevent n+n rewriting to #2*n)
wenzelm
parents: 8832
diff changeset
    12
issue the following ML commands:
wenzelm
parents: 8832
diff changeset
    13
wenzelm
parents: 8832
diff changeset
    14
  Delsimprocs Nat_Numeral_Simprocs.cancel_numerals;
wenzelm
parents: 8832
diff changeset
    15
  Delsimprocs [Nat_Numeral_Simprocs.combine_numerals];
8788
518a5450ab6d simprocs
paulson
parents: 8736
diff changeset
    16
8967
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
    17
* HOL: 0 is now overloaded, so the type constraint ::nat may sometimes be
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
    18
needed;
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
    19
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
    20
* HOL: the constant for f``x is now "image" rather than "op ``";
8014
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
    21
9330
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    22
* HOL: the disjoint sum is now "<+>" instead of "Plus"; the cartesian
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    23
product is now "<*>" instead of "Times"; the lexicographic product is
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    24
now "<*lex*>" instead of "**";
8705
a3da5538d924 *** empty log message ***
nipkow
parents: 8673
diff changeset
    25
8518
wenzelm
parents: 8487
diff changeset
    26
* HOL: exhaust_tac on datatypes superceded by new generic case_tac;
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
    27
8603
805910de7be0 *** empty log message ***
nipkow
parents: 8570
diff changeset
    28
* HOL: simplification no longer dives into case-expressions
805910de7be0 *** empty log message ***
nipkow
parents: 8570
diff changeset
    29
8655
16906e600c9a recdef: admit name and atts;
wenzelm
parents: 8626
diff changeset
    30
* HOL: the recursion equations generated by 'recdef' are now called
16906e600c9a recdef: admit name and atts;
wenzelm
parents: 8626
diff changeset
    31
f.simps instead of f.rules;
8626
nipkow
parents: 8621
diff changeset
    32
8848
wenzelm
parents: 8832
diff changeset
    33
* HOL: theory Sexp now in HOL/Induct examples (used to be part of main
wenzelm
parents: 8832
diff changeset
    34
HOL, but was unused); should better use HOL's datatype package anyway;
wenzelm
parents: 8832
diff changeset
    35
9383
c21fa1c48de0 * HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents: 9349
diff changeset
    36
* HOL: removed obsolete theorem binding expand_if, use split_if instead;
c21fa1c48de0 * HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents: 9349
diff changeset
    37
8848
wenzelm
parents: 8832
diff changeset
    38
* HOL/Real: "rabs" replaced by overloaded "abs" function;
wenzelm
parents: 8832
diff changeset
    39
8887
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
    40
* HOL/ML: even fewer consts are declared as global (see theories Ord,
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
    41
Lfp, Gfp, WF); this only affects ML packages that refer to const names
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
    42
internally;
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
    43
9388
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
    44
* HOL, ZF: syntax for quotienting wrt an equivalence relation changed from
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
    45
  A/r to A//r;
8921
7c04c98132c4 * Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents: 8887
diff changeset
    46
9388
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
    47
* Isar: changed syntax of local blocks from {{ }} to { };
9335
5d9f02e75569 AddIffs
paulson
parents: 9330
diff changeset
    48
9402
480a1b40fdd6 strengthened force_tac by using new first_best_tac
oheimb
parents: 9388
diff changeset
    49
* Provers: strengthened force_tac by using new first_best_tac
480a1b40fdd6 strengthened force_tac by using new first_best_tac
oheimb
parents: 9388
diff changeset
    50
9185
30d46270a427 weak elimination rules
paulson
parents: 9085
diff changeset
    51
* Provers: Blast_tac now warns of and ignores "weak elimination rules" e.g.
30d46270a427 weak elimination rules
paulson
parents: 9085
diff changeset
    52
  [| inj ?f;          ?f ?x = ?f ?y; ?x = ?y ==> ?W |] ==> ?W
30d46270a427 weak elimination rules
paulson
parents: 9085
diff changeset
    53
use instead the strong form,
30d46270a427 weak elimination rules
paulson
parents: 9085
diff changeset
    54
  [| inj ?f; ~ ?W ==> ?f ?x = ?f ?y; ?x = ?y ==> ?W |] ==> ?W
9330
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    55
In HOL, FOL and ZF the function cla_make_elim will create such rules
9335
5d9f02e75569 AddIffs
paulson
parents: 9330
diff changeset
    56
from destruct-rules;
9185
30d46270a427 weak elimination rules
paulson
parents: 9085
diff changeset
    57
9402
480a1b40fdd6 strengthened force_tac by using new first_best_tac
oheimb
parents: 9388
diff changeset
    58
* Provers: safe_asm_full_simp_tac is no longer in the simplifier signature. Use
480a1b40fdd6 strengthened force_tac by using new first_best_tac
oheimb
parents: 9388
diff changeset
    59
  val safe_asm_full_simp_tac = generic_simp_tac true (true,true,true);
480a1b40fdd6 strengthened force_tac by using new first_best_tac
oheimb
parents: 9388
diff changeset
    60
  if required.
480a1b40fdd6 strengthened force_tac by using new first_best_tac
oheimb
parents: 9388
diff changeset
    61
8994
803533fbb3ec * ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents: 8991
diff changeset
    62
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
803533fbb3ec * ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents: 8991
diff changeset
    63
timing flag supersedes proof_timing and Toplevel.trace;
803533fbb3ec * ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents: 8991
diff changeset
    64
8518
wenzelm
parents: 8487
diff changeset
    65
* ML: PureThy.add_thms/add_axioms/add_defs return theorems as well;
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
    66
9330
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    67
* ML: PureThy.add_defs gets additional argument to indicate potential
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    68
overloading (usually false);
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    69
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
    70
* LaTeX: several changes of isabelle.sty;
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
    71
8014
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
    72
8487
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
    73
*** Document preparation ***
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    74
9198
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
    75
* formal comments (text blocks etc.) in new-style theories may now
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
    76
contain antiquotations of thm/prop/term/typ to be presented according
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
    77
to latex print mode; concrete syntax is like this: @{term[show_types]
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
    78
"f(x) = a + x"};
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
    79
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    80
* isatool mkdir provides easy setup of Isabelle session directories,
8518
wenzelm
parents: 8487
diff changeset
    81
including proper document sources;
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    82
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    83
* generated LaTeX sources are now deleted after successful run
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    84
(isatool document -c); may retain a copy somewhere else via -D option
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    85
of isatool usedir;
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    86
8566
30261b1917b5 usedir -D: update styles;
wenzelm
parents: 8534
diff changeset
    87
* isatool usedir -D now lets isatool latex -o sty update the Isabelle
30261b1917b5 usedir -D: update styles;
wenzelm
parents: 8534
diff changeset
    88
style files, achieving self-contained LaTeX sources;
30261b1917b5 usedir -D: update styles;
wenzelm
parents: 8534
diff changeset
    89
8518
wenzelm
parents: 8487
diff changeset
    90
* old-style theories now produce (crude) LaTeX output as well;
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    91
9057
af1ca1acf292 * browser info session directories are now self-contained (may be put
wenzelm
parents: 9052
diff changeset
    92
* browser info session directories are now self-contained (may be put
af1ca1acf292 * browser info session directories are now self-contained (may be put
wenzelm
parents: 9052
diff changeset
    93
on WWW server seperately);
af1ca1acf292 * browser info session directories are now self-contained (may be put
wenzelm
parents: 9052
diff changeset
    94
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
    95
8184
6b7ef9fc39da nat as names;
wenzelm
parents: 8015
diff changeset
    96
*** Isar ***
6b7ef9fc39da nat as names;
wenzelm
parents: 8015
diff changeset
    97
8621
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
    98
* Pure: local results and corresponding term bindings are now subject
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
    99
to Hindley-Milner polymorphism (similar to ML); this accommodates
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   100
incremental type-inference nicely;
8283
0a319c5746eb * Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents: 8271
diff changeset
   101
8621
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   102
* Pure: new 'obtain' language element supports generalized existence
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   103
reasoning;
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   104
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   105
* Pure: new calculational elements 'moreover' and 'ultimately' support
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   106
plain accumulation of results, without applying any rules yet;
8184
6b7ef9fc39da nat as names;
wenzelm
parents: 8015
diff changeset
   107
8487
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   108
* Pure: scalable support for case-analysis type proofs: new 'case'
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   109
language element refers to local contexts symbolically, as produced by
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   110
certain proof methods; internally, case names are attached to theorems
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   111
as "tags";
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   112
9330
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   113
* Pure: theory command 'hide' removes declarations from
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   114
class/type/const name spaces;
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   115
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   116
* Pure: theory command 'defs' supports option "(overloaded)" to
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   117
indicate potential overloading;
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   118
8921
7c04c98132c4 * Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents: 8887
diff changeset
   119
* Pure: changed syntax of local blocks from {{ }} to { };
7c04c98132c4 * Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents: 8887
diff changeset
   120
7c04c98132c4 * Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents: 8887
diff changeset
   121
* Pure: syntax of sorts made inner, i.e. have to write "{a, b, c}"
7c04c98132c4 * Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents: 8887
diff changeset
   122
instead of {a, b, c};
7c04c98132c4 * Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents: 8887
diff changeset
   123
8621
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   124
* Pure now provides its own version of intro/elim/dest attributes;
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   125
useful for building new logics, but beware of confusion with the
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   126
Provers/classical ones;
8ba0f90f6f35 * Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents: 8603
diff changeset
   127
8991
dc70b797827f case 'antecedent';
wenzelm
parents: 8967
diff changeset
   128
* Pure: the local context of (non-atomic) goals is provided via case
dc70b797827f case 'antecedent';
wenzelm
parents: 8967
diff changeset
   129
name 'antecedent';
dc70b797827f case 'antecedent';
wenzelm
parents: 8967
diff changeset
   130
9011
0cfc347f8d19 Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms to
wenzelm
parents: 8994
diff changeset
   131
* Pure: removed obsolete 'transfer' attribute (transfer of thms to the
0cfc347f8d19 Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms to
wenzelm
parents: 8994
diff changeset
   132
current context is now done automatically);
0cfc347f8d19 Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms to
wenzelm
parents: 8994
diff changeset
   133
9198
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
   134
* Pure: theory command 'method_setup' provides a simple interface for
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
   135
definining proof methods in ML;
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
   136
8487
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   137
* Provers: splitter support (via 'split' attribute and 'simp' method
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   138
modifier); 'simp' method: 'only:' modifier removes loopers as well
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   139
(including splits);
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   140
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   141
* HOL: new proof method 'cases' and improved version of 'induct' now
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   142
support named cases; major packages (inductive, datatype, primrec,
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   143
recdef) support case names and properly name parameters;
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   144
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   145
* HOL: removed 'case_split' thm binding, should use 'cases' proof
8283
0a319c5746eb * Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents: 8271
diff changeset
   146
method anyway;
0a319c5746eb * Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents: 8271
diff changeset
   147
9229
a7c6ea7e57de * Isar/HOL/Calculation: new rules for substitution in inequalities
wenzelm
parents: 9224
diff changeset
   148
* HOL/Calculation: new rules for substitution in inequalities
a7c6ea7e57de * Isar/HOL/Calculation: new rules for substitution in inequalities
wenzelm
parents: 9224
diff changeset
   149
(monotonicity conditions are extracted to be proven terminally);
a7c6ea7e57de * Isar/HOL/Calculation: new rules for substitution in inequalities
wenzelm
parents: 9224
diff changeset
   150
9383
c21fa1c48de0 * HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents: 9349
diff changeset
   151
* HOL: removed obsolete expand_if = split_if; theorems if_splits =
c21fa1c48de0 * HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents: 9349
diff changeset
   152
split_if split_if_asm; datatype package provides theorems foo.splits =
c21fa1c48de0 * HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents: 9349
diff changeset
   153
foo.split foo.split_asm for each datatype;
c21fa1c48de0 * HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents: 9349
diff changeset
   154
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   155
* names of theorems etc. may be natural numbers as well;
8283
0a319c5746eb * Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents: 8271
diff changeset
   156
8518
wenzelm
parents: 8487
diff changeset
   157
* Provers: intro/elim/dest attributes: changed ! / !! flags to ? / ??;
8283
0a319c5746eb * Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents: 8271
diff changeset
   158
8887
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
   159
* 'pr' command: optional goals_limit argument; no longer prints theory
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
   160
contexts, but only proof states;
8487
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   161
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   162
* diagnostic commands 'pr', 'thm', 'prop', 'term', 'typ' admit
8518
wenzelm
parents: 8487
diff changeset
   163
additional print modes to be specified; e.g. "pr(latex)" will print
wenzelm
parents: 8487
diff changeset
   164
proof state according to the Isabelle LaTeX style;
8487
5f3b0e02ec15 Isar: splitter support; improved diagnostics;
wenzelm
parents: 8440
diff changeset
   165
8534
fdbabfbc3829 improved support for emulating tactic scripts;
wenzelm
parents: 8518
diff changeset
   166
* improved support for emulating tactic scripts, including proof
fdbabfbc3829 improved support for emulating tactic scripts;
wenzelm
parents: 8518
diff changeset
   167
methods 'tactic', 'res_inst_tac' etc., 'subgoal_tac', and 'case_tac' /
fdbabfbc3829 improved support for emulating tactic scripts;
wenzelm
parents: 8518
diff changeset
   168
'induct_tac' (for HOL datatypes);
fdbabfbc3829 improved support for emulating tactic scripts;
wenzelm
parents: 8518
diff changeset
   169
8673
987ea1a559d0 Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents: 8655
diff changeset
   170
* simplified (more robust) goal selection of proof methods: 1st goal,
987ea1a559d0 Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents: 8655
diff changeset
   171
all goals, or explicit goal specifier (tactic emulation); thus 'proof
987ea1a559d0 Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents: 8655
diff changeset
   172
method scripts' have to be in depth-first order;
987ea1a559d0 Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents: 8655
diff changeset
   173
9198
0ab3c81e9425 * formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents: 9185
diff changeset
   174
* tuned 'let' syntax: replaced 'as' keyword by 'and';
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   175
9224
0da360494917 * Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents: 9198
diff changeset
   176
* removed 'help' command, which hasn't been too helpful anyway; should
0da360494917 * Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents: 9198
diff changeset
   177
instead use individual commands for printing items (print_commands,
0da360494917 * Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents: 9198
diff changeset
   178
print_methods etc.);
0da360494917 * Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents: 9198
diff changeset
   179
9239
b31c2132176a * added 'nothing' --- the empty list of theorems;
wenzelm
parents: 9229
diff changeset
   180
* added 'nothing' --- the empty list of theorems;
b31c2132176a * added 'nothing' --- the empty list of theorems;
wenzelm
parents: 9229
diff changeset
   181
8184
6b7ef9fc39da nat as names;
wenzelm
parents: 8015
diff changeset
   182
8014
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
   183
*** HOL ***
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
   184
9028
8a1ec8f05f14 added HOL/Prolog
oheimb
parents: 9011
diff changeset
   185
* HOL/Prolog: a (bare-bones) implementation of Lambda-Prolog
8a1ec8f05f14 added HOL/Prolog
oheimb
parents: 9011
diff changeset
   186
8518
wenzelm
parents: 8487
diff changeset
   187
* HOL/Algebra: new theory of rings and univariate polynomials, by
wenzelm
parents: 8487
diff changeset
   188
Clemens Ballarin;
8014
fdf1281a3d0c HOL changes
paulson
parents: 8007
diff changeset
   189
8271
7602b57ba028 HOL/record: fixed select-update simplification procedure to handle
wenzelm
parents: 8203
diff changeset
   190
* HOL/record: fixed select-update simplification procedure to handle
8283
0a319c5746eb * Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents: 8271
diff changeset
   191
extended records as well; admit "r" as field name;
8271
7602b57ba028 HOL/record: fixed select-update simplification procedure to handle
wenzelm
parents: 8203
diff changeset
   192
8392
5bf82327aa36 Factorization
paulson
parents: 8358
diff changeset
   193
* HOL/ex: new theory Factorization proving the Fundamental Theorem of
5bf82327aa36 Factorization
paulson
parents: 8358
diff changeset
   194
Arithmetic, by Thomas M Rasmussen;
8007
c29e27ee4933 header;
wenzelm
parents: 7986
diff changeset
   195
8570
63d4f3ea2e70 HOL/ex/Multiquote;
wenzelm
parents: 8566
diff changeset
   196
* HOL/ex/Multiquote: multiple nested quotations and anti-quotations --
63d4f3ea2e70 HOL/ex/Multiquote;
wenzelm
parents: 8566
diff changeset
   197
basically a generalized version of de-Bruijn representation; very
63d4f3ea2e70 HOL/ex/Multiquote;
wenzelm
parents: 8566
diff changeset
   198
useful in avoiding lifting all operations;
63d4f3ea2e70 HOL/ex/Multiquote;
wenzelm
parents: 8566
diff changeset
   199
8848
wenzelm
parents: 8832
diff changeset
   200
* HOL/Real: "rabs" replaced by overloaded "abs" function;
wenzelm
parents: 8832
diff changeset
   201
8967
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
   202
* HOL: 0 is now overloaded over the new sort "zero", allowing its use with
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
   203
other numeric types and also as the identity of groups, rings, etc.;
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
   204
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
   205
* HOL: new axclass plus_ac0 for addition with the AC-laws and 0 as identity.
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
   206
Types nat and int belong to this axclass;
00f18476ac15 overloading of 0
paulson
parents: 8925
diff changeset
   207
9085
5ce73f3cadff real simprocs
paulson
parents: 9057
diff changeset
   208
* greatly improved simplification involving numerals of type nat, int, real:
8788
518a5450ab6d simprocs
paulson
parents: 8736
diff changeset
   209
   (i + #8 + j) = Suc k simplifies to  #7 + (i + j) = k
8832
bcceda950cd0 more details
paulson
parents: 8788
diff changeset
   210
   i*j + k + j*#3*i     simplifies to  #4*(i*j) + k
bcceda950cd0 more details
paulson
parents: 8788
diff changeset
   211
  two terms #m*u and #n*u are replaced by #(m+n)*u
bcceda950cd0 more details
paulson
parents: 8788
diff changeset
   212
    (where #m, #n and u can implicitly be 1; this is simproc combine_numerals)
bcceda950cd0 more details
paulson
parents: 8788
diff changeset
   213
  and the term/formula #m*u+x ~~ #n*u+y simplifies simplifies to #(m-n)+x ~~ y
bcceda950cd0 more details
paulson
parents: 8788
diff changeset
   214
    or x ~~ #(n-m)+y, where ~~ is one of = < <= or - (simproc cancel_numerals);
8736
0bfd6678a5fa new simprocs for numerals of type "nat"
paulson
parents: 8729
diff changeset
   215
8848
wenzelm
parents: 8832
diff changeset
   216
* HOL: new version of "case_tac" subsumes both boolean case split and
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   217
"exhaust_tac" on datatypes; INCOMPATIBILITY: exhaust_tac no longer
8518
wenzelm
parents: 8487
diff changeset
   218
exists, may define val exhaust_tac = case_tac for ad-hoc portability;
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   219
8848
wenzelm
parents: 8832
diff changeset
   220
* HOL: simplification no longer dives into case-expressions: only the
wenzelm
parents: 8832
diff changeset
   221
selector expression is simplified, but not the remaining arms. To
wenzelm
parents: 8832
diff changeset
   222
enable full simplification of case-expressions for datatype t, you
wenzelm
parents: 8832
diff changeset
   223
need to remove t.weak_case_cong from the simpset, either permanently
8603
805910de7be0 *** empty log message ***
nipkow
parents: 8570
diff changeset
   224
(Delcongs[thm"t.weak_case_cong"];) or locally (delcongs [...]).
805910de7be0 *** empty log message ***
nipkow
parents: 8570
diff changeset
   225
8848
wenzelm
parents: 8832
diff changeset
   226
* HOL/recdef: the recursion equations generated by 'recdef' for
wenzelm
parents: 8832
diff changeset
   227
function 'f' are now called f.simps instead of f.rules; if all
wenzelm
parents: 8832
diff changeset
   228
termination conditions are proved automatically, these simplification
wenzelm
parents: 8832
diff changeset
   229
rules are added to the simpset, as in primrec; rules may be named
wenzelm
parents: 8832
diff changeset
   230
individually as well, resulting in a separate list of theorems for
wenzelm
parents: 8832
diff changeset
   231
each equation;
wenzelm
parents: 8832
diff changeset
   232
8925
f4599af94b83 SetInterval
nipkow
parents: 8921
diff changeset
   233
* HOL: new (overloaded) notation for the set of elements below/above some
f4599af94b83 SetInterval
nipkow
parents: 8921
diff changeset
   234
element: {..u}, {..u(}, {l..}, {)l..}. See theory SetInterval.
f4599af94b83 SetInterval
nipkow
parents: 8921
diff changeset
   235
8848
wenzelm
parents: 8832
diff changeset
   236
* HOL: theorems impI, allI, ballI bound as "strip";
wenzelm
parents: 8832
diff changeset
   237
wenzelm
parents: 8832
diff changeset
   238
* theory Sexp now in HOL/Induct examples (used to be part of main HOL,
wenzelm
parents: 8832
diff changeset
   239
but was unused);
8626
nipkow
parents: 8621
diff changeset
   240
8887
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
   241
* fewer consts declared as global (e.g. have to refer to "Lfp.lfp"
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
   242
instead of "lfp" internally; affects ML packages only);
c0c583ce0b0b * HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents: 8848
diff changeset
   243
9349
d43669fb423d * tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents: 9335
diff changeset
   244
* tuned AST representation of nested pairs, avoiding bogus output in
d43669fb423d * tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents: 9335
diff changeset
   245
case of overlap with user translations (e.g. judgements over tuples);
d43669fb423d * tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents: 9335
diff changeset
   246
8412
65f9089f6f71 cases_tac
nipkow
parents: 8392
diff changeset
   247
9388
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
   248
*** FOL & ZF ***
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
   249
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
   250
* AddIffs now available, giving theorems of the form P<->Q to the
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
   251
  simplifier and classical reasoner simultaneously;
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
   252
0b039a3575eb // change; also moved entry for AddIffs
paulson
parents: 9383
diff changeset
   253
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
   254
*** General ***
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
   255
9349
d43669fb423d * tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents: 9335
diff changeset
   256
* AST translation rules no longer require constant head on LHS;
d43669fb423d * tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents: 9335
diff changeset
   257
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   258
* improved name spaces: ambiguous output is qualified; support for
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   259
hiding of names;
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   260
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
   261
* compression of ML heaps images may now be controlled via -c option
8518
wenzelm
parents: 8487
diff changeset
   262
of isabelle and isatool usedir (currently only observed by Poly/ML);
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
   263
9052
7db48fe85b05 provide TAGS file for Isabelle sources;
wenzelm
parents: 9028
diff changeset
   264
* provide TAGS file for Isabelle sources;
7db48fe85b05 provide TAGS file for Isabelle sources;
wenzelm
parents: 9028
diff changeset
   265
9288
06a55195741b infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents: 9239
diff changeset
   266
* ML: infix 'OF' is a version of 'MRS' with more appropriate argument
06a55195741b infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents: 9239
diff changeset
   267
order;
06a55195741b infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents: 9239
diff changeset
   268
8994
803533fbb3ec * ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents: 8991
diff changeset
   269
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
803533fbb3ec * ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents: 8991
diff changeset
   270
timing flag supersedes proof_timing and Toplevel.trace;
803533fbb3ec * ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents: 8991
diff changeset
   271
9330
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   272
* ML: PureThy.add_defs gets additional argument to indicate potential
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   273
overloading (usually false);
6861e3b00155 HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents: 9288
diff changeset
   274
8518
wenzelm
parents: 8487
diff changeset
   275
* ML: new combinators |>> and |>>> for incremental transformations
wenzelm
parents: 8487
diff changeset
   276
with secondary results (e.g. certain theory extensions):
8440
d66f0f14b1ca * HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents: 8425
diff changeset
   277
8358
a57d72b5d272 * isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents: 8283
diff changeset
   278
8015
wenzelm
parents: 8014
diff changeset
   279
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   280
New in Isabelle99 (October 1999)
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   281
--------------------------------
4649
89ad3eb863a1 changed wrapper mechanism of classical reasoner
oheimb
parents: 4575
diff changeset
   282
5931
325300576da7 Finally removing "Compl" from HOL
paulson
parents: 5781
diff changeset
   283
*** Overview of INCOMPATIBILITIES (see below for more details) ***
325300576da7 Finally removing "Compl" from HOL
paulson
parents: 5781
diff changeset
   284
6922
f5c5b81b3f14 integer division
paulson
parents: 6795
diff changeset
   285
* HOL: The THEN and ELSE parts of conditional expressions (if P then x else y)
f5c5b81b3f14 integer division
paulson
parents: 6795
diff changeset
   286
are no longer simplified.  (This allows the simplifier to unfold recursive
f5c5b81b3f14 integer division
paulson
parents: 6795
diff changeset
   287
functional programs.)  To restore the old behaviour, declare
7215
wenzelm
parents: 7204
diff changeset
   288
wenzelm
parents: 7204
diff changeset
   289
    Delcongs [if_weak_cong];
6922
f5c5b81b3f14 integer division
paulson
parents: 6795
diff changeset
   290
6269
wenzelm
parents: 6259
diff changeset
   291
* HOL: Removed the obsolete syntax "Compl A"; use -A for set
wenzelm
parents: 6259
diff changeset
   292
complement;
5931
325300576da7 Finally removing "Compl" from HOL
paulson
parents: 5781
diff changeset
   293
6269
wenzelm
parents: 6259
diff changeset
   294
* HOL: the predicate "inj" is now defined by translation to "inj_on";
6174
paulson
parents: 6157
diff changeset
   295
7847
5a3fa0c4b215 Eliminated mutual_induct_tac.
berghofe
parents: 7805
diff changeset
   296
* HOL/datatype: mutual_induct_tac no longer exists --
5a3fa0c4b215 Eliminated mutual_induct_tac.
berghofe
parents: 7805
diff changeset
   297
  use induct_tac "x_1 ... x_n" instead of mutual_induct_tac ["x_1", ..., "x_n"]
5a3fa0c4b215 Eliminated mutual_induct_tac.
berghofe
parents: 7805
diff changeset
   298
6386
e9e8af97f48f HOL/typedef: fixed type inference for representing set;
wenzelm
parents: 6343
diff changeset
   299
* HOL/typedef: fixed type inference for representing set; type
e9e8af97f48f HOL/typedef: fixed type inference for representing set;
wenzelm
parents: 6343
diff changeset
   300
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
   301
6269
wenzelm
parents: 6259
diff changeset
   302
* ZF: The con_defs part of an inductive definition may no longer refer
wenzelm
parents: 6259
diff changeset
   303
to constants declared in the same theory;
6057
395ea7617554 *** empty log message ***
nipkow
parents: 6028
diff changeset
   304
6269
wenzelm
parents: 6259
diff changeset
   305
* HOL, ZF: the function mk_cases, generated by the inductive
wenzelm
parents: 6259
diff changeset
   306
definition package, has lost an argument.  To simplify its result, it
wenzelm
parents: 6259
diff changeset
   307
uses the default simpset instead of a supplied list of theorems.
6141
a6922171b396 removal of the (thm list) argument of mk_cases
paulson
parents: 6131
diff changeset
   308
7215
wenzelm
parents: 7204
diff changeset
   309
* HOL/List: the constructors of type list are now Nil and Cons;
wenzelm
parents: 7204
diff changeset
   310
7619
d78b8b103fd9 incompatibility solver
nipkow
parents: 7595
diff changeset
   311
* Simplifier: the type of the infix ML functions
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   312
        setSSolver addSSolver setSolver addSolver
7619
d78b8b103fd9 incompatibility solver
nipkow
parents: 7595
diff changeset
   313
is now  simpset * solver -> simpset  where `solver' is a new abstract type
d78b8b103fd9 incompatibility solver
nipkow
parents: 7595
diff changeset
   314
for packaging solvers. A solver is created via
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   315
        mk_solver: string -> (thm list -> int -> tactic) -> solver
7619
d78b8b103fd9 incompatibility solver
nipkow
parents: 7595
diff changeset
   316
where the string argument is only a comment.
6057
395ea7617554 *** empty log message ***
nipkow
parents: 6028
diff changeset
   317
7647
2ceddd91cd0a proper handling of dangling sort hypotheses (at last!);
wenzelm
parents: 7619
diff changeset
   318
6069
a99879bd9f13 if-then-else syntax for ZF
paulson
parents: 6064
diff changeset
   319
*** Proof tools ***
a99879bd9f13 if-then-else syntax for ZF
paulson
parents: 6064
diff changeset
   320
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   321
* Provers/Arith/fast_lin_arith.ML contains a functor for creating a
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   322
decision procedure for linear arithmetic. Currently it is used for
7593
wenzelm
parents: 7492
diff changeset
   323
types `nat', `int', and `real' in HOL (see below); it can, should and
wenzelm
parents: 7492
diff changeset
   324
will be instantiated for other types and logics as well.
6069
a99879bd9f13 if-then-else syntax for ZF
paulson
parents: 6064
diff changeset
   325
7324
6cb0d0202298 simplifier flex heads.
nipkow
parents: 7320
diff changeset
   326
* The simplifier now accepts rewrite rules with flexible heads, eg
6cb0d0202298 simplifier flex heads.
nipkow
parents: 7320
diff changeset
   327
     hom ?f ==> ?f(?x+?y) = ?f ?x + ?f ?y
6cb0d0202298 simplifier flex heads.
nipkow
parents: 7320
diff changeset
   328
  They are applied like any rule with a non-pattern lhs, i.e. by first-order
6cb0d0202298 simplifier flex heads.
nipkow
parents: 7320
diff changeset
   329
  matching.
6069
a99879bd9f13 if-then-else syntax for ZF
paulson
parents: 6064
diff changeset
   330
7593
wenzelm
parents: 7492
diff changeset
   331
6014
bfd4923b0957 locales
paulson
parents: 5973
diff changeset
   332
*** General ***
bfd4923b0957 locales
paulson
parents: 5973
diff changeset
   333
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   334
* New Isabelle/Isar subsystem provides an alternative to traditional
7215
wenzelm
parents: 7204
diff changeset
   335
tactical theorem proving; together with the ProofGeneral/isar user
wenzelm
parents: 7204
diff changeset
   336
interface it offers an interactive environment for developing human
wenzelm
parents: 7204
diff changeset
   337
readable proof documents (Isar == Intelligible semi-automated
7886
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   338
reasoning); for further information see isatool doc isar-ref,
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   339
src/HOL/Isar_examples and http://isabelle.in.tum.de/Isar/
7886
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   340
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   341
* improved presentation of theories: better HTML markup (including
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   342
colors), graph views in several sizes; isatool usedir now provides a
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   343
proper interface for user theories (via -P option); actual document
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   344
preparation based on (PDF)LaTeX is available as well (for new-style
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   345
theories only); see isatool doc system for more information;
7215
wenzelm
parents: 7204
diff changeset
   346
7252
d3ed595dd772 replaced 'ProofGeneral' by 'Proof General';
wenzelm
parents: 7238
diff changeset
   347
* native support for Proof General, both for classic Isabelle and
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   348
Isabelle/Isar;
7215
wenzelm
parents: 7204
diff changeset
   349
7791
wenzelm
parents: 7780
diff changeset
   350
* ML function thm_deps visualizes dependencies of theorems and lemmas,
wenzelm
parents: 7780
diff changeset
   351
using the graph browser tool;
wenzelm
parents: 7780
diff changeset
   352
6751
0e346c73828c Isabelle manuals now also available as PDF;
wenzelm
parents: 6671
diff changeset
   353
* Isabelle manuals now also available as PDF;
0e346c73828c Isabelle manuals now also available as PDF;
wenzelm
parents: 6671
diff changeset
   354
6449
d031cb5ea2fc loadpath replaced;
wenzelm
parents: 6420
diff changeset
   355
* theory loader rewritten from scratch (may not be fully
d031cb5ea2fc loadpath replaced;
wenzelm
parents: 6420
diff changeset
   356
bug-compatible); old loadpath variable has been replaced by show_path,
6671
wenzelm
parents: 6563
diff changeset
   357
add_path, del_path, reset_path functions; new operations such as
7593
wenzelm
parents: 7492
diff changeset
   358
update_thy, touch_thy, remove_thy, use/update_thy_only (see also
wenzelm
parents: 7492
diff changeset
   359
isatool doc ref);
6449
d031cb5ea2fc loadpath replaced;
wenzelm
parents: 6420
diff changeset
   360
7215
wenzelm
parents: 7204
diff changeset
   361
* improved isatool install: option -k creates KDE application icon,
wenzelm
parents: 7204
diff changeset
   362
option -p DIR installs standalone binaries;
wenzelm
parents: 7204
diff changeset
   363
wenzelm
parents: 7204
diff changeset
   364
* added ML_PLATFORM setting (useful for cross-platform installations);
wenzelm
parents: 7204
diff changeset
   365
more robust handling of platform specific ML images for SML/NJ;
wenzelm
parents: 7204
diff changeset
   366
7886
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   367
* the settings environment is now statically scoped, i.e. it is never
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   368
created again in sub-processes invoked from isabelle, isatool, or
7886
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   369
Isabelle;
8fa551e22e52 the settings environment is now statically scoped;
wenzelm
parents: 7863
diff changeset
   370
7215
wenzelm
parents: 7204
diff changeset
   371
* path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents: 7204
diff changeset
   372
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   373
* in locales, the "assumes" and "defines" parts may be omitted if
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   374
empty;
5973
040f6d2af50d removed prs / prs_fn;
wenzelm
parents: 5931
diff changeset
   375
6269
wenzelm
parents: 6259
diff changeset
   376
* new print_mode "xsymbols" for extended symbol support (e.g. genuine
wenzelm
parents: 6259
diff changeset
   377
long arrows);
6259
488bdc1bd11a path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents: 6174
diff changeset
   378
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   379
* new print_mode "HTML";
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   380
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   381
* new flag show_tags controls display of tags of theorems (which are
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   382
basically just comments that may be attached by some tools);
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   383
6461
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   384
* Isamode 2.6 requires patch to accomodate change of Isabelle font
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   385
mode and goal output format:
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   386
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   387
diff -r Isamode-2.6/elisp/isa-load.el Isamode/elisp/isa-load.el
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   388
244c244
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   389
<       (list (isa-getenv "ISABELLE") "-msymbols" logic-name)
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   390
---
6533
wenzelm
parents: 6482
diff changeset
   391
>       (list (isa-getenv "ISABELLE") "-misabelle_font" "-msymbols" logic-name)
6461
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   392
diff -r Isabelle-2.6/elisp/isa-proofstate.el Isamode/elisp/isa-proofstate.el
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   393
181c181
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   394
< (defconst proofstate-proofstart-regexp "^Level [0-9]+$"
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   395
---
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   396
> (defconst proofstate-proofstart-regexp "^Level [0-9]+"
99c34e50a2c6 Isamode 2.6 requires patch;
wenzelm
parents: 6449
diff changeset
   397
7450
e329ca03fd00 added bind_thms;
wenzelm
parents: 7444
diff changeset
   398
* function bind_thms stores lists of theorems (cf. bind_thm);
e329ca03fd00 added bind_thms;
wenzelm
parents: 7444
diff changeset
   399
7593
wenzelm
parents: 7492
diff changeset
   400
* new shorthand tactics ftac, eatac, datac, fatac;
wenzelm
parents: 7492
diff changeset
   401
wenzelm
parents: 7492
diff changeset
   402
* qed (and friends) now accept "" as result name; in that case the
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   403
theorem is not stored, but proper checks and presentation of the
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   404
result still apply;
7593
wenzelm
parents: 7492
diff changeset
   405
7805
0ae9ddc36fe0 theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents: 7791
diff changeset
   406
* theorem database now also indexes constants "Trueprop", "all",
0ae9ddc36fe0 theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents: 7791
diff changeset
   407
"==>", "=="; thus thms_containing, findI etc. may retrieve more rules;
0ae9ddc36fe0 theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents: 7791
diff changeset
   408
6028
1bfd52528bde *** empty log message ***
oheimb
parents: 6014
diff changeset
   409
6057
395ea7617554 *** empty log message ***
nipkow
parents: 6028
diff changeset
   410
*** HOL ***
395ea7617554 *** empty log message ***
nipkow
parents: 6028
diff changeset
   411
7215
wenzelm
parents: 7204
diff changeset
   412
** HOL arithmetic **
wenzelm
parents: 7204
diff changeset
   413
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   414
* There are now decision procedures for linear arithmetic over nat and
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   415
int:
6131
2d9e609abcdb More Arith.
nipkow
parents: 6070
diff changeset
   416
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   417
1. arith_tac copes with arbitrary formulae involving `=', `<', `<=',
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   418
`+', `-', `Suc', `min', `max' and numerical constants; other subterms
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   419
are treated as atomic; subformulae not involving type `nat' or `int'
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   420
are ignored; quantified subformulae are ignored unless they are
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   421
positive universal or negative existential. The tactic has to be
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   422
invoked by hand and can be a little bit slow. In particular, the
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   423
running time is exponential in the number of occurrences of `min' and
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   424
`max', and `-' on `nat'.
6131
2d9e609abcdb More Arith.
nipkow
parents: 6070
diff changeset
   425
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   426
2. fast_arith_tac is a cut-down version of arith_tac: it only takes
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   427
(negated) (in)equalities among the premises and the conclusion into
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   428
account (i.e. no compound formulae) and does not know about `min' and
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   429
`max', and `-' on `nat'. It is fast and is used automatically by the
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   430
simplifier.
6131
2d9e609abcdb More Arith.
nipkow
parents: 6070
diff changeset
   431
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   432
NB: At the moment, these decision procedures do not cope with mixed
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   433
nat/int formulae where the two parts interact, such as `m < n ==>
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   434
int(m) < int(n)'.
6028
1bfd52528bde *** empty log message ***
oheimb
parents: 6014
diff changeset
   435
7215
wenzelm
parents: 7204
diff changeset
   436
* HOL/Numeral provides a generic theory of numerals (encoded
7313
300487ddfba9 real numerals;
wenzelm
parents: 7300
diff changeset
   437
efficiently as bit strings); setup for types nat/int/real is in place;
7215
wenzelm
parents: 7204
diff changeset
   438
INCOMPATIBILITY: since numeral syntax is now polymorphic, rather than
wenzelm
parents: 7204
diff changeset
   439
int, existing theories and proof scripts may require a few additional
wenzelm
parents: 7204
diff changeset
   440
type constraints;
wenzelm
parents: 7204
diff changeset
   441
wenzelm
parents: 7204
diff changeset
   442
* integer division and remainder can now be performed on constant
wenzelm
parents: 7204
diff changeset
   443
arguments;
7157
paulson
parents: 7125
diff changeset
   444
7215
wenzelm
parents: 7204
diff changeset
   445
* many properties of integer multiplication, division and remainder
wenzelm
parents: 7204
diff changeset
   446
are now available;
6922
f5c5b81b3f14 integer division
paulson
parents: 6795
diff changeset
   447
7287
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   448
* An interface to the Stanford Validity Checker (SVC) is available through the
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   449
tactic svc_tac.  Propositional tautologies and theorems of linear arithmetic
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   450
are proved automatically.  SVC must be installed separately, and its results
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   451
must be TAKEN ON TRUST (Isabelle does not check the proofs, but tags any
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   452
invocation of the underlying oracle).  For SVC see
7444
ee17ad649c26 new SVC url
paulson
parents: 7420
diff changeset
   453
  http://verify.stanford.edu/SVC
6922
f5c5b81b3f14 integer division
paulson
parents: 6795
diff changeset
   454
7125
df7cf6e85501 HOL-Real target now builds an actual image;
wenzelm
parents: 7113
diff changeset
   455
* IsaMakefile: the HOL-Real target now builds an actual image;
df7cf6e85501 HOL-Real target now builds an actual image;
wenzelm
parents: 7113
diff changeset
   456
7215
wenzelm
parents: 7204
diff changeset
   457
wenzelm
parents: 7204
diff changeset
   458
** HOL misc **
wenzelm
parents: 7204
diff changeset
   459
7595
5f5d575ddac3 * HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents: 7593
diff changeset
   460
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
5f5d575ddac3 * HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents: 7593
diff changeset
   461
(in Isabelle/Isar) -- by Gertrud Bauer;
5f5d575ddac3 * HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents: 7593
diff changeset
   462
7691
b7e8277fa088 added BVC;
wenzelm
parents: 7647
diff changeset
   463
* HOL/BCV: generic model of bytecode verification, i.e. data-flow
b7e8277fa088 added BVC;
wenzelm
parents: 7647
diff changeset
   464
analysis for assembly languages with subtypes;
b7e8277fa088 added BVC;
wenzelm
parents: 7647
diff changeset
   465
6278
37b76155a49e Symbol.output subject to print mode;
wenzelm
parents: 6269
diff changeset
   466
* HOL/TLA (Lamport's Temporal Logic of Actions): major reorganization
37b76155a49e Symbol.output subject to print mode;
wenzelm
parents: 6269
diff changeset
   467
-- avoids syntactic ambiguities and treats state, transition, and
37b76155a49e Symbol.output subject to print mode;
wenzelm
parents: 6269
diff changeset
   468
temporal levels more uniformly; introduces INCOMPATIBILITIES due to
37b76155a49e Symbol.output subject to print mode;
wenzelm
parents: 6269
diff changeset
   469
changed syntax and (many) tactics;
37b76155a49e Symbol.output subject to print mode;
wenzelm
parents: 6269
diff changeset
   470
7791
wenzelm
parents: 7780
diff changeset
   471
* HOL/inductive: Now also handles more general introduction rules such
wenzelm
parents: 7780
diff changeset
   472
  as "ALL y. (y, x) : r --> y : acc r ==> x : acc r"; monotonicity
wenzelm
parents: 7780
diff changeset
   473
  theorems are now maintained within the theory (maintained via the
wenzelm
parents: 7780
diff changeset
   474
  "mono" attribute);
7780
099742c562aa Documented changes to HOL/inductive and function thm_deps.
berghofe
parents: 7691
diff changeset
   475
7238
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   476
* HOL/datatype: Now also handles arbitrarily branching datatypes
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   477
  (using function types) such as
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   478
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   479
  datatype 'a tree = Atom 'a | Branch "nat => 'a tree"
7047
d103b875ef1d Datatype package now handles arbitrarily branching datatypes.
berghofe
parents: 6925
diff changeset
   480
7326
a1555491a966 record_simproc;
wenzelm
parents: 7324
diff changeset
   481
* HOL/record: record_simproc (part of the default simpset) takes care
a1555491a966 record_simproc;
wenzelm
parents: 7324
diff changeset
   482
of selectors applied to updated records; record_split_tac is no longer
7327
wenzelm
parents: 7326
diff changeset
   483
part of the default claset; update_defs may now be removed from the
wenzelm
parents: 7326
diff changeset
   484
simpset in many cases; COMPATIBILITY: old behavior achieved by
7326
a1555491a966 record_simproc;
wenzelm
parents: 7324
diff changeset
   485
a1555491a966 record_simproc;
wenzelm
parents: 7324
diff changeset
   486
  claset_ref () := claset() addSWrapper record_split_wrapper;
a1555491a966 record_simproc;
wenzelm
parents: 7324
diff changeset
   487
  Delsimprocs [record_simproc]
a1555491a966 record_simproc;
wenzelm
parents: 7324
diff changeset
   488
6386
e9e8af97f48f HOL/typedef: fixed type inference for representing set;
wenzelm
parents: 6343
diff changeset
   489
* HOL/typedef: fixed type inference for representing set; type
e9e8af97f48f HOL/typedef: fixed type inference for representing set;
wenzelm
parents: 6343
diff changeset
   490
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
   491
7287
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   492
* HOL/recdef (TFL): 'congs' syntax now expects comma separated list of theorem
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   493
names rather than an ML expression;
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   494
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   495
* HOL/defer_recdef (TFL): like recdef but the well-founded relation can be
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   496
supplied later.  Program schemes can be defined, such as
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   497
    "While B C s = (if B s then While B C (C s) else s)"
d603a06b30df defer_recdef
paulson
parents: 7280
diff changeset
   498
where the well-founded relation can be chosen after B and C have been given.
6563
wenzelm
parents: 6533
diff changeset
   499
7215
wenzelm
parents: 7204
diff changeset
   500
* HOL/List: the constructors of type list are now Nil and Cons;
wenzelm
parents: 7204
diff changeset
   501
INCOMPATIBILITY: while [] and infix # syntax is still there, of
wenzelm
parents: 7204
diff changeset
   502
course, ML tools referring to List.list.op # etc. have to be adapted;
wenzelm
parents: 7204
diff changeset
   503
7238
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   504
* HOL_quantifiers flag superseded by "HOL" print mode, which is
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   505
disabled by default; run isabelle with option -m HOL to get back to
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   506
the original Gordon/HOL-style output;
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   507
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   508
* HOL/Ord.thy: new bounded quantifier syntax (input only): ALL x<y. P,
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   509
ALL x<=y. P, EX x<y. P, EX x<=y. P;
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   510
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   511
* HOL basic syntax simplified (more orthogonal): all variants of
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   512
All/Ex now support plain / symbolic / HOL notation; plain syntax for
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   513
Eps operator is provided as well: "SOME x. P[x]";
36e58620ffc8 replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents: 7216
diff changeset
   514
7320
e89fd7d0a624 Moved sum_case to theory HOL/Datatype.
berghofe
parents: 7313
diff changeset
   515
* HOL/Sum.thy: sum_case has been moved to HOL/Datatype;
7261
a141985d660b sum_case renamed to basic_sum_case;
wenzelm
parents: 7252
diff changeset
   516
7280
wenzelm
parents: 7261
diff changeset
   517
* HOL/Univ.thy: infix syntax <*>, <+>, <**>, <+> eliminated and made
wenzelm
parents: 7261
diff changeset
   518
thus available for user theories;
wenzelm
parents: 7261
diff changeset
   519
7300
8439bf404c28 * HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents: 7287
diff changeset
   520
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with
8439bf404c28 * HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents: 7287
diff changeset
   521
HOL/List; hardly an INCOMPATIBILITY since '>>' syntax is used all the
8439bf404c28 * HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents: 7287
diff changeset
   522
time;
8439bf404c28 * HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents: 7287
diff changeset
   523
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   524
* HOL: new tactic smp_tac: int -> int -> tactic, which applies spec
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   525
several times and then mp;
7492
44b333fb5b80 *** empty log message ***
oheimb
parents: 7450
diff changeset
   526
7215
wenzelm
parents: 7204
diff changeset
   527
7113
paulson
parents: 7047
diff changeset
   528
*** LK ***
paulson
parents: 7047
diff changeset
   529
7215
wenzelm
parents: 7204
diff changeset
   530
* the notation <<...>> is now available as a notation for sequences of
wenzelm
parents: 7204
diff changeset
   531
formulas;
7113
paulson
parents: 7047
diff changeset
   532
paulson
parents: 7047
diff changeset
   533
* the simplifier is now installed
paulson
parents: 7047
diff changeset
   534
8729
094dbd0fad0c * improved name spaces: ambiguous output is qualified; support for
wenzelm
parents: 8705
diff changeset
   535
* the axiom system has been generalized (thanks to Soren Heilmann)
7113
paulson
parents: 7047
diff changeset
   536
paulson
parents: 7047
diff changeset
   537
* the classical reasoner now has a default rule database
paulson
parents: 7047
diff changeset
   538
paulson
parents: 7047
diff changeset
   539
6064
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   540
*** ZF ***
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   541
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   542
* new primrec section allows primitive recursive functions to be given
6269
wenzelm
parents: 6259
diff changeset
   543
directly (as in HOL) over datatypes and the natural numbers;
6064
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   544
6269
wenzelm
parents: 6259
diff changeset
   545
* new tactics induct_tac and exhaust_tac for induction (or case
wenzelm
parents: 6259
diff changeset
   546
analysis) over datatypes and the natural numbers;
6064
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   547
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   548
* the datatype declaration of type T now defines the recursor T_rec;
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   549
6141
a6922171b396 removal of the (thm list) argument of mk_cases
paulson
parents: 6131
diff changeset
   550
* simplification automatically does freeness reasoning for datatype
6269
wenzelm
parents: 6259
diff changeset
   551
constructors;
6141
a6922171b396 removal of the (thm list) argument of mk_cases
paulson
parents: 6131
diff changeset
   552
6269
wenzelm
parents: 6259
diff changeset
   553
* automatic type-inference, with AddTCs command to insert new
wenzelm
parents: 6259
diff changeset
   554
type-checking rules;
6155
e387d188d0ca ZF typechecking
paulson
parents: 6141
diff changeset
   555
6269
wenzelm
parents: 6259
diff changeset
   556
* datatype introduction rules are now added as Safe Introduction rules
wenzelm
parents: 6259
diff changeset
   557
to the claset;
6155
e387d188d0ca ZF typechecking
paulson
parents: 6141
diff changeset
   558
6269
wenzelm
parents: 6259
diff changeset
   559
* the syntax "if P then x else y" is now available in addition to
wenzelm
parents: 6259
diff changeset
   560
if(P,x,y);
wenzelm
parents: 6259
diff changeset
   561
6069
a99879bd9f13 if-then-else syntax for ZF
paulson
parents: 6064
diff changeset
   562
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   563
*** Internal programming interfaces ***
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   564
7919
35c18affc1d8 tuned simplifier trace output; new flag debug_simp
wenzelm
parents: 7886
diff changeset
   565
* tuned simplifier trace output; new flag debug_simp;
35c18affc1d8 tuned simplifier trace output; new flag debug_simp
wenzelm
parents: 7886
diff changeset
   566
7420
cba45c114f3b structures Vartab / Termtab (instances of TableFun);
wenzelm
parents: 7327
diff changeset
   567
* structures Vartab / Termtab (instances of TableFun) offer efficient
cba45c114f3b structures Vartab / Termtab (instances of TableFun);
wenzelm
parents: 7327
diff changeset
   568
tables indexed by indexname_ord / term_ord (compatible with aconv);
cba45c114f3b structures Vartab / Termtab (instances of TableFun);
wenzelm
parents: 7327
diff changeset
   569
6386
e9e8af97f48f HOL/typedef: fixed type inference for representing set;
wenzelm
parents: 6343
diff changeset
   570
* AxClass.axclass_tac lost the theory argument;
e9e8af97f48f HOL/typedef: fixed type inference for representing set;
wenzelm
parents: 6343
diff changeset
   571
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   572
* tuned current_goals_markers semantics: begin / end goal avoids
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   573
printing empty lines;
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   574
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   575
* removed prs and prs_fn hook, which was broken because it did not
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   576
include \n in its semantics, forcing writeln to add one
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   577
uncoditionally; replaced prs_fn by writeln_fn; consider std_output:
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   578
string -> unit if you really want to output text without newline;
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   579
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   580
* Symbol.output subject to print mode; INCOMPATIBILITY: defaults to
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   581
plain output, interface builders may have to enable 'isabelle_font'
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   582
mode to get Isabelle font glyphs as before;
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   583
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   584
* refined token_translation interface; INCOMPATIBILITY: output length
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   585
now of type real instead of int;
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   586
7196
c8d1002060e8 theory loader actions;
wenzelm
parents: 7157
diff changeset
   587
* theory loader actions may be traced via new ThyInfo.add_hook
c8d1002060e8 theory loader actions;
wenzelm
parents: 7157
diff changeset
   588
interface (see src/Pure/Thy/thy_info.ML); example application: keep
c8d1002060e8 theory loader actions;
wenzelm
parents: 7157
diff changeset
   589
your own database of information attached to *whole* theories -- as
c8d1002060e8 theory loader actions;
wenzelm
parents: 7157
diff changeset
   590
opposed to intra-theory data slots offered via TheoryDataFun;
c8d1002060e8 theory loader actions;
wenzelm
parents: 7157
diff changeset
   591
7647
2ceddd91cd0a proper handling of dangling sort hypotheses (at last!);
wenzelm
parents: 7619
diff changeset
   592
* proper handling of dangling sort hypotheses (at last!);
2ceddd91cd0a proper handling of dangling sort hypotheses (at last!);
wenzelm
parents: 7619
diff changeset
   593
Thm.strip_shyps and Drule.strip_shyps_warning take care of removing
2ceddd91cd0a proper handling of dangling sort hypotheses (at last!);
wenzelm
parents: 7619
diff changeset
   594
extra sort hypotheses that can be witnessed from the type signature;
7986
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   595
the force_strip_shyps flag is gone, any remaining shyps are simply
9d319a76dbeb Isabelle99;
wenzelm
parents: 7919
diff changeset
   596
left in the theorem (with a warning issued by strip_shyps_warning);
7647
2ceddd91cd0a proper handling of dangling sort hypotheses (at last!);
wenzelm
parents: 7619
diff changeset
   597
6343
97c697a32b73 updated;
wenzelm
parents: 6278
diff changeset
   598
6064
0786b5afd8ee primrec, induct_tac
paulson
parents: 6063
diff changeset
   599
5781
d37380544c39 tuned current_goals_markers;
wenzelm
parents: 5731
diff changeset
   600
New in Isabelle98-1 (October 1998)
d37380544c39 tuned current_goals_markers;
wenzelm
parents: 5731
diff changeset
   601
----------------------------------
d37380544c39 tuned current_goals_markers;
wenzelm
parents: 5731
diff changeset
   602
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   603
*** Overview of INCOMPATIBILITIES (see below for more details) ***
4842
0afcae75b34a *** empty log message ***
wenzelm
parents: 4838
diff changeset
   604
5726
wenzelm
parents: 5722
diff changeset
   605
* several changes of automated proof tools;
5373
wenzelm
parents: 5363
diff changeset
   606
5726
wenzelm
parents: 5722
diff changeset
   607
* HOL: major changes to the inductive and datatype packages, including
wenzelm
parents: 5722
diff changeset
   608
some minor incompatibilities of theory syntax;
5214
75c6392d1274 Adapted to new datatype package.
berghofe
parents: 5207
diff changeset
   609
5726
wenzelm
parents: 5722
diff changeset
   610
* HOL: renamed r^-1 to 'converse' from 'inverse'; 'inj_onto' is now
5217
wenzelm
parents: 5214
diff changeset
   611
called `inj_on';
5160
1ff6679144b9 ZF: Main, Update
paulson
parents: 5145
diff changeset
   612
5275
de5d5e5eb692 *** empty log message ***
nipkow
parents: 5267
diff changeset
   613
* HOL: removed duplicate thms in Arith:
de5d5e5eb692 *** empty log message ***
nipkow
parents: 5267
diff changeset
   614
  less_imp_add_less  should be replaced by  trans_less_add1
de5d5e5eb692 *** empty log message ***
nipkow
parents: 5267
diff changeset
   615
  le_imp_add_le      should be replaced by  trans_le_add1
5160
1ff6679144b9 ZF: Main, Update
paulson
parents: 5145
diff changeset
   616
5726
wenzelm
parents: 5722
diff changeset
   617
* HOL: unary minus is now overloaded (new type constraints may be
wenzelm
parents: 5722
diff changeset
   618
required);
5490
85855f65d0c6 From Compl(A) to -A
paulson
parents: 5475
diff changeset
   619
5726
wenzelm
parents: 5722
diff changeset
   620
* HOL and ZF: unary minus for integers is now #- instead of #~.  In
wenzelm
parents: 5722
diff changeset
   621
ZF, expressions such as n#-1 must be changed to n#- 1, since #-1 is
wenzelm
parents: 5722
diff changeset
   622
now taken as an integer constant.
5541
f8fb27db4bcd unary minus
paulson
parents: 5526
diff changeset
   623
5726
wenzelm
parents: 5722
diff changeset
   624
* Pure: ML function 'theory_of' renamed to 'theory';
5397
034ed25535b9 * Pure: ML function 'theory_of' replaced by 'theory';
wenzelm
parents: 5373
diff changeset
   625
5363
0cf15843b82f isatool install;
wenzelm
parents: 5332
diff changeset
   626
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   627
*** Proof tools ***
4880
312115d20c45 *** empty log message ***
nipkow
parents: 4879
diff changeset
   628
5657
1a6c9c6a3f8e 2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents: 5651
diff changeset
   629
* Simplifier:
1a6c9c6a3f8e 2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents: 5651
diff changeset
   630
  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
   631
     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
   632
        simplify.
1a6c9c6a3f8e 2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents: 5651
diff changeset
   633
     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
   634
        rotate premises to achieve further simplification.
1a6c9c6a3f8e 2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents: 5651
diff changeset
   635
     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
   636
     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
   637
  2. The simplifier now knows a little bit about nat-arithmetic.
4880
312115d20c45 *** empty log message ***
nipkow
parents: 4879
diff changeset
   638
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   639
* Classical reasoner: wrapper mechanism for the classical reasoner now
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   640
allows for selected deletion of wrappers, by introduction of names for
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   641
wrapper functionals.  This implies that addbefore, addSbefore,
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   642
addaltern, and addSaltern now take a pair (name, tactic) as argument,
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   643
and that adding two tactics with the same name overwrites the first
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   644
one (emitting a warning).
4824
df8fc4626a9e *** empty log message ***
oheimb
parents: 4806
diff changeset
   645
  type wrapper = (int -> tactic) -> (int -> tactic)
4649
89ad3eb863a1 changed wrapper mechanism of classical reasoner
oheimb
parents: 4575
diff changeset
   646
  setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by
4824
df8fc4626a9e *** empty log message ***
oheimb
parents: 4806
diff changeset
   647
  addWrapper, addSWrapper: claset * (string * wrapper) -> claset
df8fc4626a9e *** empty log message ***
oheimb
parents: 4806
diff changeset
   648
  delWrapper, delSWrapper: claset *  string            -> claset
4649
89ad3eb863a1 changed wrapper mechanism of classical reasoner
oheimb
parents: 4575
diff changeset
   649
  getWrapper is renamed to appWrappers, getSWrapper to appSWrappers;
89ad3eb863a1 changed wrapper mechanism of classical reasoner
oheimb
parents: 4575
diff changeset
   650
5705
56f2030c46c6 tuned (all proofs are INSTABLE by David's definition of instability);
wenzelm
parents: 5671
diff changeset
   651
* Classical reasoner: addbefore/addSbefore now have APPEND/ORELSE
5726
wenzelm
parents: 5722
diff changeset
   652
semantics; addbefore now affects only the unsafe part of step_tac
wenzelm
parents: 5722
diff changeset
   653
etc.; this affects addss/auto_tac/force_tac, so EXISTING PROOFS MAY
wenzelm
parents: 5722
diff changeset
   654
FAIL, but proofs should be fixable easily, e.g. by replacing Auto_tac
wenzelm
parents: 5722
diff changeset
   655
by Force_tac;
5524
38f2a518a811 *** empty log message ***
oheimb
parents: 5490
diff changeset
   656
5726
wenzelm
parents: 5722
diff changeset
   657
* Classical reasoner: setwrapper to setWrapper and compwrapper to
wenzelm
parents: 5722
diff changeset
   658
compWrapper; added safe wrapper (and access functions for it);
5524
38f2a518a811 *** empty log message ***
oheimb
parents: 5490
diff changeset
   659
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   660
* HOL/split_all_tac is now much faster and fails if there is nothing
5726
wenzelm
parents: 5722
diff changeset
   661
to split.  Some EXISTING PROOFS MAY REQUIRE ADAPTION because the order
wenzelm
parents: 5722
diff changeset
   662
and the names of the automatically generated variables have changed.
wenzelm
parents: 5722
diff changeset
   663
split_all_tac has moved within claset() from unsafe wrappers to safe
wenzelm
parents: 5722
diff changeset
   664
wrappers, which means that !!-bound variables are split much more
wenzelm
parents: 5722
diff changeset
   665
aggressively, and safe_tac and clarify_tac now split such variables.
wenzelm
parents: 5722
diff changeset
   666
If this splitting is not appropriate, use delSWrapper "split_all_tac".
wenzelm
parents: 5722
diff changeset
   667
Note: the same holds for record_split_tac, which does the job of
wenzelm
parents: 5722
diff changeset
   668
split_all_tac for record fields.
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   669
5726
wenzelm
parents: 5722
diff changeset
   670
* HOL/Simplifier: Rewrite rules for case distinctions can now be added
wenzelm
parents: 5722
diff changeset
   671
permanently to the default simpset using Addsplits just like
wenzelm
parents: 5722
diff changeset
   672
Addsimps. They can be removed via Delsplits just like
wenzelm
parents: 5722
diff changeset
   673
Delsimps. Lower-case versions are also available.
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   674
5726
wenzelm
parents: 5722
diff changeset
   675
* HOL/Simplifier: The rule split_if is now part of the default
wenzelm
parents: 5722
diff changeset
   676
simpset. This means that the simplifier will eliminate all occurrences
wenzelm
parents: 5722
diff changeset
   677
of if-then-else in the conclusion of a goal. To prevent this, you can
wenzelm
parents: 5722
diff changeset
   678
either remove split_if completely from the default simpset by
wenzelm
parents: 5722
diff changeset
   679
`Delsplits [split_if]' or remove it in a specific call of the
wenzelm
parents: 5722
diff changeset
   680
simplifier using `... delsplits [split_if]'.  You can also add/delete
wenzelm
parents: 5722
diff changeset
   681
other case splitting rules to/from the default simpset: every datatype
wenzelm
parents: 5722
diff changeset
   682
generates suitable rules `split_t_case' and `split_t_case_asm' (where
wenzelm
parents: 5722
diff changeset
   683
t is the name of the datatype).
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   684
5726
wenzelm
parents: 5722
diff changeset
   685
* Classical reasoner / Simplifier combination: new force_tac (and
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   686
derivatives Force_tac, force) combines rewriting and classical
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   687
reasoning (and whatever other tools) similarly to auto_tac, but is
5726
wenzelm
parents: 5722
diff changeset
   688
aimed to solve the given subgoal completely.
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   689
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   690
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   691
*** General ***
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   692
5217
wenzelm
parents: 5214
diff changeset
   693
* new top-level commands `Goal' and `Goalw' that improve upon `goal'
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   694
and `goalw': the theory is no longer needed as an explicit argument -
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   695
the current theory context is used; assumptions are no longer returned
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   696
at the ML-level unless one of them starts with ==> or !!; it is
5217
wenzelm
parents: 5214
diff changeset
   697
recommended to convert to these new commands using isatool fixgoal
wenzelm
parents: 5214
diff changeset
   698
(backup your sources first!);
4842
0afcae75b34a *** empty log message ***
wenzelm
parents: 4838
diff changeset
   699
5217
wenzelm
parents: 5214
diff changeset
   700
* new top-level commands 'thm' and 'thms' for retrieving theorems from
5207
wenzelm
parents: 5160
diff changeset
   701
the current theory context, and 'theory' to lookup stored theories;
4806
79cc986bc4d7 bug fixes
paulson
parents: 4801
diff changeset
   702
5722
c669e2161b08 locales
paulson
parents: 5710
diff changeset
   703
* new theory section 'locale' for declaring constants, assumptions and
c669e2161b08 locales
paulson
parents: 5710
diff changeset
   704
definitions that have local scope;
c669e2161b08 locales
paulson
parents: 5710
diff changeset
   705
5127
ef467e05da61 cleaned up;
wenzelm
parents: 5125
diff changeset
   706
* new theory section 'nonterminals' for purely syntactic types;
4858
4b15e9e1b3a5 new theory section 'nonterminals';
wenzelm