author | paulson |
Fri, 14 Jul 2000 14:46:35 +0200 | |
changeset 9335 | 5d9f02e75569 |
parent 9330 | 6861e3b00155 |
child 9349 | d43669fb423d |
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 |
||
36 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
|
37 |
||
8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
38 |
* 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
|
39 |
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
|
40 |
internally; |
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
41 |
|
8921
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
42 |
* Isar: changed syntax of local blocks from {{ }} to { }; |
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
43 |
|
9335 | 44 |
* FOL, ZF: AddIffs now available, giving theorems of the form P<->Q to the |
45 |
simplifier and classical reasoner simultaneously; |
|
46 |
||
9185 | 47 |
* Provers: Blast_tac now warns of and ignores "weak elimination rules" e.g. |
48 |
[| inj ?f; ?f ?x = ?f ?y; ?x = ?y ==> ?W |] ==> ?W |
|
49 |
use instead the strong form, |
|
50 |
[| 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
|
51 |
In HOL, FOL and ZF the function cla_make_elim will create such rules |
9335 | 52 |
from destruct-rules; |
9185 | 53 |
|
8994
803533fbb3ec
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents:
8991
diff
changeset
|
54 |
* 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
|
55 |
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
|
56 |
|
8518 | 57 |
* 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
|
58 |
|
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
59 |
* 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
|
60 |
overloading (usually false); |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
61 |
|
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
62 |
* LaTeX: several changes of isabelle.sty; |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
63 |
|
8014 | 64 |
|
8487 | 65 |
*** Document preparation *** |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
66 |
|
9198
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
67 |
* 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
|
68 |
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
|
69 |
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
|
70 |
"f(x) = a + x"}; |
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
71 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
72 |
* isatool mkdir provides easy setup of Isabelle session directories, |
8518 | 73 |
including proper document sources; |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
74 |
|
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
75 |
* generated LaTeX sources are now deleted after successful run |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
76 |
(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
|
77 |
of isatool usedir; |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
78 |
|
8566 | 79 |
* isatool usedir -D now lets isatool latex -o sty update the Isabelle |
80 |
style files, achieving self-contained LaTeX sources; |
|
81 |
||
8518 | 82 |
* 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
|
83 |
|
9057
af1ca1acf292
* browser info session directories are now self-contained (may be put
wenzelm
parents:
9052
diff
changeset
|
84 |
* 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
|
85 |
on WWW server seperately); |
af1ca1acf292
* browser info session directories are now self-contained (may be put
wenzelm
parents:
9052
diff
changeset
|
86 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
87 |
|
8184 | 88 |
*** Isar *** |
89 |
||
8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
90 |
* 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
|
91 |
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
|
92 |
incremental type-inference nicely; |
8283
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset
|
93 |
|
8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
94 |
* Pure: new 'obtain' language element supports generalized existence |
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
95 |
reasoning; |
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
96 |
|
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
97 |
* Pure: new calculational elements 'moreover' and 'ultimately' support |
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
98 |
plain accumulation of results, without applying any rules yet; |
8184 | 99 |
|
8487 | 100 |
* 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
|
101 |
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
|
102 |
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
|
103 |
as "tags"; |
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
104 |
|
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
105 |
* Pure: theory command 'hide' removes declarations from |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
106 |
class/type/const name spaces; |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
107 |
|
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
108 |
* Pure: theory command 'defs' supports option "(overloaded)" to |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
109 |
indicate potential overloading; |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
110 |
|
8921
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
111 |
* Pure: changed syntax of local blocks from {{ }} to { }; |
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
112 |
|
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
113 |
* 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
|
114 |
instead of {a, b, c}; |
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
115 |
|
8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
116 |
* 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
|
117 |
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
|
118 |
Provers/classical ones; |
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
119 |
|
8991 | 120 |
* Pure: the local context of (non-atomic) goals is provided via case |
121 |
name 'antecedent'; |
|
122 |
||
9011
0cfc347f8d19
Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms to
wenzelm
parents:
8994
diff
changeset
|
123 |
* 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
|
124 |
current context is now done automatically); |
0cfc347f8d19
Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms to
wenzelm
parents:
8994
diff
changeset
|
125 |
|
9198
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
126 |
* 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
|
127 |
definining proof methods in ML; |
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
128 |
|
8487 | 129 |
* Provers: splitter support (via 'split' attribute and 'simp' method |
130 |
modifier); 'simp' method: 'only:' modifier removes loopers as well |
|
131 |
(including splits); |
|
132 |
||
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
133 |
* 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
|
134 |
support named cases; major packages (inductive, datatype, primrec, |
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
135 |
recdef) support case names and properly name parameters; |
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
136 |
|
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
137 |
* 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
|
138 |
method anyway; |
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset
|
139 |
|
9229
a7c6ea7e57de
* Isar/HOL/Calculation: new rules for substitution in inequalities
wenzelm
parents:
9224
diff
changeset
|
140 |
* HOL/Calculation: new rules for substitution in inequalities |
a7c6ea7e57de
* Isar/HOL/Calculation: new rules for substitution in inequalities
wenzelm
parents:
9224
diff
changeset
|
141 |
(monotonicity conditions are extracted to be proven terminally); |
a7c6ea7e57de
* Isar/HOL/Calculation: new rules for substitution in inequalities
wenzelm
parents:
9224
diff
changeset
|
142 |
|
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
143 |
* 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
|
144 |
|
8518 | 145 |
* 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
|
146 |
|
8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
147 |
* '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
|
148 |
contexts, but only proof states; |
8487 | 149 |
|
150 |
* diagnostic commands 'pr', 'thm', 'prop', 'term', 'typ' admit |
|
8518 | 151 |
additional print modes to be specified; e.g. "pr(latex)" will print |
152 |
proof state according to the Isabelle LaTeX style; |
|
8487 | 153 |
|
8534 | 154 |
* improved support for emulating tactic scripts, including proof |
155 |
methods 'tactic', 'res_inst_tac' etc., 'subgoal_tac', and 'case_tac' / |
|
156 |
'induct_tac' (for HOL datatypes); |
|
157 |
||
8673
987ea1a559d0
Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents:
8655
diff
changeset
|
158 |
* 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
|
159 |
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
|
160 |
method scripts' have to be in depth-first order; |
987ea1a559d0
Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents:
8655
diff
changeset
|
161 |
|
9198
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
162 |
* tuned 'let' syntax: replaced 'as' keyword by 'and'; |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
163 |
|
9224
0da360494917
* Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents:
9198
diff
changeset
|
164 |
* 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
|
165 |
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
|
166 |
print_methods etc.); |
0da360494917
* Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents:
9198
diff
changeset
|
167 |
|
9239 | 168 |
* added 'nothing' --- the empty list of theorems; |
169 |
||
8184 | 170 |
|
8014 | 171 |
*** HOL *** |
172 |
||
9028 | 173 |
* HOL/Prolog: a (bare-bones) implementation of Lambda-Prolog |
174 |
||
8518 | 175 |
* HOL/Algebra: new theory of rings and univariate polynomials, by |
176 |
Clemens Ballarin; |
|
8014 | 177 |
|
8271
7602b57ba028
HOL/record: fixed select-update simplification procedure to handle
wenzelm
parents:
8203
diff
changeset
|
178 |
* 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
|
179 |
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
|
180 |
|
8392 | 181 |
* HOL/ex: new theory Factorization proving the Fundamental Theorem of |
182 |
Arithmetic, by Thomas M Rasmussen; |
|
8007 | 183 |
|
8570 | 184 |
* HOL/ex/Multiquote: multiple nested quotations and anti-quotations -- |
185 |
basically a generalized version of de-Bruijn representation; very |
|
186 |
useful in avoiding lifting all operations; |
|
187 |
||
8848 | 188 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
189 |
||
8967 | 190 |
* HOL: 0 is now overloaded over the new sort "zero", allowing its use with |
191 |
other numeric types and also as the identity of groups, rings, etc.; |
|
192 |
||
193 |
* HOL: new axclass plus_ac0 for addition with the AC-laws and 0 as identity. |
|
194 |
Types nat and int belong to this axclass; |
|
195 |
||
9085 | 196 |
* greatly improved simplification involving numerals of type nat, int, real: |
8788 | 197 |
(i + #8 + j) = Suc k simplifies to #7 + (i + j) = k |
8832 | 198 |
i*j + k + j*#3*i simplifies to #4*(i*j) + k |
199 |
two terms #m*u and #n*u are replaced by #(m+n)*u |
|
200 |
(where #m, #n and u can implicitly be 1; this is simproc combine_numerals) |
|
201 |
and the term/formula #m*u+x ~~ #n*u+y simplifies simplifies to #(m-n)+x ~~ y |
|
202 |
or x ~~ #(n-m)+y, where ~~ is one of = < <= or - (simproc cancel_numerals); |
|
8736 | 203 |
|
8848 | 204 |
* 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
|
205 |
"exhaust_tac" on datatypes; INCOMPATIBILITY: exhaust_tac no longer |
8518 | 206 |
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
|
207 |
|
8848 | 208 |
* HOL: simplification no longer dives into case-expressions: only the |
209 |
selector expression is simplified, but not the remaining arms. To |
|
210 |
enable full simplification of case-expressions for datatype t, you |
|
211 |
need to remove t.weak_case_cong from the simpset, either permanently |
|
8603 | 212 |
(Delcongs[thm"t.weak_case_cong"];) or locally (delcongs [...]). |
213 |
||
8848 | 214 |
* HOL/recdef: the recursion equations generated by 'recdef' for |
215 |
function 'f' are now called f.simps instead of f.rules; if all |
|
216 |
termination conditions are proved automatically, these simplification |
|
217 |
rules are added to the simpset, as in primrec; rules may be named |
|
218 |
individually as well, resulting in a separate list of theorems for |
|
219 |
each equation; |
|
220 |
||
8925 | 221 |
* HOL: new (overloaded) notation for the set of elements below/above some |
222 |
element: {..u}, {..u(}, {l..}, {)l..}. See theory SetInterval. |
|
223 |
||
8848 | 224 |
* HOL: theorems impI, allI, ballI bound as "strip"; |
225 |
||
226 |
* theory Sexp now in HOL/Induct examples (used to be part of main HOL, |
|
227 |
but was unused); |
|
8626 | 228 |
|
8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
229 |
* 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
|
230 |
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
|
231 |
|
8412 | 232 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
233 |
*** General *** |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
234 |
|
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
235 |
* improved name spaces: ambiguous output is qualified; support for |
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
236 |
hiding of names; |
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
237 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
238 |
* compression of ML heaps images may now be controlled via -c option |
8518 | 239 |
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
|
240 |
|
9052 | 241 |
* provide TAGS file for Isabelle sources; |
242 |
||
9288
06a55195741b
infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents:
9239
diff
changeset
|
243 |
* 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
|
244 |
order; |
06a55195741b
infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents:
9239
diff
changeset
|
245 |
|
8994
803533fbb3ec
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents:
8991
diff
changeset
|
246 |
* 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
|
247 |
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
|
248 |
|
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
249 |
* 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
|
250 |
overloading (usually false); |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
251 |
|
8518 | 252 |
* ML: new combinators |>> and |>>> for incremental transformations |
253 |
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
|
254 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
255 |
|
8015 | 256 |
|
7986 | 257 |
New in Isabelle99 (October 1999) |
258 |
-------------------------------- |
|
4649 | 259 |
|
5931 | 260 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
261 |
||
6922 | 262 |
* HOL: The THEN and ELSE parts of conditional expressions (if P then x else y) |
263 |
are no longer simplified. (This allows the simplifier to unfold recursive |
|
264 |
functional programs.) To restore the old behaviour, declare |
|
7215 | 265 |
|
266 |
Delcongs [if_weak_cong]; |
|
6922 | 267 |
|
6269 | 268 |
* HOL: Removed the obsolete syntax "Compl A"; use -A for set |
269 |
complement; |
|
5931 | 270 |
|
6269 | 271 |
* HOL: the predicate "inj" is now defined by translation to "inj_on"; |
6174 | 272 |
|
7847 | 273 |
* HOL/datatype: mutual_induct_tac no longer exists -- |
274 |
use induct_tac "x_1 ... x_n" instead of mutual_induct_tac ["x_1", ..., "x_n"] |
|
275 |
||
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
276 |
* HOL/typedef: fixed type inference for representing set; type |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
277 |
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
|
278 |
|
6269 | 279 |
* ZF: The con_defs part of an inductive definition may no longer refer |
280 |
to constants declared in the same theory; |
|
6057 | 281 |
|
6269 | 282 |
* HOL, ZF: the function mk_cases, generated by the inductive |
283 |
definition package, has lost an argument. To simplify its result, it |
|
284 |
uses the default simpset instead of a supplied list of theorems. |
|
6141 | 285 |
|
7215 | 286 |
* HOL/List: the constructors of type list are now Nil and Cons; |
287 |
||
7619 | 288 |
* Simplifier: the type of the infix ML functions |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
289 |
setSSolver addSSolver setSolver addSolver |
7619 | 290 |
is now simpset * solver -> simpset where `solver' is a new abstract type |
291 |
for packaging solvers. A solver is created via |
|
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
292 |
mk_solver: string -> (thm list -> int -> tactic) -> solver |
7619 | 293 |
where the string argument is only a comment. |
6057 | 294 |
|
7647
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
295 |
|
6069 | 296 |
*** Proof tools *** |
297 |
||
6343 | 298 |
* Provers/Arith/fast_lin_arith.ML contains a functor for creating a |
299 |
decision procedure for linear arithmetic. Currently it is used for |
|
7593 | 300 |
types `nat', `int', and `real' in HOL (see below); it can, should and |
301 |
will be instantiated for other types and logics as well. |
|
6069 | 302 |
|
7324 | 303 |
* The simplifier now accepts rewrite rules with flexible heads, eg |
304 |
hom ?f ==> ?f(?x+?y) = ?f ?x + ?f ?y |
|
305 |
They are applied like any rule with a non-pattern lhs, i.e. by first-order |
|
306 |
matching. |
|
6069 | 307 |
|
7593 | 308 |
|
6014 | 309 |
*** General *** |
310 |
||
7986 | 311 |
* New Isabelle/Isar subsystem provides an alternative to traditional |
7215 | 312 |
tactical theorem proving; together with the ProofGeneral/isar user |
313 |
interface it offers an interactive environment for developing human |
|
314 |
readable proof documents (Isar == Intelligible semi-automated |
|
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
315 |
reasoning); for further information see isatool doc isar-ref, |
7986 | 316 |
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
|
317 |
|
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
318 |
* improved presentation of theories: better HTML markup (including |
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
319 |
colors), graph views in several sizes; isatool usedir now provides a |
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
320 |
proper interface for user theories (via -P option); actual document |
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
321 |
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
|
322 |
theories only); see isatool doc system for more information; |
7215 | 323 |
|
7252 | 324 |
* native support for Proof General, both for classic Isabelle and |
7986 | 325 |
Isabelle/Isar; |
7215 | 326 |
|
7791 | 327 |
* ML function thm_deps visualizes dependencies of theorems and lemmas, |
328 |
using the graph browser tool; |
|
329 |
||
6751 | 330 |
* Isabelle manuals now also available as PDF; |
331 |
||
6449 | 332 |
* theory loader rewritten from scratch (may not be fully |
333 |
bug-compatible); old loadpath variable has been replaced by show_path, |
|
6671 | 334 |
add_path, del_path, reset_path functions; new operations such as |
7593 | 335 |
update_thy, touch_thy, remove_thy, use/update_thy_only (see also |
336 |
isatool doc ref); |
|
6449 | 337 |
|
7215 | 338 |
* improved isatool install: option -k creates KDE application icon, |
339 |
option -p DIR installs standalone binaries; |
|
340 |
||
341 |
* added ML_PLATFORM setting (useful for cross-platform installations); |
|
342 |
more robust handling of platform specific ML images for SML/NJ; |
|
343 |
||
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
344 |
* the settings environment is now statically scoped, i.e. it is never |
7986 | 345 |
created again in sub-processes invoked from isabelle, isatool, or |
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
346 |
Isabelle; |
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
347 |
|
7215 | 348 |
* path element specification '~~' refers to '$ISABELLE_HOME'; |
349 |
||
6343 | 350 |
* in locales, the "assumes" and "defines" parts may be omitted if |
351 |
empty; |
|
5973 | 352 |
|
6269 | 353 |
* new print_mode "xsymbols" for extended symbol support (e.g. genuine |
354 |
long arrows); |
|
6259
488bdc1bd11a
path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents:
6174
diff
changeset
|
355 |
|
6343 | 356 |
* new print_mode "HTML"; |
357 |
||
358 |
* new flag show_tags controls display of tags of theorems (which are |
|
359 |
basically just comments that may be attached by some tools); |
|
360 |
||
6461 | 361 |
* Isamode 2.6 requires patch to accomodate change of Isabelle font |
362 |
mode and goal output format: |
|
363 |
||
364 |
diff -r Isamode-2.6/elisp/isa-load.el Isamode/elisp/isa-load.el |
|
365 |
244c244 |
|
366 |
< (list (isa-getenv "ISABELLE") "-msymbols" logic-name) |
|
367 |
--- |
|
6533 | 368 |
> (list (isa-getenv "ISABELLE") "-misabelle_font" "-msymbols" logic-name) |
6461 | 369 |
diff -r Isabelle-2.6/elisp/isa-proofstate.el Isamode/elisp/isa-proofstate.el |
370 |
181c181 |
|
371 |
< (defconst proofstate-proofstart-regexp "^Level [0-9]+$" |
|
372 |
--- |
|
373 |
> (defconst proofstate-proofstart-regexp "^Level [0-9]+" |
|
374 |
||
7450 | 375 |
* function bind_thms stores lists of theorems (cf. bind_thm); |
376 |
||
7593 | 377 |
* new shorthand tactics ftac, eatac, datac, fatac; |
378 |
||
379 |
* qed (and friends) now accept "" as result name; in that case the |
|
7986 | 380 |
theorem is not stored, but proper checks and presentation of the |
381 |
result still apply; |
|
7593 | 382 |
|
7805
0ae9ddc36fe0
theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents:
7791
diff
changeset
|
383 |
* theorem database now also indexes constants "Trueprop", "all", |
0ae9ddc36fe0
theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents:
7791
diff
changeset
|
384 |
"==>", "=="; thus thms_containing, findI etc. may retrieve more rules; |
0ae9ddc36fe0
theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents:
7791
diff
changeset
|
385 |
|
6028 | 386 |
|
6057 | 387 |
*** HOL *** |
388 |
||
7215 | 389 |
** HOL arithmetic ** |
390 |
||
6343 | 391 |
* There are now decision procedures for linear arithmetic over nat and |
392 |
int: |
|
6131 | 393 |
|
6343 | 394 |
1. arith_tac copes with arbitrary formulae involving `=', `<', `<=', |
395 |
`+', `-', `Suc', `min', `max' and numerical constants; other subterms |
|
396 |
are treated as atomic; subformulae not involving type `nat' or `int' |
|
397 |
are ignored; quantified subformulae are ignored unless they are |
|
398 |
positive universal or negative existential. The tactic has to be |
|
399 |
invoked by hand and can be a little bit slow. In particular, the |
|
400 |
running time is exponential in the number of occurrences of `min' and |
|
401 |
`max', and `-' on `nat'. |
|
6131 | 402 |
|
6343 | 403 |
2. fast_arith_tac is a cut-down version of arith_tac: it only takes |
404 |
(negated) (in)equalities among the premises and the conclusion into |
|
405 |
account (i.e. no compound formulae) and does not know about `min' and |
|
406 |
`max', and `-' on `nat'. It is fast and is used automatically by the |
|
407 |
simplifier. |
|
6131 | 408 |
|
6343 | 409 |
NB: At the moment, these decision procedures do not cope with mixed |
410 |
nat/int formulae where the two parts interact, such as `m < n ==> |
|
411 |
int(m) < int(n)'. |
|
6028 | 412 |
|
7215 | 413 |
* HOL/Numeral provides a generic theory of numerals (encoded |
7313 | 414 |
efficiently as bit strings); setup for types nat/int/real is in place; |
7215 | 415 |
INCOMPATIBILITY: since numeral syntax is now polymorphic, rather than |
416 |
int, existing theories and proof scripts may require a few additional |
|
417 |
type constraints; |
|
418 |
||
419 |
* integer division and remainder can now be performed on constant |
|
420 |
arguments; |
|
7157 | 421 |
|
7215 | 422 |
* many properties of integer multiplication, division and remainder |
423 |
are now available; |
|
6922 | 424 |
|
7287 | 425 |
* An interface to the Stanford Validity Checker (SVC) is available through the |
426 |
tactic svc_tac. Propositional tautologies and theorems of linear arithmetic |
|
427 |
are proved automatically. SVC must be installed separately, and its results |
|
428 |
must be TAKEN ON TRUST (Isabelle does not check the proofs, but tags any |
|
429 |
invocation of the underlying oracle). For SVC see |
|
7444 | 430 |
http://verify.stanford.edu/SVC |
6922 | 431 |
|
7125 | 432 |
* IsaMakefile: the HOL-Real target now builds an actual image; |
433 |
||
7215 | 434 |
|
435 |
** HOL misc ** |
|
436 |
||
7595
5f5d575ddac3
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents:
7593
diff
changeset
|
437 |
* 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
|
438 |
(in Isabelle/Isar) -- by Gertrud Bauer; |
5f5d575ddac3
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents:
7593
diff
changeset
|
439 |
|
7691 | 440 |
* HOL/BCV: generic model of bytecode verification, i.e. data-flow |
441 |
analysis for assembly languages with subtypes; |
|
442 |
||
6278 | 443 |
* HOL/TLA (Lamport's Temporal Logic of Actions): major reorganization |
444 |
-- avoids syntactic ambiguities and treats state, transition, and |
|
445 |
temporal levels more uniformly; introduces INCOMPATIBILITIES due to |
|
446 |
changed syntax and (many) tactics; |
|
447 |
||
7791 | 448 |
* HOL/inductive: Now also handles more general introduction rules such |
449 |
as "ALL y. (y, x) : r --> y : acc r ==> x : acc r"; monotonicity |
|
450 |
theorems are now maintained within the theory (maintained via the |
|
451 |
"mono" attribute); |
|
7780
099742c562aa
Documented changes to HOL/inductive and function thm_deps.
berghofe
parents:
7691
diff
changeset
|
452 |
|
7238
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
453 |
* HOL/datatype: Now also handles arbitrarily branching datatypes |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
454 |
(using function types) such as |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
455 |
|
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
456 |
datatype 'a tree = Atom 'a | Branch "nat => 'a tree" |
7047
d103b875ef1d
Datatype package now handles arbitrarily branching datatypes.
berghofe
parents:
6925
diff
changeset
|
457 |
|
7326 | 458 |
* HOL/record: record_simproc (part of the default simpset) takes care |
459 |
of selectors applied to updated records; record_split_tac is no longer |
|
7327 | 460 |
part of the default claset; update_defs may now be removed from the |
461 |
simpset in many cases; COMPATIBILITY: old behavior achieved by |
|
7326 | 462 |
|
463 |
claset_ref () := claset() addSWrapper record_split_wrapper; |
|
464 |
Delsimprocs [record_simproc] |
|
465 |
||
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
466 |
* HOL/typedef: fixed type inference for representing set; type |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
467 |
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
|
468 |
|
7287 | 469 |
* HOL/recdef (TFL): 'congs' syntax now expects comma separated list of theorem |
470 |
names rather than an ML expression; |
|
471 |
||
472 |
* HOL/defer_recdef (TFL): like recdef but the well-founded relation can be |
|
473 |
supplied later. Program schemes can be defined, such as |
|
474 |
"While B C s = (if B s then While B C (C s) else s)" |
|
475 |
where the well-founded relation can be chosen after B and C have been given. |
|
6563 | 476 |
|
7215 | 477 |
* HOL/List: the constructors of type list are now Nil and Cons; |
478 |
INCOMPATIBILITY: while [] and infix # syntax is still there, of |
|
479 |
course, ML tools referring to List.list.op # etc. have to be adapted; |
|
480 |
||
7238
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
481 |
* HOL_quantifiers flag superseded by "HOL" print mode, which is |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
482 |
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
|
483 |
the original Gordon/HOL-style output; |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
484 |
|
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
485 |
* 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
|
486 |
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
|
487 |
|
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
488 |
* HOL basic syntax simplified (more orthogonal): all variants of |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
489 |
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
|
490 |
Eps operator is provided as well: "SOME x. P[x]"; |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
491 |
|
7320 | 492 |
* HOL/Sum.thy: sum_case has been moved to HOL/Datatype; |
7261 | 493 |
|
7280 | 494 |
* HOL/Univ.thy: infix syntax <*>, <+>, <**>, <+> eliminated and made |
495 |
thus available for user theories; |
|
496 |
||
7300
8439bf404c28
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents:
7287
diff
changeset
|
497 |
* 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
|
498 |
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
|
499 |
time; |
8439bf404c28
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents:
7287
diff
changeset
|
500 |
|
7986 | 501 |
* HOL: new tactic smp_tac: int -> int -> tactic, which applies spec |
502 |
several times and then mp; |
|
7492 | 503 |
|
7215 | 504 |
|
7113 | 505 |
*** LK *** |
506 |
||
7215 | 507 |
* the notation <<...>> is now available as a notation for sequences of |
508 |
formulas; |
|
7113 | 509 |
|
510 |
* the simplifier is now installed |
|
511 |
||
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
512 |
* the axiom system has been generalized (thanks to Soren Heilmann) |
7113 | 513 |
|
514 |
* the classical reasoner now has a default rule database |
|
515 |
||
516 |
||
6064 | 517 |
*** ZF *** |
518 |
||
519 |
* new primrec section allows primitive recursive functions to be given |
|
6269 | 520 |
directly (as in HOL) over datatypes and the natural numbers; |
6064 | 521 |
|
6269 | 522 |
* new tactics induct_tac and exhaust_tac for induction (or case |
523 |
analysis) over datatypes and the natural numbers; |
|
6064 | 524 |
|
525 |
* the datatype declaration of type T now defines the recursor T_rec; |
|
526 |
||
6141 | 527 |
* simplification automatically does freeness reasoning for datatype |
6269 | 528 |
constructors; |
6141 | 529 |
|
6269 | 530 |
* automatic type-inference, with AddTCs command to insert new |
531 |
type-checking rules; |
|
6155 | 532 |
|
6269 | 533 |
* datatype introduction rules are now added as Safe Introduction rules |
534 |
to the claset; |
|
6155 | 535 |
|
6269 | 536 |
* the syntax "if P then x else y" is now available in addition to |
537 |
if(P,x,y); |
|
538 |
||
6069 | 539 |
|
6343 | 540 |
*** Internal programming interfaces *** |
541 |
||
7919
35c18affc1d8
tuned simplifier trace output; new flag debug_simp
wenzelm
parents:
7886
diff
changeset
|
542 |
* tuned simplifier trace output; new flag debug_simp; |
35c18affc1d8
tuned simplifier trace output; new flag debug_simp
wenzelm
parents:
7886
diff
changeset
|
543 |
|
7420
cba45c114f3b
structures Vartab / Termtab (instances of TableFun);
wenzelm
parents:
7327
diff
changeset
|
544 |
* structures Vartab / Termtab (instances of TableFun) offer efficient |
cba45c114f3b
structures Vartab / Termtab (instances of TableFun);
wenzelm
parents:
7327
diff
changeset
|
545 |
tables indexed by indexname_ord / term_ord (compatible with aconv); |
cba45c114f3b
structures Vartab / Termtab (instances of TableFun);
wenzelm
parents:
7327
diff
changeset
|
546 |
|
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
547 |
* AxClass.axclass_tac lost the theory argument; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
548 |
|
6343 | 549 |
* tuned current_goals_markers semantics: begin / end goal avoids |
550 |
printing empty lines; |
|
551 |
||
552 |
* removed prs and prs_fn hook, which was broken because it did not |
|
553 |
include \n in its semantics, forcing writeln to add one |
|
554 |
uncoditionally; replaced prs_fn by writeln_fn; consider std_output: |
|
555 |
string -> unit if you really want to output text without newline; |
|
556 |
||
557 |
* Symbol.output subject to print mode; INCOMPATIBILITY: defaults to |
|
558 |
plain output, interface builders may have to enable 'isabelle_font' |
|
559 |
mode to get Isabelle font glyphs as before; |
|
560 |
||
561 |
* refined token_translation interface; INCOMPATIBILITY: output length |
|
562 |
now of type real instead of int; |
|
563 |
||
7196 | 564 |
* theory loader actions may be traced via new ThyInfo.add_hook |
565 |
interface (see src/Pure/Thy/thy_info.ML); example application: keep |
|
566 |
your own database of information attached to *whole* theories -- as |
|
567 |
opposed to intra-theory data slots offered via TheoryDataFun; |
|
568 |
||
7647
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
569 |
* proper handling of dangling sort hypotheses (at last!); |
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
570 |
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
|
571 |
extra sort hypotheses that can be witnessed from the type signature; |
7986 | 572 |
the force_strip_shyps flag is gone, any remaining shyps are simply |
573 |
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
|
574 |
|
6343 | 575 |
|
6064 | 576 |
|
5781 | 577 |
New in Isabelle98-1 (October 1998) |
578 |
---------------------------------- |
|
579 |
||
5127 | 580 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
4842 | 581 |
|
5726 | 582 |
* several changes of automated proof tools; |
5373 | 583 |
|
5726 | 584 |
* HOL: major changes to the inductive and datatype packages, including |
585 |
some minor incompatibilities of theory syntax; |
|
5214 | 586 |
|
5726 | 587 |
* HOL: renamed r^-1 to 'converse' from 'inverse'; 'inj_onto' is now |
5217 | 588 |
called `inj_on'; |
5160 | 589 |
|
5275 | 590 |
* HOL: removed duplicate thms in Arith: |
591 |
less_imp_add_less should be replaced by trans_less_add1 |
|
592 |
le_imp_add_le should be replaced by trans_le_add1 |
|
5160 | 593 |
|
5726 | 594 |
* HOL: unary minus is now overloaded (new type constraints may be |
595 |
required); |
|
5490 | 596 |
|
5726 | 597 |
* HOL and ZF: unary minus for integers is now #- instead of #~. In |
598 |
ZF, expressions such as n#-1 must be changed to n#- 1, since #-1 is |
|
599 |
now taken as an integer constant. |
|
5541 | 600 |
|
5726 | 601 |
* Pure: ML function 'theory_of' renamed to 'theory'; |
5397
034ed25535b9
* Pure: ML function 'theory_of' replaced by 'theory';
wenzelm
parents:
5373
diff
changeset
|
602 |
|
5363 | 603 |
|
5127 | 604 |
*** Proof tools *** |
4880 | 605 |
|
5657
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
606 |
* Simplifier: |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
607 |
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
|
608 |
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
|
609 |
simplify. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
610 |
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
|
611 |
rotate premises to achieve further simplification. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
612 |
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
|
613 |
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
|
614 |
2. The simplifier now knows a little bit about nat-arithmetic. |
4880 | 615 |
|
5127 | 616 |
* Classical reasoner: wrapper mechanism for the classical reasoner now |
617 |
allows for selected deletion of wrappers, by introduction of names for |
|
618 |
wrapper functionals. This implies that addbefore, addSbefore, |
|
619 |
addaltern, and addSaltern now take a pair (name, tactic) as argument, |
|
620 |
and that adding two tactics with the same name overwrites the first |
|
621 |
one (emitting a warning). |
|
4824 | 622 |
type wrapper = (int -> tactic) -> (int -> tactic) |
4649 | 623 |
setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by |
4824 | 624 |
addWrapper, addSWrapper: claset * (string * wrapper) -> claset |
625 |
delWrapper, delSWrapper: claset * string -> claset |
|
4649 | 626 |
getWrapper is renamed to appWrappers, getSWrapper to appSWrappers; |
627 |
||
5705
56f2030c46c6
tuned (all proofs are INSTABLE by David's definition of instability);
wenzelm
parents:
5671
diff
changeset
|
628 |
* Classical reasoner: addbefore/addSbefore now have APPEND/ORELSE |
5726 | 629 |
semantics; addbefore now affects only the unsafe part of step_tac |
630 |
etc.; this affects addss/auto_tac/force_tac, so EXISTING PROOFS MAY |
|
631 |
FAIL, but proofs should be fixable easily, e.g. by replacing Auto_tac |
|
632 |
by Force_tac; |
|
5524 | 633 |
|
5726 | 634 |
* Classical reasoner: setwrapper to setWrapper and compwrapper to |
635 |
compWrapper; added safe wrapper (and access functions for it); |
|
5524 | 636 |
|
5127 | 637 |
* HOL/split_all_tac is now much faster and fails if there is nothing |
5726 | 638 |
to split. Some EXISTING PROOFS MAY REQUIRE ADAPTION because the order |
639 |
and the names of the automatically generated variables have changed. |
|
640 |
split_all_tac has moved within claset() from unsafe wrappers to safe |
|
641 |
wrappers, which means that !!-bound variables are split much more |
|
642 |
aggressively, and safe_tac and clarify_tac now split such variables. |
|
643 |
If this splitting is not appropriate, use delSWrapper "split_all_tac". |
|
644 |
Note: the same holds for record_split_tac, which does the job of |
|
645 |
split_all_tac for record fields. |
|
5127 | 646 |
|
5726 | 647 |
* HOL/Simplifier: Rewrite rules for case distinctions can now be added |
648 |
permanently to the default simpset using Addsplits just like |
|
649 |
Addsimps. They can be removed via Delsplits just like |
|
650 |
Delsimps. Lower-case versions are also available. |
|
5127 | 651 |
|
5726 | 652 |
* HOL/Simplifier: The rule split_if is now part of the default |
653 |
simpset. This means that the simplifier will eliminate all occurrences |
|
654 |
of if-then-else in the conclusion of a goal. To prevent this, you can |
|
655 |
either remove split_if completely from the default simpset by |
|
656 |
`Delsplits [split_if]' or remove it in a specific call of the |
|
657 |
simplifier using `... delsplits [split_if]'. You can also add/delete |
|
658 |
other case splitting rules to/from the default simpset: every datatype |
|
659 |
generates suitable rules `split_t_case' and `split_t_case_asm' (where |
|
660 |
t is the name of the datatype). |
|
5127 | 661 |
|
5726 | 662 |
* Classical reasoner / Simplifier combination: new force_tac (and |
5127 | 663 |
derivatives Force_tac, force) combines rewriting and classical |
664 |
reasoning (and whatever other tools) similarly to auto_tac, but is |
|
5726 | 665 |
aimed to solve the given subgoal completely. |
5127 | 666 |
|
667 |
||
668 |
*** General *** |
|
669 |
||
5217 | 670 |
* new top-level commands `Goal' and `Goalw' that improve upon `goal' |
5127 | 671 |
and `goalw': the theory is no longer needed as an explicit argument - |
672 |
the current theory context is used; assumptions are no longer returned |
|
673 |
at the ML-level unless one of them starts with ==> or !!; it is |
|
5217 | 674 |
recommended to convert to these new commands using isatool fixgoal |
675 |
(backup your sources first!); |
|
4842 | 676 |
|
5217 | 677 |
* new top-level commands 'thm' and 'thms' for retrieving theorems from |
5207 | 678 |
the current theory context, and 'theory' to lookup stored theories; |
4806 | 679 |
|
5722 | 680 |
* new theory section 'locale' for declaring constants, assumptions and |
681 |
definitions that have local scope; |
|
682 |
||
5127 | 683 |
* new theory section 'nonterminals' for purely syntactic types; |
4858 | 684 |
|
5127 | 685 |
* new theory section 'setup' for generic ML setup functions |
686 |
(e.g. package initialization); |
|
4869 | 687 |
|
5131 | 688 |
* the distribution now includes Isabelle icons: see |
689 |
lib/logo/isabelle-{small,tiny}.xpm; |
|
690 |
||
5363 | 691 |
* isatool install - install binaries with absolute references to |
692 |
ISABELLE_HOME/bin; |
|
693 |
||
5572 | 694 |
* isatool logo -- create instances of the Isabelle logo (as EPS); |
695 |
||
5407 | 696 |
* print mode 'emacs' reserved for Isamode; |
697 |
||
5726 | 698 |
* support multiple print (ast) translations per constant name; |
699 |
||
6925
8d4d45ec6a3d
theorems involving oracles are now printed with a suffixed [!];
wenzelm
parents:
6922
diff
changeset
|
700 |
* theorems involving oracles are now printed with a suffixed [!]; |
8d4d45ec6a3d
theorems involving oracles are now printed with a suffixed [!];
wenzelm
parents:
6922
diff
changeset
|
701 |
|
4711 | 702 |
|
4661 | 703 |
*** HOL *** |
704 |
||
5710 | 705 |
* there is now a tutorial on Isabelle/HOL (do 'isatool doc tutorial'); |
5709 | 706 |
|
5217 | 707 |
* HOL/inductive package reorganized and improved: now supports mutual |
5267 | 708 |
definitions such as |
5217 | 709 |
|
710 |
inductive EVEN ODD |
|
711 |
intrs |
|
712 |
null "0 : EVEN" |
|
713 |
oddI "n : EVEN ==> Suc n : ODD" |
|
714 |
evenI "n : ODD ==> Suc n : EVEN" |
|
715 |
||
716 |
new theorem list "elims" contains an elimination rule for each of the |
|
717 |
recursive sets; inductive definitions now handle disjunctive premises |
|
718 |
correctly (also ZF); |
|
5214 | 719 |
|
5217 | 720 |
INCOMPATIBILITIES: requires Inductive as an ancestor; component |
721 |
"mutual_induct" no longer exists - the induction rule is always |
|
722 |
contained in "induct"; |
|
723 |
||
724 |
||
725 |
* HOL/datatype package re-implemented and greatly improved: now |
|
5267 | 726 |
supports mutually recursive datatypes such as |
5217 | 727 |
|
728 |
datatype |
|
729 |
'a aexp = IF_THEN_ELSE ('a bexp) ('a aexp) ('a aexp) |
|
730 |
| SUM ('a aexp) ('a aexp) |
|
731 |
| DIFF ('a aexp) ('a aexp) |
|
732 |
| NUM 'a |
|
733 |
and |
|
734 |
'a bexp = LESS ('a aexp) ('a aexp) |
|
735 |
| AND ('a bexp) ('a bexp) |
|
736 |
| OR ('a bexp) ('a bexp) |
|
737 |
||
5267 | 738 |
as well as indirectly recursive datatypes such as |
5214 | 739 |
|
5217 | 740 |
datatype |
741 |
('a, 'b) term = Var 'a |
|
742 |
| App 'b ((('a, 'b) term) list) |
|
5214 | 743 |
|
5217 | 744 |
The new tactic mutual_induct_tac [<var_1>, ..., <var_n>] i performs |
745 |
induction on mutually / indirectly recursive datatypes. |
|
746 |
||
747 |
Primrec equations are now stored in theory and can be accessed via |
|
748 |
<function_name>.simps. |
|
749 |
||
750 |
INCOMPATIBILITIES: |
|
5214 | 751 |
|
5217 | 752 |
- Theories using datatypes must now have theory Datatype as an |
753 |
ancestor. |
|
754 |
- The specific <typename>.induct_tac no longer exists - use the |
|
755 |
generic induct_tac instead. |
|
5226 | 756 |
- natE has been renamed to nat.exhaust - use exhaust_tac |
5217 | 757 |
instead of res_inst_tac ... natE. Note that the variable |
5226 | 758 |
names in nat.exhaust differ from the names in natE, this |
5217 | 759 |
may cause some "fragile" proofs to fail. |
760 |
- The theorems split_<typename>_case and split_<typename>_case_asm |
|
761 |
have been renamed to <typename>.split and <typename>.split_asm. |
|
762 |
- Since default sorts of type variables are now handled correctly, |
|
763 |
some datatype definitions may have to be annotated with explicit |
|
764 |
sort constraints. |
|
765 |
- Primrec definitions no longer require function name and type |
|
766 |
of recursive argument. |
|
5214 | 767 |
|
5217 | 768 |
Consider using isatool fixdatatype to adapt your theories and proof |
769 |
scripts to the new package (backup your sources first!). |
|
770 |
||
771 |
||
5726 | 772 |
* HOL/record package: considerably improved implementation; now |
773 |
includes concrete syntax for record types, terms, updates; theorems |
|
774 |
for surjective pairing and splitting !!-bound record variables; proof |
|
775 |
support is as follows: |
|
776 |
||
777 |
1) standard conversions (selectors or updates applied to record |
|
778 |
constructor terms) are part of the standard simpset; |
|
779 |
||
780 |
2) inject equations of the form ((x, y) = (x', y')) == x=x' & y=y' are |
|
781 |
made part of standard simpset and claset via addIffs; |
|
782 |
||
783 |
3) a tactic for record field splitting (record_split_tac) is part of |
|
784 |
the standard claset (addSWrapper); |
|
785 |
||
786 |
To get a better idea about these rules you may retrieve them via |
|
787 |
something like 'thms "foo.simps"' or 'thms "foo.iffs"', where "foo" is |
|
788 |
the name of your record type. |
|
789 |
||
790 |
The split tactic 3) conceptually simplifies by the following rule: |
|
791 |
||
792 |
"(!!x. PROP ?P x) == (!!a b. PROP ?P (a, b))" |
|
793 |
||
794 |
Thus any record variable that is bound by meta-all will automatically |
|
795 |
blow up into some record constructor term, consequently the |
|
796 |
simplifications of 1), 2) apply. Thus force_tac, auto_tac etc. shall |
|
797 |
solve record problems automatically. |
|
798 |
||
5214 | 799 |
|
5125 | 800 |
* reorganized the main HOL image: HOL/Integ and String loaded by |
801 |
default; theory Main includes everything; |
|
802 |
||
5650 | 803 |
* automatic simplification of integer sums and comparisons, using cancellation; |
804 |
||
5526 | 805 |
* added option_map_eq_Some and not_Some_eq to the default simpset and claset; |
5127 | 806 |
|
807 |
* added disj_not1 = "(~P | Q) = (P --> Q)" to the default simpset; |
|
808 |
||
809 |
* many new identities for unions, intersections, set difference, etc.; |
|
810 |
||
811 |
* expand_if, expand_split, expand_sum_case and expand_nat_case are now |
|
812 |
called split_if, split_split, split_sum_case and split_nat_case (to go |
|
813 |
with add/delsplits); |
|
5125 | 814 |
|
5127 | 815 |
* HOL/Prod introduces simplification procedure unit_eq_proc rewriting |
816 |
(?x::unit) = (); this is made part of the default simpset, which COULD |
|
817 |
MAKE EXISTING PROOFS FAIL under rare circumstances (consider |
|
5207 | 818 |
'Delsimprocs [unit_eq_proc];' as last resort); also note that |
819 |
unit_abs_eta_conv is added in order to counter the effect of |
|
820 |
unit_eq_proc on (%u::unit. f u), replacing it by f rather than by |
|
821 |
%u.f(); |
|
5125 | 822 |
|
5217 | 823 |
* HOL/Fun INCOMPATIBILITY: `inj_onto' is now called `inj_on' (which |
824 |
makes more sense); |
|
5109 | 825 |
|
5475 | 826 |
* HOL/Set INCOMPATIBILITY: rule `equals0D' is now a well-formed destruct rule; |
827 |
It and 'sym RS equals0D' are now in the default claset, giving automatic |
|
828 |
disjointness reasoning but breaking a few old proofs. |
|
5267 | 829 |
|
5217 | 830 |
* HOL/Relation INCOMPATIBILITY: renamed the relational operator r^-1 |
831 |
to 'converse' from 'inverse' (for compatibility with ZF and some |
|
832 |
literature); |
|
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
833 |
|
5127 | 834 |
* HOL/recdef can now declare non-recursive functions, with {} supplied as |
835 |
the well-founded relation; |
|
4838 | 836 |
|
5490 | 837 |
* HOL/Set INCOMPATIBILITY: the complement of set A is now written -A instead of |
838 |
Compl A. The "Compl" syntax remains available as input syntax for this |
|
839 |
release ONLY. |
|
840 |
||
5127 | 841 |
* HOL/Update: new theory of function updates: |
842 |
f(a:=b) == %x. if x=a then b else f x |
|
843 |
may also be iterated as in f(a:=b,c:=d,...); |
|
5077
71043526295f
* HOL/List: new function list_update written xs[i:=v] that updates the i-th
nipkow
parents:
5075
diff
changeset
|
844 |
|
5127 | 845 |
* HOL/Vimage: new theory for inverse image of a function, syntax f-``B; |
4899 | 846 |
|
5282 | 847 |
* HOL/List: |
848 |
- new function list_update written xs[i:=v] that updates the i-th |
|
849 |
list position. May also be iterated as in xs[i:=a,j:=b,...]. |
|
5428 | 850 |
- new function `upt' written [i..j(] which generates the list |
851 |
[i,i+1,...,j-1], i.e. the upper bound is excluded. To include the upper |
|
852 |
bound write [i..j], which is a shorthand for [i..j+1(]. |
|
5282 | 853 |
- new lexicographic orderings and corresponding wellfoundedness theorems. |
4779 | 854 |
|
5127 | 855 |
* HOL/Arith: |
856 |
- removed 'pred' (predecessor) function; |
|
857 |
- generalized some theorems about n-1; |
|
858 |
- many new laws about "div" and "mod"; |
|
859 |
- new laws about greatest common divisors (see theory ex/Primes); |
|
4766 | 860 |
|
5127 | 861 |
* HOL/Relation: renamed the relational operator r^-1 "converse" |
4842 | 862 |
instead of "inverse"; |
4711 | 863 |
|
5651 | 864 |
* HOL/Induct/Multiset: a theory of multisets, including the wellfoundedness |
865 |
of the multiset ordering; |
|
866 |
||
5127 | 867 |
* directory HOL/Real: a construction of the reals using Dedekind cuts |
5651 | 868 |
(not included by default); |
4835 | 869 |
|
5127 | 870 |
* directory HOL/UNITY: Chandy and Misra's UNITY formalism; |
4711 | 871 |
|
5651 | 872 |
* directory HOL/Hoare: a new version of Hoare logic which permits many-sorted |
873 |
programs, i.e. different program variables may have different types. |
|
874 |
||
5142 | 875 |
* calling (stac rew i) now fails if "rew" has no effect on the goal |
876 |
[previously, this check worked only if the rewrite rule was unconditional] |
|
5308 | 877 |
Now rew can involve either definitions or equalities (either == or =). |
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
878 |
|
5363 | 879 |
|
4879
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
880 |
*** ZF *** |
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
881 |
|
5332 | 882 |
* theory Main includes everything; INCOMPATIBILITY: theory ZF.thy contains |
883 |
only the theorems proved on ZF.ML; |
|
5160 | 884 |
|
5475 | 885 |
* ZF INCOMPATIBILITY: rule `equals0D' is now a well-formed destruct rule; |
886 |
It and 'sym RS equals0D' are now in the default claset, giving automatic |
|
887 |
disjointness reasoning but breaking a few old proofs. |
|
5267 | 888 |
|
5160 | 889 |
* ZF/Update: new theory of function updates |
890 |
with default rewrite rule f(x:=y) ` z = if(z=x, y, f`z) |
|
891 |
may also be iterated as in f(a:=b,c:=d,...); |
|
892 |
||
4879
58656c6a3551
"let" is no longer restricted to FOL terms and allows any logical terms
paulson
parents:
4869
diff
changeset
|
893 |
* in let x=t in u(x), neither t nor u(x) has to be an FOL term. |
4649 | 894 |
|
5142 | 895 |
* calling (stac rew i) now fails if "rew" has no effect on the goal |
896 |
[previously, this check worked only if the rewrite rule was unconditional] |
|
5308 | 897 |
Now rew can involve either definitions or equalities (either == or =). |
5142 | 898 |
|
5160 | 899 |
* case_tac provided for compatibility with HOL |
900 |
(like the old excluded_middle_tac, but with subgoals swapped) |
|
901 |
||
4842 | 902 |
|
5127 | 903 |
*** Internal programming interfaces *** |
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
904 |
|
5251 | 905 |
* Pure: several new basic modules made available for general use, see |
906 |
also src/Pure/README; |
|
5207 | 907 |
|
5008 | 908 |
* improved the theory data mechanism to support encapsulation (data |
909 |
kind name replaced by private Object.kind, acting as authorization |
|
5373 | 910 |
key); new type-safe user interface via functor TheoryDataFun; generic |
911 |
print_data function becomes basically useless; |
|
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
912 |
|
5251 | 913 |
* removed global_names compatibility flag -- all theory declarations |
914 |
are qualified by default; |
|
915 |
||
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
916 |
* module Pure/Syntax now offers quote / antiquote translation |
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
917 |
functions (useful for Hoare logic etc. with implicit dependencies); |
5373 | 918 |
see HOL/ex/Antiquote for an example use; |
5085
8e5a7942fdea
simplification procedure unit_eq_proc rewrites (?x::unit) = ();
wenzelm
parents:
5077
diff
changeset
|
919 |
|
5127 | 920 |
* Simplifier now offers conversions (asm_)(full_)rewrite: simpset -> |
921 |
cterm -> thm; |
|
922 |
||
5207 | 923 |
* new tactical CHANGED_GOAL for checking that a tactic modifies a |
924 |
subgoal; |
|
5142 | 925 |
|
5251 | 926 |
* Display.print_goals function moved to Locale.print_goals; |
927 |
||
5731 | 928 |
* standard print function for goals supports current_goals_markers |
929 |
variable for marking begin of proof, end of proof, start of goal; the |
|
930 |
default is ("", "", ""); setting current_goals_markers := ("<proof>", |
|
931 |
"</proof>", "<goal>") causes SGML like tagged proof state printing, |
|
932 |
for example; |
|
933 |
||
5002
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
934 |
|
7b4c2a153738
* improved the theory data mechanism to support real encapsulation;
wenzelm
parents:
4981
diff
changeset
|
935 |
|
4410 | 936 |
New in Isabelle98 (January 1998) |
937 |
-------------------------------- |
|
938 |
||
939 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
|
940 |
||
941 |
* changed lexical syntax of terms / types: dots made part of long |
|
942 |
identifiers, e.g. "%x.x" no longer possible, should be "%x. x"; |
|
943 |
||
944 |
* simpset (and claset) reference variable replaced by functions |
|
945 |
simpset / simpset_ref; |
|
946 |
||
947 |
* no longer supports theory aliases (via merge) and non-trivial |
|
948 |
implicit merge of thms' signatures; |
|
949 |
||
950 |
* most internal names of constants changed due to qualified names; |
|
951 |
||
952 |
* changed Pure/Sequence interface (see Pure/seq.ML); |
|
953 |
||
3454 | 954 |
|
3715 | 955 |
*** General Changes *** |
956 |
||
4174 | 957 |
* hierachically structured name spaces (for consts, types, axms, thms |
3943 | 958 |
etc.); new lexical class 'longid' (e.g. Foo.bar.x) may render much of |
4108 | 959 |
old input syntactically incorrect (e.g. "%x.x"); COMPATIBILITY: |
960 |
isatool fixdots ensures space after dots (e.g. "%x. x"); set |
|
4174 | 961 |
long_names for fully qualified output names; NOTE: ML programs |
962 |
(special tactics, packages etc.) referring to internal names may have |
|
963 |
to be adapted to cope with fully qualified names; in case of severe |
|
964 |
backward campatibility problems try setting 'global_names' at compile |
|
965 |
time to have enrything declared within a flat name space; one may also |
|
966 |
fine tune name declarations in theories via the 'global' and 'local' |
|
967 |
section; |
|
4108 | 968 |
|
969 |
* reimplemented the implicit simpset and claset using the new anytype |
|
970 |
data filed in signatures; references simpset:simpset ref etc. are |
|
971 |
replaced by functions simpset:unit->simpset and |
|
972 |
simpset_ref:unit->simpset ref; COMPATIBILITY: use isatool fixclasimp |
|
973 |
to patch your ML files accordingly; |
|
3856 | 974 |
|
3857 | 975 |
* HTML output now includes theory graph data for display with Java |
976 |
applet or isatool browser; data generated automatically via isatool |
|
3901 | 977 |
usedir (see -i option, ISABELLE_USEDIR_OPTIONS); |
3857 | 978 |
|
3856 | 979 |
* defs may now be conditional; improved rewrite_goals_tac to handle |
980 |
conditional equations; |
|
981 |
||
4174 | 982 |
* defs now admits additional type arguments, using TYPE('a) syntax; |
983 |
||
3901 | 984 |
* theory aliases via merge (e.g. M=A+B+C) no longer supported, always |
985 |
creates a new theory node; implicit merge of thms' signatures is |
|
4112 | 986 |
restricted to 'trivial' ones; COMPATIBILITY: one may have to use |
3901 | 987 |
transfer:theory->thm->thm in (rare) cases; |
988 |
||
3968
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
989 |
* improved handling of draft signatures / theories; draft thms (and |
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
990 |
ctyps, cterms) are automatically promoted to real ones; |
ec138de716d9
improved handling of draft signatures / theories; draft thms (and
wenzelm
parents:
3964
diff
changeset
|
991 |
|
3901 | 992 |
* slightly changed interfaces for oracles: admit many per theory, named |
993 |
(e.g. oracle foo = mlfun), additional name argument for invoke_oracle; |
|
994 |
||
995 |
* print_goals: optional output of const types (set show_consts and |
|
996 |
show_types); |
|
3851
fe9932a7cd46
print_goals: optional output of const types (set show_consts);
wenzelm
parents:
3846
diff
changeset
|
997 |
|
4388 | 998 |
* improved output of warnings (###) and errors (***); |
3697
c5833dfcc2cc
Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
wenzelm
parents:
3671
diff
changeset
|
999 |
|
4178
e64ff1c1bc70
subgoal_tac displays a warning if the new subgoal has type variables
paulson
parents:
4174
diff
changeset
|
1000 |
* subgoal_tac displays a warning if the new subgoal has type variables; |
e64ff1c1bc70
subgoal_tac displays a warning if the new subgoal has type variables
paulson
parents:
4174
diff
changeset
|
1001 |
|
3715 | 1002 |
* removed old README and Makefiles; |
3697
c5833dfcc2cc
Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories;
wenzelm
parents:
3671
diff
changeset
|
1003 |
|
3856 | 1004 |
* replaced print_goals_ref hook by print_current_goals_fn and result_error_fn; |
3670
9fea3562f8c7
replaced print_goals_ref hook by print_current_goals_fn and
wenzelm
parents:
3658
diff
changeset
|
1005 |
|
3715 | 1006 |
* removed obsolete init_pps and init_database; |
1007 |
||
1008 |
* deleted the obsolete tactical STATE, which was declared by |
|
1009 |
fun STATE tacfun st = tacfun st st; |
|
1010 |
||
4388 | 1011 |
* cd and use now support path variables, e.g. $ISABELLE_HOME, or ~ |
1012 |
(which abbreviates $HOME); |
|
4269 | 1013 |
|
1014 |
* changed Pure/Sequence interface (see Pure/seq.ML); COMPATIBILITY: |
|
1015 |
use isatool fixseq to adapt your ML programs (this works for fully |
|
1016 |
qualified references to the Sequence structure only!); |
|
1017 |
||
4381 | 1018 |
* use_thy no longer requires writable current directory; it always |
1019 |
reloads .ML *and* .thy file, if either one is out of date; |
|
4269 | 1020 |
|
3715 | 1021 |
|
1022 |
*** Classical Reasoner *** |
|
1023 |
||
3744 | 1024 |
* Clarify_tac, clarify_tac, clarify_step_tac, Clarify_step_tac: new |
1025 |
tactics that use classical reasoning to simplify a subgoal without |
|
1026 |
splitting it into several subgoals; |
|
3715 | 1027 |
|
3719 | 1028 |
* Safe_tac: like safe_tac but uses the default claset; |
1029 |
||
3715 | 1030 |
|
1031 |
*** Simplifier *** |
|
1032 |
||
1033 |
* added simplification meta rules: |
|
1034 |
(asm_)(full_)simplify: simpset -> thm -> thm; |
|
1035 |
||
1036 |
* simplifier.ML no longer part of Pure -- has to be loaded by object |
|
1037 |
logics (again); |
|
1038 |
||
1039 |
* added prems argument to simplification procedures; |
|
1040 |
||
4325 | 1041 |
* HOL, FOL, ZF: added infix function `addsplits': |
1042 |
instead of `<simpset> setloop (split_tac <thms>)' |
|
1043 |
you can simply write `<simpset> addsplits <thms>' |
|
1044 |
||
3715 | 1045 |
|
1046 |
*** Syntax *** |
|
1047 |
||
4174 | 1048 |
* TYPE('a) syntax for type reflection terms; |
1049 |
||
3985 | 1050 |
* no longer handles consts with name "" -- declare as 'syntax' instead; |
3856 | 1051 |
|
1052 |
* pretty printer: changed order of mixfix annotation preference (again!); |
|
3846 | 1053 |
|
3715 | 1054 |
* Pure: fixed idt/idts vs. pttrn/pttrns syntactic categories; |
1055 |
||
1056 |
||
1057 |
*** HOL *** |
|
1058 |
||
5726 | 1059 |
* HOL: there is a new splitter `split_asm_tac' that can be used e.g. |
4189 | 1060 |
with `addloop' of the simplifier to faciliate case splitting in premises. |
1061 |
||
4035 | 1062 |
* HOL/TLA: Stephan Merz's formalization of Lamport's Temporal Logic of Actions; |
3985 | 1063 |
|
1064 |
* HOL/Auth: new protocol proofs including some for the Internet |
|
4035 | 1065 |
protocol TLS; |
3985 | 1066 |
|
4125 | 1067 |
* HOL/Map: new theory of `maps' a la VDM; |
3982 | 1068 |
|
4335 | 1069 |
* HOL/simplifier: simplification procedures nat_cancel_sums for |
1070 |
cancelling out common nat summands from =, <, <= (in)equalities, or |
|
1071 |
differences; simplification procedures nat_cancel_factor for |
|
1072 |
cancelling common factor from =, <, <= (in)equalities over natural |
|
4373 | 1073 |
sums; nat_cancel contains both kinds of procedures, it is installed by |
1074 |
default in Arith.thy -- this COULD MAKE EXISTING PROOFS FAIL; |
|
4335 | 1075 |
|
3580 | 1076 |
* HOL/simplifier: terms of the form |
4325 | 1077 |
`? x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x)' (or t=x) |
3580 | 1078 |
are rewritten to |
4035 | 1079 |
`P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t)', |
1080 |
and those of the form |
|
4325 | 1081 |
`! x. P1(x) & ... & Pn(x) & x=t & Q1(x) & ... Qn(x) --> R(x)' (or t=x) |
4035 | 1082 |
are rewritten to |
1083 |
`P1(t) & ... & Pn(t) & Q1(t) & ... Qn(t) --> R(t)', |
|
1084 |
||
1085 |
* HOL/datatype |
|
1086 |
Each datatype `t' now comes with a theorem `split_t_case' of the form |
|
3580 | 1087 |
|
4035 | 1088 |
P(t_case f1 ... fn x) = |
1089 |
( (!y1 ... ym1. x = C1 y1 ... ym1 --> P(f1 y1 ... ym1)) & |
|
1090 |
... |
|
4189 | 1091 |
(!y1 ... ymn. x = Cn y1 ... ymn --> P(f1 y1 ... ymn)) |
4035 | 1092 |
) |
1093 |
||
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
1094 |
and a theorem `split_t_case_asm' of the form |
4189 | 1095 |
|
1096 |
P(t_case f1 ... fn x) = |
|
1097 |
~( (? y1 ... ym1. x = C1 y1 ... ym1 & ~P(f1 y1 ... ym1)) | |
|
1098 |
... |
|
1099 |
(? y1 ... ymn. x = Cn y1 ... ymn & ~P(f1 y1 ... ymn)) |
|
1100 |
) |
|
4930
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
1101 |
which can be added to a simpset via `addsplits'. The existing theorems |
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
1102 |
expand_list_case and expand_option_case have been renamed to |
89271bc4e7ed
extended addsplits and delsplits to handle also split rules for assumptions
oheimb
parents:
4915
diff
changeset
|
1103 |
split_list_case and split_option_case. |
4189 | 1104 |
|
4361 | 1105 |
* HOL/Arithmetic: |
1106 |
- `pred n' is automatically converted to `n-1'. |
|
1107 |
Users are strongly encouraged not to use `pred' any longer, |
|
1108 |
because it will disappear altogether at some point. |
|
1109 |
- Users are strongly encouraged to write "0 < n" rather than |
|
1110 |
"n ~= 0". Theorems and proof tools have been modified towards this |
|
1111 |
`standard'. |
|
4357 | 1112 |
|
4502 | 1113 |
* HOL/Lists: |
1114 |
the function "set_of_list" has been renamed "set" (and its theorems too); |
|
1115 |
the function "nth" now takes its arguments in the reverse order and |
|
1116 |
has acquired the infix notation "!" as in "xs!n". |
|
3570 | 1117 |
|
4154 | 1118 |
* HOL/Set: UNIV is now a constant and is no longer translated to Compl{}; |
1119 |
||
1120 |
* HOL/Set: The operator (UN x.B x) now abbreviates (UN x:UNIV. B x) and its |
|
1121 |
specialist theorems (like UN1_I) are gone. Similarly for (INT x.B x); |
|
1122 |
||
4575 | 1123 |
* HOL/record: extensible records with schematic structural subtyping |
1124 |
(single inheritance); EXPERIMENTAL version demonstrating the encoding, |
|
1125 |
still lacks various theorems and concrete record syntax; |
|
1126 |
||
4125 | 1127 |
|
3715 | 1128 |
*** HOLCF *** |
3535 | 1129 |
|
4125 | 1130 |
* removed "axioms" and "generated by" sections; |
1131 |
||
4123 | 1132 |
* replaced "ops" section by extended "consts" section, which is capable of |
4125 | 1133 |
handling the continuous function space "->" directly; |
1134 |
||
1135 |
* domain package: |
|
1136 |
. proves theorems immediately and stores them in the theory, |
|
1137 |
. creates hierachical name space, |
|
1138 |
. now uses normal mixfix annotations (instead of cinfix...), |
|
1139 |
. minor changes to some names and values (for consistency), |
|
1140 |
. e.g. cases -> casedist, dists_eq -> dist_eqs, [take_lemma] -> take_lemmas, |
|
1141 |
. separator between mutual domain defs: changed "," to "and", |
|
1142 |
. improved handling of sort constraints; now they have to |
|
1143 |
appear on the left-hand side of the equations only; |
|
4123 | 1144 |
|
1145 |
* fixed LAM <x,y,zs>.b syntax; |
|
3567 | 1146 |
|
3744 | 1147 |
* added extended adm_tac to simplifier in HOLCF -- can now discharge |
1148 |
adm (%x. P (t x)), where P is chainfinite and t continuous; |
|
3579 | 1149 |
|
1150 |
||
3719 | 1151 |
*** FOL and ZF *** |
1152 |
||
5726 | 1153 |
* FOL: there is a new splitter `split_asm_tac' that can be used e.g. |
4189 | 1154 |
with `addloop' of the simplifier to faciliate case splitting in premises. |
1155 |
||
3744 | 1156 |
* qed_spec_mp, qed_goal_spec_mp, qed_goalw_spec_mp are available, as |
1157 |
in HOL, they strip ALL and --> from proved theorems; |
|
1158 |
||
3719 | 1159 |
|
3579 | 1160 |
|
3006 | 1161 |
New in Isabelle94-8 (May 1997) |
1162 |
------------------------------ |
|
2654 | 1163 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1164 |
*** General Changes *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1165 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1166 |
* new utilities to build / run / maintain Isabelle etc. (in parts |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1167 |
still somewhat experimental); old Makefiles etc. still functional; |
2971 | 1168 |
|
3205 | 1169 |
* new 'Isabelle System Manual'; |
1170 |
||
2825 | 1171 |
* INSTALL text, together with ./configure and ./build scripts; |
2773 | 1172 |
|
3006 | 1173 |
* reimplemented type inference for greater efficiency, better error |
1174 |
messages and clean internal interface; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1175 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1176 |
* prlim command for dealing with lots of subgoals (an easier way of |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1177 |
setting goals_limit); |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1178 |
|
3006 | 1179 |
|
1180 |
*** Syntax *** |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1181 |
|
3116 | 1182 |
* supports alternative (named) syntax tables (parser and pretty |
1183 |
printer); internal interface is provided by add_modesyntax(_i); |
|
1184 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1185 |
* Pure, FOL, ZF, HOL, HOLCF now support symbolic input and output; to |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1186 |
be used in conjunction with the Isabelle symbol font; uses the |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1187 |
"symbols" syntax table; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1188 |
|
2705 | 1189 |
* added token_translation interface (may translate name tokens in |
2756 | 1190 |
arbitrary ways, dependent on their type (free, bound, tfree, ...) and |
3116 | 1191 |
the current print_mode); IMPORTANT: user print translation functions |
1192 |
are responsible for marking newly introduced bounds |
|
1193 |
(Syntax.mark_boundT); |
|
2705 | 1194 |
|
2730 | 1195 |
* token translations for modes "xterm" and "xterm_color" that display |
3006 | 1196 |
names in bold, underline etc. or colors (which requires a color |
1197 |
version of xterm); |
|
2730 | 1198 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1199 |
* infixes may now be declared with names independent of their syntax; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1200 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1201 |
* added typed_print_translation (like print_translation, but may |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1202 |
access type of constant); |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1203 |
|
3006 | 1204 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1205 |
*** Classical Reasoner *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1206 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1207 |
Blast_tac: a new tactic! It is often more powerful than fast_tac, but has |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1208 |
some limitations. Blast_tac... |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1209 |
+ ignores addss, addbefore, addafter; this restriction is intrinsic |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1210 |
+ ignores elimination rules that don't have the correct format |
5726 | 1211 |
(the conclusion MUST be a formula variable) |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1212 |
+ ignores types, which can make HOL proofs fail |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1213 |
+ rules must not require higher-order unification, e.g. apply_type in ZF |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1214 |
[message "Function Var's argument not a bound variable" relates to this] |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1215 |
+ its proof strategy is more general but can actually be slower |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1216 |
|
3107 | 1217 |
* substitution with equality assumptions no longer permutes other |
1218 |
assumptions; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1219 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1220 |
* minor changes in semantics of addafter (now called addaltern); renamed |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1221 |
setwrapper to setWrapper and compwrapper to compWrapper; added safe wrapper |
3107 | 1222 |
(and access functions for it); |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1223 |
|
5726 | 1224 |
* improved combination of classical reasoner and simplifier: |
3317 | 1225 |
+ functions for handling clasimpsets |
1226 |
+ improvement of addss: now the simplifier is called _after_ the |
|
1227 |
safe steps. |
|
1228 |
+ safe variant of addss called addSss: uses safe simplifications |
|
5726 | 1229 |
_during_ the safe steps. It is more complete as it allows multiple |
3317 | 1230 |
instantiations of unknowns (e.g. with slow_tac). |
3006 | 1231 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1232 |
*** Simplifier *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1233 |
|
3006 | 1234 |
* added interface for simplification procedures (functions that |
1235 |
produce *proven* rewrite rules on the fly, depending on current |
|
1236 |
redex); |
|
1237 |
||
1238 |
* ordering on terms as parameter (used for ordered rewriting); |
|
1239 |
||
3107 | 1240 |
* new functions delcongs, deleqcongs, and Delcongs. richer rep_ss; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1241 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1242 |
* the solver is now split into a safe and an unsafe part. |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1243 |
This should be invisible for the normal user, except that the |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1244 |
functions setsolver and addsolver have been renamed to setSolver and |
3107 | 1245 |
addSolver; added safe_asm_full_simp_tac; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1246 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1247 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1248 |
*** HOL *** |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1249 |
|
3042 | 1250 |
* a generic induction tactic `induct_tac' which works for all datatypes and |
3107 | 1251 |
also for type `nat'; |
3042 | 1252 |
|
3316 | 1253 |
* a generic case distinction tactic `exhaust_tac' which works for all |
1254 |
datatypes and also for type `nat'; |
|
1255 |
||
1256 |
* each datatype comes with a function `size'; |
|
1257 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1258 |
* patterns in case expressions allow tuple patterns as arguments to |
3107 | 1259 |
constructors, for example `case x of [] => ... | (x,y,z)#ps => ...'; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1260 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1261 |
* primrec now also works with type nat; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1262 |
|
3338 | 1263 |
* recdef: a new declaration form, allows general recursive functions to be |
1264 |
defined in theory files. See HOL/ex/Fib, HOL/ex/Primes, HOL/Subst/Unify. |
|
1265 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1266 |
* the constant for negation has been renamed from "not" to "Not" to |
3107 | 1267 |
harmonize with FOL, ZF, LK, etc.; |
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1268 |
|
3107 | 1269 |
* HOL/ex/LFilter theory of a corecursive "filter" functional for |
1270 |
infinite lists; |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1271 |
|
3227 | 1272 |
* HOL/Modelcheck demonstrates invocation of model checker oracle; |
1273 |
||
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1274 |
* HOL/ex/Ring.thy declares cring_simp, which solves equational |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1275 |
problems in commutative rings, using axiomatic type classes for + and *; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1276 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1277 |
* more examples in HOL/MiniML and HOL/Auth; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1278 |
|
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1279 |
* more default rewrite rules for quantifiers, union/intersection; |
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1280 |
|
3321 | 1281 |
* a new constant `arbitrary == @x.False'; |
1282 |
||
3107 | 1283 |
* HOLCF/IOA replaces old HOL/IOA; |
1284 |
||
5726 | 1285 |
* HOLCF changes: derived all rules and arities |
1286 |
+ axiomatic type classes instead of classes |
|
2653
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
1287 |
+ typedef instead of faking type definitions |
2747 | 1288 |
+ eliminated the internal constants less_fun, less_cfun, UU_fun, UU_cfun etc. |
2730 | 1289 |
+ new axclasses cpo, chfin, flat with flat < chfin < pcpo < cpo < po |
2653
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
1290 |
+ eliminated the types void, one, tr |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
1291 |
+ use unit lift and bool lift (with translations) instead of one and tr |
f1a6997cdc06
described changes for HOLCF-Version without rules and arities
slotosch
parents:
2649
diff
changeset
|
1292 |
+ eliminated blift from Lift3.thy (use Def instead of blift) |
3107 | 1293 |
all eliminated rules are derived as theorems --> no visible changes ; |
2649 | 1294 |
|
3006 | 1295 |
|
3002
223e5d65faaa
Reorganized under headings. Also documented Blast_tac and LFilter
paulson
parents:
2993
diff
changeset
|
1296 |
*** ZF *** |
2553 | 1297 |
|
2865 | 1298 |
* ZF now has Fast_tac, Simp_tac and Auto_tac. Union_iff is a now a default |
1299 |
rewrite rule; this may affect some proofs. eq_cs is gone but can be put back |
|
1300 |
as ZF_cs addSIs [equalityI]; |
|
2553 | 1301 |
|
2554 | 1302 |
|
2732 | 1303 |
|
2553 | 1304 |
New in Isabelle94-7 (November 96) |
1305 |
--------------------------------- |
|
1306 |
||
1307 |
* allowing negative levels (as offsets) in prlev and choplev; |
|
1308 |
||
2554 | 1309 |
* super-linear speedup for large simplifications; |
1310 |
||
1311 |
* FOL, ZF and HOL now use miniscoping: rewriting pushes |
|
1312 |
quantifications in as far as possible (COULD MAKE EXISTING PROOFS |
|
1313 |
FAIL); can suppress it using the command Delsimps (ex_simps @ |
|
1314 |
all_simps); De Morgan laws are also now included, by default; |
|
1315 |
||
1316 |
* improved printing of ==> : ~: |
|
1317 |
||
1318 |
* new object-logic "Sequents" adds linear logic, while replacing LK |
|
1319 |
and Modal (thanks to Sara Kalvala); |
|
1320 |
||
1321 |
* HOL/Auth: correctness proofs for authentication protocols; |
|
1322 |
||
1323 |
* HOL: new auto_tac combines rewriting and classical reasoning (many |
|
1324 |
examples on HOL/Auth); |
|
1325 |
||
1326 |
* HOL: new command AddIffs for declaring theorems of the form P=Q to |
|
1327 |
the rewriter and classical reasoner simultaneously; |
|
1328 |
||
1329 |
* function uresult no longer returns theorems in "standard" format; |
|
1330 |
regain previous version by: val uresult = standard o uresult; |
|
1331 |
||
1332 |
||
1333 |
||
1334 |
New in Isabelle94-6 |
|
1335 |
------------------- |
|
1336 |
||
1337 |
* oracles -- these establish an interface between Isabelle and trusted |
|
1338 |
external reasoners, which may deliver results as theorems; |
|
1339 |
||
1340 |
* proof objects (in particular record all uses of oracles); |
|
1341 |
||
1342 |
* Simp_tac, Fast_tac, etc. that refer to implicit simpset / claset; |
|
1343 |
||
1344 |
* "constdefs" section in theory files; |
|
1345 |
||
1346 |
* "primrec" section (HOL) no longer requires names; |
|
1347 |
||
1348 |
* internal type "tactic" now simply "thm -> thm Sequence.seq"; |
|
1349 |
||
1350 |
||
1351 |
||
1352 |
New in Isabelle94-5 |
|
1353 |
------------------- |
|
1354 |
||
1355 |
* reduced space requirements; |
|
1356 |
||
1357 |
* automatic HTML generation from theories; |
|
1358 |
||
1359 |
* theory files no longer require "..." (quotes) around most types; |
|
1360 |
||
1361 |
* new examples, including two proofs of the Church-Rosser theorem; |
|
1362 |
||
1363 |
* non-curried (1994) version of HOL is no longer distributed; |
|
1364 |
||
2553 | 1365 |
|
2557 | 1366 |
|
1367 |
New in Isabelle94-4 |
|
1368 |
------------------- |
|
1369 |
||
2747 | 1370 |
* greatly reduced space requirements; |
2557 | 1371 |
|
1372 |
* theory files (.thy) no longer require \...\ escapes at line breaks; |
|
1373 |
||
5726 | 1374 |
* searchable theorem database (see the section "Retrieving theorems" on |
2557 | 1375 |
page 8 of the Reference Manual); |
1376 |
||
1377 |
* new examples, including Grabczewski's monumental case study of the |
|
1378 |
Axiom of Choice; |
|
1379 |
||
1380 |
* The previous version of HOL renamed to Old_HOL; |
|
1381 |
||
5726 | 1382 |
* The new version of HOL (previously called CHOL) uses a curried syntax |
2557 | 1383 |
for functions. Application looks like f a b instead of f(a,b); |
1384 |
||
1385 |
* Mutually recursive inductive definitions finally work in HOL; |
|
1386 |
||
1387 |
* In ZF, pattern-matching on tuples is now available in all abstractions and |
|
1388 |
translates to the operator "split"; |
|
1389 |
||
1390 |
||
1391 |
||
1392 |
New in Isabelle94-3 |
|
1393 |
------------------- |
|
1394 |
||
5726 | 1395 |
* new infix operator, addss, allowing the classical reasoner to |
2557 | 1396 |
perform simplification at each step of its search. Example: |
5726 | 1397 |
fast_tac (cs addss ss) |
2557 | 1398 |
|
5726 | 1399 |
* a new logic, CHOL, the same as HOL, but with a curried syntax |
1400 |
for functions. Application looks like f a b instead of f(a,b). Also pairs |
|
2557 | 1401 |
look like (a,b) instead of <a,b>; |
1402 |
||
1403 |
* PLEASE NOTE: CHOL will eventually replace HOL! |
|
1404 |
||
1405 |
* In CHOL, pattern-matching on tuples is now available in all abstractions. |
|
1406 |
It translates to the operator "split". A new theory of integers is available; |
|
1407 |
||
1408 |
* In ZF, integer numerals now denote two's-complement binary integers. |
|
1409 |
Arithmetic operations can be performed by rewriting. See ZF/ex/Bin.ML; |
|
1410 |
||
5726 | 1411 |
* Many new examples: I/O automata, Church-Rosser theorem, equivalents |
2557 | 1412 |
of the Axiom of Choice; |
1413 |
||
1414 |
||
1415 |
||
1416 |
New in Isabelle94-2 |
|
1417 |
------------------- |
|
1418 |
||
5726 | 1419 |
* Significantly faster resolution; |
2557 | 1420 |
|
1421 |
* the different sections in a .thy file can now be mixed and repeated |
|
1422 |
freely; |
|
1423 |
||
1424 |
* Database of theorems for FOL, HOL and ZF. New |
|
1425 |
commands including qed, qed_goal and bind_thm store theorems in the database. |
|
1426 |
||
1427 |
* Simple database queries: return a named theorem (get_thm) or all theorems of |
|
1428 |
a given theory (thms_of), or find out what theory a theorem was proved in |
|
1429 |
(theory_of_thm); |
|
1430 |
||
1431 |
* Bugs fixed in the inductive definition and datatype packages; |
|
1432 |
||
1433 |
* The classical reasoner provides deepen_tac and depth_tac, making FOL_dup_cs |
|
1434 |
and HOL_dup_cs obsolete; |
|
1435 |
||
1436 |
* Syntactic ambiguities caused by the new treatment of syntax in Isabelle94-1 |
|
1437 |
have been removed; |
|
1438 |
||
1439 |
* Simpler definition of function space in ZF; |
|
1440 |
||
1441 |
* new results about cardinal and ordinal arithmetic in ZF; |
|
1442 |
||
1443 |
* 'subtype' facility in HOL for introducing new types as subsets of existing |
|
1444 |
types; |
|
1445 |
||
1446 |
||
2553 | 1447 |
$Id$ |