author | nipkow |
Fri, 17 May 2002 11:36:32 +0200 | |
changeset 13158 | 8e86582a90d1 |
parent 13042 | d8a345d9e067 |
child 13188 | 596776f878f8 |
permissions | -rw-r--r-- |
5363 | 1 |
Isabelle NEWS -- history user-relevant changes |
2 |
============================================== |
|
2553 | 3 |
|
13158 | 4 |
*** HOL *** |
5 |
||
6 |
* arith(_tac) does now know about div 2 and mod 2 on type nat. |
|
7 |
It can solve simple goals like "0 < n ==> n div 2 < (n::nat)" |
|
8 |
but fails if divisibility plays a role like in |
|
9 |
"n div 2 + (n+1) div 2 = (n::nat)". |
|
10 |
||
12984 | 11 |
New in Isabelle2002 (March 2002) |
12 |
-------------------------------- |
|
11474 | 13 |
|
11572 | 14 |
*** Document preparation *** |
15 |
||
11842
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
16 |
* greatly simplified document preparation setup, including more |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
17 |
graceful interpretation of isatool usedir -i/-d/-D options, and more |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
18 |
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
|
19 |
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
|
20 |
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
|
21 |
"isatool usedir -D output HOL Test && isatool document Test/output"; |
11842
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
22 |
|
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
23 |
* theory dependency graph may now be incorporated into documents; |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
24 |
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
|
25 |
with \includegraphics of LaTeX; |
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset
|
26 |
|
11864
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset
|
27 |
* proper spacing of consecutive markup elements, especially text |
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset
|
28 |
blocks after section headings; |
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset
|
29 |
|
11572 | 30 |
* support bold style (for single symbols only), input syntax is like |
31 |
this: "\<^bold>\<alpha>" or "\<^bold>A"; |
|
32 |
||
11814 | 33 |
* \<bullet> is now output as bold \cdot by default, which looks much |
11572 | 34 |
better in printed text; |
35 |
||
11712
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset
|
36 |
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>; |
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset
|
37 |
note that these symbols are currently unavailable in Proof General / |
12769 | 38 |
X-Symbol; new symbols \<zero>, \<one>, ..., \<nine>, and \<euro>; |
12690 | 39 |
|
40 |
* isatool latex no longer depends on changed TEXINPUTS, instead |
|
41 |
isatool document copies the Isabelle style files to the target |
|
42 |
location; |
|
11712
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset
|
43 |
|
11572 | 44 |
|
11633 | 45 |
*** Isar *** |
46 |
||
12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
47 |
* Pure/Provers: improved proof by cases and induction; |
12280 | 48 |
- 'case' command admits impromptu naming of parameters (such as |
49 |
"case (Suc n)"); |
|
50 |
- 'induct' method divinates rule instantiation from the inductive |
|
51 |
claim; no longer requires excessive ?P bindings for proper |
|
52 |
instantiation of cases; |
|
53 |
- 'induct' method properly enumerates all possibilities of set/type |
|
54 |
rules; as a consequence facts may be also passed through *type* |
|
55 |
rules without further ado; |
|
56 |
- 'induct' method now derives symbolic cases from the *rulified* |
|
57 |
rule (before it used to rulify cases stemming from the internal |
|
58 |
atomized version); this means that the context of a non-atomic |
|
59 |
statement becomes is included in the hypothesis, avoiding the |
|
60 |
slightly cumbersome show "PROP ?case" form; |
|
61 |
- 'induct' may now use elim-style induction rules without chaining |
|
62 |
facts, using ``missing'' premises from the goal state; this allows |
|
63 |
rules stemming from inductive sets to be applied in unstructured |
|
64 |
scripts, while still benefitting from proper handling of non-atomic |
|
65 |
statements; NB: major inductive premises need to be put first, all |
|
66 |
the rest of the goal is passed through the induction; |
|
67 |
- 'induct' proper support for mutual induction involving non-atomic |
|
68 |
rule statements (uses the new concept of simultaneous goals, see |
|
69 |
below); |
|
12853 | 70 |
- append all possible rule selections, but only use the first |
71 |
success (no backtracking); |
|
11995
4a622f5fb164
- 'induct' may now use elim-style induction rules without chaining
wenzelm
parents:
11986
diff
changeset
|
72 |
- 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
|
73 |
- 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
|
74 |
- 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
|
75 |
General versions); |
11995
4a622f5fb164
- 'induct' may now use elim-style induction rules without chaining
wenzelm
parents:
11986
diff
changeset
|
76 |
- 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
|
77 |
- 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
|
78 |
|
12163
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
79 |
* Pure: support multiple simultaneous goal statements, for example |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
80 |
"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
|
81 |
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
|
82 |
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
|
83 |
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
|
84 |
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
|
85 |
fails: |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
86 |
|
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
87 |
assume "A & B" then have A and B .. (*".." fails*) |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
88 |
|
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
89 |
better use "obtain" in situations as above; alternative refer to |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
90 |
multi-step methods like 'auto', 'simp_all', 'blast+' etc.; |
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset
|
91 |
|
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset
|
92 |
* Pure: proper integration with ``locales''; unlike the original |
12210
2f510d8d8291
* ZF: new-style theory commands '(co)inductive', '(co)datatype',
wenzelm
parents:
12177
diff
changeset
|
93 |
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
|
94 |
contexts rather than raw logical ones (e.g. we admit to include |
12280 | 95 |
attributes everywhere); operations on locales include merge and |
12964 | 96 |
rename; support for implicit arguments (``structures''); simultaneous |
97 |
type-inference over imports and text; see also HOL/ex/Locales.thy for |
|
98 |
some examples; |
|
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset
|
99 |
|
12707
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
100 |
* Pure: the following commands have been ``localized'', supporting a |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
101 |
target locale specification "(in name)": 'lemma', 'theorem', |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
102 |
'corollary', 'lemmas', 'theorems', 'declare'; the results will be |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
103 |
stored both within the locale and at the theory level (exported and |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
104 |
qualified by the locale name); |
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset
|
105 |
|
12964 | 106 |
* Pure: theory goals may now be specified in ``long'' form, with |
107 |
ad-hoc contexts consisting of arbitrary locale elements. for example |
|
108 |
``lemma foo: fixes x assumes "A x" shows "B x"'' (local syntax and |
|
109 |
definitions may be given, too); the result is a meta-level rule with |
|
110 |
the context elements being discharged in the obvious way; |
|
111 |
||
112 |
* Pure: new proof command 'using' allows to augment currently used |
|
113 |
facts after a goal statement ('using' is syntactically analogous to |
|
114 |
'apply', but acts on the goal's facts only); this allows chained facts |
|
115 |
to be separated into parts given before and after a claim, as in |
|
116 |
``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
|
117 |
|
11722 | 118 |
* Pure: renamed "antecedent" case to "rule_context"; |
119 |
||
12964 | 120 |
* Pure: new 'judgment' command records explicit information about the |
121 |
object-logic embedding (used by several tools internally); no longer |
|
122 |
use hard-wired "Trueprop"; |
|
123 |
||
11738 | 124 |
* Pure: added 'corollary' command; |
125 |
||
11722 | 126 |
* Pure: fixed 'token_translation' command; |
127 |
||
11899 | 128 |
* Pure: removed obsolete 'exported' attribute; |
129 |
||
11933 | 130 |
* Pure: dummy pattern "_" in is/let is now automatically lifted over |
131 |
bound variables: "ALL x. P x --> Q x" (is "ALL x. _ --> ?C x") |
|
11899 | 132 |
supersedes more cumbersome ... (is "ALL x. _ x --> ?C x"); |
133 |
||
11952
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
134 |
* 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
|
135 |
statements (atomic meta-level propositions); setup controlled via |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
136 |
rewrite rules declarations of 'atomize' attribute; example |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
137 |
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
|
138 |
proof *scripts*; |
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as object-level
wenzelm
parents:
11937
diff
changeset
|
139 |
|
12106
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
140 |
* 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
|
141 |
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
|
142 |
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
|
143 |
especially important for locales); |
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset
|
144 |
|
12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
145 |
* 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
|
146 |
mode; |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
147 |
|
12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
148 |
* Pure/obtain: the formal conclusion "thesis", being marked as |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
149 |
``internal'', may no longer be reference directly in the text; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
150 |
potential INCOMPATIBILITY, may need to use "?thesis" in rare |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
151 |
situations; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
152 |
|
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
153 |
* Pure: generic 'sym' attribute which declares a rule both as pure |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
154 |
'elim?' and for the 'symmetric' operation; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
155 |
|
12877
b9635eb8a448
* Isar/Pure: marginal comments ``--'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset
|
156 |
* 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
|
157 |
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
|
158 |
discontinued; |
b9635eb8a448
* Isar/Pure: marginal comments ``--'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset
|
159 |
|
13023
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
160 |
* 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
|
161 |
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
|
162 |
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
|
163 |
|
12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
164 |
* Pure/Provers/classical: simplified integration with pure rule |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
165 |
attributes and methods; the classical "intro?/elim?/dest?" |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
166 |
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
|
167 |
includes classically swapped intros; "intro" and "elim" methods no |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
168 |
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
|
169 |
AddXIs/AddXEs/AddXDs; all of this has some potential for |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
170 |
INCOMPATIBILITY; |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
171 |
|
12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
172 |
* Provers/classical: attribute 'swapped' produces classical inversions |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
173 |
of introduction rules; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
174 |
|
12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
175 |
* Provers/simplifier: 'simplified' attribute may refer to explicit |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
176 |
rules instead of full simplifier context; 'iff' attribute handles |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
177 |
conditional rules; |
11936
fef099613354
* Provers: 'simplified' attribute may refer to explicit rules instead
wenzelm
parents:
11933
diff
changeset
|
178 |
|
11745
06cd8c3b5487
* HOL: 'typedef' now allows alternative names for Rep/Abs morphisms;
wenzelm
parents:
11738
diff
changeset
|
179 |
* 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
|
180 |
|
11690 | 181 |
* HOL: 'recdef' now fails on unfinished automated proofs, use |
11633 | 182 |
"(permissive)" option to recover old behavior; |
183 |
||
11933 | 184 |
* HOL: 'inductive' no longer features separate (collective) attributes |
185 |
for 'intros' (was found too confusing); |
|
186 |
||
12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
187 |
* HOL: properly declared induction rules less_induct and |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
188 |
wf_induct_rule; |
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset
|
189 |
|
11788
60054fee3c16
canonical 'cases'/'induct' rules for n-tuples (n=3..7)
kleing
parents:
11745
diff
changeset
|
190 |
|
11474 | 191 |
*** HOL *** |
192 |
||
11702 | 193 |
* HOL: moved over to sane numeral syntax; the new policy is as |
194 |
follows: |
|
195 |
||
196 |
- 0 and 1 are polymorphic constants, which are defined on any |
|
197 |
numeric type (nat, int, real etc.); |
|
198 |
||
199 |
- 2, 3, 4, ... and -1, -2, -3, ... are polymorphic numerals, based |
|
200 |
binary representation internally; |
|
201 |
||
202 |
- type nat has special constructor Suc, and generally prefers Suc 0 |
|
203 |
over 1::nat and Suc (Suc 0) over 2::nat; |
|
204 |
||
12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
205 |
This change may cause significant problems of INCOMPATIBILITY; here |
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset
|
206 |
are some hints on converting existing sources: |
11702 | 207 |
|
208 |
- due to the new "num" token, "-0" and "-1" etc. are now atomic |
|
209 |
entities, so expressions involving "-" (unary or binary minus) need |
|
210 |
to be spaced properly; |
|
211 |
||
212 |
- existing occurrences of "1" may need to be constraint "1::nat" or |
|
213 |
even replaced by Suc 0; similar for old "2"; |
|
214 |
||
215 |
- replace "#nnn" by "nnn", and "#-nnn" by "-nnn"; |
|
216 |
||
217 |
- remove all special provisions on numerals in proofs; |
|
218 |
||
13042 | 219 |
* HOL: simp rules nat_number expand numerals on nat to Suc/0 |
12837 | 220 |
representation (depends on bin_arith_simps in the default context); |
221 |
||
12736 | 222 |
* HOL: symbolic syntax for x^2 (numeral 2); |
223 |
||
12335
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset
|
224 |
* 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
|
225 |
"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
|
226 |
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
|
227 |
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
|
228 |
"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
|
229 |
|
12280 | 230 |
* HOL/record package improvements: |
231 |
- new derived operations "fields" to build a partial record section, |
|
232 |
"extend" to promote a fixed record to a record scheme, and |
|
233 |
"truncate" for the reverse; cf. theorems "xxx.defs", which are *not* |
|
234 |
declared as simp by default; |
|
12587
3f3d2ffb5df5
HOL/record: shared operations ("more", "fields", etc.) now need to be
wenzelm
parents:
12564
diff
changeset
|
235 |
- 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
|
236 |
qualified) --- potential INCOMPATIBILITY; |
12280 | 237 |
- removed "make_scheme" operations (use "make" with "extend") -- |
238 |
INCOMPATIBILITY; |
|
11937 | 239 |
- removed "more" class (simply use "term") -- INCOMPATIBILITY; |
12253 | 240 |
- provides cases/induct rules for use with corresponding Isar |
241 |
methods (for concrete records, record schemes, concrete more |
|
12280 | 242 |
parts, and schematic more parts -- in that order); |
11930 | 243 |
- internal definitions directly based on a light-weight abstract |
244 |
theory of product types over typedef rather than datatype; |
|
245 |
||
13023
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
246 |
* 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
|
247 |
specifications; specific support for HOL constructs such as inductive |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
248 |
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
|
249 |
via 'generate_code' theory section; |
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset
|
250 |
|
11933 | 251 |
* HOL: canonical cases/induct rules for n-tuples (n = 3..7); |
252 |
||
11802
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset
|
253 |
* 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
|
254 |
(beware of argument permutation!); |
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset
|
255 |
|
11657 | 256 |
* HOL: linorder_less_split superseded by linorder_cases; |
257 |
||
12917 | 258 |
* HOL/List: "nodups" renamed to "distinct"; |
12889 | 259 |
|
11633 | 260 |
* HOL: added "The" definite description operator; move Hilbert's "Eps" |
261 |
to peripheral theory "Hilbert_Choice"; |
|
11437 | 262 |
|
11572 | 263 |
* HOL: made split_all_tac safe; EXISTING PROOFS MAY FAIL OR LOOP, so |
264 |
in this (rare) case use: |
|
265 |
||
266 |
delSWrapper "split_all_tac" |
|
267 |
addSbefore ("unsafe_split_all_tac", unsafe_split_all_tac) |
|
268 |
||
269 |
* HOL: added safe wrapper "split_conv_tac" to claset; EXISTING PROOFS |
|
11474 | 270 |
MAY FAIL; |
11361 | 271 |
|
11572 | 272 |
* HOL: introduced f^n = f o ... o f; warning: due to the limits of |
273 |
Isabelle's type classes, ^ on functions and relations has too general |
|
274 |
a domain, namely ('a * 'b) set and 'a => 'b; this means that it may be |
|
275 |
necessary to attach explicit type constraints; |
|
11307 | 276 |
|
12917 | 277 |
* HOL/Relation: the prefix name of the infix "O" has been changed from |
278 |
"comp" to "rel_comp"; INCOMPATIBILITY: a few theorems have been |
|
279 |
renamed accordingly (eg "compI" -> "rel_compI"). |
|
12489 | 280 |
|
11487
95071c9e85a3
* HOL: syntax translations now work properly with numerals and records
wenzelm
parents:
11475
diff
changeset
|
281 |
* 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
|
282 |
expressions; |
11474 | 283 |
|
12457
cbfc53e45476
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead
wenzelm
parents:
12405
diff
changeset
|
284 |
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead |
cbfc53e45476
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead
wenzelm
parents:
12405
diff
changeset
|
285 |
of "lam" -- INCOMPATIBILITY; |
11474 | 286 |
|
11933 | 287 |
* HOL: got rid of some global declarations (potential INCOMPATIBILITY |
288 |
for ML tools): const "()" renamed "Product_Type.Unity", type "unit" |
|
289 |
renamed "Product_Type.unit"; |
|
11611 | 290 |
|
12564 | 291 |
* HOL: renamed rtrancl_into_rtrancl2 to converse_rtrancl_into_rtrancl |
292 |
||
12924 | 293 |
* HOL: removed obsolete theorem "optionE" (use "option.exhaust", or |
294 |
the "cases" method); |
|
295 |
||
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
296 |
* 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
|
297 |
Florian Kammüller); |
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
298 |
|
12608
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
299 |
* 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
|
300 |
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
|
301 |
some explanations (by Gerwin Klein); |
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
302 |
|
12734 | 303 |
* HOL-Real: added Complex_Numbers (by Gertrud Bauer); |
304 |
||
12690 | 305 |
* HOL-Hyperreal is now a logic image; |
306 |
||
11611 | 307 |
|
12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
308 |
*** HOLCF *** |
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
309 |
|
12622 | 310 |
* Isar: consts/constdefs supports mixfix syntax for continuous |
311 |
operations; |
|
312 |
||
313 |
* Isar: domain package adapted to new-style theory format, e.g. see |
|
314 |
HOLCF/ex/Dnat.thy; |
|
315 |
||
316 |
* theory Lift: proper use of rep_datatype lift instead of ML hacks -- |
|
12280 | 317 |
potential INCOMPATIBILITY; now use plain induct_tac instead of former |
318 |
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
|
319 |
|
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset
|
320 |
* 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
|
321 |
|
12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset
|
322 |
|
11474 | 323 |
*** ZF *** |
324 |
||
12622 | 325 |
* Isar: proper integration of logic-specific tools and packages, |
326 |
including theory commands '(co)inductive', '(co)datatype', |
|
327 |
'rep_datatype', 'inductive_cases', as well as methods 'ind_cases', |
|
328 |
'induct_tac', 'case_tac', and 'typecheck' (with attribute 'TC'); |
|
329 |
||
330 |
* theory Main no longer includes AC; for the Axiom of Choice, base |
|
331 |
your theory on Main_ZFC; |
|
332 |
||
333 |
* the integer library now covers quotients and remainders, with many |
|
334 |
laws relating division to addition, multiplication, etc.; |
|
12563 | 335 |
|
12280 | 336 |
* ZF/UNITY: Chandy and Misra's UNITY is now available in ZF, giving a |
337 |
typeless version of the formalism; |
|
338 |
||
13025 | 339 |
* ZF/AC, Coind, IMP, Resid: updated and converted to new-style theory |
340 |
format; |
|
12608
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
341 |
|
12280 | 342 |
* 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
|
343 |
including theory Multiset for multiset orderings; converted to |
2df381faa787
* ZF/IMP: updated and converted to new-style theory format;
wenzelm
parents:
12597
diff
changeset
|
344 |
new-style theory format; |
12177
b1c16d685a99
* ZF: new-style theory commands 'inductive', 'inductive_cases', and
wenzelm
parents:
12163
diff
changeset
|
345 |
|
13025 | 346 |
* ZF: many new theorems about lists, ordinals, etc.; |
12850 | 347 |
|
11474 | 348 |
|
349 |
*** General *** |
|
350 |
||
12280 | 351 |
* Pure/kernel: meta-level proof terms (by Stefan Berghofer); reference |
352 |
variable proof controls level of detail: 0 = no proofs (only oracle |
|
353 |
dependencies), 1 = lemma dependencies, 2 = compact proof terms; see |
|
354 |
also ref manual for further ML interfaces; |
|
355 |
||
356 |
* Pure/axclass: removed obsolete ML interface |
|
357 |
goal_subclass/goal_arity; |
|
358 |
||
359 |
* Pure/syntax: new token syntax "num" for plain numerals (without "#" |
|
360 |
of "xnum"); potential INCOMPATIBILITY, since -0, -1 etc. are now |
|
361 |
separate tokens, so expressions involving minus need to be spaced |
|
362 |
properly; |
|
363 |
||
12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
364 |
* 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
|
365 |
rather than "infixl" or "infixr"; |
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
366 |
|
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset
|
367 |
* 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
|
368 |
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
|
369 |
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
|
370 |
type variable); |
12280 | 371 |
|
372 |
* Pure/syntax: print modes "type_brackets" and "no_type_brackets" |
|
373 |
control output of nested => (types); the default behavior is |
|
374 |
"type_brackets"; |
|
375 |
||
376 |
* Pure/syntax: builtin parse translation for "_constify" turns valued |
|
11817 | 377 |
tokens into AST constants; |
11474 | 378 |
|
12280 | 379 |
* Pure/syntax: prefer later declarations of translations and print |
380 |
translation functions; potential INCOMPATIBILITY: need to reverse |
|
381 |
multiple declarations for same syntax element constant; |
|
382 |
||
12832
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset
|
383 |
* 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
|
384 |
practice); |
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset
|
385 |
|
12280 | 386 |
* Provers/classical: renamed addaltern to addafter, addSaltern to |
387 |
addSafter; |
|
388 |
||
389 |
* Provers/clasimp: ``iff'' declarations now handle conditional rules |
|
390 |
as well; |
|
12253 | 391 |
|
12538 | 392 |
* system: tested support for MacOS X; should be able to get Isabelle + |
393 |
Proof General to work in a plain Terminal after installing Poly/ML |
|
394 |
(e.g. from the Isabelle distribution area) and GNU bash alone |
|
395 |
(e.g. from http://www.apple.com); full X11, XEmacs and X-Symbol |
|
396 |
support requires further installations, e.g. from |
|
397 |
http://fink.sourceforge.net/); |
|
398 |
||
12280 | 399 |
* system: support Poly/ML 4.1.1 (able to manage larger heaps); |
11551 | 400 |
|
12753
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset
|
401 |
* 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
|
402 |
of 40 MB), cf. ML_OPTIONS; |
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset
|
403 |
|
11633 | 404 |
* system: Proof General keywords specification is now part of the |
405 |
Isabelle distribution (see etc/isar-keywords.el); |
|
406 |
||
12728 | 407 |
* system: support for persistent Proof General sessions (refrain from |
408 |
outdating all loaded theories on startup); user may create writable |
|
409 |
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
|
410 |
|
11551 | 411 |
* system: smart selection of Isabelle process versus Isabelle |
11572 | 412 |
interface, accommodates case-insensitive file systems (e.g. HFS+); may |
413 |
run both "isabelle" and "Isabelle" even if file names are badly |
|
414 |
damaged (executable inspects the case of the first letter of its own |
|
415 |
name); added separate "isabelle-process" and "isabelle-interface"; |
|
11551 | 416 |
|
12472 | 417 |
* system: refrain from any attempt at filtering input streams; no |
418 |
longer support ``8bit'' encoding of old isabelle font, instead proper |
|
419 |
iso-latin characters may now be used; the related isatools |
|
420 |
"symbolinput" and "nonascii" have disappeared as well; |
|
421 |
||
422 |
* system: removed old "xterm" interface (the print modes "xterm" and |
|
423 |
"xterm_color" are still available for direct use in a suitable |
|
424 |
terminal); |
|
425 |
||
11314 | 426 |
|
11169
98c2f741e32b
made split_all_tac safe introducing safe_full_simp_tac, EXISTING PROOFS MAY FAIL
oheimb
parents:
11130
diff
changeset
|
427 |
|
11062 | 428 |
New in Isabelle99-2 (February 2001) |
429 |
----------------------------------- |
|
430 |
||
10224 | 431 |
*** Overview of INCOMPATIBILITIES *** |
432 |
||
11241 | 433 |
* HOL: please note that theories in the Library and elsewhere often use the |
434 |
new-style (Isar) format; to refer to their theorems in an ML script you must |
|
12622 | 435 |
bind them to ML identifers by e.g. val thm_name = thm "thm_name"; |
11241 | 436 |
|
11043
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
437 |
* HOL: inductive package no longer splits induction rule aggressively, |
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
438 |
but only as far as specified by the introductions given; the old |
11130 | 439 |
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
|
440 |
'split_rule (complete)'; |
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset
|
441 |
|
10998 | 442 |
* HOL: induct renamed to lfp_induct, lfp_Tarski to lfp_unfold, |
443 |
gfp_Tarski to gfp_unfold; |
|
10224 | 444 |
|
10288 | 445 |
* HOL: contrapos, contrapos2 renamed to contrapos_nn, contrapos_pp; |
446 |
||
10858 | 447 |
* HOL: infix "dvd" now has priority 50 rather than 70 (because it is a |
448 |
relation); infix "^^" has been renamed "``"; infix "``" has been |
|
449 |
renamed "`"; "univalent" has been renamed "single_valued"; |
|
10793 | 450 |
|
10998 | 451 |
* HOL/Real: "rinv" and "hrinv" replaced by overloaded "inverse" |
452 |
operation; |
|
453 |
||
10868 | 454 |
* HOLCF: infix "`" has been renamed "$"; the symbol syntax is \<cdot>; |
10856 | 455 |
|
10391 | 456 |
* Isar: 'obtain' no longer declares "that" fact as simp/intro; |
457 |
||
10401
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
458 |
* 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
|
459 |
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
|
460 |
(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
|
461 |
|
10976
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset
|
462 |
* Document preparation: renamed standard symbols \<ll> to \<lless> and |
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset
|
463 |
\<gg> to \<ggreater>; |
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset
|
464 |
|
10224 | 465 |
|
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
466 |
*** Document preparation *** |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
467 |
|
10858 | 468 |
* \isabellestyle{NAME} selects version of Isabelle output (currently |
469 |
available: are "it" for near math-mode best-style output, "sl" for |
|
470 |
slanted text style, and "tt" for plain type-writer; if no |
|
471 |
\isabellestyle command is given, output is according to slanted |
|
472 |
type-writer); |
|
473 |
||
10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
474 |
* 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
|
475 |
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
|
476 |
|
10858 | 477 |
* some more standard symbols; see Appendix A of the system manual for |
11062 | 478 |
the complete list of symbols defined in isabellesym.sty; |
10858 | 479 |
|
10998 | 480 |
* improved isabelle style files; more abstract symbol implementation |
481 |
(should now use \isamath{...} and \isatext{...} in custom symbol |
|
482 |
definitions); |
|
483 |
||
10634 | 484 |
* antiquotation @{goals} and @{subgoals} for output of *dynamic* goals |
485 |
state; Note that presentation of goal states does not conform to |
|
486 |
actual human-readable proof documents. Please do not include goal |
|
487 |
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
|
488 |
|
11062 | 489 |
* proper indentation of antiquoted output with proportional LaTeX |
490 |
fonts; |
|
10862 | 491 |
|
11050
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset
|
492 |
* no_document ML operator temporarily disables LaTeX document |
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset
|
493 |
generation; |
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset
|
494 |
|
11062 | 495 |
* isatool unsymbolize tunes sources for plain ASCII communication; |
496 |
||
10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset
|
497 |
|
10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
498 |
*** Isar *** |
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
499 |
|
10547 | 500 |
* Pure: Isar now suffers initial goal statements to contain unbound |
501 |
schematic variables (this does not conform to actual readable proof |
|
502 |
documents, due to unpredictable outcome and non-compositional proof |
|
503 |
checking); users who know what they are doing may use schematic goals |
|
504 |
for Prolog-style synthesis of proven results; |
|
505 |
||
10391 | 506 |
* Pure: assumption method (an implicit finishing) now handles actual |
507 |
rules as well; |
|
508 |
||
509 |
* Pure: improved 'obtain' --- moved to Pure, insert "that" into |
|
510 |
initial goal, declare "that" only as Pure intro (only for single |
|
511 |
steps); the "that" rule assumption may now be involved in implicit |
|
512 |
finishing, thus ".." becomes a feasible for trivial obtains; |
|
513 |
||
514 |
* Pure: default proof step now includes 'intro_classes'; thus trivial |
|
515 |
instance proofs may be performed by ".."; |
|
516 |
||
517 |
* Pure: ?thesis / ?this / "..." now work for pure meta-level |
|
518 |
statements as well; |
|
10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
519 |
|
11097 | 520 |
* Pure: more robust selection of calculational rules; |
521 |
||
10858 | 522 |
* Pure: the builtin notion of 'finished' goal now includes the ==-refl |
523 |
rule (as well as the assumption rule); |
|
524 |
||
525 |
* Pure: 'thm_deps' command visualizes dependencies of theorems and |
|
526 |
lemmas, using the graph browser tool; |
|
527 |
||
10944 | 528 |
* Pure: predict failure of "show" in interactive mode; |
529 |
||
11016
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
530 |
* Pure: 'thms_containing' now takes actual terms as arguments; |
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
531 |
|
10401
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
532 |
* 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
|
533 |
(potential INCOMPATIBILITY); tuned error handling; |
58bb50f69497
* Isar/HOL: method 'induct' now handles non-atomic goals; as a
wenzelm
parents:
10391
diff
changeset
|
534 |
|
10557 | 535 |
* HOL: cases and induct rules now provide explicit hints about the |
10547 | 536 |
number of facts to be consumed (0 for "type" and 1 for "set" rules); |
537 |
any remaining facts are inserted into the goal verbatim; |
|
538 |
||
10858 | 539 |
* HOL: local contexts (aka cases) may now contain term bindings as |
540 |
well; the 'cases' and 'induct' methods new provide a ?case binding for |
|
541 |
the result to be shown in each case; |
|
542 |
||
10770 | 543 |
* HOL: added 'recdef_tc' command; |
544 |
||
11016
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
545 |
* isatool convert assists in eliminating legacy ML scripts; |
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset
|
546 |
|
10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset
|
547 |
|
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
548 |
*** HOL *** |
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
549 |
|
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
550 |
* 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
|
551 |
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
|
552 |
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
|
553 |
HOL/Induct/Multiset, HOL/Induct/Acc (as Accessible_Part), HOL/While |
10337 | 554 |
(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
|
555 |
|
10966 | 556 |
* HOL/Unix: "Some aspects of Unix file-system security", a typical |
557 |
modelling and verification task performed in Isabelle/HOL + |
|
558 |
Isabelle/Isar + Isabelle document preparation (by Markus Wenzel). |
|
559 |
||
11094 | 560 |
* HOL/Algebra: special summation operator SUM no longer exists, it has |
561 |
been replaced by setsum; infix 'assoc' now has priority 50 (like |
|
562 |
'dvd'); axiom 'one_not_zero' has been moved from axclass 'ring' to |
|
563 |
'domain', this makes the theory consistent with mathematical |
|
564 |
literature; |
|
565 |
||
10514 | 566 |
* HOL basics: added overloaded operations "inverse" and "divide" |
10726 | 567 |
(infix "/"), syntax for generic "abs" operation, generic summation |
11094 | 568 |
operator \<Sum>; |
10452
abeefb0a79ae
* added overloaded operations "inverse" and "divide" (infix "/");
wenzelm
parents:
10428
diff
changeset
|
569 |
|
10391 | 570 |
* HOL/typedef: simplified package, provide more useful rules (see also |
571 |
HOL/subset.thy); |
|
572 |
||
10915
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
573 |
* HOL/datatype: induction rule for arbitrarily branching datatypes is |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
574 |
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
|
575 |
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
|
576 |
|
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
577 |
* 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
|
578 |
to "split_conv" (old name still available for compatibility); |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
579 |
|
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
580 |
* 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
|
581 |
rules with string literals); |
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset
|
582 |
|
12245 | 583 |
* HOL-Real-Hyperreal: this extends HOL-Real with the hyperreals |
584 |
and Fleuriot's mechanization of analysis, including the transcendental |
|
585 |
functions for the reals; |
|
10756 | 586 |
|
11094 | 587 |
* HOL/Real, HOL/Hyperreal: improved arithmetic simplification; |
10391 | 588 |
|
10858 | 589 |
|
10474 | 590 |
*** CTT *** |
591 |
||
10547 | 592 |
* CTT: x-symbol support for Pi, Sigma, -->, : (membership); note that |
593 |
"lam" is displayed as TWO lambda-symbols |
|
10474 | 594 |
|
10547 | 595 |
* CTT: theory Main now available, containing everything (that is, Bool |
596 |
and Arith); |
|
597 |
||
10474 | 598 |
|
10391 | 599 |
*** General *** |
600 |
||
10547 | 601 |
* Pure: the Simplifier has been implemented properly as a derived rule |
602 |
outside of the actual kernel (at last!); the overall performance |
|
603 |
penalty in practical applications is about 50%, while reliability of |
|
604 |
the Isabelle inference kernel has been greatly improved; |
|
605 |
||
11112 | 606 |
* print modes "brackets" and "no_brackets" control output of nested => |
607 |
(types) and ==> (props); the default behaviour is "brackets"; |
|
608 |
||
10391 | 609 |
* Provers: fast_tac (and friends) now handle actual object-logic rules |
610 |
as assumptions as well; |
|
611 |
||
11124 | 612 |
* system: support Poly/ML 4.0; |
613 |
||
614 |
* system: isatool install handles KDE version 1 or 2; |
|
615 |
||
10391 | 616 |
|
10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset
|
617 |
|
10103 | 618 |
New in Isabelle99-1 (October 2000) |
619 |
---------------------------------- |
|
8015 | 620 |
|
10003 | 621 |
*** Overview of INCOMPATIBILITIES *** |
8014 | 622 |
|
8848 | 623 |
* HOL: simplification of natural numbers is much changed; to partly |
624 |
recover the old behaviour (e.g. to prevent n+n rewriting to #2*n) |
|
625 |
issue the following ML commands: |
|
626 |
||
627 |
Delsimprocs Nat_Numeral_Simprocs.cancel_numerals; |
|
628 |
Delsimprocs [Nat_Numeral_Simprocs.combine_numerals]; |
|
8788 | 629 |
|
10129 | 630 |
* HOL: simplification no longer dives into case-expressions; this is |
631 |
controlled by "t.weak_case_cong" for each datatype t; |
|
10003 | 632 |
|
633 |
* HOL: nat_less_induct renamed to less_induct; |
|
634 |
||
635 |
* HOL: systematic renaming of the SOME (Eps) rules, may use isatool |
|
636 |
fixsome to patch .thy and .ML sources automatically; |
|
8967 | 637 |
|
10003 | 638 |
select_equality -> some_equality |
639 |
select_eq_Ex -> some_eq_ex |
|
640 |
selectI2EX -> someI2_ex |
|
641 |
selectI2 -> someI2 |
|
642 |
selectI -> someI |
|
643 |
select1_equality -> some1_equality |
|
644 |
Eps_sym_eq -> some_sym_eq_trivial |
|
645 |
Eps_eq -> some_eq_trivial |
|
646 |
||
647 |
* HOL: exhaust_tac on datatypes superceded by new generic case_tac; |
|
648 |
||
649 |
* HOL: removed obsolete theorem binding expand_if (refer to split_if |
|
650 |
instead); |
|
651 |
||
652 |
* HOL: the recursion equations generated by 'recdef' are now called |
|
653 |
f.simps instead of f.rules; |
|
654 |
||
655 |
* HOL: qed_spec_mp now also handles bounded ALL as well; |
|
656 |
||
657 |
* HOL: 0 is now overloaded, so the type constraint ":: nat" may |
|
658 |
sometimes be needed; |
|
659 |
||
660 |
* HOL: the constant for "f``x" is now "image" rather than "op ``"; |
|
8014 | 661 |
|
10065 | 662 |
* HOL: the constant for "f-``x" is now "vimage" rather than "op -``"; |
663 |
||
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
664 |
* 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
|
665 |
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
|
666 |
now "<*lex*>" instead of "**"; |
8705 | 667 |
|
10003 | 668 |
* HOL: theory Sexp is now in HOL/Induct examples (it used to be part |
669 |
of main HOL, but was unused); better use HOL's datatype package; |
|
9971 | 670 |
|
10137
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
671 |
* HOL: removed "symbols" syntax for constant "override" of theory Map; |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
672 |
the old syntax may be recovered as follows: |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
673 |
|
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
674 |
syntax (symbols) |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
675 |
override :: "('a ~=> 'b) => ('a ~=> 'b) => ('a ~=> 'b)" |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
676 |
(infixl "\\<oplus>" 100) |
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset
|
677 |
|
8848 | 678 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
679 |
||
8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
680 |
* 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
|
681 |
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
|
682 |
internally; |
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
683 |
|
10003 | 684 |
* HOL and ZF: syntax for quotienting wrt an equivalence relation |
685 |
changed from A/r to A//r; |
|
9908 | 686 |
|
10003 | 687 |
* ZF: new treatment of arithmetic (nat & int) may break some old |
688 |
proofs; |
|
8921
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset
|
689 |
|
10003 | 690 |
* Isar: renamed some attributes (RS -> THEN, simplify -> simplified, |
691 |
rulify -> rule_format, elimify -> elim_format, ...); |
|
9542 | 692 |
|
9941
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
693 |
* Isar/Provers: intro/elim/dest attributes changed; renamed |
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
694 |
intro/intro!/intro!! flags to intro!/intro/intro? (in most cases, one |
9937 | 695 |
should have to change intro!! to intro? only); replaced "delrule" by |
696 |
"rule del"; |
|
9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
697 |
|
9612 | 698 |
* Isar/HOL: renamed "intrs" to "intros" in inductive definitions; |
699 |
||
9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
700 |
* Provers: strengthened force_tac by using new first_best_tac; |
9402 | 701 |
|
10003 | 702 |
* LaTeX document preparation: several changes of isabelle.sty (see |
703 |
lib/texinputs); |
|
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
704 |
|
8014 | 705 |
|
8487 | 706 |
*** Document preparation *** |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
707 |
|
9198
0ab3c81e9425
* formal comments (text blocks etc.) in new-style theories may now
wenzelm
parents:
9185
diff
changeset
|
708 |
* formal comments (text blocks etc.) in new-style theories may now |
9753 | 709 |
contain antiquotations of thm/prop/term/typ/text to be presented |
710 |
according to latex print mode; concrete syntax is like this: |
|
711 |
@{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
|
712 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
713 |
* isatool mkdir provides easy setup of Isabelle session directories, |
8518 | 714 |
including proper document sources; |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
715 |
|
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
716 |
* generated LaTeX sources are now deleted after successful run |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
717 |
(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
|
718 |
of isatool usedir; |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
719 |
|
8566 | 720 |
* isatool usedir -D now lets isatool latex -o sty update the Isabelle |
10003 | 721 |
style files, achieving self-contained LaTeX sources and simplifying |
722 |
LaTeX debugging; |
|
8566 | 723 |
|
8518 | 724 |
* 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
|
725 |
|
9057
af1ca1acf292
* browser info session directories are now self-contained (may be put
wenzelm
parents:
9052
diff
changeset
|
726 |
* 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
|
727 |
on WWW server seperately); improved graphs of nested sessions; removed |
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset
|
728 |
graph for 'all sessions'; |
9057
af1ca1acf292
* browser info session directories are now self-contained (may be put
wenzelm
parents:
9052
diff
changeset
|
729 |
|
10003 | 730 |
* several improvements in isabelle style files; \isabellestyle{it} |
731 |
produces fake math mode output; \isamarkupheader is now \section by |
|
732 |
default; see lib/texinputs/isabelle.sty etc.; |
|
9489
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
733 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
734 |
|
8184 | 735 |
*** Isar *** |
736 |
||
10003 | 737 |
* Isar/Pure: local results and corresponding term bindings are now |
738 |
subject to Hindley-Milner polymorphism (similar to ML); this |
|
739 |
accommodates incremental type-inference very nicely; |
|
8283
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset
|
740 |
|
10003 | 741 |
* Isar/Pure: new derived language element 'obtain' supports |
742 |
generalized existence reasoning; |
|
8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset
|
743 |
|
10003 | 744 |
* Isar/Pure: new calculational elements 'moreover' and 'ultimately' |
745 |
support accumulation of results, without applying any rules yet; |
|
746 |
useful to collect intermediate results without explicit name |
|
747 |
references, and for use with transitivity rules with more than 2 |
|
748 |
premises; |
|
8184 | 749 |
|
10003 | 750 |
* Isar/Pure: scalable support for case-analysis type proofs: new |
751 |
'case' language element refers to local contexts symbolically, as |
|
752 |
produced by certain proof methods; internally, case names are attached |
|
753 |
to theorems as "tags"; |
|
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
754 |
|
10003 | 755 |
* Isar/Pure: theory command 'hide' removes declarations from |
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
756 |
class/type/const name spaces; |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
757 |
|
10003 | 758 |
* 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
|
759 |
indicate potential overloading; |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
760 |
|
10003 | 761 |
* 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
|
762 |
|
10003 | 763 |
* Isar/Pure: syntax of sorts made 'inner', i.e. have to write |
764 |
"{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
|
765 |
|
10003 | 766 |
* Isar/Pure now provides its own version of intro/elim/dest |
767 |
attributes; useful for building new logics, but beware of confusion |
|
768 |
with the version in Provers/classical; |
|
9612 | 769 |
|
10003 | 770 |
* Isar/Pure: the local context of (non-atomic) goals is provided via |
771 |
case name 'antecedent'; |
|
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
772 |
|
10003 | 773 |
* Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms |
774 |
to the current context is now done automatically); |
|
9383
c21fa1c48de0
* HOL: removed obsolete expand_if = split_if; theorems if_splits =
wenzelm
parents:
9349
diff
changeset
|
775 |
|
10003 | 776 |
* Isar/Pure: theory command 'method_setup' provides a simple interface |
777 |
for definining proof methods in ML; |
|
9612 | 778 |
|
10003 | 779 |
* Isar/Provers: intro/elim/dest attributes changed; renamed |
9941
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
780 |
intro/intro!/intro!! flags to intro!/intro/intro? (INCOMPATIBILITY, in |
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
781 |
most cases, one should have to change intro!! to intro? only); |
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
782 |
replaced "delrule" by "rule del"; |
8283
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset
|
783 |
|
10003 | 784 |
* Isar/Provers: new 'hypsubst' method, plain 'subst' method and |
785 |
'symmetric' attribute (the latter supercedes [RS sym]); |
|
786 |
||
787 |
* Isar/Provers: splitter support (via 'split' attribute and 'simp' |
|
788 |
method modifier); 'simp' method: 'only:' modifier removes loopers as |
|
789 |
well (including splits); |
|
790 |
||
791 |
* Isar/Provers: Simplifier and Classical methods now support all kind |
|
792 |
of modifiers used in the past, including 'cong', 'iff', etc. |
|
793 |
||
794 |
* Isar/Provers: added 'fastsimp' and 'clarsimp' methods (combination |
|
795 |
of Simplifier and Classical reasoner); |
|
796 |
||
797 |
* Isar/HOL: new proof method 'cases' and improved version of 'induct' |
|
798 |
now support named cases; major packages (inductive, datatype, primrec, |
|
799 |
recdef) support case names and properly name parameters; |
|
9612 | 800 |
|
10003 | 801 |
* Isar/HOL: new transitivity rules for substitution in inequalities -- |
802 |
monotonicity conditions are extracted to be proven at end of |
|
803 |
calculations; |
|
804 |
||
805 |
* Isar/HOL: removed 'case_split' thm binding, should use 'cases' proof |
|
806 |
method anyway; |
|
807 |
||
808 |
* Isar/HOL: removed old expand_if = split_if; theorems if_splits = |
|
809 |
split_if split_if_asm; datatype package provides theorems foo.splits = |
|
810 |
foo.split foo.split_asm for each datatype; |
|
811 |
||
812 |
* Isar/HOL: tuned inductive package, rename "intrs" to "intros" |
|
813 |
(potential INCOMPATIBILITY), emulation of mk_cases feature for proof |
|
814 |
scripts: new 'inductive_cases' command and 'ind_cases' method; (Note: |
|
815 |
use "(cases (simplified))" method in proper proof texts); |
|
816 |
||
817 |
* Isar/HOL: added global 'arith_split' attribute for 'arith' method; |
|
818 |
||
819 |
* Isar: names of theorems etc. may be natural numbers as well; |
|
820 |
||
821 |
* Isar: 'pr' command: optional arguments for goals_limit and |
|
9724
2030c5d63741
* 'pr' command: optional argument for ProofContext.prems_limit;
wenzelm
parents:
9709
diff
changeset
|
822 |
ProofContext.prems_limit; no longer prints theory contexts, but only |
2030c5d63741
* 'pr' command: optional argument for ProofContext.prems_limit;
wenzelm
parents:
9709
diff
changeset
|
823 |
proof states; |
8487 | 824 |
|
10003 | 825 |
* Isar: diagnostic commands 'pr', 'thm', 'prop', 'term', 'typ' admit |
8518 | 826 |
additional print modes to be specified; e.g. "pr(latex)" will print |
827 |
proof state according to the Isabelle LaTeX style; |
|
8487 | 828 |
|
10003 | 829 |
* Isar: improved support for emulating tactic scripts, including proof |
9612 | 830 |
methods 'rule_tac' etc., 'cut_tac', 'thin_tac', 'subgoal_tac', |
831 |
'rename_tac', 'rotate_tac', 'tactic', and 'case_tac' / 'induct_tac' |
|
832 |
(for HOL datatypes); |
|
8534 | 833 |
|
10003 | 834 |
* Isar: simplified (more robust) goal selection of proof methods: 1st |
835 |
goal, all goals, or explicit goal specifier (tactic emulation); thus |
|
836 |
'proof method scripts' have to be in depth-first order; |
|
8673
987ea1a559d0
Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents:
8655
diff
changeset
|
837 |
|
10003 | 838 |
* Isar: tuned 'let' syntax: replaced 'as' keyword by 'and'; |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
839 |
|
10003 | 840 |
* Isar: removed 'help' command, which hasn't been too helpful anyway; |
841 |
should instead use individual commands for printing items |
|
842 |
(print_commands, print_methods etc.); |
|
9224
0da360494917
* Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents:
9198
diff
changeset
|
843 |
|
10003 | 844 |
* Isar: added 'nothing' --- the empty list of theorems; |
9239 | 845 |
|
8184 | 846 |
|
8014 | 847 |
*** HOL *** |
848 |
||
10080 | 849 |
* HOL/MicroJava: formalization of a fragment of Java, together with a |
850 |
corresponding virtual machine and a specification of its bytecode |
|
851 |
verifier and a lightweight bytecode verifier, including proofs of |
|
852 |
type-safety; by Gerwin Klein, Tobias Nipkow, David von Oheimb, and |
|
853 |
Cornelia Pusch (see also the homepage of project Bali at |
|
854 |
http://isabelle.in.tum.de/Bali/); |
|
855 |
||
8518 | 856 |
* HOL/Algebra: new theory of rings and univariate polynomials, by |
857 |
Clemens Ballarin; |
|
8014 | 858 |
|
10157
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
859 |
* HOL/NumberTheory: fundamental Theorem of Arithmetic, Chinese |
10003 | 860 |
Remainder Theorem, Fermat/Euler Theorem, Wilson's Theorem, by Thomas M |
861 |
Rasmussen; |
|
8570 | 862 |
|
10157
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
863 |
* HOL/Lattice: fundamental concepts of lattice theory and order |
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
864 |
structures, including duals, properties of bounds versus algebraic |
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
865 |
laws, lattice operations versus set-theoretic ones, the Knaster-Tarski |
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
866 |
Theorem for complete lattices etc.; may also serve as a demonstration |
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
867 |
for abstract algebraic reasoning using axiomatic type classes, and |
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
868 |
mathematics-style proof in Isabelle/Isar; by Markus Wenzel; |
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset
|
869 |
|
10003 | 870 |
* HOL/Prolog: a (bare-bones) implementation of Lambda-Prolog, by David |
871 |
von Oheimb; |
|
9542 | 872 |
|
10164
c240747082aa
* HOL/IMPP: extension of IMP with local variables and mutually
wenzelm
parents:
10157
diff
changeset
|
873 |
* HOL/IMPP: extension of IMP with local variables and mutually |
c240747082aa
* HOL/IMPP: extension of IMP with local variables and mutually
wenzelm
parents:
10157
diff
changeset
|
874 |
recursive procedures, by David von Oheimb; |
c240747082aa
* HOL/IMPP: extension of IMP with local variables and mutually
wenzelm
parents:
10157
diff
changeset
|
875 |
|
10003 | 876 |
* HOL/Lambda: converted into new-style theory and document; |
9542 | 877 |
|
10003 | 878 |
* HOL/ex/Multiquote: example of multiple nested quotations and |
879 |
anti-quotations -- basically a generalized version of de-Bruijn |
|
880 |
representation; very useful in avoiding lifting of operations; |
|
8848 | 881 |
|
9612 | 882 |
* HOL/record: added general record equality rule to simpset; fixed |
883 |
select-update simplification procedure to handle extended records as |
|
884 |
well; admit "r" as field name; |
|
9542 | 885 |
|
8967 | 886 |
* HOL: 0 is now overloaded over the new sort "zero", allowing its use with |
887 |
other numeric types and also as the identity of groups, rings, etc.; |
|
888 |
||
889 |
* HOL: new axclass plus_ac0 for addition with the AC-laws and 0 as identity. |
|
890 |
Types nat and int belong to this axclass; |
|
891 |
||
10003 | 892 |
* HOL: greatly improved simplification involving numerals of type nat, int, real: |
8788 | 893 |
(i + #8 + j) = Suc k simplifies to #7 + (i + j) = k |
8832 | 894 |
i*j + k + j*#3*i simplifies to #4*(i*j) + k |
895 |
two terms #m*u and #n*u are replaced by #(m+n)*u |
|
896 |
(where #m, #n and u can implicitly be 1; this is simproc combine_numerals) |
|
897 |
and the term/formula #m*u+x ~~ #n*u+y simplifies simplifies to #(m-n)+x ~~ y |
|
898 |
or x ~~ #(n-m)+y, where ~~ is one of = < <= or - (simproc cancel_numerals); |
|
8736 | 899 |
|
10003 | 900 |
* HOL: meson_tac is available (previously in ex/meson.ML); it is a |
901 |
powerful prover for predicate logic but knows nothing of clasets; see |
|
902 |
ex/mesontest.ML and ex/mesontest2.ML for example applications; |
|
9835 | 903 |
|
8848 | 904 |
* HOL: new version of "case_tac" subsumes both boolean case split and |
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
905 |
"exhaust_tac" on datatypes; INCOMPATIBILITY: exhaust_tac no longer |
8518 | 906 |
exists, may define val exhaust_tac = case_tac for ad-hoc portability; |
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
907 |
|
8848 | 908 |
* HOL: simplification no longer dives into case-expressions: only the |
10129 | 909 |
selector expression is simplified, but not the remaining arms; to |
910 |
enable full simplification of case-expressions for datatype t, you may |
|
911 |
remove t.weak_case_cong from the simpset, either globally (Delcongs |
|
912 |
[thm"t.weak_case_cong"];) or locally (delcongs [...]). |
|
8603 | 913 |
|
8848 | 914 |
* HOL/recdef: the recursion equations generated by 'recdef' for |
915 |
function 'f' are now called f.simps instead of f.rules; if all |
|
916 |
termination conditions are proved automatically, these simplification |
|
917 |
rules are added to the simpset, as in primrec; rules may be named |
|
918 |
individually as well, resulting in a separate list of theorems for |
|
919 |
each equation; |
|
920 |
||
9489
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
921 |
* HOL/While is a new theory that provides a while-combinator. It |
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
922 |
permits the definition of tail-recursive functions without the |
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
923 |
provision of a termination measure. The latter is necessary once the |
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
924 |
invariant proof rule for while is applied. |
9457 | 925 |
|
10003 | 926 |
* HOL: new (overloaded) notation for the set of elements below/above |
927 |
some element: {..u}, {..u(}, {l..}, {)l..}. See theory SetInterval. |
|
8925 | 928 |
|
8848 | 929 |
* HOL: theorems impI, allI, ballI bound as "strip"; |
930 |
||
10003 | 931 |
* HOL: new tactic induct_thm_tac: thm -> string -> int -> tactic |
9746 | 932 |
induct_tac th "x1 ... xn" expects th to have a conclusion of the form |
933 |
P v1 ... vn and abbreviates res_inst_tac [("v1","x1"),...,("vn","xn")] th; |
|
934 |
||
10003 | 935 |
* HOL/Real: "rabs" replaced by overloaded "abs" function; |
9737 | 936 |
|
10003 | 937 |
* HOL: theory Sexp now in HOL/Induct examples (it used to be part of |
938 |
main HOL, but was unused); |
|
8626 | 939 |
|
10003 | 940 |
* HOL: fewer consts declared as global (e.g. have to refer to |
941 |
"Lfp.lfp" instead of "lfp" internally; affects ML packages only); |
|
8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset
|
942 |
|
10003 | 943 |
* HOL: tuned AST representation of nested pairs, avoiding bogus output |
944 |
in case of overlap with user translations (e.g. judgements over |
|
945 |
tuples); (note that the underlying logical represenation is still |
|
946 |
bogus); |
|
9349
d43669fb423d
* tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents:
9335
diff
changeset
|
947 |
|
8412 | 948 |
|
9542 | 949 |
*** ZF *** |
950 |
||
10003 | 951 |
* ZF: simplification automatically cancels common terms in arithmetic |
952 |
expressions over nat and int; |
|
9542 | 953 |
|
10003 | 954 |
* ZF: new treatment of nat to minimize type-checking: all operators |
955 |
coerce their operands to a natural number using the function natify, |
|
956 |
making the algebraic laws unconditional; |
|
9542 | 957 |
|
10003 | 958 |
* ZF: as above, for int: operators coerce their operands to an integer |
959 |
using the function intify; |
|
9542 | 960 |
|
10003 | 961 |
* ZF: the integer library now contains many of the usual laws for the |
962 |
orderings, including $<=, and monotonicity laws for $+ and $*; |
|
9542 | 963 |
|
10003 | 964 |
* ZF: new example ZF/ex/NatSum to demonstrate integer arithmetic |
965 |
simplification; |
|
9388 | 966 |
|
10003 | 967 |
* FOL and ZF: AddIffs now available, giving theorems of the form P<->Q |
968 |
to the simplifier and classical reasoner simultaneously; |
|
9388 | 969 |
|
970 |
||
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
971 |
*** General *** |
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
972 |
|
10003 | 973 |
* Provers: blast_tac now handles actual object-logic rules as |
974 |
assumptions; note that auto_tac uses blast_tac internally as well; |
|
975 |
||
976 |
* Provers: new functions rulify/rulify_no_asm: thm -> thm for turning |
|
977 |
outer -->/All/Ball into ==>/!!; qed_spec_mp now uses rulify_no_asm; |
|
978 |
||
9941
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
979 |
* Provers: delrules now handles destruct rules as well (no longer need |
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
980 |
explicit make_elim); |
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset
|
981 |
|
10003 | 982 |
* Provers: Blast_tac now warns of and ignores "weak elimination rules" e.g. |
983 |
[| inj ?f; ?f ?x = ?f ?y; ?x = ?y ==> ?W |] ==> ?W |
|
984 |
use instead the strong form, |
|
985 |
[| inj ?f; ~ ?W ==> ?f ?x = ?f ?y; ?x = ?y ==> ?W |] ==> ?W |
|
986 |
in HOL, FOL and ZF the function cla_make_elim will create such rules |
|
987 |
from destruct-rules; |
|
9489
aa757b35b129
* blast(_tac) now handles actual object-logic rules as assumptions;
wenzelm
parents:
9457
diff
changeset
|
988 |
|
9709
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
989 |
* Provers: Simplifier.easy_setup provides a fast path to basic |
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
990 |
Simplifier setup for new object-logics; |
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
991 |
|
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
992 |
* Pure: AST translation rules no longer require constant head on LHS; |
9349
d43669fb423d
* tuned AST representation of nested pairs, avoiding bogus output in
wenzelm
parents:
9335
diff
changeset
|
993 |
|
9709
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
994 |
* Pure: improved name spaces: ambiguous output is qualified; support |
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
995 |
for hiding of names; |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
996 |
|
10003 | 997 |
* system: smart setup of canonical ML_HOME, ISABELLE_INTERFACE, and |
998 |
XSYMBOL_HOME; no longer need to do manual configuration in most |
|
999 |
situations; |
|
1000 |
||
9709
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
1001 |
* system: compression of ML heaps images may now be controlled via -c |
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
1002 |
option of isabelle and isatool usedir (currently only observed by |
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
1003 |
Poly/ML); |
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1004 |
|
9981
01a0c4772c18
system: isatool installfonts may handle X-Symbol fonts as well;
wenzelm
parents:
9971
diff
changeset
|
1005 |
* system: isatool installfonts may handle X-Symbol fonts as well (very |
01a0c4772c18
system: isatool installfonts may handle X-Symbol fonts as well;
wenzelm
parents:
9971
diff
changeset
|
1006 |
useful for remote X11); |
01a0c4772c18
system: isatool installfonts may handle X-Symbol fonts as well;
wenzelm
parents:
9971
diff
changeset
|
1007 |
|
9709
2d0ee9612ef1
* Isar/Provers: 'simp' method now supports 'cong' modifiers;
wenzelm
parents:
9701
diff
changeset
|
1008 |
* system: provide TAGS file for Isabelle sources; |
9052 | 1009 |
|
9288
06a55195741b
infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents:
9239
diff
changeset
|
1010 |
* ML: infix 'OF' is a version of 'MRS' with more appropriate argument |
06a55195741b
infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents:
9239
diff
changeset
|
1011 |
order; |
06a55195741b
infix 'OF' is a version of 'MRS' with more appropriate argument order;
wenzelm
parents:
9239
diff
changeset
|
1012 |
|
8994
803533fbb3ec
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents:
8991
diff
changeset
|
1013 |
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global |
803533fbb3ec
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents:
8991
diff
changeset
|
1014 |
timing flag supersedes proof_timing and Toplevel.trace; |
803533fbb3ec
* ML: renamed flags Syntax.trace_norm_ast to Syntax.trace_ast; global
wenzelm
parents:
8991
diff
changeset
|
1015 |
|
10003 | 1016 |
* ML: new combinators |>> and |>>> for incremental transformations |
1017 |
with secondary results (e.g. certain theory extensions): |
|
1018 |
||
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1019 |
* ML: PureThy.add_defs gets additional argument to indicate potential |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1020 |
overloading (usually false); |
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset
|
1021 |
|
10003 | 1022 |
* ML: PureThy.add_thms/add_axioms/add_defs now return theorems as |
1023 |
results; |
|
8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset
|
1024 |
|
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset
|
1025 |
|
8015 | 1026 |
|
7986 | 1027 |
New in Isabelle99 (October 1999) |
1028 |
-------------------------------- |
|
4649 | 1029 |
|
5931 | 1030 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
1031 |
||
6922 | 1032 |
* HOL: The THEN and ELSE parts of conditional expressions (if P then x else y) |
1033 |
are no longer simplified. (This allows the simplifier to unfold recursive |
|
1034 |
functional programs.) To restore the old behaviour, declare |
|
7215 | 1035 |
|
1036 |
Delcongs [if_weak_cong]; |
|
6922 | 1037 |
|
6269 | 1038 |
* HOL: Removed the obsolete syntax "Compl A"; use -A for set |
1039 |
complement; |
|
5931 | 1040 |
|
6269 | 1041 |
* HOL: the predicate "inj" is now defined by translation to "inj_on"; |
6174 | 1042 |
|
7847 | 1043 |
* HOL/datatype: mutual_induct_tac no longer exists -- |
1044 |
use induct_tac "x_1 ... x_n" instead of mutual_induct_tac ["x_1", ..., "x_n"] |
|
1045 |
||
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1046 |
* HOL/typedef: fixed type inference for representing set; type |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1047 |
arguments now have to occur explicitly on the rhs as type constraints; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1048 |
|
6269 | 1049 |
* ZF: The con_defs part of an inductive definition may no longer refer |
1050 |
to constants declared in the same theory; |
|
6057 | 1051 |
|
6269 | 1052 |
* HOL, ZF: the function mk_cases, generated by the inductive |
1053 |
definition package, has lost an argument. To simplify its result, it |
|
1054 |
uses the default simpset instead of a supplied list of theorems. |
|
6141 | 1055 |
|
7215 | 1056 |
* HOL/List: the constructors of type list are now Nil and Cons; |
1057 |
||
7619 | 1058 |
* Simplifier: the type of the infix ML functions |
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
1059 |
setSSolver addSSolver setSolver addSolver |
7619 | 1060 |
is now simpset * solver -> simpset where `solver' is a new abstract type |
1061 |
for packaging solvers. A solver is created via |
|
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
1062 |
mk_solver: string -> (thm list -> int -> tactic) -> solver |
7619 | 1063 |
where the string argument is only a comment. |
6057 | 1064 |
|
7647
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
1065 |
|
6069 | 1066 |
*** Proof tools *** |
1067 |
||
6343 | 1068 |
* Provers/Arith/fast_lin_arith.ML contains a functor for creating a |
1069 |
decision procedure for linear arithmetic. Currently it is used for |
|
7593 | 1070 |
types `nat', `int', and `real' in HOL (see below); it can, should and |
1071 |
will be instantiated for other types and logics as well. |
|
6069 | 1072 |
|
7324 | 1073 |
* The simplifier now accepts rewrite rules with flexible heads, eg |
1074 |
hom ?f ==> ?f(?x+?y) = ?f ?x + ?f ?y |
|
1075 |
They are applied like any rule with a non-pattern lhs, i.e. by first-order |
|
1076 |
matching. |
|
6069 | 1077 |
|
7593 | 1078 |
|
6014 | 1079 |
*** General *** |
1080 |
||
7986 | 1081 |
* New Isabelle/Isar subsystem provides an alternative to traditional |
7215 | 1082 |
tactical theorem proving; together with the ProofGeneral/isar user |
1083 |
interface it offers an interactive environment for developing human |
|
1084 |
readable proof documents (Isar == Intelligible semi-automated |
|
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
1085 |
reasoning); for further information see isatool doc isar-ref, |
7986 | 1086 |
src/HOL/Isar_examples and http://isabelle.in.tum.de/Isar/ |
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
1087 |
|
9612 | 1088 |
* improved and simplified presentation of theories: better HTML markup |
1089 |
(including colors), graph views in several sizes; isatool usedir now |
|
1090 |
provides a proper interface for user theories (via -P option); actual |
|
1091 |
document preparation based on (PDF)LaTeX is available as well (for |
|
1092 |
new-style theories only); see isatool doc system for more information; |
|
7215 | 1093 |
|
7252 | 1094 |
* native support for Proof General, both for classic Isabelle and |
7986 | 1095 |
Isabelle/Isar; |
7215 | 1096 |
|
7791 | 1097 |
* ML function thm_deps visualizes dependencies of theorems and lemmas, |
1098 |
using the graph browser tool; |
|
1099 |
||
6751 | 1100 |
* Isabelle manuals now also available as PDF; |
1101 |
||
6449 | 1102 |
* theory loader rewritten from scratch (may not be fully |
1103 |
bug-compatible); old loadpath variable has been replaced by show_path, |
|
6671 | 1104 |
add_path, del_path, reset_path functions; new operations such as |
7593 | 1105 |
update_thy, touch_thy, remove_thy, use/update_thy_only (see also |
1106 |
isatool doc ref); |
|
6449 | 1107 |
|
7215 | 1108 |
* improved isatool install: option -k creates KDE application icon, |
1109 |
option -p DIR installs standalone binaries; |
|
1110 |
||
1111 |
* added ML_PLATFORM setting (useful for cross-platform installations); |
|
1112 |
more robust handling of platform specific ML images for SML/NJ; |
|
1113 |
||
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
1114 |
* the settings environment is now statically scoped, i.e. it is never |
7986 | 1115 |
created again in sub-processes invoked from isabelle, isatool, or |
7886
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
1116 |
Isabelle; |
8fa551e22e52
the settings environment is now statically scoped;
wenzelm
parents:
7863
diff
changeset
|
1117 |
|
7215 | 1118 |
* path element specification '~~' refers to '$ISABELLE_HOME'; |
1119 |
||
6343 | 1120 |
* in locales, the "assumes" and "defines" parts may be omitted if |
1121 |
empty; |
|
5973 | 1122 |
|
6269 | 1123 |
* new print_mode "xsymbols" for extended symbol support (e.g. genuine |
1124 |
long arrows); |
|
6259
488bdc1bd11a
path element specification '~~' refers to '$ISABELLE_HOME';
wenzelm
parents:
6174
diff
changeset
|
1125 |
|
6343 | 1126 |
* new print_mode "HTML"; |
1127 |
||
1128 |
* new flag show_tags controls display of tags of theorems (which are |
|
1129 |
basically just comments that may be attached by some tools); |
|
1130 |
||
6461 | 1131 |
* Isamode 2.6 requires patch to accomodate change of Isabelle font |
1132 |
mode and goal output format: |
|
1133 |
||
1134 |
diff -r Isamode-2.6/elisp/isa-load.el Isamode/elisp/isa-load.el |
|
1135 |
244c244 |
|
1136 |
< (list (isa-getenv "ISABELLE") "-msymbols" logic-name) |
|
1137 |
--- |
|
6533 | 1138 |
> (list (isa-getenv "ISABELLE") "-misabelle_font" "-msymbols" logic-name) |
6461 | 1139 |
diff -r Isabelle-2.6/elisp/isa-proofstate.el Isamode/elisp/isa-proofstate.el |
1140 |
181c181 |
|
1141 |
< (defconst proofstate-proofstart-regexp "^Level [0-9]+$" |
|
1142 |
--- |
|
1143 |
> (defconst proofstate-proofstart-regexp "^Level [0-9]+" |
|
1144 |
||
7450 | 1145 |
* function bind_thms stores lists of theorems (cf. bind_thm); |
1146 |
||
7593 | 1147 |
* new shorthand tactics ftac, eatac, datac, fatac; |
1148 |
||
1149 |
* qed (and friends) now accept "" as result name; in that case the |
|
7986 | 1150 |
theorem is not stored, but proper checks and presentation of the |
1151 |
result still apply; |
|
7593 | 1152 |
|
7805
0ae9ddc36fe0
theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents:
7791
diff
changeset
|
1153 |
* theorem database now also indexes constants "Trueprop", "all", |
0ae9ddc36fe0
theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents:
7791
diff
changeset
|
1154 |
"==>", "=="; thus thms_containing, findI etc. may retrieve more rules; |
0ae9ddc36fe0
theorem database now also indexes constants "Trueprop", "all",
wenzelm
parents:
7791
diff
changeset
|
1155 |
|
6028 | 1156 |
|
6057 | 1157 |
*** HOL *** |
1158 |
||
7215 | 1159 |
** HOL arithmetic ** |
1160 |
||
6343 | 1161 |
* There are now decision procedures for linear arithmetic over nat and |
1162 |
int: |
|
6131 | 1163 |
|
6343 | 1164 |
1. arith_tac copes with arbitrary formulae involving `=', `<', `<=', |
1165 |
`+', `-', `Suc', `min', `max' and numerical constants; other subterms |
|
1166 |
are treated as atomic; subformulae not involving type `nat' or `int' |
|
1167 |
are ignored; quantified subformulae are ignored unless they are |
|
1168 |
positive universal or negative existential. The tactic has to be |
|
1169 |
invoked by hand and can be a little bit slow. In particular, the |
|
1170 |
running time is exponential in the number of occurrences of `min' and |
|
1171 |
`max', and `-' on `nat'. |
|
6131 | 1172 |
|
6343 | 1173 |
2. fast_arith_tac is a cut-down version of arith_tac: it only takes |
1174 |
(negated) (in)equalities among the premises and the conclusion into |
|
1175 |
account (i.e. no compound formulae) and does not know about `min' and |
|
1176 |
`max', and `-' on `nat'. It is fast and is used automatically by the |
|
1177 |
simplifier. |
|
6131 | 1178 |
|
6343 | 1179 |
NB: At the moment, these decision procedures do not cope with mixed |
1180 |
nat/int formulae where the two parts interact, such as `m < n ==> |
|
1181 |
int(m) < int(n)'. |
|
6028 | 1182 |
|
7215 | 1183 |
* HOL/Numeral provides a generic theory of numerals (encoded |
7313 | 1184 |
efficiently as bit strings); setup for types nat/int/real is in place; |
7215 | 1185 |
INCOMPATIBILITY: since numeral syntax is now polymorphic, rather than |
1186 |
int, existing theories and proof scripts may require a few additional |
|
1187 |
type constraints; |
|
1188 |
||
1189 |
* integer division and remainder can now be performed on constant |
|
1190 |
arguments; |
|
7157 | 1191 |
|
7215 | 1192 |
* many properties of integer multiplication, division and remainder |
1193 |
are now available; |
|
6922 | 1194 |
|
7287 | 1195 |
* An interface to the Stanford Validity Checker (SVC) is available through the |
1196 |
tactic svc_tac. Propositional tautologies and theorems of linear arithmetic |
|
1197 |
are proved automatically. SVC must be installed separately, and its results |
|
1198 |
must be TAKEN ON TRUST (Isabelle does not check the proofs, but tags any |
|
1199 |
invocation of the underlying oracle). For SVC see |
|
7444 | 1200 |
http://verify.stanford.edu/SVC |
6922 | 1201 |
|
7125 | 1202 |
* IsaMakefile: the HOL-Real target now builds an actual image; |
1203 |
||
7215 | 1204 |
|
1205 |
** HOL misc ** |
|
1206 |
||
7595
5f5d575ddac3
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents:
7593
diff
changeset
|
1207 |
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces |
5f5d575ddac3
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents:
7593
diff
changeset
|
1208 |
(in Isabelle/Isar) -- by Gertrud Bauer; |
5f5d575ddac3
* HOL/Real/HahnBanach: the Hahn-Banach theorem for real vector spaces
wenzelm
parents:
7593
diff
changeset
|
1209 |
|
7691 | 1210 |
* HOL/BCV: generic model of bytecode verification, i.e. data-flow |
1211 |
analysis for assembly languages with subtypes; |
|
1212 |
||
6278 | 1213 |
* HOL/TLA (Lamport's Temporal Logic of Actions): major reorganization |
1214 |
-- avoids syntactic ambiguities and treats state, transition, and |
|
1215 |
temporal levels more uniformly; introduces INCOMPATIBILITIES due to |
|
1216 |
changed syntax and (many) tactics; |
|
1217 |
||
7791 | 1218 |
* HOL/inductive: Now also handles more general introduction rules such |
1219 |
as "ALL y. (y, x) : r --> y : acc r ==> x : acc r"; monotonicity |
|
1220 |
theorems are now maintained within the theory (maintained via the |
|
1221 |
"mono" attribute); |
|
7780
099742c562aa
Documented changes to HOL/inductive and function thm_deps.
berghofe
parents:
7691
diff
changeset
|
1222 |
|
7238
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1223 |
* HOL/datatype: Now also handles arbitrarily branching datatypes |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1224 |
(using function types) such as |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1225 |
|
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1226 |
datatype 'a tree = Atom 'a | Branch "nat => 'a tree" |
7047
d103b875ef1d
Datatype package now handles arbitrarily branching datatypes.
berghofe
parents:
6925
diff
changeset
|
1227 |
|
7326 | 1228 |
* HOL/record: record_simproc (part of the default simpset) takes care |
1229 |
of selectors applied to updated records; record_split_tac is no longer |
|
7327 | 1230 |
part of the default claset; update_defs may now be removed from the |
1231 |
simpset in many cases; COMPATIBILITY: old behavior achieved by |
|
7326 | 1232 |
|
1233 |
claset_ref () := claset() addSWrapper record_split_wrapper; |
|
1234 |
Delsimprocs [record_simproc] |
|
1235 |
||
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1236 |
* HOL/typedef: fixed type inference for representing set; type |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1237 |
arguments now have to occur explicitly on the rhs as type constraints; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1238 |
|
7287 | 1239 |
* HOL/recdef (TFL): 'congs' syntax now expects comma separated list of theorem |
1240 |
names rather than an ML expression; |
|
1241 |
||
1242 |
* HOL/defer_recdef (TFL): like recdef but the well-founded relation can be |
|
1243 |
supplied later. Program schemes can be defined, such as |
|
1244 |
"While B C s = (if B s then While B C (C s) else s)" |
|
1245 |
where the well-founded relation can be chosen after B and C have been given. |
|
6563 | 1246 |
|
7215 | 1247 |
* HOL/List: the constructors of type list are now Nil and Cons; |
1248 |
INCOMPATIBILITY: while [] and infix # syntax is still there, of |
|
1249 |
course, ML tools referring to List.list.op # etc. have to be adapted; |
|
1250 |
||
7238
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1251 |
* HOL_quantifiers flag superseded by "HOL" print mode, which is |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1252 |
disabled by default; run isabelle with option -m HOL to get back to |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1253 |
the original Gordon/HOL-style output; |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1254 |
|
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1255 |
* HOL/Ord.thy: new bounded quantifier syntax (input only): ALL x<y. P, |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1256 |
ALL x<=y. P, EX x<y. P, EX x<=y. P; |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1257 |
|
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1258 |
* HOL basic syntax simplified (more orthogonal): all variants of |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1259 |
All/Ex now support plain / symbolic / HOL notation; plain syntax for |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1260 |
Eps operator is provided as well: "SOME x. P[x]"; |
36e58620ffc8
replaced HOL_quantifiers flag by "HOL" print mode;
wenzelm
parents:
7216
diff
changeset
|
1261 |
|
7320 | 1262 |
* HOL/Sum.thy: sum_case has been moved to HOL/Datatype; |
7261 | 1263 |
|
7280 | 1264 |
* HOL/Univ.thy: infix syntax <*>, <+>, <**>, <+> eliminated and made |
1265 |
thus available for user theories; |
|
1266 |
||
7300
8439bf404c28
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents:
7287
diff
changeset
|
1267 |
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with |
8439bf404c28
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents:
7287
diff
changeset
|
1268 |
HOL/List; hardly an INCOMPATIBILITY since '>>' syntax is used all the |
8439bf404c28
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents:
7287
diff
changeset
|
1269 |
time; |
8439bf404c28
* HOLCF/IOA/Sequents: renamed 'Cons' to 'Consq' to avoid clash with HOL/List;
wenzelm
parents:
7287
diff
changeset
|
1270 |
|
7986 | 1271 |
* HOL: new tactic smp_tac: int -> int -> tactic, which applies spec |
1272 |
several times and then mp; |
|
7492 | 1273 |
|
7215 | 1274 |
|
7113 | 1275 |
*** LK *** |
1276 |
||
7215 | 1277 |
* the notation <<...>> is now available as a notation for sequences of |
1278 |
formulas; |
|
7113 | 1279 |
|
1280 |
* the simplifier is now installed |
|
1281 |
||
8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset
|
1282 |
* the axiom system has been generalized (thanks to Soren Heilmann) |
7113 | 1283 |
|
1284 |
* the classical reasoner now has a default rule database |
|
1285 |
||
1286 |
||
6064 | 1287 |
*** ZF *** |
1288 |
||
1289 |
* new primrec section allows primitive recursive functions to be given |
|
6269 | 1290 |
directly (as in HOL) over datatypes and the natural numbers; |
6064 | 1291 |
|
6269 | 1292 |
* new tactics induct_tac and exhaust_tac for induction (or case |
1293 |
analysis) over datatypes and the natural numbers; |
|
6064 | 1294 |
|
1295 |
* the datatype declaration of type T now defines the recursor T_rec; |
|
1296 |
||
6141 | 1297 |
* simplification automatically does freeness reasoning for datatype |
6269 | 1298 |
constructors; |
6141 | 1299 |
|
6269 | 1300 |
* automatic type-inference, with AddTCs command to insert new |
1301 |
type-checking rules; |
|
6155 | 1302 |
|
6269 | 1303 |
* datatype introduction rules are now added as Safe Introduction rules |
1304 |
to the claset; |
|
6155 | 1305 |
|
6269 | 1306 |
* the syntax "if P then x else y" is now available in addition to |
1307 |
if(P,x,y); |
|
1308 |
||
6069 | 1309 |
|
6343 | 1310 |
*** Internal programming interfaces *** |
1311 |
||
7919
35c18affc1d8
tuned simplifier trace output; new flag debug_simp
wenzelm
parents:
7886
diff
changeset
|
1312 |
* tuned simplifier trace output; new flag debug_simp; |
35c18affc1d8
tuned simplifier trace output; new flag debug_simp
wenzelm
parents:
7886
diff
changeset
|
1313 |
|
7420
cba45c114f3b
structures Vartab / Termtab (instances of TableFun);
wenzelm
parents:
7327
diff
changeset
|
1314 |
* structures Vartab / Termtab (instances of TableFun) offer efficient |
cba45c114f3b
structures Vartab / Termtab (instances of TableFun);
wenzelm
parents:
7327
diff
changeset
|
1315 |
tables indexed by indexname_ord / term_ord (compatible with aconv); |
cba45c114f3b
structures Vartab / Termtab (instances of TableFun);
wenzelm
parents:
7327
diff
changeset
|
1316 |
|
6386
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1317 |
* AxClass.axclass_tac lost the theory argument; |
e9e8af97f48f
HOL/typedef: fixed type inference for representing set;
wenzelm
parents:
6343
diff
changeset
|
1318 |
|
6343 | 1319 |
* tuned current_goals_markers semantics: begin / end goal avoids |
1320 |
printing empty lines; |
|
1321 |
||
1322 |
* removed prs and prs_fn hook, which was broken because it did not |
|
1323 |
include \n in its semantics, forcing writeln to add one |
|
1324 |
uncoditionally; replaced prs_fn by writeln_fn; consider std_output: |
|
1325 |
string -> unit if you really want to output text without newline; |
|
1326 |
||
1327 |
* Symbol.output subject to print mode; INCOMPATIBILITY: defaults to |
|
1328 |
plain output, interface builders may have to enable 'isabelle_font' |
|
1329 |
mode to get Isabelle font glyphs as before; |
|
1330 |
||
1331 |
* refined token_translation interface; INCOMPATIBILITY: output length |
|
1332 |
now of type real instead of int; |
|
1333 |
||
7196 | 1334 |
* theory loader actions may be traced via new ThyInfo.add_hook |
1335 |
interface (see src/Pure/Thy/thy_info.ML); example application: keep |
|
1336 |
your own database of information attached to *whole* theories -- as |
|
1337 |
opposed to intra-theory data slots offered via TheoryDataFun; |
|
1338 |
||
7647
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
1339 |
* proper handling of dangling sort hypotheses (at last!); |
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
1340 |
Thm.strip_shyps and Drule.strip_shyps_warning take care of removing |
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
1341 |
extra sort hypotheses that can be witnessed from the type signature; |
7986 | 1342 |
the force_strip_shyps flag is gone, any remaining shyps are simply |
1343 |
left in the theorem (with a warning issued by strip_shyps_warning); |
|
7647
2ceddd91cd0a
proper handling of dangling sort hypotheses (at last!);
wenzelm
parents:
7619
diff
changeset
|
1344 |
|
6343 | 1345 |
|
6064 | 1346 |
|
5781 | 1347 |
New in Isabelle98-1 (October 1998) |
1348 |
---------------------------------- |
|
1349 |
||
5127 | 1350 |
*** Overview of INCOMPATIBILITIES (see below for more details) *** |
4842 | 1351 |
|
5726 | 1352 |
* several changes of automated proof tools; |
5373 | 1353 |
|
5726 | 1354 |
* HOL: major changes to the inductive and datatype packages, including |
1355 |
some minor incompatibilities of theory syntax; |
|
5214 | 1356 |
|
5726 | 1357 |
* HOL: renamed r^-1 to 'converse' from 'inverse'; 'inj_onto' is now |
5217 | 1358 |
called `inj_on'; |
5160 | 1359 |
|
5275 | 1360 |
* HOL: removed duplicate thms in Arith: |
1361 |
less_imp_add_less should be replaced by trans_less_add1 |
|
1362 |
le_imp_add_le should be replaced by trans_le_add1 |
|
5160 | 1363 |
|
5726 | 1364 |
* HOL: unary minus is now overloaded (new type constraints may be |
1365 |
required); |
|
5490 | 1366 |
|
5726 | 1367 |
* HOL and ZF: unary minus for integers is now #- instead of #~. In |
1368 |
ZF, expressions such as n#-1 must be changed to n#- 1, since #-1 is |
|
1369 |
now taken as an integer constant. |
|
5541 | 1370 |
|
5726 | 1371 |
* Pure: ML function 'theory_of' renamed to 'theory'; |
5397
034ed25535b9
* Pure: ML function 'theory_of' replaced by 'theory';
wenzelm
parents:
5373
diff
changeset
|
1372 |
|
5363 | 1373 |
|
5127 | 1374 |
*** Proof tools *** |
4880 | 1375 |
|
5657
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1376 |
* Simplifier: |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1377 |
1. Asm_full_simp_tac is now more aggressive. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1378 |
1. It will sometimes reorient premises if that increases their power to |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1379 |
simplify. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1380 |
2. It does no longer proceed strictly from left to right but may also |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1381 |
rotate premises to achieve further simplification. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1382 |
For compatibility reasons there is now Asm_lr_simp_tac which is like the |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1383 |
old Asm_full_simp_tac in that it does not rotate premises. |
1a6c9c6a3f8e
2. The simplifier now knows a little bit about nat-arithmetic.
nipkow
parents:
5651
diff
changeset
|
1384 |
2. The simplifier now knows a little bit about nat-arithmetic. |
4880 | 1385 |
|
5127 | 1386 |
* Classical reasoner: wrapper mechanism for the classical reasoner now |
1387 |
allows for selected deletion of wrappers, by introduction of names for |
|
1388 |
wrapper functionals. This implies that addbefore, addSbefore, |
|
1389 |
addaltern, and addSaltern now take a pair (name, tactic) as argument, |
|
1390 |
and that adding two tactics with the same name overwrites the first |
|
1391 |
one (emitting a warning). |
|
4824 | 1392 |
type wrapper = (int -> tactic) -> (int -> tactic) |
4649 | 1393 |
setWrapper, setSWrapper, compWrapper and compSWrapper are replaced by |
4824 | 1394 |
addWrapper, addSWrapper: claset * (string * wrapper) -> claset |
1395 |
delWrapper, delSWrapper: claset * string -> claset |
|
4649 | 1396 |
getWrapper is renamed to appWrappers, getSWrapper to appSWrappers; |
1397 |
||
5705
56f2030c46c6
tuned (all proofs are INSTABLE by David's definition of instability);
wenzelm
parents:
5671
diff
changeset
|
1398 |
* Classical reasoner: addbefore/addSbefore now have APPEND/ORELSE |
5726 | 1399 |
semantics; addbefore now affects only the unsafe part of step_tac |
1400 |
etc.; this affects addss/auto_tac/force_tac, so EXISTING PROOFS MAY |
|
1401 |
FAIL, but proofs should be fixable easily, e.g. by replacing Auto_tac |
|
1402 |
by Force_tac; |
|
5524 | 1403 |
|
5726 | 1404 |
* Classical reasoner: setwrapper to setWrapper and compwrapper to |
1405 |
compWrapper; added safe wrapper (and access functions for it); |
|
5524 | 1406 |
|
5127 | 1407 |
* HOL/split_all_tac is now much faster and fails if there is nothing |
5726 | 1408 |
to split. Some EXISTING PROOFS MAY REQUIRE ADAPTION because the order |
1409 |
and the names of the automatically generated variables have changed. |
|
1410 |
split_all_tac has moved within claset() from unsafe wrappers to safe |
|
1411 |
wrappers, which means that !!-bound variables are split much more |
|
1412 |
aggressively, and safe_tac and clarify_tac now split such variables. |
|
1413 |
If this splitting is not appropriate, use delSWrapper "split_all_tac". |
|
1414 |
Note: the same holds for record_split_tac, which does the job of |
|