author | nipkow |
Mon, 16 Aug 2004 14:21:54 +0200 | |
changeset 15130 | dc6be28d7f4e |
parent 15127 | 2550a5578d39 |
child 15148 | 3879dc0e9a9c |
permissions | -rw-r--r-- |
5363 | 1 |
Isabelle NEWS -- history user-relevant changes |
2 |
============================================== |
|
2553 | 3 |
|
14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
4 |
New in this Isabelle release |
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
5 |
---------------------------- |
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
6 |
|
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
7 |
*** General *** |
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
8 |
|
15130 | 9 |
* Theory headers: the new header syntax for Isar theories is |
10 |
||
11 |
theory <name> |
|
12 |
import <theory1> ... <theoryn> |
|
13 |
begin |
|
14 |
||
15 |
optionally also with a "files" section. The old syntax |
|
16 |
||
17 |
theory <name> = <theory1> + ... + <theoryn>: |
|
18 |
||
19 |
will still be supported for some time but will eventually disappear. |
|
20 |
The syntax of old-style theories has not changed. |
|
21 |
||
15103
79846e8792eb
New transitivity reasoners for transitivity only and quasi orders.
ballarin
parents:
15089
diff
changeset
|
22 |
* Provers/quasi.ML: new transitivity reasoners for transitivity only |
79846e8792eb
New transitivity reasoners for transitivity only and quasi orders.
ballarin
parents:
15089
diff
changeset
|
23 |
and quasi orders. |
79846e8792eb
New transitivity reasoners for transitivity only and quasi orders.
ballarin
parents:
15089
diff
changeset
|
24 |
|
15076
4b3d280ef06a
New prover for transitive and reflexive-transitive closure of relations.
ballarin
parents:
15073
diff
changeset
|
25 |
* Provers/trancl.ML: new transitivity reasoner for transitive and |
4b3d280ef06a
New prover for transitive and reflexive-transitive closure of relations.
ballarin
parents:
15073
diff
changeset
|
26 |
reflexive-transitive closure of relations. |
4b3d280ef06a
New prover for transitive and reflexive-transitive closure of relations.
ballarin
parents:
15073
diff
changeset
|
27 |
|
14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
28 |
* Pure: considerably improved version of 'constdefs' command. Now |
14731 | 29 |
performs automatic type-inference of declared constants; additional |
30 |
support for local structure declarations (cf. locales and HOL |
|
31 |
records), see also isar-ref manual. Potential INCOMPATIBILITY: need |
|
32 |
to observe strictly sequential dependencies of definitions within a |
|
33 |
single 'constdefs' section; moreover, the declared name needs to be |
|
34 |
an identifier. If all fails, consider to fall back on 'consts' and |
|
35 |
'defs' separately. |
|
14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
36 |
|
14698
7e4dec3fd515
improvd indexed syntax and implicit structures; tuned renaming of symbolic identifiers
wenzelm
parents:
14682
diff
changeset
|
37 |
* Pure: improved indexed syntax and implicit structures. First of |
14731 | 38 |
all, indexed syntax provides a notational device for subscripted |
39 |
application, using the new syntax \<^bsub>term\<^esub> for arbitrary |
|
40 |
expressions. Secondly, in a local context with structure |
|
41 |
declarations, number indexes \<^sub>n or the empty index (default |
|
42 |
number 1) refer to a certain fixed variable implicitly; option |
|
43 |
show_structs controls printing of implicit structures. Typical |
|
44 |
applications of these concepts involve record types and locales. |
|
45 |
||
14795
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
46 |
* Pure: clear separation of logical types and nonterminals, where the |
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
47 |
latter may only occur in 'syntax' specifications or type |
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
48 |
abbreviations. Before that distinction was only partially |
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
49 |
implemented via type class "logic" vs. "{}". Potential |
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
50 |
INCOMPATIBILITY in rare cases of improper use of 'types'/'consts' |
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
51 |
instead of 'nonterminals'/'syntax'. Some very exotic syntax |
14816
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
52 |
specifications may require further adaption (e.g. Cube/Base.thy). |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
53 |
|
14854 | 54 |
* Pure: removed obsolete type class "logic", use the top sort {} |
55 |
instead. Note that non-logical types should be declared as |
|
56 |
'nonterminals' rather than 'types'. INCOMPATIBILITY for new |
|
57 |
object-logic specifications. |
|
58 |
||
15022 | 59 |
* Pure: print_tac now outputs the goal through the trace channel. |
60 |
||
61 |
* Pure: reference Namespace.unique_names included. If true the |
|
62 |
(shortest) namespace-prefix is printed to disambiguate conflicts (as |
|
63 |
yet). If false the first entry wins (as during parsing). Default |
|
64 |
value is true. |
|
15018 | 65 |
|
15033
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
66 |
* Pure: tuned internal renaming of symbolic identifiers -- attach |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
67 |
primes instead of base 26 numbers. |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
68 |
|
14816
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
69 |
* Pure/Syntax: inner syntax includes (*(*nested*) comments*). |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
70 |
|
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
71 |
* Pure/Syntax: pretty pinter now supports unbreakable blocks, |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
72 |
specified in mixfix annotations as "(00...)". |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
73 |
|
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
74 |
* Pure/Syntax: 'advanced' translation functions (parse_translation |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
75 |
etc.) may depend on the signature of the theory context being |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
76 |
presently used for parsing/printing, see also isar-ref manual. |
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
77 |
|
15033
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
78 |
* Pure/Simplifier: simplification procedures may now take the current |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
79 |
simpset into account (cf. Simplifier.simproc(_i) / mk_simproc |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
80 |
interface), which is very useful for calling the Simplifier |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
81 |
recursively. Minor INCOMPATIBILITY: the 'prems' argument of |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
82 |
simprocs is gone -- use prems_of_ss on the simpset instead. |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
83 |
Moreover, the low-level mk_simproc no longer applies Logic.varify |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
84 |
internally, to allow for use in a context of fixed variables. |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
85 |
|
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
86 |
* Provers: Simplifier and Classical Reasoner now support proof context |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
87 |
dependent plug-ins (simprocs, solvers, wrappers etc.). These extra |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
88 |
components are stored in the theory and patched into the |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
89 |
simpset/claset when used in an Isar proof context. Context |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
90 |
dependent components are maintained by the following theory |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
91 |
operations: |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
92 |
|
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
93 |
Simplifier.add_context_simprocs |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
94 |
Simplifier.del_context_simprocs |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
95 |
Simplifier.set_context_subgoaler |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
96 |
Simplifier.reset_context_subgoaler |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
97 |
Simplifier.add_context_looper |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
98 |
Simplifier.del_context_looper |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
99 |
Simplifier.add_context_unsafe_solver |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
100 |
Simplifier.add_context_safe_solver |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
101 |
|
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
102 |
Classical.add_context_safe_wrapper |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
103 |
Classical.del_context_safe_wrapper |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
104 |
Classical.add_context_unsafe_wrapper |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
105 |
Classical.del_context_unsafe_wrapper |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
106 |
|
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
107 |
IMPORTANT NOTE: proof tools (methods etc.) need to use |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
108 |
local_simpset_of and local_claset_of to instead of the primitive |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
109 |
Simplifier.get_local_simpset and Classical.get_local_claset, |
255bc508a756
Simplifier and Classical Reasoner now support proof context dependent plug-ins;
wenzelm
parents:
15022
diff
changeset
|
110 |
respectively, in order to see the context dependent fields! |
14816
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset
|
111 |
|
14897
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset
|
112 |
* Document preparation: antiquotations now provide the option |
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset
|
113 |
'locale=NAME' to specify an alternative context used for evaluating |
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset
|
114 |
and printing the subsequent argument, as in @{thm [locale=LC] |
14919 | 115 |
fold_commute}, for example. |
14897
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset
|
116 |
|
14934 | 117 |
* Document preparation: commands 'display_drafts' and 'print_drafts' |
118 |
perform simple output of raw sources. Only those symbols that do |
|
119 |
not require additional LaTeX packages (depending on comments in |
|
120 |
isabellesym.sty) are displayed properly, everything else is left |
|
121 |
verbatim. We use isatool display and isatool print as front ends; |
|
122 |
these are subject to the DVI_VIEWER and PRINT_COMMAND settings, |
|
123 |
respectively. |
|
124 |
||
14917 | 125 |
* ML: output via the Isabelle channels of writeln/warning/error |
126 |
etc. is now passed through Output.output, with a hook for arbitrary |
|
127 |
transformations depending on the print_mode (cf. Output.add_mode -- |
|
128 |
the first active mode that provides a output function wins). |
|
129 |
Already formatted output may be embedded into further text via |
|
130 |
Output.raw; the result of Pretty.string_of/str_of and derived |
|
131 |
functions (string_of_term/cterm/thm etc.) is already marked raw to |
|
132 |
accommodate easy composition of diagnostic messages etc. |
|
133 |
Programmers rarely need to care about Output.output or Output.raw at |
|
134 |
all, with some notable exceptions: Output.output is required when |
|
135 |
bypassing the standard channels (writeln etc.), or in token |
|
136 |
translations to produce properly formatted results; Output.raw is |
|
137 |
required when capturing already output material that will eventually |
|
14972 | 138 |
be presented to the user a second time. For the default print mode, |
139 |
both Output.output and Output.raw have no effect. |
|
14795
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset
|
140 |
|
14707 | 141 |
|
15127 | 142 |
*** Isar *** |
143 |
||
144 |
* Locales: |
|
145 |
- "includes" disallowed in declaration of named locales (command "locale"). |
|
146 |
||
147 |
||
14700
2f885b7e5ba7
reimplementation of HOL records; only one type is created for
schirmer
parents:
14699
diff
changeset
|
148 |
*** HOL *** |
2f885b7e5ba7
reimplementation of HOL records; only one type is created for
schirmer
parents:
14699
diff
changeset
|
149 |
|
14731 | 150 |
* HOL/record: reimplementation of records. Improved scalability for |
151 |
records with many fields, avoiding performance problems for type |
|
152 |
inference. Records are no longer composed of nested field types, but |
|
153 |
of nested extension types. Therefore the record type only grows |
|
154 |
linear in the number of extensions and not in the number of fields. |
|
155 |
The top-level (users) view on records is preserved. Potential |
|
156 |
INCOMPATIBILITY only in strange cases, where the theory depends on |
|
157 |
the old record representation. The type generated for a record is |
|
158 |
called <record_name>_ext_type. |
|
159 |
||
15022 | 160 |
* HOL/record: Reference record_quick_and_dirty_sensitive can be |
161 |
enabled to skip the proofs triggered by a record definition or a |
|
162 |
simproc (if quick_and_dirty is enabled). Definitions of large |
|
163 |
records can take quite long. |
|
164 |
||
165 |
* HOL/record: "record_upd_simproc" for simplification of multiple |
|
166 |
record updates enabled by default. Moreover, trivial updates are |
|
167 |
also removed: r(|x := x r|) = r. INCOMPATIBILITY: old proofs break |
|
168 |
occasionally, since simplification is more powerful by default. |
|
15012
28fa57b57209
Added reference record_definition_quick_and_dirty_sensitive, to
schirmer
parents:
15011
diff
changeset
|
169 |
|
14878 | 170 |
* HOL: symbolic syntax of Hilbert Choice Operator is now as follows: |
171 |
||
172 |
syntax (epsilon) |
|
173 |
"_Eps" :: "[pttrn, bool] => 'a" ("(3\<some>_./ _)" [0, 10] 10) |
|
174 |
||
175 |
The symbol \<some> is displayed as the alternative epsilon of LaTeX |
|
176 |
and x-symbol; use option '-m epsilon' to get it actually printed. |
|
177 |
Moreover, the mathematically important symbolic identifier |
|
178 |
\<epsilon> becomes available as variable, constant etc. |
|
179 |
||
15046 | 180 |
* HOL/SetInterval: The syntax for open intervals has changed: |
181 |
||
182 |
Old New |
|
183 |
{..n(} -> {..<n} |
|
184 |
{)n..} -> {n<..} |
|
185 |
{m..n(} -> {m..<n} |
|
186 |
{)m..n} -> {m<..n} |
|
187 |
{)m..n(} -> {m<..<n} |
|
188 |
||
189 |
The old syntax is still supported but will disappear in the future. |
|
190 |
For conversion use the following emacs search and replace patterns: |
|
191 |
||
192 |
{)\([^\.]*\)\.\. -> {\1<\.\.} |
|
193 |
\.\.\([^(}]*\)(} -> \.\.<\1} |
|
194 |
||
195 |
They are not perfect but work quite well. |
|
196 |
||
15073 | 197 |
* HOL: The syntax for 'setsum', summation over finite sets, has changed: |
198 |
||
199 |
The syntax for 'setsum (%x. e) A' used to be '\<Sum>x:A. e' |
|
200 |
and is now either 'SUM x:A. e' or '\<Sum>x\<in>A. e'. |
|
201 |
||
202 |
There is new syntax for summation over finite sets: |
|
15046 | 203 |
|
15050 | 204 |
'\<Sum>x | P. e' is the same as 'setsum (%x. e) {x. P}' |
205 |
'\<Sum>x=a..b. e' is the same as 'setsum (%x. e) {a..b}' |
|
206 |
'\<Sum>x=a..<b. e' is the same as 'setsum (%x. e) {a..<b}' |
|
207 |
'\<Sum>x<k. e' is the same as 'setsum (%x. e) {..<k}' |
|
15046 | 208 |
|
209 |
Function 'Summation' over nat is gone, its syntax '\<Sum>i<k. e' |
|
210 |
now translates into 'setsum' as above. |
|
211 |
||
15089
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
212 |
* HOL/Simplifier: Is now set up to reason about transitivity chains |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
213 |
involving "trancl" (r^+) and "rtrancl" (r^*) by setting up tactics |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
214 |
provided by Provers/trancl.ML as additional solvers. |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
215 |
INCOMPATIBILITY: old proofs break occasionally as simplification may |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
216 |
now solve more goals than previously. |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
217 |
|
14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
218 |
|
14682
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset
|
219 |
*** HOLCF *** |
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset
|
220 |
|
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset
|
221 |
* HOLCF: discontinued special version of 'constdefs' (which used to |
14731 | 222 |
support continuous functions) in favor of the general Pure one with |
223 |
full type-inference. |
|
14682
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset
|
224 |
|
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset
|
225 |
|
14885 | 226 |
*** ZF *** |
227 |
||
15089
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
228 |
* ZF/ex/{Group,Ring}: examples in abstract algebra, including the |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
229 |
First Isomorphism Theorem (on quotienting by the kernel of a |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
230 |
homomorphism). |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
231 |
|
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
232 |
* ZF/Simplifier: install second copy of type solver that actually |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
233 |
makes use of TC rules declared to Isar proof contexts (or locales); |
430264838064
ZF/Simplifier: second copy of context type solver;
wenzelm
parents:
15076
diff
changeset
|
234 |
the old version is still required for ML proof scripts. |
14885 | 235 |
|
236 |
||
14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset
|
237 |
|
14606 | 238 |
New in Isabelle2004 (April 2004) |
239 |
-------------------------------- |
|
13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset
|
240 |
|
14171
0cab06e3bbd0
Extended the notion of letter and digit, such that now one may use greek,
skalberg
parents:
14136
diff
changeset
|
241 |
*** General *** |
0cab06e3bbd0
Extended the notion of letter and digit, such that now one may use greek,
skalberg
parents:
14136
diff
changeset
|
242 |
|
14398
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
243 |
* Provers/order.ML: new efficient reasoner for partial and linear orders. |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
244 |
Replaces linorder.ML. |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
245 |
|
14606 | 246 |
* Pure: Greek letters (except small lambda, \<lambda>), as well as Gothic |
247 |
(\<aa>...\<zz>\<AA>...\<ZZ>), calligraphic (\<A>...\<Z>), and Euler |
|
14173 | 248 |
(\<a>...\<z>), are now considered normal letters, and can therefore |
249 |
be used anywhere where an ASCII letter (a...zA...Z) has until |
|
250 |
now. COMPATIBILITY: This obviously changes the parsing of some |
|
251 |
terms, especially where a symbol has been used as a binder, say |
|
252 |
'\<Pi>x. ...', which is now a type error since \<Pi>x will be parsed |
|
253 |
as an identifier. Fix it by inserting a space around former |
|
254 |
symbols. Call 'isatool fixgreek' to try to fix parsing errors in |
|
255 |
existing theory and ML files. |
|
14171
0cab06e3bbd0
Extended the notion of letter and digit, such that now one may use greek,
skalberg
parents:
14136
diff
changeset
|
256 |
|
14237 | 257 |
* Pure: Macintosh and Windows line-breaks are now allowed in theory files. |
258 |
||
14731 | 259 |
* Pure: single letter sub/superscripts (\<^isub> and \<^isup>) are now |
260 |
allowed in identifiers. Similar to Greek letters \<^isub> is now considered |
|
261 |
a normal (but invisible) letter. For multiple letter subscripts repeat |
|
262 |
\<^isub> like this: x\<^isub>1\<^isub>2. |
|
14233 | 263 |
|
14333 | 264 |
* Pure: There are now sub-/superscripts that can span more than one |
265 |
character. Text between \<^bsub> and \<^esub> is set in subscript in |
|
14606 | 266 |
ProofGeneral and LaTeX, text between \<^bsup> and \<^esup> in |
267 |
superscript. The new control characters are not identifier parts. |
|
14333 | 268 |
|
14561
c53396af770e
* raw control symbols are of the form \<^raw:...> now.
schirmer
parents:
14556
diff
changeset
|
269 |
* Pure: Control-symbols of the form \<^raw:...> will literally print the |
14606 | 270 |
content of "..." to the latex file instead of \isacntrl... . The "..." |
271 |
may consist of any printable characters excluding the end bracket >. |
|
14361
ad2f5da643b4
* Support for raw latex output in control symbols: \<^raw...>
schirmer
parents:
14333
diff
changeset
|
272 |
|
14237 | 273 |
* Pure: Using new Isar command "finalconsts" (or the ML functions |
274 |
Theory.add_finals or Theory.add_finals_i) it is now possible to |
|
275 |
declare constants "final", which prevents their being given a definition |
|
276 |
later. It is useful for constants whose behaviour is fixed axiomatically |
|
14224 | 277 |
rather than definitionally, such as the meta-logic connectives. |
278 |
||
14606 | 279 |
* Pure: 'instance' now handles general arities with general sorts |
280 |
(i.e. intersections of classes), |
|
14503
255ad604e08e
Added check that Theory.ML does not occur in the files section of the theory
skalberg
parents:
14480
diff
changeset
|
281 |
|
14547 | 282 |
* Presentation: generated HTML now uses a CSS style sheet to make layout |
14731 | 283 |
(somewhat) independent of content. It is copied from lib/html/isabelle.css. |
14547 | 284 |
It can be changed to alter the colors/layout of generated pages. |
285 |
||
14556
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset
|
286 |
|
14175
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
287 |
*** Isar *** |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
288 |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset
|
289 |
* Tactic emulation methods rule_tac, erule_tac, drule_tac, frule_tac, |
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset
|
290 |
cut_tac, subgoal_tac and thin_tac: |
14175
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
291 |
- Now understand static (Isar) contexts. As a consequence, users of Isar |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
292 |
locales are no longer forced to write Isar proof scripts. |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
293 |
For details see Isar Reference Manual, paragraph 4.3.2: Further tactic |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
294 |
emulations. |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
295 |
- INCOMPATIBILITY: names of variables to be instantiated may no |
14211
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
296 |
longer be enclosed in quotes. Instead, precede variable name with `?'. |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
297 |
This is consistent with the instantiation attribute "where". |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
298 |
|
14257
a7ef3f7588c5
Type inference bug in Isar attributes "where" and "of" fixed.
ballarin
parents:
14255
diff
changeset
|
299 |
* Attributes "where" and "of": |
14285
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset
|
300 |
- Now take type variables of instantiated theorem into account when reading |
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset
|
301 |
the instantiation string. This fixes a bug that caused instantiated |
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset
|
302 |
theorems to have too special types in some circumstances. |
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset
|
303 |
- "where" permits explicit instantiations of type variables. |
14257
a7ef3f7588c5
Type inference bug in Isar attributes "where" and "of" fixed.
ballarin
parents:
14255
diff
changeset
|
304 |
|
14556
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset
|
305 |
* Calculation commands "moreover" and "also" no longer interfere with |
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset
|
306 |
current facts ("this"), admitting arbitrary combinations with "then" |
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset
|
307 |
and derived forms. |
14283 | 308 |
|
14211
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
309 |
* Locales: |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
310 |
- Goal statements involving the context element "includes" no longer |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
311 |
generate theorems with internal delta predicates (those ending on |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
312 |
"_axioms") in the premise. |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
313 |
Resolve particular premise with <locale>.intro to obtain old form. |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
314 |
- Fixed bug in type inference ("unify_frozen") that prevented mix of target |
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset
|
315 |
specification and "includes" elements in goal statement. |
14254
342634f38451
Isar/Locales: <loc>.intro and <loc>.axioms no longer intro? and elim? by
ballarin
parents:
14243
diff
changeset
|
316 |
- Rule sets <locale>.intro and <locale>.axioms no longer declared as |
342634f38451
Isar/Locales: <loc>.intro and <loc>.axioms no longer intro? and elim? by
ballarin
parents:
14243
diff
changeset
|
317 |
[intro?] and [elim?] (respectively) by default. |
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset
|
318 |
- Experimental command for instantiation of locales in proof contexts: |
14551 | 319 |
instantiate <label>[<attrs>]: <loc> |
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset
|
320 |
Instantiates locale <loc> and adds all its theorems to the current context |
14551 | 321 |
taking into account their attributes. Label and attrs are optional |
322 |
modifiers, like in theorem declarations. If present, names of |
|
323 |
instantiated theorems are qualified with <label>, and the attributes |
|
324 |
<attrs> are applied after any attributes these theorems might have already. |
|
325 |
If the locale has assumptions, a chained fact of the form |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset
|
326 |
"<loc> t1 ... tn" is expected from which instantiations of the parameters |
14551 | 327 |
are derived. The command does not support old-style locales declared |
328 |
with "locale (open)". |
|
329 |
A few (very simple) examples can be found in FOL/ex/LocaleInst.thy. |
|
14175
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
330 |
|
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
331 |
* HOL: Tactic emulation methods induct_tac and case_tac understand static |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
332 |
(Isar) contexts. |
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset
|
333 |
|
14556
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset
|
334 |
|
14136 | 335 |
*** HOL *** |
336 |
||
14624 | 337 |
* Proof import: new image HOL4 contains the imported library from |
338 |
the HOL4 system with about 2500 theorems. It is imported by |
|
339 |
replaying proof terms produced by HOL4 in Isabelle. The HOL4 image |
|
340 |
can be used like any other Isabelle image. See |
|
341 |
HOL/Import/HOL/README for more information. |
|
342 |
||
14398
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
343 |
* Simplifier: |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
344 |
- Much improved handling of linear and partial orders. |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
345 |
Reasoners for linear and partial orders are set up for type classes |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
346 |
"linorder" and "order" respectively, and are added to the default simpset |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
347 |
as solvers. This means that the simplifier can build transitivity chains |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
348 |
to solve goals from the assumptions. |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
349 |
- INCOMPATIBILITY: old proofs break occasionally. Typically, applications |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
350 |
of blast or auto after simplification become unnecessary because the goal |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
351 |
is solved by simplification already. |
c5c47703f763
Efficient, graph-based reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset
|
352 |
|
14731 | 353 |
* Numerics: new theory Ring_and_Field contains over 250 basic numerical laws, |
14389 | 354 |
all proved in axiomatic type classes for semirings, rings and fields. |
355 |
||
356 |
* Numerics: |
|
357 |
- Numeric types (nat, int, and in HOL-Complex rat, real, complex, etc.) are |
|
14731 | 358 |
now formalized using the Ring_and_Field theory mentioned above. |
14389 | 359 |
- INCOMPATIBILITY: simplification and arithmetic behaves somewhat differently |
360 |
than before, because now they are set up once in a generic manner. |
|
14731 | 361 |
- INCOMPATIBILITY: many type-specific arithmetic laws have gone. |
14480 | 362 |
Look for the general versions in Ring_and_Field (and Power if they concern |
363 |
exponentiation). |
|
14389 | 364 |
|
14401 | 365 |
* Type "rat" of the rational numbers is now available in HOL-Complex. |
14389 | 366 |
|
14255 | 367 |
* Records: |
368 |
- Record types are now by default printed with their type abbreviation |
|
369 |
instead of the list of all field types. This can be configured via |
|
370 |
the reference "print_record_type_abbr". |
|
14731 | 371 |
- Simproc "record_upd_simproc" for simplification of multiple updates added |
14255 | 372 |
(not enabled by default). |
14427 | 373 |
- Simproc "record_ex_sel_eq_simproc" to simplify EX x. sel r = x resp. |
374 |
EX x. x = sel r to True (not enabled by default). |
|
14255 | 375 |
- Tactic "record_split_simp_tac" to split and simplify records added. |
14731 | 376 |
|
14136 | 377 |
* 'specification' command added, allowing for definition by |
14224 | 378 |
specification. There is also an 'ax_specification' command that |
379 |
introduces the new constants axiomatically. |
|
14136 | 380 |
|
14375 | 381 |
* arith(_tac) is now able to generate counterexamples for reals as well. |
382 |
||
14399
dc677b35e54f
New lemmas about inversion of restricted functions.
ballarin
parents:
14398
diff
changeset
|
383 |
* HOL-Algebra: new locale "ring" for non-commutative rings. |
dc677b35e54f
New lemmas about inversion of restricted functions.
ballarin
parents:
14398
diff
changeset
|
384 |
|
14243 | 385 |
* HOL-ex: InductiveInvariant_examples illustrates advanced recursive function |
14610 | 386 |
definitions, thanks to Sava Krsti\'{c} and John Matthews. |
387 |
||
14731 | 388 |
* HOL-Matrix: a first theory for matrices in HOL with an application of |
14610 | 389 |
matrix theory to linear programming. |
14136 | 390 |
|
14380 | 391 |
* Unions and Intersections: |
15119 | 392 |
The latex output syntax of UN and INT has been changed |
393 |
from "\Union x \in A. B" to "\Union_{x \in A} B" |
|
394 |
i.e. the index formulae has become a subscript. |
|
395 |
Similarly for "\Union x. B", and for \Inter instead of \Union. |
|
14380 | 396 |
|
14418 | 397 |
* Unions and Intersections over Intervals: |
14731 | 398 |
There is new short syntax "UN i<=n. A" for "UN i:{0..n}. A". There is |
399 |
also an x-symbol version with subscripts "\<Union>\<^bsub>i <= n\<^esub>. A" |
|
14418 | 400 |
like in normal math, and corresponding versions for < and for intersection. |
401 |
||
14401 | 402 |
* ML: the legacy theory structures Int and List have been removed. They had |
403 |
conflicted with ML Basis Library structures having the same names. |
|
14380 | 404 |
|
14464 | 405 |
* 'refute' command added to search for (finite) countermodels. Only works |
406 |
for a fragment of HOL. The installation of an external SAT solver is |
|
407 |
highly recommended. See "HOL/Refute.thy" for details. |
|
408 |
||
14602 | 409 |
* 'quickcheck' command: Allows to find counterexamples by evaluating |
410 |
formulae under an assignment of free variables to random values. |
|
411 |
In contrast to 'refute', it can deal with inductive datatypes, |
|
412 |
but cannot handle quantifiers. See "HOL/ex/Quickcheck_Examples.thy" |
|
413 |
for examples. |
|
14464 | 414 |
|
14606 | 415 |
|
14536 | 416 |
*** HOLCF *** |
417 |
||
418 |
* Streams now come with concatenation and are part of the HOLCF image |
|
419 |
||
14572 | 420 |
|
421 |
||
14136 | 422 |
New in Isabelle2003 (May 2003) |
14606 | 423 |
------------------------------ |
14136 | 424 |
|
13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset
|
425 |
*** General *** |
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset
|
426 |
|
13618 | 427 |
* Provers/simplifier: |
428 |
||
13781 | 429 |
- Completely reimplemented method simp (ML: Asm_full_simp_tac): |
13618 | 430 |
Assumptions are now subject to complete mutual simplification, |
431 |
not just from left to right. The simplifier now preserves |
|
432 |
the order of assumptions. |
|
433 |
||
434 |
Potential INCOMPATIBILITY: |
|
435 |
||
13781 | 436 |
-- simp sometimes diverges where the old version did |
437 |
not, e.g. invoking simp on the goal |
|
13618 | 438 |
|
439 |
[| P (f x); y = x; f x = f y |] ==> Q |
|
440 |
||
13781 | 441 |
now gives rise to the infinite reduction sequence |
442 |
||
443 |
P(f x) --(f x = f y)--> P(f y) --(y = x)--> P(f x) --(f x = f y)--> ... |
|
444 |
||
445 |
Using "simp (asm_lr)" (ML: Asm_lr_simp_tac) instead often solves this |
|
446 |
kind of problem. |
|
447 |
||
448 |
-- Tactics combining classical reasoner and simplification (such as auto) |
|
449 |
are also affected by this change, because many of them rely on |
|
450 |
simp. They may sometimes diverge as well or yield a different numbers |
|
451 |
of subgoals. Try to use e.g. force, fastsimp, or safe instead of auto |
|
452 |
in case of problems. Sometimes subsequent calls to the classical |
|
453 |
reasoner will fail because a preceeding call to the simplifier too |
|
454 |
eagerly simplified the goal, e.g. deleted redundant premises. |
|
13618 | 455 |
|
456 |
- The simplifier trace now shows the names of the applied rewrite rules |
|
457 |
||
13829 | 458 |
- You can limit the number of recursive invocations of the simplifier |
459 |
during conditional rewriting (where the simplifie tries to solve the |
|
460 |
conditions before applying the rewrite rule): |
|
461 |
ML "simp_depth_limit := n" |
|
462 |
where n is an integer. Thus you can force termination where previously |
|
463 |
the simplifier would diverge. |
|
464 |
||
13835
12b2ffbe543a
Change to meta simplifier: congruence rules may now have frees as head of term.
ballarin
parents:
13829
diff
changeset
|
465 |
- Accepts free variables as head terms in congruence rules. Useful in Isar. |
13829 | 466 |
|
13938 | 467 |
- No longer aborts on failed congruence proof. Instead, the |
468 |
congruence is ignored. |
|
469 |
||
14008 | 470 |
* Pure: New generic framework for extracting programs from constructive |
471 |
proofs. See HOL/Extraction.thy for an example instantiation, as well |
|
472 |
as HOL/Extraction for some case studies. |
|
473 |
||
13868 | 474 |
* Pure: The main goal of the proof state is no longer shown by default, only |
475 |
the subgoals. This behaviour is controlled by a new flag. |
|
13835
12b2ffbe543a
Change to meta simplifier: congruence rules may now have frees as head of term.
ballarin
parents:
13829
diff
changeset
|
476 |
PG menu: Isabelle/Isar -> Settings -> Show Main Goal |
13815 | 477 |
(ML: Proof.show_main_goal). |
478 |
||
479 |
* Pure: You can find all matching introduction rules for subgoal 1, i.e. all |
|
480 |
rules whose conclusion matches subgoal 1: |
|
481 |
PG menu: Isabelle/Isar -> Show me -> matching rules |
|
482 |
The rules are ordered by how closely they match the subgoal. |
|
483 |
In particular, rules that solve a subgoal outright are displayed first |
|
484 |
(or rather last, the way they are printed). |
|
485 |
(ML: ProofGeneral.print_intros()) |
|
486 |
||
487 |
* Pure: New flag trace_unify_fail causes unification to print |
|
13781 | 488 |
diagnostic information (PG: in trace buffer) when it fails. This is |
489 |
useful for figuring out why single step proofs like rule, erule or |
|
490 |
assumption failed. |
|
491 |
||
13815 | 492 |
* Pure: Locale specifications now produce predicate definitions |
13410
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
493 |
according to the body of text (covering assumptions modulo local |
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
494 |
definitions); predicate "loc_axioms" covers newly introduced text, |
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
495 |
while "loc" is cumulative wrt. all included locale expressions; the |
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
496 |
latter view is presented only on export into the global theory |
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
497 |
context; potential INCOMPATIBILITY, use "(open)" option to fall back |
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
498 |
on the old view without predicates; |
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset
|
499 |
|
13459
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset
|
500 |
* Pure: predefined locales "var" and "struct" are useful for sharing |
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset
|
501 |
parameters (as in CASL, for example); just specify something like |
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset
|
502 |
``var x + var y + struct M'' as import; |
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset
|
503 |
|
13463
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
504 |
* Pure: improved thms_containing: proper indexing of facts instead of |
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
505 |
raw theorems; check validity of results wrt. current name space; |
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
506 |
include local facts of proof configuration (also covers active |
13541 | 507 |
locales), cover fixed variables in index; may use "_" in term |
508 |
specification; an optional limit for the number of printed facts may |
|
509 |
be given (the default is 40); |
|
510 |
||
511 |
* Pure: disallow duplicate fact bindings within new-style theory files |
|
512 |
(batch-mode only); |
|
13540
aede0306e214
* Pure: disallow duplicate fact bindings within new-style theory files;
wenzelm
parents:
13522
diff
changeset
|
513 |
|
13463
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
514 |
* Provers: improved induct method: assumptions introduced by case |
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
515 |
"foo" are split into "foo.hyps" (from the rule) and "foo.prems" (from |
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
516 |
the goal statement); "foo" still refers to all facts collectively; |
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset
|
517 |
|
13550 | 518 |
* Provers: the function blast.overloaded has been removed: all constants |
519 |
are regarded as potentially overloaded, which improves robustness in exchange |
|
520 |
for slight decrease in efficiency; |
|
521 |
||
13781 | 522 |
* Provers/linorder: New generic prover for transitivity reasoning over |
523 |
linear orders. Note: this prover is not efficient! |
|
524 |
||
13522
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset
|
525 |
* Isar: preview of problems to finish 'show' now produce an error |
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset
|
526 |
rather than just a warning (in interactive mode); |
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset
|
527 |
|
13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset
|
528 |
|
13158 | 529 |
*** HOL *** |
530 |
||
13899 | 531 |
* arith(_tac) |
532 |
||
533 |
- Produces a counter example if it cannot prove a goal. |
|
534 |
Note that the counter example may be spurious if the goal is not a formula |
|
535 |
of quantifier-free linear arithmetic. |
|
536 |
In ProofGeneral the counter example appears in the trace buffer. |
|
537 |
||
538 |
- Knows about div k and mod k where k is a numeral of type nat or int. |
|
539 |
||
540 |
- Calls full Presburger arithmetic (by Amine Chaieb) if quantifier-free |
|
541 |
linear arithmetic fails. This takes account of quantifiers and divisibility. |
|
14731 | 542 |
Presburger arithmetic can also be called explicitly via presburger(_tac). |
13899 | 543 |
|
544 |
* simp's arithmetic capabilities have been enhanced a bit: it now |
|
545 |
takes ~= in premises into account (by performing a case split); |
|
546 |
||
547 |
* simp reduces "m*(n div m) + n mod m" to n, even if the two summands |
|
548 |
are distributed over a sum of terms; |
|
549 |
||
13735 | 550 |
* New tactic "trans_tac" and method "trans" instantiate |
551 |
Provers/linorder.ML for axclasses "order" and "linorder" (predicates |
|
14731 | 552 |
"<=", "<" and "="). |
553 |
||
554 |
* function INCOMPATIBILITIES: Pi-sets have been redefined and moved from main |
|
13587 | 555 |
HOL to Library/FuncSet; constant "Fun.op o" is now called "Fun.comp"; |
556 |
||
13443 | 557 |
* 'typedef' command has new option "open" to suppress the set |
558 |
definition; |
|
559 |
||
13522
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset
|
560 |
* functions Min and Max on finite sets have been introduced (theory |
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset
|
561 |
Finite_Set); |
13492 | 562 |
|
13443 | 563 |
* attribute [symmetric] now works for relations as well; it turns |
564 |
(x,y) : R^-1 into (y,x) : R, and vice versa; |
|
565 |
||
13613 | 566 |
* induct over a !!-quantified statement (say !!x1..xn): |
567 |
each "case" automatically performs "fix x1 .. xn" with exactly those names. |
|
568 |
||
13899 | 569 |
* Map: `empty' is no longer a constant but a syntactic abbreviation for |
570 |
%x. None. Warning: empty_def now refers to the previously hidden definition |
|
571 |
of the empty set. |
|
572 |
||
14018 | 573 |
* Algebra: formalization of classical algebra. Intended as base for |
574 |
any algebraic development in Isabelle. Currently covers group theory |
|
575 |
(up to Sylow's theorem) and ring theory (Universal Property of |
|
576 |
Univariate Polynomials). Contributions welcome; |
|
13960 | 577 |
|
578 |
* GroupTheory: deleted, since its material has been moved to Algebra; |
|
579 |
||
14731 | 580 |
* Complex: new directory of the complex numbers with numeric constants, |
581 |
nonstandard complex numbers, and some complex analysis, standard and |
|
13966
2160abf7cfe7
removal of the image HOL-Real and merging of HOL-Real-ex with HOL-Complex-ex
paulson
parents:
13960
diff
changeset
|
582 |
nonstandard (Jacques Fleuriot); |
2160abf7cfe7
removal of the image HOL-Real and merging of HOL-Real-ex with HOL-Complex-ex
paulson
parents:
13960
diff
changeset
|
583 |
|
2160abf7cfe7
removal of the image HOL-Real and merging of HOL-Real-ex with HOL-Complex-ex
paulson
parents:
13960
diff
changeset
|
584 |
* HOL-Complex: new image for analysis, replacing HOL-Real and HOL-Hyperreal; |
2160abf7cfe7
removal of the image HOL-Real and merging of HOL-Real-ex with HOL-Complex-ex
paulson
parents:
13960
diff
changeset
|
585 |
|
14731 | 586 |
* Hyperreal: introduced Gauge integration and hyperreal logarithms (Jacques |
13966
2160abf7cfe7
removal of the image HOL-Real and merging of HOL-Real-ex with HOL-Complex-ex
paulson
parents:
13960
diff
changeset
|
587 |
Fleuriot); |
13960 | 588 |
|
13549 | 589 |
* Real/HahnBanach: updated and adapted to locales; |
590 |
||
13995 | 591 |
* NumberTheory: added Gauss's law of quadratic reciprocity (by Avigad, |
592 |
Gray and Kramer); |
|
13872 | 593 |
|
594 |
* UNITY: added the Meier-Sanders theory of progress sets; |
|
595 |
||
14011 | 596 |
* MicroJava: bytecode verifier and lightweight bytecode verifier |
597 |
as abstract algorithms, instantiated to the JVM; |
|
598 |
||
14010 | 599 |
* Bali: Java source language formalization. Type system, operational |
600 |
semantics, axiomatic semantics. Supported language features: |
|
601 |
classes, interfaces, objects,virtual methods, static methods, |
|
602 |
static/instance fields, arrays, access modifiers, definite |
|
603 |
assignment, exceptions. |
|
13549 | 604 |
|
14011 | 605 |
|
13549 | 606 |
*** ZF *** |
607 |
||
608 |
* ZF/Constructible: consistency proof for AC (Gödel's constructible |
|
609 |
universe, etc.); |
|
610 |
||
13872 | 611 |
* Main ZF: virtually all theories converted to new-style format; |
13518 | 612 |
|
13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset
|
613 |
|
13478 | 614 |
*** ML *** |
615 |
||
616 |
* Pure: Tactic.prove provides sane interface for internal proofs; |
|
617 |
omits the infamous "standard" operation, so this is more appropriate |
|
618 |
than prove_goalw_cterm in many situations (e.g. in simprocs); |
|
619 |
||
620 |
* Pure: improved error reporting of simprocs; |
|
621 |
||
622 |
* Provers: Simplifier.simproc(_i) provides sane interface for setting |
|
623 |
up simprocs; |
|
624 |
||
625 |
||
13953 | 626 |
*** Document preparation *** |
627 |
||
628 |
* uses \par instead of \\ for line breaks in theory text. This may |
|
629 |
shift some page breaks in large documents. To get the old behaviour |
|
630 |
use \renewcommand{\isanewline}{\mbox{}\\\mbox{}} in root.tex. |
|
631 |
||
14731 | 632 |
* minimized dependencies of isabelle.sty and isabellesym.sty on |
13953 | 633 |
other packages |
634 |
||
635 |
* \<euro> now needs package babel/greek instead of marvosym (which |
|
636 |
broke \Rightarrow) |
|
637 |
||
14731 | 638 |
* normal size for \<zero>...\<nine> (uses \mathbf instead of |
13954 | 639 |
textcomp package) |
13953 | 640 |
|
13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset
|
641 |
|
14572 | 642 |
|
12984 | 643 |
New in Isabelle2002 (March 2002) |
644 |
-------------------------------- |
|
11474 | 645 |
|
11572 | 646 |
*** Document preparation *** |
647 |
||
11842
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
648 |
* greatly simplified document preparation setup, including more |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
649 |
graceful interpretation of isatool usedir -i/-d/-D options, and more |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
650 |
instructive isatool mkdir; users should basically be able to get |
12899
7d5b690253ee
"isatool usedir -D output HOL Test && isatool document Test/output";
wenzelm
parents:
12889
diff
changeset
|
651 |
started with "isatool mkdir HOL Test && isatool make"; alternatively, |
7d5b690253ee
"isatool usedir -D output HOL Test && isatool document Test/output";
wenzelm
parents:
12889
diff
changeset
|
652 |
users may run a separate document processing stage manually like this: |
7d5b690253ee
"isatool usedir -D output HOL Test && isatool document Test/output";
wenzelm
parents:
12889
diff
changeset
|
653 |
"isatool usedir -D output HOL Test && isatool document Test/output"; |
11842
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
654 |
|
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
655 |
* theory dependency graph may now be incorporated into documents; |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
656 |
isatool usedir -g true will produce session_graph.eps/.pdf for use |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
657 |
with \includegraphics of LaTeX; |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
658 |
|
11864
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset
|
659 |
* proper spacing of consecutive markup elements, especially text |
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset
|
660 |
blocks after section headings; |
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset
|
661 |
|
11572 | 662 |
* support bold style (for single symbols only), input syntax is like |
663 |
this: "\<^bold>\<alpha>" or "\<^bold>A"; |
|
664 |
||
11814 | 665 |
* \<bullet> is now output as bold \cdot by default, which looks much |
11572 | 666 |
better in printed text; |
667 |
||
11712
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset
|
668 |
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>; |
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset
|
669 |
note that these symbols are currently unavailable in Proof General / |
12769 | 670 |
X-Symbol; new symbols \<zero>, \<one>, ..., \<nine>, and \<euro>; |
12690 | 671 |
|
672 |
* isatool latex no longer depends on changed TEXINPUTS, instead |
|
673 |
isatool document copies the Isabelle style files to the target |
|
674 |
location; |
|
11712
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset
|
675 |
|
11572 | 676 |
|
11633 | 677 |
*** Isar *** |
678 |
||
12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
679 |
* Pure/Provers: improved proof by cases and induction; |
12280 | 680 |
- 'case' command admits impromptu naming of parameters (such as |
681 |
"case (Suc n)"); |
|
682 |
- 'induct' method divinates rule instantiation from the inductive |
|
683 |
claim; no longer requires excessive ?P bindings for proper |
|
684 |
instantiation of cases; |
|
685 |
- 'induct' method properly enumerates all possibilities of set/type |
|
686 |
rules; as a consequence facts may be also passed through *type* |
|
687 |
rules without further ado; |
|
688 |
- 'induct' method now derives symbolic cases from the *rulified* |
|
689 |
rule (before it used to rulify cases stemming from the internal |
|
690 |
atomized version); this means that the context of a non-atomic |
|
691 |
statement becomes is included in the hypothesis, avoiding the |
|
692 |
slightly cumbersome show "PROP ?case" form; |
|
693 |
- 'induct' may now use elim-style induction rules without chaining |
|
694 |
facts, using ``missing'' premises from the goal state; this allows |
|
695 |
rules stemming from inductive sets to be applied in unstructured |
|
696 |
scripts, while still benefitting from proper handling of non-atomic |
|
697 |
statements; NB: major inductive premises need to be put first, all |
|
698 |
the rest of the goal is passed through the induction; |
|
699 |
- 'induct' proper support for mutual induction involving non-atomic |
|
700 |
rule statements (uses the new concept of simultaneous goals, see |
|
701 |
below); |
|
12853 | 702 |
- append all possible rule selections, but only use the first |
703 |
success (no backtracking); |
|
11995
4a622f5fb164
- 'induct' may now use elim-style induction rules without chaining
wenzelm
parents:
11986
diff
changeset
|
704 |
- removed obsolete "(simplified)" and "(stripped)" options of methods; |
12754
044a59921f3b
Isar: undeclared rule case names default to numbers 1, 2, 3, ...;
wenzelm
parents:
12753
diff
changeset
|
705 |
- undeclared rule case names default to numbers 1, 2, 3, ...; |
044a59921f3b
Isar: undeclared rule case names default to numbers 1, 2, 3, ...;
wenzelm
parents:
12753
diff
changeset
|
706 |
- added 'print_induct_rules' (covered by help item in recent Proof |
044a59921f3b
Isar: undeclared rule case names default to numbers 1, 2, 3, ...;
wenzelm
parents:
12753
diff
changeset
|
707 |
General versions); |
11995
4a622f5fb164
- 'induct' may now use elim-style induction rules without chaining
wenzelm
parents:
11986
diff
changeset
|
708 |
- moved induct/cases attributes to Pure, methods to Provers; |
4a622f5fb164
- 'induct' may now use elim-style induction rules without chaining
wenzelm
parents:
11986
diff
changeset
|
709 |
- generic method setup instantiated for FOL and HOL; |
11986
26b95a6f3f79
- 'induct' method now derives symbolic cases from the *rulified* rule
wenzelm
parents:
11965
diff
changeset
|
710 |
|
12163
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
711 |
* Pure: support multiple simultaneous goal statements, for example |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
712 |
"have a: A and b: B" (same for 'theorem' etc.); being a pure |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
713 |
meta-level mechanism, this acts as if several individual goals had |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
714 |
been stated separately; in particular common proof methods need to be |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
715 |
repeated in order to cover all claims; note that a single elimination |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
716 |
step is *not* sufficient to establish the two conjunctions, so this |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
717 |
fails: |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
718 |
|
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
719 |
assume "A & B" then have A and B .. (*".." fails*) |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
720 |
|
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
721 |
better use "obtain" in situations as above; alternative refer to |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
722 |
multi-step methods like 'auto', 'simp_all', 'blast+' etc.; |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
723 |
|
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset
|
724 |
* Pure: proper integration with ``locales''; unlike the original |
12210
2f510d8d8291
* ZF: new-style theory commands '(co)inductive', '(co)datatype',
wenzelm
parents:
12177
diff
changeset
|
725 |
version by Florian Kammüller, Isar locales package high-level proof |
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset
|
726 |
contexts rather than raw logical ones (e.g. we admit to include |
12280 | 727 |
attributes everywhere); operations on locales include merge and |
12964 | 728 |
rename; support for implicit arguments (``structures''); simultaneous |
729 |
type-inference over imports and text; see also HOL/ex/Locales.thy for |
|
730 |
some examples; |
|
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset
|
731 |
|
12707
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
732 |
* Pure: the following commands have been ``localized'', supporting a |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
733 |
target locale specification "(in name)": 'lemma', 'theorem', |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
734 |
'corollary', 'lemmas', 'theorems', 'declare'; the results will be |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
735 |
stored both within the locale and at the theory level (exported and |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
736 |
qualified by the locale name); |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
737 |
|
12964 | 738 |
* Pure: theory goals may now be specified in ``long'' form, with |
739 |
ad-hoc contexts consisting of arbitrary locale elements. for example |
|
740 |
``lemma foo: fixes x assumes "A x" shows "B x"'' (local syntax and |
|
741 |
definitions may be given, too); the result is a meta-level rule with |
|
742 |
the context elements being discharged in the obvious way; |
|
743 |
||
744 |
* Pure: new proof command 'using' allows to augment currently used |
|
745 |
facts after a goal statement ('using' is syntactically analogous to |
|
746 |
'apply', but acts on the goal's facts only); this allows chained facts |
|
747 |
to be separated into parts given before and after a claim, as in |
|
748 |
``from a and b have C using d and e <proof>''; |
|
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset
|
749 |
|
11722 | 750 |
* Pure: renamed "antecedent" case to "rule_context"; |
751 |
||
12964 | 752 |
* Pure: new 'judgment' command records explicit information about the |
753 |
object-logic embedding (used by several tools internally); no longer |
|
754 |
use hard-wired "Trueprop"; |
|
755 |
||
11738 | 756 |
* Pure: added 'corollary' command; |
757 |
||
11722 | 758 |
* Pure: fixed 'token_translation' command; |
759 |
||
11899 | 760 |
* Pure: removed obsolete 'exported' attribute; |
761 |
||
11933 | 762 |
* Pure: dummy pattern "_" in is/let is now automatically lifted over |
763 |
bound variables: "ALL x. P x --> Q x" (is "ALL x. _ --> ?C x") |
|
11899 | 764 |
supersedes more cumbersome ... (is "ALL x. _ x --> ?C x"); |
765 |
||
11952
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
766 |
* Pure: method 'atomize' presents local goal premises as object-level |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
767 |
statements (atomic meta-level propositions); setup controlled via |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
768 |
rewrite rules declarations of 'atomize' attribute; example |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
769 |
application: 'induct' method with proper rule statements in improper |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
770 |
proof *scripts*; |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
771 |
|
12106
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
772 |
* Pure: emulation of instantiation tactics (rule_tac, cut_tac, etc.) |
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
773 |
now consider the syntactic context of assumptions, giving a better |
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
774 |
chance to get type-inference of the arguments right (this is |
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
775 |
especially important for locales); |
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
776 |
|
12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
777 |
* Pure: "sorry" no longer requires quick_and_dirty in interactive |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
778 |
mode; |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
779 |
|
12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
780 |
* Pure/obtain: the formal conclusion "thesis", being marked as |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
781 |
``internal'', may no longer be reference directly in the text; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
782 |
potential INCOMPATIBILITY, may need to use "?thesis" in rare |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
783 |
situations; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
784 |
|
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
785 |
* Pure: generic 'sym' attribute which declares a rule both as pure |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
786 |
'elim?' and for the 'symmetric' operation; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
787 |
|
12877
b9635eb8a448
* Isar/Pure: marginal comments ``--'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset
|
788 |
* Pure: marginal comments ``--'' may now occur just anywhere in the |
b9635eb8a448
* Isar/Pure: marginal comments ``--'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset
|
789 |
text; the fixed correlation with particular command syntax has been |
b9635eb8a448
* Isar/Pure: marginal comments ``--'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset
|
790 |
discontinued; |
b9635eb8a448
* Isar/Pure: marginal comments ``--'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset
|
791 |
|
13023
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
792 |
* Pure: new method 'rules' is particularly well-suited for proof |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
793 |
search in intuitionistic logic; a bit slower than 'blast' or 'fast', |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
794 |
but often produces more compact proof terms with less detours; |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
795 |
|
12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
796 |
* Pure/Provers/classical: simplified integration with pure rule |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
797 |
attributes and methods; the classical "intro?/elim?/dest?" |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
798 |
declarations coincide with the pure ones; the "rule" method no longer |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
799 |
includes classically swapped intros; "intro" and "elim" methods no |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
800 |
longer pick rules from the context; also got rid of ML declarations |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
801 |
AddXIs/AddXEs/AddXDs; all of this has some potential for |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
802 |
INCOMPATIBILITY; |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
803 |
|
12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
804 |
* Provers/classical: attribute 'swapped' produces classical inversions |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
805 |
of introduction rules; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
806 |
|
12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
807 |
* Provers/simplifier: 'simplified' attribute may refer to explicit |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
808 |
rules instead of full simplifier context; 'iff' attribute handles |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
809 |
conditional rules; |
11936
fef099613354
* Provers: 'simplified' attribute may refer to explicit rules instead
wenzelm
parents:
11933
diff
changeset
|
810 |
|
11745
06cd8c3b5487
* HOL: 'typedef' now allows alternative names for Rep/Abs morphisms;
wenzelm
parents:
11738
diff
changeset
|
811 |
* HOL: 'typedef' now allows alternative names for Rep/Abs morphisms; |
06cd8c3b5487
* HOL: 'typedef' now allows alternative names for Rep/Abs morphisms;
wenzelm
parents:
11738
diff
changeset
|
812 |
|
11690 | 813 |
* HOL: 'recdef' now fails on unfinished automated proofs, use |
11633 | 814 |
"(permissive)" option to recover old behavior; |
815 |
||
11933 | 816 |
* HOL: 'inductive' no longer features separate (collective) attributes |
817 |
for 'intros' (was found too confusing); |
|
818 |
||
12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
819 |
* HOL: properly declared induction rules less_induct and |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
820 |
wf_induct_rule; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
821 |
|
11788
60054fee3c16
canonical 'cases'/'induct' rules for n-tuples (n=3..7)
kleing
parents:
11745
diff
changeset
|
822 |
|
11474 | 823 |
*** HOL *** |
824 |
||
11702 | 825 |
* HOL: moved over to sane numeral syntax; the new policy is as |
826 |
follows: |
|
827 |
||
828 |
- 0 and 1 are polymorphic constants, which are defined on any |
|
829 |
numeric type (nat, int, real etc.); |
|
830 |
||
831 |
- 2, 3, 4, ... and -1, -2, -3, ... are polymorphic numerals, based |
|
832 |
binary representation internally; |
|
833 |
||
834 |
- type nat has special constructor Suc, and generally prefers Suc 0 |
|
835 |
over 1::nat and Suc (Suc 0) over 2::nat; |
|
836 |
||
12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
837 |
This change may cause significant problems of INCOMPATIBILITY; here |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
838 |
are some hints on converting existing sources: |
11702 | 839 |
|
840 |
- due to the new "num" token, "-0" and "-1" etc. are now atomic |
|
841 |
entities, so expressions involving "-" (unary or binary minus) need |
|
842 |
to be spaced properly; |
|
843 |
||
844 |
- existing occurrences of "1" may need to be constraint "1::nat" or |
|
845 |
even replaced by Suc 0; similar for old "2"; |
|
846 |
||
847 |
- replace "#nnn" by "nnn", and "#-nnn" by "-nnn"; |
|
848 |
||
849 |
- remove all special provisions on numerals in proofs; |
|
850 |
||
13042 | 851 |
* HOL: simp rules nat_number expand numerals on nat to Suc/0 |
12837 | 852 |
representation (depends on bin_arith_simps in the default context); |
853 |
||
12736 | 854 |
* HOL: symbolic syntax for x^2 (numeral 2); |
855 |
||
12335
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
856 |
* HOL: the class of all HOL types is now called "type" rather than |
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
857 |
"term"; INCOMPATIBILITY, need to adapt references to this type class |
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
858 |
in axclass/classes, instance/arities, and (usually rare) occurrences |
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
859 |
in typings (of consts etc.); internally the class is called |
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
860 |
"HOL.type", ML programs should refer to HOLogic.typeS; |
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
861 |
|
12280 | 862 |
* HOL/record package improvements: |
863 |
- new derived operations "fields" to build a partial record section, |
|
864 |
"extend" to promote a fixed record to a record scheme, and |
|
865 |
"truncate" for the reverse; cf. theorems "xxx.defs", which are *not* |
|
866 |
declared as simp by default; |
|
12587
3f3d2ffb5df5
HOL/record: shared operations ("more", "fields", etc.) now need to be
wenzelm
parents:
12564
diff
changeset
|
867 |
- shared operations ("more", "fields", etc.) now need to be always |
3f3d2ffb5df5
HOL/record: shared operations ("more", "fields", etc.) now need to be
wenzelm
parents:
12564
diff
changeset
|
868 |
qualified) --- potential INCOMPATIBILITY; |
12280 | 869 |
- removed "make_scheme" operations (use "make" with "extend") -- |
870 |
INCOMPATIBILITY; |
|
11937 | 871 |
- removed "more" class (simply use "term") -- INCOMPATIBILITY; |
12253 | 872 |
- provides cases/induct rules for use with corresponding Isar |
873 |
methods (for concrete records, record schemes, concrete more |
|
12280 | 874 |
parts, and schematic more parts -- in that order); |
11930 | 875 |
- internal definitions directly based on a light-weight abstract |
876 |
theory of product types over typedef rather than datatype; |
|
877 |
||
13023
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
878 |
* HOL: generic code generator for generating executable ML code from |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
879 |
specifications; specific support for HOL constructs such as inductive |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
880 |
datatypes and sets, as well as recursive functions; can be invoked |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
881 |
via 'generate_code' theory section; |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
882 |
|
11933 | 883 |
* HOL: canonical cases/induct rules for n-tuples (n = 3..7); |
884 |
||
13824 | 885 |
* HOL: consolidated and renamed several theories. In particular: |
14731 | 886 |
Ord.thy has been absorbed into HOL.thy |
887 |
String.thy has been absorbed into List.thy |
|
888 |
||
11802
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset
|
889 |
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A" |
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset
|
890 |
(beware of argument permutation!); |
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset
|
891 |
|
11657 | 892 |
* HOL: linorder_less_split superseded by linorder_cases; |
893 |
||
12917 | 894 |
* HOL/List: "nodups" renamed to "distinct"; |
12889 | 895 |
|
11633 | 896 |
* HOL: added "The" definite description operator; move Hilbert's "Eps" |
13824 | 897 |
to peripheral theory "Hilbert_Choice"; some INCOMPATIBILITIES: |
898 |
- Ex_def has changed, now need to use some_eq_ex |
|
11437 | 899 |
|
11572 | 900 |
* HOL: made split_all_tac safe; EXISTING PROOFS MAY FAIL OR LOOP, so |
901 |
in this (rare) case use: |
|
902 |
||
903 |
delSWrapper "split_all_tac" |
|
904 |
addSbefore ("unsafe_split_all_tac", unsafe_split_all_tac) |
|
905 |
||
906 |
* HOL: added safe wrapper "split_conv_tac" to claset; EXISTING PROOFS |
|
11474 | 907 |
MAY FAIL; |
11361 | 908 |
|
11572 | 909 |
* HOL: introduced f^n = f o ... o f; warning: due to the limits of |
910 |
Isabelle's type classes, ^ on functions and relations has too general |
|
911 |
a domain, namely ('a * 'b) set and 'a => 'b; this means that it may be |
|
912 |
necessary to attach explicit type constraints; |
|
11307 | 913 |
|
12917 | 914 |
* HOL/Relation: the prefix name of the infix "O" has been changed from |
915 |
"comp" to "rel_comp"; INCOMPATIBILITY: a few theorems have been |
|
916 |
renamed accordingly (eg "compI" -> "rel_compI"). |
|
12489 | 917 |
|
11487
95071c9e85a3
* HOL: syntax translations now work properly with numerals and records
wenzelm
parents:
11475
diff
changeset
|
918 |
* HOL: syntax translations now work properly with numerals and records |
95071c9e85a3
* HOL: syntax translations now work properly with numerals and records
wenzelm
parents:
11475
diff
changeset
|
919 |
expressions; |
11474 | 920 |
|
12457
cbfc53e45476
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead
wenzelm
parents:
12405
diff
changeset
|
921 |
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead |
cbfc53e45476
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead
wenzelm
parents:
12405
diff
changeset
|
922 |
of "lam" -- INCOMPATIBILITY; |
11474 | 923 |
|
11933 | 924 |
* HOL: got rid of some global declarations (potential INCOMPATIBILITY |
925 |
for ML tools): const "()" renamed "Product_Type.Unity", type "unit" |
|
926 |
renamed "Product_Type.unit"; |
|
11611 | 927 |
|
12564 | 928 |
* HOL: renamed rtrancl_into_rtrancl2 to converse_rtrancl_into_rtrancl |
929 |
||
12924 | 930 |
* HOL: removed obsolete theorem "optionE" (use "option.exhaust", or |
931 |
the "cases" method); |
|
932 |
||
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
933 |
* HOL/GroupTheory: group theory examples including Sylow's theorem (by |
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
934 |
Florian Kammüller); |
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
935 |
|
12608
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
936 |
* HOL/IMP: updated and converted to new-style theory format; several |
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
937 |
parts turned into readable document, with proper Isar proof texts and |
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
938 |
some explanations (by Gerwin Klein); |
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
939 |
|
12734 | 940 |
* HOL-Real: added Complex_Numbers (by Gertrud Bauer); |
941 |
||
12690 | 942 |
* HOL-Hyperreal is now a logic image; |
943 |
||
11611 | 944 |
|
12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
945 |
*** HOLCF *** |
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
946 |
|
12622 | 947 |
* Isar: consts/constdefs supports mixfix syntax for continuous |
948 |
operations; |
|
949 |
||
950 |
* Isar: domain package adapted to new-style theory format, e.g. see |
|
951 |
HOLCF/ex/Dnat.thy; |
|
952 |
||
953 |
* theory Lift: proper use of rep_datatype lift instead of ML hacks -- |
|
12280 | 954 |
potential INCOMPATIBILITY; now use plain induct_tac instead of former |
955 |
lift.induct_tac, always use UU instead of Undef; |
|
12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
956 |
|
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
957 |
* HOLCF/IMP: updated and converted to new-style theory; |
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
958 |
|
12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
959 |
|
11474 | 960 |
*** ZF *** |
961 |
||
12622 | 962 |
* Isar: proper integration of logic-specific tools and packages, |
963 |
including theory commands '(co)inductive', '(co)datatype', |
|
964 |
'rep_datatype', 'inductive_cases', as well as methods 'ind_cases', |
|
965 |
'induct_tac', 'case_tac', and 'typecheck' (with attribute 'TC'); |
|
966 |
||
967 |
* theory Main no longer includes AC; for the Axiom of Choice, base |
|
968 |
your theory on Main_ZFC; |
|
969 |
||
970 |
* the integer library now covers quotients and remainders, with many |
|
971 |
laws relating division to addition, multiplication, etc.; |
|
12563 | 972 |
|
12280 | 973 |
* ZF/UNITY: Chandy and Misra's UNITY is now available in ZF, giving a |
974 |
typeless version of the formalism; |
|
975 |
||
13025 | 976 |
* ZF/AC, Coind, IMP, Resid: updated and converted to new-style theory |
977 |
format; |
|
12608
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
978 |
|
12280 | 979 |
* ZF/Induct: new directory for examples of inductive definitions, |
12608
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
980 |
including theory Multiset for multiset orderings; converted to |
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
981 |
new-style theory format; |
12177
b1c16d685a99
* ZF: new-style theory commands 'inductive', 'inductive_cases', and
wenzelm
parents:
12163
diff
changeset
|
982 |
|
13025 | 983 |
* ZF: many new theorems about lists, ordinals, etc.; |
12850 | 984 |
|
11474 | 985 |
|
986 |
*** General *** |
|
987 |
||
12280 | 988 |
* Pure/kernel: meta-level proof terms (by Stefan Berghofer); reference |
989 |
variable proof controls level of detail: 0 = no proofs (only oracle |
|
990 |
dependencies), 1 = lemma dependencies, 2 = compact proof terms; see |
|
991 |
also ref manual for further ML interfaces; |
|
992 |
||
993 |
* Pure/axclass: removed obsolete ML interface |
|
994 |
goal_subclass/goal_arity; |
|
995 |
||
996 |
* Pure/syntax: new token syntax "num" for plain numerals (without "#" |
|
997 |
of "xnum"); potential INCOMPATIBILITY, since -0, -1 etc. are now |
|
998 |
separate tokens, so expressions involving minus need to be spaced |
|
999 |
properly; |
|
1000 |
||
12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1001 |
* Pure/syntax: support non-oriented infixes, using keyword "infix" |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1002 |
rather than "infixl" or "infixr"; |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1003 |
|
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1004 |
* Pure/syntax: concrete syntax for dummy type variables admits genuine |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1005 |
sort constraint specifications in type inference; e.g. "x::_::foo" |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1006 |
ensures that the type of "x" is of sort "foo" (but not necessarily a |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
1007 |
type variable); |
12280 | 1008 |
|
1009 |
* Pure/syntax: print modes "type_brackets" and "no_type_brackets" |
|
1010 |
control output of nested => (types); the default behavior is |
|
1011 |
"type_brackets"; |
|
1012 |
||
1013 |
* Pure/syntax: builtin parse translation for "_constify" turns valued |
|
11817 | 1014 |
tokens into AST constants; |
11474 | 1015 |
|
12280 | 1016 |
* Pure/syntax: prefer later declarations of translations and print |
1017 |
translation functions; potential INCOMPATIBILITY: need to reverse |
|
1018 |
multiple declarations for same syntax element constant; |
|
1019 |
||
12832
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset
|
1020 |
* Pure/show_hyps reset by default (in accordance to existing Isar |
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset
|
1021 |
practice); |
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset
|
1022 |
|
12280 | 1023 |
* Provers/classical: renamed addaltern to addafter, addSaltern to |
1024 |
addSafter; |
|
1025 |
||
1026 |
* Provers/clasimp: ``iff'' declarations now handle conditional rules |
|
1027 |
as well; |
|
12253 | 1028 |
|
12538 | 1029 |
* system: tested support for MacOS X; should be able to get Isabelle + |
1030 |
Proof General to work in a plain Terminal after installing Poly/ML |
|
1031 |
(e.g. from the Isabelle distribution area) and GNU bash alone |
|
1032 |
(e.g. from http://www.apple.com); full X11, XEmacs and X-Symbol |
|
1033 |
support requires further installations, e.g. from |
|
1034 |
http://fink.sourceforge.net/); |
|
1035 |
||
12280 | 1036 |
* system: support Poly/ML 4.1.1 (able to manage larger heaps); |
11551 | 1037 |
|
12753
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset
|
1038 |
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead |
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset
|
1039 |
of 40 MB), cf. ML_OPTIONS; |
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset
|
1040 |
|
11633 | 1041 |
* system: Proof General keywords specification is now part of the |
1042 |
Isabelle distribution (see etc/isar-keywords.el); |
|
1043 |
||
12728 | 1044 |
* system: support for persistent Proof General sessions (refrain from |
1045 |
outdating all loaded theories on startup); user may create writable |
|
1046 |
logic images like this: ``isabelle -q HOL Test''; |
|
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
1047 |
|
11551 | 1048 |
* system: smart selection of Isabelle process versus Isabelle |
11572 | 1049 |
interface, accommodates case-insensitive file systems (e.g. HFS+); may |
1050 |
run both "isabelle" and "Isabelle" even if file names are badly |
|
1051 |
damaged (executable inspects the case of the first letter of its own |
|
1052 |
name); added separate "isabelle-process" and "isabelle-interface"; |
|
11551 | 1053 |
|
12472 | 1054 |
* system: refrain from any attempt at filtering input streams; no |
1055 |
longer support ``8bit'' encoding of old isabelle font, instead proper |
|
1056 |
iso-latin characters may now be used; the related isatools |
|
1057 |
"symbolinput" and "nonascii" have disappeared as well; |
|
1058 |
||
1059 |
* system: removed old "xterm" interface (the print modes "xterm" and |
|
1060 |
"xterm_color" are still available for direct use in a suitable |
|
1061 |
terminal); |
|
1062 |
||
11314 | 1063 |
|
11169
98c2f741e32b
made split_all_tac safe introducing safe_full_simp_tac, EXISTING PROOFS MAY FAIL
oheimb
parents:
11130
diff
changeset
|
1064 |
|
11062 | 1065 |
New in Isabelle99-2 (February 2001) |
1066 |
----------------------------------- |
|
1067 |
||
10224 | 1068 |
*** Overview of INCOMPATIBILITIES *** |
1069 |
||
11241 | 1070 |
* HOL: please note that theories in the Library and elsewhere often use the |
1071 |
new-style (Isar) format; to refer to their theorems in an ML script you must |
|
12622 | 1072 |
bind them to ML identifers by e.g. val thm_name = thm "thm_name"; |
11241 | 1073 |
|
11043
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
1074 |
* HOL: inductive package no longer splits induction rule aggressively, |
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
1075 |
but only as far as specified by the introductions given; the old |
11130 | 1076 |
format may be recovered via ML function complete_split_rule or attribute |
11043
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
1077 |
'split_rule (complete)'; |
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
1078 |
|
10998 | 1079 |
* HOL: induct renamed to lfp_induct, lfp_Tarski to lfp_unfold, |
1080 |
gfp_Tarski to gfp_unfold; |
|
10224 | 1081 |
|
10288 | 1082 |
* HOL: contrapos, contrapos2 renamed to contrapos_nn, contrapos_pp; |
1083 |
||
10858 | 1084 |
* HOL: infix "dvd" now has priority 50 rather than 70 (because it is a |
1085 |
relation); infix "^^" has been renamed "``"; infix "``" has been |
|
1086 |
renamed "`"; "univalent" has been renamed "single_valued"; |
|
10793 | 1087 |
|
10998 | 1088 |
* HOL/Real: "rinv" and "hrinv" replaced by overloaded "inverse" |
1089 |
operation; |
|
1090 |
||
10868 | 1091 |
* HOLCF: infix "`" has been renamed "$"; the symbol syntax is \<cdot>; |
10856 | 1092 |
|
10391 | 1093 |
* Isar: 'obtain' no longer declares "that" fact as simp/intro; |
1094 |
||
10401
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1095 |
* Isar/HOL: method 'induct' now handles non-atomic goals; as a |
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1096 |
consequence, it is no longer monotonic wrt. the local goal context |
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1097 |
(which is now passed through the inductive cases); |
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1098 |
|
10976
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset
|
1099 |
* Document preparation: renamed standard symbols \<ll> to \<lless> and |
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset
|
1100 |
\<gg> to \<ggreater>; |
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset
|
1101 |
|
10224 | 1102 |
|
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1103 |
*** Document preparation *** |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1104 |
|
10858 | 1105 |
* \isabellestyle{NAME} selects version of Isabelle output (currently |
1106 |
available: are "it" for near math-mode best-style output, "sl" for |
|
1107 |
slanted text style, and "tt" for plain type-writer; if no |
|
1108 |
\isabellestyle command is given, output is according to slanted |
|
1109 |
type-writer); |
|
1110 |
||
10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
1111 |
* support sub/super scripts (for single symbols only), input syntax is |
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
1112 |
like this: "A\<^sup>*" or "A\<^sup>\<star>"; |
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
1113 |
|
10858 | 1114 |
* some more standard symbols; see Appendix A of the system manual for |
11062 | 1115 |
the complete list of symbols defined in isabellesym.sty; |
10858 | 1116 |
|
10998 | 1117 |
* improved isabelle style files; more abstract symbol implementation |
1118 |
(should now use \isamath{...} and \isatext{...} in custom symbol |
|
1119 |
definitions); |
|
1120 |
||
10634 | 1121 |
* antiquotation @{goals} and @{subgoals} for output of *dynamic* goals |
1122 |
state; Note that presentation of goal states does not conform to |
|
1123 |
actual human-readable proof documents. Please do not include goal |
|
1124 |
states into document output unless you really know what you are doing! |
|
10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
1125 |
|
11062 | 1126 |
* proper indentation of antiquoted output with proportional LaTeX |
1127 |
fonts; |
|
10862 | 1128 |
|
11050
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset
|
1129 |
* no_document ML operator temporarily disables LaTeX document |
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset
|
1130 |
generation; |
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset
|
1131 |
|
11062 | 1132 |
* isatool unsymbolize tunes sources for plain ASCII communication; |
1133 |
||
10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
1134 |
|
10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
1135 |
*** Isar *** |
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
1136 |
|
10547 | 1137 |
* Pure: Isar now suffers initial goal statements to contain unbound |
1138 |
schematic variables (this does not conform to actual readable proof |
|
1139 |
documents, due to unpredictable outcome and non-compositional proof |
|
1140 |
checking); users who know what they are doing may use schematic goals |
|
1141 |
for Prolog-style synthesis of proven results; |
|
1142 |
||
10391 | 1143 |
* Pure: assumption method (an implicit finishing) now handles actual |
1144 |
rules as well; |
|
1145 |
||
1146 |
* Pure: improved 'obtain' --- moved to Pure, insert "that" into |
|
1147 |
initial goal, declare "that" only as Pure intro (only for single |
|
1148 |
steps); the "that" rule assumption may now be involved in implicit |
|
1149 |
finishing, thus ".." becomes a feasible for trivial obtains; |
|
1150 |
||
1151 |
* Pure: default proof step now includes 'intro_classes'; thus trivial |
|
1152 |
instance proofs may be performed by ".."; |
|
1153 |
||
1154 |
* Pure: ?thesis / ?this / "..." now work for pure meta-level |
|
1155 |
statements as well; |
|
10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
1156 |
|
11097 | 1157 |
* Pure: more robust selection of calculational rules; |
1158 |
||
10858 | 1159 |
* Pure: the builtin notion of 'finished' goal now includes the ==-refl |
1160 |
rule (as well as the assumption rule); |
|
1161 |
||
1162 |
* Pure: 'thm_deps' command visualizes dependencies of theorems and |
|
1163 |
lemmas, using the graph browser tool; |
|
1164 |
||
10944 | 1165 |
* Pure: predict failure of "show" in interactive mode; |
1166 |
||
11016
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
1167 |
* Pure: 'thms_containing' now takes actual terms as arguments; |
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
1168 |
|
10401
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1169 |
* HOL: improved method 'induct' --- now handles non-atomic goals |
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1170 |
(potential INCOMPATIBILITY); tuned error handling; |
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
1171 |
|
10557 | 1172 |
* HOL: cases and induct rules now provide explicit hints about the |
10547 | 1173 |
number of facts to be consumed (0 for "type" and 1 for "set" rules); |
1174 |
any remaining facts are inserted into the goal verbatim; |
|
1175 |
||
10858 | 1176 |
* HOL: local contexts (aka cases) may now contain term bindings as |
1177 |
well; the 'cases' and 'induct' methods new provide a ?case binding for |
|
1178 |
the result to be shown in each case; |
|
1179 |
||
10770 | 1180 |
* HOL: added 'recdef_tc' command; |
1181 |
||
11016
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
1182 |
* isatool convert assists in eliminating legacy ML scripts; |
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
1183 |
|
10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
1184 |
|
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1185 |
*** HOL *** |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1186 |
|
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1187 |
* HOL/Library: a collection of generic theories to be used together |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1188 |
with main HOL; the theory loader path already includes this directory |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1189 |
by default; the following existing theories have been moved here: |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1190 |
HOL/Induct/Multiset, HOL/Induct/Acc (as Accessible_Part), HOL/While |
10337 | 1191 |
(as While_Combinator), HOL/Lex/Prefix (as List_Prefix); |
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1192 |
|
10966 | 1193 |
* HOL/Unix: "Some aspects of Unix file-system security", a typical |
1194 |
modelling and verification task performed in Isabelle/HOL + |
|
1195 |
Isabelle/Isar + Isabelle document preparation (by Markus Wenzel). |
|
1196 |
||
11094 | 1197 |
* HOL/Algebra: special summation operator SUM no longer exists, it has |
1198 |
been replaced by setsum; infix 'assoc' now has priority 50 (like |
|
1199 |
'dvd'); axiom 'one_not_zero' has been moved from axclass 'ring' to |
|
1200 |
'domain', this makes the theory consistent with mathematical |
|
1201 |
literature; |
|
1202 |
||
10514 | 1203 |
* HOL basics: added overloaded operations "inverse" and "divide" |
10726 | 1204 |
(infix "/"), syntax for generic "abs" operation, generic summation |
11094 | 1205 |
operator \<Sum>; |
10452
abeefb0a79ae
* added overloaded operations "inverse" and "divide" (infix "/");
wenzelm
parents:
10428
diff
changeset
|
1206 |
|
10391 | 1207 |
* HOL/typedef: simplified package, provide more useful rules (see also |
1208 |
HOL/subset.thy); |
|
1209 |
||
10915
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1210 |
* HOL/datatype: induction rule for arbitrarily branching datatypes is |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1211 |
now expressed as a proper nested rule (old-style tactic scripts may |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1212 |
require atomize_strip_tac to cope with non-atomic premises); |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1213 |
|
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1214 |
* HOL: renamed theory "Prod" to "Product_Type", renamed "split" rule |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1215 |
to "split_conv" (old name still available for compatibility); |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1216 |
|
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1217 |
* HOL: improved concrete syntax for strings (e.g. allows translation |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1218 |
rules with string literals); |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
1219 |
|
12245 | 1220 |
* HOL-Real-Hyperreal: this extends HOL-Real with the hyperreals |
1221 |
and Fleuriot's mechanization of analysis, including the transcendental |
|
1222 |
functions for the reals; |
|
10756 | 1223 |
|
11094 | 1224 |
* HOL/Real, HOL/Hyperreal: improved arithmetic simplification; |
10391 | 1225 |
|
10858 | 1226 |
|
10474 | 1227 |
*** CTT *** |
1228 |
||
10547 | 1229 |
* CTT: x-symbol support for Pi, Sigma, -->, : (membership); note that |
1230 |
"lam" is displayed as TWO lambda-symbols |
|
10474 | 1231 |
|
10547 | 1232 |
* CTT: theory Main now available, containing everything (that is, Bool |
1233 |
and Arith); |
|
1234 |
||
10474 | 1235 |
|
10391 | 1236 |
*** General *** |
1237 |
||
10547 | 1238 |
* Pure: the Simplifier has been implemented properly as a derived rule |
1239 |
outside of the actual kernel (at last!); the overall performance |
|
1240 |
penalty in practical applications is about 50%, while reliability of |
|
1241 |
the Isabelle inference kernel has been greatly improved; |
|
1242 |
||
11112 | 1243 |
* print modes "brackets" and "no_brackets" control output of nested => |
1244 |
(types) and ==> (props); the default behaviour is "brackets"; |
|
1245 |
||
10391 | 1246 |
* Provers: fast_tac (and friends) now handle actual object-logic rules |
1247 |
as assumptions as well; |
|
1248 |
||
11124 | 1249 |
* system: support Poly/ML 4.0; |
1250 |
||
1251 |
* system: isatool install handles KDE version 1 or 2; |
|
1252 |
||
10391 | 1253 |
|
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
1254 |
|
10103 | 1255 |
New in Isabelle99-1 (October 2000) |
1256 |
---------------------------------- |
|
8015 | 1257 |
|
10003 | 1258 |
*** Overview of INCOMPATIBILITIES *** |
8014 | 1259 |
|
8848 | 1260 |
* HOL: simplification of natural numbers is much changed; to partly |
1261 |
recover the old behaviour (e.g. to prevent n+n rewriting to #2*n) |
|
1262 |
issue the following ML commands: |
|
1263 |
||
1264 |
Delsimprocs Nat_Numeral_Simprocs.cancel_numerals; |
|
1265 |
Delsimprocs [Nat_Numeral_Simprocs.combine_numerals]; |
|
8788 | 1266 |
|
10129 | 1267 |
* HOL: simplification no longer dives into case-expressions; this is |
1268 |
controlled by "t.weak_case_cong" for each datatype t; |
|
10003 | 1269 |
|
1270 |
* HOL: nat_less_induct renamed to less_induct; |
|
1271 |
||
1272 |
* HOL: systematic renaming of the SOME (Eps) rules, may use isatool |
|
1273 |
fixsome to patch .thy and .ML sources automatically; |
|
8967 | 1274 |
|
10003 | 1275 |
select_equality -> some_equality |
1276 |
select_eq_Ex -> some_eq_ex |
|
1277 |
selectI2EX -> someI2_ex |
|
1278 |
selectI2 -> someI2 |
|
1279 |
selectI -> someI |
|
1280 |
select1_equality -> some1_equality |
|
1281 |
Eps_sym_eq -> some_sym_eq_trivial |
|
1282 |
Eps_eq -> some_eq_trivial |
|
1283 |
||
1284 |
* HOL: exhaust_tac on datatypes superceded by new generic case_tac; |
|
1285 |
||
1286 |
* HOL: removed obsolete theorem binding expand_if (refer to split_if |
|
1287 |
instead); |
|
1288 |
||
1289 |
* HOL: the recursion equations generated by 'recdef' are now called |
|
1290 |
f.simps instead of f.rules; |
|
1291 |
||
1292 |
* HOL: qed_spec_mp now also handles bounded ALL as well; |
|
1293 |
||
1294 |
* HOL: 0 is now overloaded, so the type constraint ":: nat" may |
|
1295 |
sometimes be needed; |
|
1296 |
||
1297 |
* HOL: the constant for "f``x" is now "image" rather than "op ``"; |
|
8014 | 1298 |
|
10065 | 1299 |
* HOL: the constant for "f-``x" is now "vimage" rather than "op -``"; |
1300 |
||
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1301 |
* 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
|
1302 |
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
|
1303 |
now "<*lex*>" instead of "**"; |
8705 | 1304 |
|
10003 | 1305 |
* HOL: theory Sexp is now in HOL/Induct examples (it used to be part |
1306 |
of main HOL, but was unused); better use HOL's datatype package; |
|
9971 | 1307 |
|
10137
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1308 |
* HOL: removed "symbols" syntax for constant "override" of theory Map; |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1309 |
the old syntax may be recovered as follows: |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1310 |
|
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1311 |
syntax (symbols) |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1312 |
override :: "('a ~=> 'b) => ('a ~=> 'b) => ('a ~=> 'b)" |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1313 |
(infixl "\\<oplus>" 100) |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
1314 |
|
8848 | 1315 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
1316 |
||
8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
1317 |
* 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
|
1318 |
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
|
1319 |
internally; |
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
1320 |
|
10003 | 1321 |
* HOL and ZF: syntax for quotienting wrt an equivalence relation |
1322 |
changed from A/r to A//r; |
|
9908 | 1323 |
|
10003 | 1324 |
* ZF: new treatment of arithmetic (nat & int) may break some old |
1325 |
proofs; |
|
8921
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
1326 |
|
10003 | 1327 |
* Isar: renamed some attributes (RS -> THEN, simplify -> simplified, |
1328 |
rulify -> rule_format, elimify -> elim_format, ...); |
|
9542 | 1329 |
|
9941
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
1330 |
* Isar/Provers: intro/elim/dest attributes changed; renamed |
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
1331 |
intro/intro!/intro!! flags to intro!/intro/intro? (in most cases, one |
9937 | 1332 |
should have to change intro!! to intro? only); replaced "delrule" by |
1333 |
"rule del"; |
|
9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
1334 |
|
9612 | 1335 |
* Isar/HOL: renamed "intrs" to "intros" in inductive definitions; |
1336 |
||
9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
1337 |
* Provers: strengthened force_tac by using new first_best_tac; |
9402 | 1338 |
|
10003 | 1339 |
* LaTeX document preparation: several changes of isabelle.sty (see |
1340 |
lib/texinputs); |
|
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
1341 |
|
8014 | 1342 |
|
8487 | 1343 |
*** Document preparation *** |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1344 |
|
9198
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
1345 |
* formal comments (text blocks etc.) in new-style theories may now |
9753 | 1346 |
contain antiquotations of thm/prop/term/typ/text to be presented |
1347 |
according to latex print mode; concrete syntax is like this: |
|
1348 |
@{term[show_types] "f(x) = a + x"}; |
|
9198
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
1349 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1350 |
* isatool mkdir provides easy setup of Isabelle session directories, |
8518 | 1351 |
including proper document sources; |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1352 |
|
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1353 |
* generated LaTeX sources are now deleted after successful run |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1354 |
(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
|
1355 |
of isatool usedir; |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1356 |
|
8566 | 1357 |
* isatool usedir -D now lets isatool latex -o sty update the Isabelle |
10003 | 1358 |
style files, achieving self-contained LaTeX sources and simplifying |
1359 |
LaTeX debugging; |
|
8566 | 1360 |
|
8518 | 1361 |
* 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
|
1362 |
|
9057
af1ca1acf292
* browser info session directories are now self-contained (may be put
wenzelm
parents:
9052
diff
changeset
|
1363 |
* browser info session directories are now self-contained (may be put |
9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
1364 |
on WWW server seperately); improved graphs of nested sessions; removed |
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
1365 |
graph for 'all sessions'; |
9057
af1ca1acf292
* browser info session directories are now self-contained (may be put
wenzelm
parents:
9052
diff
changeset
|
1366 |
|
10003 | 1367 |
* several improvements in isabelle style files; \isabellestyle{it} |
1368 |
produces fake math mode output; \isamarkupheader is now \section by |
|
1369 |
default; see lib/texinputs/isabelle.sty etc.; |
|
9489
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
1370 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1371 |
|
8184 | 1372 |
*** Isar *** |
1373 |
||
10003 | 1374 |
* Isar/Pure: local results and corresponding term bindings are now |
1375 |
subject to Hindley-Milner polymorphism (similar to ML); this |
|
1376 |
accommodates incremental type-inference very nicely; |
|
8283
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset
|
1377 |
|
10003 | 1378 |
* Isar/Pure: new derived language element 'obtain' supports |
1379 |
generalized existence reasoning; |
|
8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
1380 |
|
10003 | 1381 |
* Isar/Pure: new calculational elements 'moreover' and 'ultimately' |
1382 |
support accumulation of results, without applying any rules yet; |
|
1383 |
useful to collect intermediate results without explicit name |
|
1384 |
references, and for use with transitivity rules with more than 2 |
|
1385 |
premises; |
|
8184 | 1386 |
|
10003 | 1387 |
* Isar/Pure: scalable support for case-analysis type proofs: new |
1388 |
'case' language element refers to local contexts symbolically, as |
|
1389 |
produced by certain proof methods; internally, case names are attached |
|
1390 |
to theorems as "tags"; |
|
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
1391 |
|
10003 | 1392 |
* Isar/Pure: theory command 'hide' removes declarations from |
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1393 |
class/type/const name spaces; |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1394 |
|
10003 | 1395 |
* Isar/Pure: theory command 'defs' supports option "(overloaded)" to |
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1396 |
indicate potential overloading; |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1397 |
|
10003 | 1398 |
* Isar/Pure: changed syntax of local blocks from {{ }} to { }; |
8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
1399 |
|
10003 | 1400 |
* Isar/Pure: syntax of sorts made 'inner', i.e. have to write |
1401 |
"{a,b,c}" instead of {a,b,c}; |
|
9011
0cfc347f8d19
Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms to
wenzelm
parents:
8994
diff
changeset
|
1402 |
|
10003 | 1403 |
* Isar/Pure now provides its own version of intro/elim/dest |
1404 |
attributes; useful for building new logics, but beware of confusion |
|
1405 |
with the version in Provers/classical; |
|
9612 | 1406 |
|
10003 | 1407 |
* Isar/Pure: the local context of (non-atomic) goals is provided via |
1408 |
case name 'antecedent'; |
|
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
1409 |