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