author | wenzelm |
Tue, 25 Jul 2000 00:00:03 +0200 | |
changeset 9431 | f921cca1067d |
parent 9402 | 480a1b40fdd6 |
child 9437 | 93e91040c286 |
permissions | -rw-r--r-- |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
1 |
|
5363 | 2 |
Isabelle NEWS -- history user-relevant changes |
3 |
============================================== |
|
2553 | 4 |
|
8015 | 5 |
New in this Isabelle version |
6 |
---------------------------- |
|
7 |
||
8014 | 8 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
9 |
||
8848 | 10 |
* HOL: simplification of natural numbers is much changed; to partly |
11 |
recover the old behaviour (e.g. to prevent n+n rewriting to #2*n) |
|
12 |
issue the following ML commands: |
|
13 |
||
14 |
Delsimprocs Nat_Numeral_Simprocs.cancel_numerals; |
|
15 |
Delsimprocs [Nat_Numeral_Simprocs.combine_numerals]; |
|
8788 | 16 |
|
8967 | 17 |
* HOL: 0 is now overloaded, so the type constraint ::nat may sometimes be |
18 |
needed; |
|
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 | 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 | 25 |
|
8518 | 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 | 28 |
* HOL: simplification no longer dives into case-expressions |
29 |
||
8655 | 30 |
* HOL: the recursion equations generated by 'recdef' are now called |
31 |
f.simps instead of f.rules; |
|
8626 | 32 |
|
8848 | 33 |
* HOL: theory Sexp now in HOL/Induct examples (used to be part of main |
34 |
HOL, but was unused); should better use HOL's datatype package anyway; |
|
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 | 38 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
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 | 44 |
* HOL, ZF: syntax for quotienting wrt an equivalence relation changed from |
45 |
A/r to A//r; |
|
8921
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
46 |
|
9388 | 47 |
* Isar: changed syntax of local blocks from {{ }} to { }; |
9335 | 48 |
|
9402 | 49 |
* Provers: strengthened force_tac by using new first_best_tac |
50 |
||
9185 | 51 |
* Provers: Blast_tac now warns of and ignores "weak elimination rules" e.g. |
52 |
[| inj ?f; ?f ?x = ?f ?y; ?x = ?y ==> ?W |] ==> ?W |
|
53 |
use instead the strong form, |
|
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 | 56 |
from destruct-rules; |
9185 | 57 |
|
9402 | 58 |
* Provers: safe_asm_full_simp_tac is no longer in the simplifier signature. Use |
59 |
val safe_asm_full_simp_tac = generic_simp_tac true (true,true,true); |
|
60 |
if required. |
|
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 | 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 | 72 |
|
8487 | 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 | 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 | 87 |
* isatool usedir -D now lets isatool latex -o sty update the Isabelle |
88 |
style files, achieving self-contained LaTeX sources; |
|
89 |
||
8518 | 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 | 96 |
*** Isar *** |
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 | 107 |
|
8487 | 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 | 128 |
* Pure: the local context of (non-atomic) goals is provided via case |
129 |
name 'antecedent'; |
|
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 | 137 |
* Provers: splitter support (via 'split' attribute and 'simp' method |
138 |
modifier); 'simp' method: 'only:' modifier removes loopers as well |
|
139 |
(including splits); |
|
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 | 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 | 161 |
|
162 |
* diagnostic commands 'pr', 'thm', 'prop', 'term', 'typ' admit |
|
8518 | 163 |
additional print modes to be specified; e.g. "pr(latex)" will print |
164 |
proof state according to the Isabelle LaTeX style; |
|
8487 | 165 |
|
8534 | 166 |
* improved support for emulating tactic scripts, including proof |
167 |
methods 'tactic', 'res_inst_tac' etc., 'subgoal_tac', and 'case_tac' / |
|
168 |
'induct_tac' (for HOL datatypes); |
|
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 | 180 |
* added 'nothing' --- the empty list of theorems; |
181 |
||
8184 | 182 |
|
8014 | 183 |
*** HOL *** |
184 |
||
9028 | 185 |
* HOL/Prolog: a (bare-bones) implementation of Lambda-Prolog |
186 |
||
8518 | 187 |
* HOL/Algebra: new theory of rings and univariate polynomials, by |
188 |
Clemens Ballarin; |
|
8014 | 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 | 193 |
* HOL/ex: new theory Factorization proving the Fundamental Theorem of |
194 |
Arithmetic, by Thomas M Rasmussen; |
|
8007 | 195 |
|
8570 | 196 |
* HOL/ex/Multiquote: multiple nested quotations and anti-quotations -- |
197 |
basically a generalized version of de-Bruijn representation; very |
|
198 |
useful in avoiding lifting all operations; |
|
199 |
||
8848 | 200 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
201 |
||
8967 | 202 |
* HOL: 0 is now overloaded over the new sort "zero", allowing its use with |
203 |
other numeric types and also as the identity of groups, rings, etc.; |
|
204 |
||
205 |
* HOL: new axclass plus_ac0 for addition with the AC-laws and 0 as identity. |
|
206 |
Types nat and int belong to this axclass; |
|
207 |
||
9085 | 208 |
* greatly improved simplification involving numerals of type nat, int, real: |
8788 | 209 |
(i + #8 + j) = Suc k simplifies to #7 + (i + j) = k |
8832 | 210 |
i*j + k + j*#3*i simplifies to #4*(i*j) + k |
211 |
two terms #m*u and #n*u are replaced by #(m+n)*u |
|
212 |
(where #m, #n and u can implicitly be 1; this is simproc combine_numerals) |
|
213 |
and the term/formula #m*u+x ~~ #n*u+y simplifies simplifies to #(m-n)+x ~~ y |
|
214 |
or x ~~ #(n-m)+y, where ~~ is one of = < <= or - (simproc cancel_numerals); |
|
8736 | 215 |
|
8848 | 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 | 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 | 220 |
* HOL: simplification no longer dives into case-expressions: only the |
221 |
selector expression is simplified, but not the remaining arms. To |
|
222 |
enable full simplification of case-expressions for datatype t, you |
|
223 |
need to remove t.weak_case_cong from the simpset, either permanently |
|
8603 | 224 |
(Delcongs[thm"t.weak_case_cong"];) or locally (delcongs [...]). |
225 |
||
8848 | 226 |
* HOL/recdef: the recursion equations generated by 'recdef' for |
227 |
function 'f' are now called f.simps instead of f.rules; if all |
|
228 |
termination conditions are proved automatically, these simplification |
|
229 |
rules are added to the simpset, as in primrec; rules may be named |
|
230 |
individually as well, resulting in a separate list of theorems for |
|
231 |
each equation; |
|
232 |
||
8925 | 233 |
* HOL: new (overloaded) notation for the set of elements below/above some |
234 |
element: {..u}, {..u(}, {l..}, {)l..}. See theory SetInterval. |
|
235 |
||
8848 | 236 |
* HOL: theorems impI, allI, ballI bound as "strip"; |
237 |
||
238 |
* theory Sexp now in HOL/Induct examples (used to be part of main HOL, |
|
239 |
but was unused); |
|
8626 | 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 | 247 |
|
9388 | 248 |
*** FOL & ZF *** |
249 |
||
250 |
* AddIffs now available, giving theorems of the form P<->Q to the |
|
251 |
simplifier and classical reasoner simultaneously; |
|
252 |
||
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 | 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 | 264 |
* provide TAGS file for Isabelle sources; |
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 | 275 |
* ML: new combinators |>> and |>>> for incremental transformations |
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 | 279 |
|
7986 | 280 |
New in Isabelle99 (October 1999) |
281 |
-------------------------------- |
|
4649 | 282 |
|
5931 | 283 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
284 |
||
6922 | 285 |
* HOL: The THEN and ELSE parts of conditional expressions (if P then x else y) |
286 |
are no longer simplified. (This allows the simplifier to unfold recursive |
|
287 |
functional programs.) To restore the old behaviour, declare |
|
7215 | 288 |
|
289 |
Delcongs [if_weak_cong]; |
|
6922 | 290 |
|
6269 | 291 |
* HOL: Removed the obsolete syntax "Compl A"; use -A for set |
292 |
complement; |
|
5931 | 293 |
|
6269 | 294 |
* HOL: the predicate "inj" is now defined by translation to "inj_on"; |
6174 | 295 |
|
7847 | 296 |
* HOL/datatype: mutual_induct_tac no longer exists -- |
297 |
use induct_tac "x_1 ... x_n" instead of mutual_induct_tac ["x_1", ..., "x_n"] |
|
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 | 302 |
* ZF: The con_defs part of an inductive definition may no longer refer |
303 |
to constants declared in the same theory; |
|
6057 | 304 |
|
6269 | 305 |
* HOL, ZF: the function mk_cases, generated by the inductive |
306 |
definition package, has lost an argument. To simplify its result, it |
|
307 |
uses the default simpset instead of a supplied list of theorems. |
|
6141 | 308 |
|
7215 | 309 |
* HOL/List: the constructors of type list are now Nil and Cons; |
310 |
||
7619 | 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 | 313 |
is now simpset * solver -> simpset where `solver' is a new abstract type |
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 | 316 |
where the string argument is only a comment. |
6057 | 317 |
|
7647
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
318 |
|
6069 | 319 |
*** Proof tools *** |
320 |
||
6343 | 321 |
* Provers/Arith/fast_lin_arith.ML contains a functor for creating a |
322 |
decision procedure for linear arithmetic. Currently it is used for |
|
7593 | 323 |
types `nat', `int', and `real' in HOL (see below); it can, should and |
324 |
will be instantiated for other types and logics as well. |
|
6069 | 325 |
|
7324 | 326 |
* The simplifier now accepts rewrite rules with flexible heads, eg |
327 |
hom ?f ==> ?f(?x+?y) = ?f ?x + ?f ?y |
|
328 |
They are applied like any rule with a non-pattern lhs, i.e. by first-order |
|
329 |
matching. |
|
6069 | 330 |
|
7593 | 331 |
|
6014 | 332 |
*** General *** |
333 |
||
7986 | 334 |
* New Isabelle/Isar subsystem provides an alternative to traditional |
7215 | 335 |
tactical theorem proving; together with the ProofGeneral/isar user |
336 |
interface it offers an interactive environment for developing human |
|
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 | 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 | 346 |
|
7252 | 347 |
* native support for Proof General, both for classic Isabelle and |
7986 | 348 |
Isabelle/Isar; |
7215 | 349 |
|
7791 | 350 |
* ML function thm_deps visualizes dependencies of theorems and lemmas, |
351 |
using the graph browser tool; |
|
352 |
||
6751 | 353 |
* Isabelle manuals now also available as PDF; |
354 |
||
6449 | 355 |
* theory loader rewritten from scratch (may not be fully |
356 |
bug-compatible); old loadpath variable has been replaced by show_path, |
|
6671 | 357 |
add_path, del_path, reset_path functions; new operations such as |
7593 | 358 |
update_thy, touch_thy, remove_thy, use/update_thy_only (see also |
359 |
isatool doc ref); |
|
6449 | 360 |
|
7215 | 361 |
* improved isatool install: option -k creates KDE application icon, |
362 |
option -p DIR installs standalone binaries; |
|
363 |
||
364 |
* added ML_PLATFORM setting (useful for cross-platform installations); |
|
365 |
more robust handling of platform specific ML images for SML/NJ; |
|
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 | 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 | 371 |
* path element specification '~~' refers to '$ISABELLE_HOME'; |
372 |
||
6343 | 373 |
* in locales, the "assumes" and "defines" parts may be omitted if |
374 |
empty; |
|
5973 | 375 |
|
6269 | 376 |
* new print_mode "xsymbols" for extended symbol support (e.g. genuine |
377 |
long arrows); |
|
6259
488bdc1bd11a
path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents:
6174
diff
changeset
|
378 |
|
6343 | 379 |
* new print_mode "HTML"; |
380 |
||
381 |
* new flag show_tags controls display of tags of theorems (which are |
|
382 |
basically just comments that may be attached by some tools); |
|
383 |
||
6461 | 384 |
* Isamode 2.6 requires patch to accomodate change of Isabelle font |
385 |
mode and goal output format: |
|
386 |
||
387 |
diff -r Isamode-2.6/elisp/isa-load.el Isamode/elisp/isa-load.el |
|
388 |
244c244 |
|
389 |
< (list (isa-getenv "ISABELLE") "-msymbols" logic-name) |
|
390 |
--- |
|
6533 | 391 |
> (list (isa-getenv "ISABELLE") "-misabelle_font" "-msymbols" logic-name) |
6461 | 392 |
diff -r Isabelle-2.6/elisp/isa-proofstate.el Isamode/elisp/isa-proofstate.el |
393 |
181c181 |
|
394 |
< (defconst proofstate-proofstart-regexp "^Level [0-9]+$" |
|
395 |
--- |
|
396 |
> (defconst proofstate-proofstart-regexp "^Level [0-9]+" |
|
397 |
||
7450 | 398 |
* function bind_thms stores lists of theorems (cf. bind_thm); |
399 |
||
7593 | 400 |
* new shorthand tactics ftac, eatac, datac, fatac; |
401 |
||
402 |
* qed (and friends) now accept "" as result name; in that case the |
|
7986 | 403 |
theorem is not stored, but proper checks and presentation of the |
404 |
result still apply; |
|
7593 | 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 | 409 |
|
6057 | 410 |
*** HOL *** |
411 |
||
7215 | 412 |
** HOL arithmetic ** |
413 |
||
6343 | 414 |
* There are now decision procedures for linear arithmetic over nat and |
415 |
int: |
|
6131 | 416 |
|
6343 | 417 |
1. arith_tac copes with arbitrary formulae involving `=', `<', `<=', |
418 |
`+', `-', `Suc', `min', `max' and numerical constants; other subterms |
|
419 |
are treated as atomic; subformulae not involving type `nat' or `int' |
|
420 |
are ignored; quantified subformulae are ignored unless they are |
|
421 |
positive universal or negative existential. The tactic has to be |
|
422 |
invoked by hand and can be a little bit slow. In particular, the |
|
423 |
running time is exponential in the number of occurrences of `min' and |
|
424 |
`max', and `-' on `nat'. |
|
6131 | 425 |
|
6343 | 426 |
2. fast_arith_tac is a cut-down version of arith_tac: it only takes |
427 |
(negated) (in)equalities among the premises and the conclusion into |
|
428 |
account (i.e. no compound formulae) and does not know about `min' and |
|
429 |
`max', and `-' on `nat'. It is fast and is used automatically by the |
|
430 |
simplifier. |
|
6131 | 431 |
|
6343 | 432 |
NB: At the moment, these decision procedures do not cope with mixed |
433 |
nat/int formulae where the two parts interact, such as `m < n ==> |
|
434 |
int(m) < int(n)'. |
|
6028 | 435 |
|
7215 | 436 |
* HOL/Numeral provides a generic theory of numerals (encoded |
7313 | 437 |
efficiently as bit strings); setup for types nat/int/real is in place; |
7215 | 438 |
INCOMPATIBILITY: since numeral syntax is now polymorphic, rather than |
439 |
int, existing theories and proof scripts may require a few additional |
|
440 |
type constraints; |
|
441 |
||
442 |
* integer division and remainder can now be performed on constant |
|
443 |
arguments; |
|
7157 | 444 |
|
7215 | 445 |
* many properties of integer multiplication, division and remainder |
446 |
are now available; |
|
6922 | 447 |
|
7287 | 448 |
* An interface to the Stanford Validity Checker (SVC) is available through the |
449 |
tactic svc_tac. Propositional tautologies and theorems of linear arithmetic |
|
450 |
are proved automatically. SVC must be installed separately, and its results |
|
451 |
must be TAKEN ON TRUST (Isabelle does not check the proofs, but tags any |
|
452 |
invocation of the underlying oracle). For SVC see |
|
7444 | 453 |
http://verify.stanford.edu/SVC |
6922 | 454 |
|
7125 | 455 |
* IsaMakefile: the HOL-Real target now builds an actual image; |
456 |
||
7215 | 457 |
|
458 |
** HOL misc ** |
|
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 | 463 |
* HOL/BCV: generic model of bytecode verification, i.e. data-flow |
464 |
analysis for assembly languages with subtypes; |
|
465 |
||
6278 | 466 |
* HOL/TLA (Lamport's Temporal Logic of Actions): major reorganization |
467 |
-- avoids syntactic ambiguities and treats state, transition, and |
|
468 |
temporal levels more uniformly; introduces INCOMPATIBILITIES due to |
|
469 |
changed syntax and (many) tactics; |
|
470 |
||
7791 | 471 |
* HOL/inductive: Now also handles more general introduction rules such |
472 |
as "ALL y. (y, x) : r --> y : acc r ==> x : acc r"; monotonicity |
|
473 |
theorems are now maintained within the theory (maintained via the |
|
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 | 481 |
* HOL/record: record_simproc (part of the default simpset) takes care |
482 |
of selectors applied to updated records; record_split_tac is no longer |
|
7327 | 483 |
part of the default claset; update_defs may now be removed from the |
484 |
simpset in many cases; COMPATIBILITY: old behavior achieved by |
|
7326 | 485 |
|
486 |
claset_ref () := claset() addSWrapper record_split_wrapper; |
|
487 |
Delsimprocs [record_simproc] |
|
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 | 492 |
* HOL/recdef (TFL): 'congs' syntax now expects comma separated list of theorem |
493 |
names rather than an ML expression; |
|
494 |
||
495 |
* HOL/defer_recdef (TFL): like recdef but the well-founded relation can be |
|
496 |
supplied later. Program schemes can be defined, such as |
|
497 |
"While B C s = (if B s then While B C (C s) else s)" |
|
498 |
where the well-founded relation can be chosen after B and C have been given. |
|
6563 | 499 |
|
7215 | 500 |
* HOL/List: the constructors of type list are now Nil and Cons; |
501 |
INCOMPATIBILITY: while [] and infix # syntax is still there, of |
|
502 |
course, ML tools referring to List.list.op # etc. have to be adapted; |
|
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 | 515 |
* HOL/Sum.thy: sum_case has been moved to HOL/Datatype; |
7261 | 516 |
|
7280 | 517 |
* HOL/Univ.thy: infix syntax <*>, <+>, <**>, <+> eliminated and made |
518 |
thus available for user theories; |
|
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 | 524 |
* HOL: new tactic smp_tac: int -> int -> tactic, which applies spec |
525 |
several times and then mp; |
|
7492 | 526 |
|
7215 | 527 |
|
7113 | 528 |
*** LK *** |
529 |
||
7215 | 530 |
* the notation <<...>> is now available as a notation for sequences of |
531 |
formulas; |
|
7113 | 532 |
|
533 |
* the simplifier is now installed |
|
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 | 536 |
|
537 |
* the classical reasoner now has a default rule database |
|
538 |
||
539 |
||
6064 | 540 |
*** ZF *** |
541 |
||
542 |
* new primrec section allows primitive recursive functions to be given |
|
6269 | 543 |
directly (as in HOL) over datatypes and the natural numbers; |
6064 | 544 |
|
6269 | 545 |
* new tactics induct_tac and exhaust_tac for induction (or case |
546 |
analysis) over datatypes and the natural numbers; |
|
6064 | 547 |
|
548 |
* the datatype declaration of type T now defines the recursor T_rec; |
|
549 |
||
6141 | 550 |
* simplification automatically does freeness reasoning for datatype |
6269 | 551 |
constructors; |
6141 | 552 |
|
6269 | 553 |
* automatic type-inference, with AddTCs command to insert new |
554 |
type-checking rules; |
|
6155 | 555 |
|
6269 | 556 |
* datatype introduction rules are now added as Safe Introduction rules |
557 |
to the claset; |
|
6155 | 558 |
|
6269 | 559 |
* the syntax "if P then x else y" is now available in addition to |
560 |
if(P,x,y); |
|
561 |
||
6069 | 562 |
|
6343 | 563 |
*** Internal programming interfaces *** |
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 | 572 |
* tuned current_goals_markers semantics: begin / end goal avoids |
573 |
printing empty lines; |
|
574 |
||
575 |
* removed prs and prs_fn hook, which was broken because it did not |
|
576 |
include \n in its semantics, forcing writeln to add one |
|
577 |
uncoditionally; replaced prs_fn by writeln_fn; consider std_output: |
|
578 |
string -> unit if you really want to output text without newline; |
|
579 |
||
580 |
* Symbol.output subject to print mode; INCOMPATIBILITY: defaults to |
|
581 |
plain output, interface builders may have to enable 'isabelle_font' |
|
582 |
mode to get Isabelle font glyphs as before; |
|
583 |
||
584 |
* refined token_translation interface; INCOMPATIBILITY: output length |
|
585 |
now of type real instead of int; |
|
586 |
||
7196 | 587 |
* theory loader actions may be traced via new ThyInfo.add_hook |
588 |
interface (see src/Pure/Thy/thy_info.ML); example application: keep |
|
589 |
your own database of information attached to *whole* theories -- as |
|
590 |
opposed to intra-theory data slots offered via TheoryDataFun; |
|
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 | 595 |
the force_strip_shyps flag is gone, any remaining shyps are simply |
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 | 598 |
|
6064 | 599 |
|
5781 | 600 |
New in Isabelle98-1 (October 1998) |
601 |
---------------------------------- |
|
602 |
||
5127 | 603 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
4842 | 604 |
|
5726 | 605 |
* several changes of automated proof tools; |
5373 | 606 |
|
5726 | 607 |
* HOL: major changes to the inductive and datatype packages, including |
608 |
some minor incompatibilities of theory syntax; |
|
5214 | 609 |
|
5726 | 610 |
* HOL: renamed r^-1 to 'converse' from 'inverse'; 'inj_onto' is now |
5217 | 611 |
called `inj_on'; |
5160 | 612 |
|
5275 | 613 |
* HOL: removed duplicate thms in Arith: |
614 |
less_imp_add_less should be replaced by trans_less_add1 |
|
615 |
le_imp_add_le should be replaced by trans_le_add1 |
|
5160 | 616 |
|
5726 | 617 |
* HOL: unary minus is now overloaded (new type constraints may be |
618 |
required); |
|
5490 | 619 |
|
5726 | 620 |
* HOL and ZF: unary minus for integers is now #- instead of #~. In |
621 |
ZF, expressions such as n#-1 must be changed to n#- 1, since #-1 is |
|
622 |
now taken as an integer constant. |
|
5541 | 623 |
|
5726 | 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 | 626 |
|
5127 | 627 |
*** Proof tools *** |
4880 | 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 | 638 |
|
5127 | 639 |
* Classical reasoner: wrapper mechanism for the classical reasoner now |
640 |
allows for selected deletion of wrappers, by introduction of names for |
|
641 |
wrapper functionals. This implies that addbefore, addSbefore, |
|
642 |
addaltern, and addSaltern now take a pair (name, tactic) as argument, |
|
643 |
and that adding two tactics with the same name overwrites the first |
|
644 |
one (emitting a warning). |
|
4824 | 645 |
type wrapper = (int -> tactic) -> (int -> tactic) |
4649 | 646 |
setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by |
4824 | 647 |
addWrapper, addSWrapper: claset * (string * wrapper) -> claset |
648 |
delWrapper, delSWrapper: claset * string -> claset |
|
4649 | 649 |
getWrapper is renamed to appWrappers, getSWrapper to appSWrappers; |
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 | 652 |
semantics; addbefore now affects only the unsafe part of step_tac |
653 |
etc.; this affects addss/auto_tac/force_tac, so EXISTING PROOFS MAY |
|
654 |
FAIL, but proofs should be fixable easily, e.g. by replacing Auto_tac |
|
655 |
by Force_tac; |
|
5524 | 656 |
|
5726 | 657 |
* Classical reasoner: setwrapper to setWrapper and compwrapper to |
658 |
compWrapper; added safe wrapper (and access functions for it); |
|
5524 | 659 |
|
5127 | 660 |
* HOL/split_all_tac is now much faster and fails if there is nothing |
5726 | 661 |
to split. Some EXISTING PROOFS MAY REQUIRE ADAPTION because the order |
662 |
and the names of the automatically generated variables have changed. |
|
663 |
split_all_tac has moved within claset() from unsafe wrappers to safe |
|
664 |
wrappers, which means that !!-bound variables are split much more |
|
665 |
aggressively, and safe_tac and clarify_tac now split such variables. |
|
666 |
If this splitting is not appropriate, use delSWrapper "split_all_tac". |
|
667 |
Note: the same holds for record_split_tac, which does the job of |
|
668 |
split_all_tac for record fields. |
|
5127 | 669 |
|
5726 | 670 |
* HOL/Simplifier: Rewrite rules for case distinctions can now be added |
671 |
permanently to the default simpset using Addsplits just like |
|
672 |
Addsimps. They can be removed via Delsplits just like |
|
673 |
Delsimps. Lower-case versions are also available. |
|
5127 | 674 |
|
5726 | 675 |
* HOL/Simplifier: The rule split_if is now part of the default |
676 |
simpset. This means that the simplifier will eliminate all occurrences |
|
677 |
of if-then-else in the conclusion of a goal. To prevent this, you can |
|
678 |
either remove split_if completely from the default simpset by |
|
679 |
`Delsplits [split_if]' or remove it in a specific call of the |
|
680 |
simplifier using `... delsplits [split_if]'. You can also add/delete |
|
681 |
other case splitting rules to/from the default simpset: every datatype |
|
682 |
generates suitable rules `split_t_case' and `split_t_case_asm' (where |
|
683 |
t is the name of the datatype). |
|
5127 | 684 |
|
5726 | 685 |
* Classical reasoner / Simplifier combination: new force_tac (and |
5127 | 686 |
derivatives Force_tac, force) combines rewriting and classical |
687 |
reasoning (and whatever other tools) similarly to auto_tac, but is |
|
5726 | 688 |
aimed to solve the given subgoal completely. |
5127 | 689 |
|
690 |
||
691 |
*** General *** |
|
692 |
||
5217 | 693 |
* new top-level commands `Goal' and `Goalw' that improve upon `goal' |
5127 | 694 |
and `goalw': the theory is no longer needed as an explicit argument - |
695 |
the current theory context is used; assumptions are no longer returned |
|
696 |
at the ML-level unless one of them starts with ==> or !!; it is |
|
5217 | 697 |
recommended to convert to these new commands using isatool fixgoal |
698 |
(backup your sources first!); |
|
4842 | 699 |
|
5217 | 700 |
* new top-level commands 'thm' and 'thms' for retrieving theorems from |
5207 | 701 |
the current theory context, and 'theory' to lookup stored theories; |
4806 | 702 |
|
5722 | 703 |
* new theory section 'locale' for declaring constants, assumptions and |
704 |
definitions that have local scope; |
|
705 |
||
5127 | 706 |
* new theory section 'nonterminals' for purely syntactic types; |
4858
4b15e9e1b3a5
new theory section 'nonterminals';
wenzelm |