author  webertj 
Tue, 15 Jun 2004 00:06:40 +0200  
changeset 14942  78ddcbebace1 
parent 14934  bf9f525d4821 
child 14972  51f95648abad 
permissions  rwrr 
5363  1 
Isabelle NEWS  history userrelevant changes 
2 
============================================== 

2553  3 

14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

4 
New in this Isabelle release 
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

5 
 
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

6 

8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

7 
*** General *** 
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

8 

8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

9 
* Pure: considerably improved version of 'constdefs' command. Now 
14731  10 
performs automatic typeinference of declared constants; additional 
11 
support for local structure declarations (cf. locales and HOL 

12 
records), see also isarref manual. Potential INCOMPATIBILITY: need 

13 
to observe strictly sequential dependencies of definitions within a 

14 
single 'constdefs' section; moreover, the declared name needs to be 

15 
an identifier. If all fails, consider to fall back on 'consts' and 

16 
'defs' separately. 

14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

17 

14698
7e4dec3fd515
improvd indexed syntax and implicit structures; tuned renaming of symbolic identifiers
wenzelm
parents:
14682
diff
changeset

18 
* Pure: improved indexed syntax and implicit structures. First of 
14731  19 
all, indexed syntax provides a notational device for subscripted 
20 
application, using the new syntax \<^bsub>term\<^esub> for arbitrary 

21 
expressions. Secondly, in a local context with structure 

22 
declarations, number indexes \<^sub>n or the empty index (default 

23 
number 1) refer to a certain fixed variable implicitly; option 

24 
show_structs controls printing of implicit structures. Typical 

25 
applications of these concepts involve record types and locales. 

26 

14795
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

27 
* Pure: clear separation of logical types and nonterminals, where the 
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

28 
latter may only occur in 'syntax' specifications or type 
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

29 
abbreviations. Before that distinction was only partially 
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

30 
implemented via type class "logic" vs. "{}". Potential 
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

31 
INCOMPATIBILITY in rare cases of improper use of 'types'/'consts' 
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

32 
instead of 'nonterminals'/'syntax'. Some very exotic syntax 
14816
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

33 
specifications may require further adaption (e.g. Cube/Base.thy). 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

34 

14854  35 
* Pure: removed obsolete type class "logic", use the top sort {} 
36 
instead. Note that nonlogical types should be declared as 

37 
'nonterminals' rather than 'types'. INCOMPATIBILITY for new 

38 
objectlogic specifications. 

39 

14816
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

40 
* Pure/Syntax: inner syntax includes (*(*nested*) comments*). 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

41 

b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

42 
* Pure/Syntax: pretty pinter now supports unbreakable blocks, 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

43 
specified in mixfix annotations as "(00...)". 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

44 

b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

45 
* Pure/Syntax: 'advanced' translation functions (parse_translation 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

46 
etc.) may depend on the signature of the theory context being 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

47 
presently used for parsing/printing, see also isarref manual. 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

48 

b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

49 
* Pure: tuned internal renaming of symbolic identifiers  attach 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

50 
primes instead of base 26 numbers. 
b77cebcd7e6e
* ML: all output via channels of writeln etc. passed through Output.output;
wenzelm
parents:
14795
diff
changeset

51 

14897
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset

52 
* Document preparation: antiquotations now provide the option 
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset

53 
'locale=NAME' to specify an alternative context used for evaluating 
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset

54 
and printing the subsequent argument, as in @{thm [locale=LC] 
14919  55 
fold_commute}, for example. 
14897
577f95db94e4
* Document preparation: antiquotations provide option 'locale=NAME';
wenzelm
parents:
14885
diff
changeset

56 

14934  57 
* Document preparation: commands 'display_drafts' and 'print_drafts' 
58 
perform simple output of raw sources. Only those symbols that do 

59 
not require additional LaTeX packages (depending on comments in 

60 
isabellesym.sty) are displayed properly, everything else is left 

61 
verbatim. We use isatool display and isatool print as front ends; 

62 
these are subject to the DVI_VIEWER and PRINT_COMMAND settings, 

63 
respectively. 

64 

14917  65 
* ML: output via the Isabelle channels of writeln/warning/error 
66 
etc. is now passed through Output.output, with a hook for arbitrary 

67 
transformations depending on the print_mode (cf. Output.add_mode  

68 
the first active mode that provides a output function wins). 

69 
Already formatted output may be embedded into further text via 

70 
Output.raw; the result of Pretty.string_of/str_of and derived 

71 
functions (string_of_term/cterm/thm etc.) is already marked raw to 

72 
accommodate easy composition of diagnostic messages etc. 

73 
Programmers rarely need to care about Output.output or Output.raw at 

74 
all, with some notable exceptions: Output.output is required when 

75 
bypassing the standard channels (writeln etc.), or in token 

76 
translations to produce properly formatted results; Output.raw is 

77 
required when capturing already output material that will eventually 

78 
be presented to the user a second time. 

14795
b702848de41f
Pure: clear separation of logical types and nonterminals;
wenzelm
parents:
14731
diff
changeset

79 

14707  80 

14700
2f885b7e5ba7
reimplementation of HOL records; only one type is created for
schirmer
parents:
14699
diff
changeset

81 
*** HOL *** 
2f885b7e5ba7
reimplementation of HOL records; only one type is created for
schirmer
parents:
14699
diff
changeset

82 

14731  83 
* HOL/record: reimplementation of records. Improved scalability for 
84 
records with many fields, avoiding performance problems for type 

85 
inference. Records are no longer composed of nested field types, but 

86 
of nested extension types. Therefore the record type only grows 

87 
linear in the number of extensions and not in the number of fields. 

88 
The toplevel (users) view on records is preserved. Potential 

89 
INCOMPATIBILITY only in strange cases, where the theory depends on 

90 
the old record representation. The type generated for a record is 

91 
called <record_name>_ext_type. 

92 

14878  93 
* HOL: symbolic syntax of Hilbert Choice Operator is now as follows: 
94 

95 
syntax (epsilon) 

96 
"_Eps" :: "[pttrn, bool] => 'a" ("(3\<some>_./ _)" [0, 10] 10) 

97 

98 
The symbol \<some> is displayed as the alternative epsilon of LaTeX 

99 
and xsymbol; use option 'm epsilon' to get it actually printed. 

100 
Moreover, the mathematically important symbolic identifier 

101 
\<epsilon> becomes available as variable, constant etc. 

102 

14731  103 
* Simplifier: "record_upd_simproc" for simplification of multiple 
104 
record updates enabled by default. INCOMPATIBILITY: old proofs 

105 
break occasionally, since simplification is more powerful by 

106 
default. 

107 

14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

108 

14682
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset

109 
*** HOLCF *** 
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset

110 

a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset

111 
* HOLCF: discontinued special version of 'constdefs' (which used to 
14731  112 
support continuous functions) in favor of the general Pure one with 
113 
full typeinference. 

14682
a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset

114 

a5072752114c
HOLCF: discontinued special version of 'constdefs';
wenzelm
parents:
14655
diff
changeset

115 

14885  116 
*** ZF *** 
117 

118 
* ZF/ex/{Group,Ring}: examples in abstract algebra, including the First 

119 
Isomorphism Theorem (on quotienting by the kernel of a homomorphism). 

120 

121 

14655
8a95abf87dd3
Pure: considerably improved version of 'constdefs' command;
wenzelm
parents:
14624
diff
changeset

122 

14606  123 
New in Isabelle2004 (April 2004) 
124 
 

13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset

125 

14171
0cab06e3bbd0
Extended the notion of letter and digit, such that now one may use greek,
skalberg
parents:
14136
diff
changeset

126 
*** General *** 
0cab06e3bbd0
Extended the notion of letter and digit, such that now one may use greek,
skalberg
parents:
14136
diff
changeset

127 

14398
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

128 
* Provers/order.ML: new efficient reasoner for partial and linear orders. 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

129 
Replaces linorder.ML. 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

130 

14606  131 
* Pure: Greek letters (except small lambda, \<lambda>), as well as Gothic 
132 
(\<aa>...\<zz>\<AA>...\<ZZ>), calligraphic (\<A>...\<Z>), and Euler 

14173  133 
(\<a>...\<z>), are now considered normal letters, and can therefore 
134 
be used anywhere where an ASCII letter (a...zA...Z) has until 

135 
now. COMPATIBILITY: This obviously changes the parsing of some 

136 
terms, especially where a symbol has been used as a binder, say 

137 
'\<Pi>x. ...', which is now a type error since \<Pi>x will be parsed 

138 
as an identifier. Fix it by inserting a space around former 

139 
symbols. Call 'isatool fixgreek' to try to fix parsing errors in 

140 
existing theory and ML files. 

14171
0cab06e3bbd0
Extended the notion of letter and digit, such that now one may use greek,
skalberg
parents:
14136
diff
changeset

141 

14237  142 
* Pure: Macintosh and Windows linebreaks are now allowed in theory files. 
143 

14731  144 
* Pure: single letter sub/superscripts (\<^isub> and \<^isup>) are now 
145 
allowed in identifiers. Similar to Greek letters \<^isub> is now considered 

146 
a normal (but invisible) letter. For multiple letter subscripts repeat 

147 
\<^isub> like this: x\<^isub>1\<^isub>2. 

14233  148 

14333  149 
* Pure: There are now sub/superscripts that can span more than one 
150 
character. Text between \<^bsub> and \<^esub> is set in subscript in 

14606  151 
ProofGeneral and LaTeX, text between \<^bsup> and \<^esup> in 
152 
superscript. The new control characters are not identifier parts. 

14333  153 

14561
c53396af770e
* raw control symbols are of the form \<^raw:...> now.
schirmer
parents:
14556
diff
changeset

154 
* Pure: Controlsymbols of the form \<^raw:...> will literally print the 
14606  155 
content of "..." to the latex file instead of \isacntrl... . The "..." 
156 
may consist of any printable characters excluding the end bracket >. 

14361
ad2f5da643b4
* Support for raw latex output in control symbols: \<^raw...>
schirmer
parents:
14333
diff
changeset

157 

14237  158 
* Pure: Using new Isar command "finalconsts" (or the ML functions 
159 
Theory.add_finals or Theory.add_finals_i) it is now possible to 

160 
declare constants "final", which prevents their being given a definition 

161 
later. It is useful for constants whose behaviour is fixed axiomatically 

14224  162 
rather than definitionally, such as the metalogic connectives. 
163 

14606  164 
* Pure: 'instance' now handles general arities with general sorts 
165 
(i.e. intersections of classes), 

14503
255ad604e08e
Added check that Theory.ML does not occur in the files section of the theory
skalberg
parents:
14480
diff
changeset

166 

14547  167 
* Presentation: generated HTML now uses a CSS style sheet to make layout 
14731  168 
(somewhat) independent of content. It is copied from lib/html/isabelle.css. 
14547  169 
It can be changed to alter the colors/layout of generated pages. 
170 

14556
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset

171 

14175
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

172 
*** Isar *** 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

173 

14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset

174 
* Tactic emulation methods rule_tac, erule_tac, drule_tac, frule_tac, 
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset

175 
cut_tac, subgoal_tac and thin_tac: 
14175
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

176 
 Now understand static (Isar) contexts. As a consequence, users of Isar 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

177 
locales are no longer forced to write Isar proof scripts. 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

178 
For details see Isar Reference Manual, paragraph 4.3.2: Further tactic 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

179 
emulations. 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

180 
 INCOMPATIBILITY: names of variables to be instantiated may no 
14211
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

181 
longer be enclosed in quotes. Instead, precede variable name with `?'. 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

182 
This is consistent with the instantiation attribute "where". 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

183 

14257
a7ef3f7588c5
Type inference bug in Isar attributes "where" and "of" fixed.
ballarin
parents:
14255
diff
changeset

184 
* Attributes "where" and "of": 
14285
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset

185 
 Now take type variables of instantiated theorem into account when reading 
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset

186 
the instantiation string. This fixes a bug that caused instantiated 
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset

187 
theorems to have too special types in some circumstances. 
92ed032e83a1
Isar: where attribute supports instantiation of type vars.
ballarin
parents:
14283
diff
changeset

188 
 "where" permits explicit instantiations of type variables. 
14257
a7ef3f7588c5
Type inference bug in Isar attributes "where" and "of" fixed.
ballarin
parents:
14255
diff
changeset

189 

14556
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset

190 
* Calculation commands "moreover" and "also" no longer interfere with 
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset

191 
current facts ("this"), admitting arbitrary combinations with "then" 
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset

192 
and derived forms. 
14283  193 

14211
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

194 
* Locales: 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

195 
 Goal statements involving the context element "includes" no longer 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

196 
generate theorems with internal delta predicates (those ending on 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

197 
"_axioms") in the premise. 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

198 
Resolve particular premise with <locale>.intro to obtain old form. 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

199 
 Fixed bug in type inference ("unify_frozen") that prevented mix of target 
7286c187596d
Improvements to Isar/Locales: premises generated by "includes" elements
ballarin
parents:
14199
diff
changeset

200 
specification and "includes" elements in goal statement. 
14254
342634f38451
Isar/Locales: <loc>.intro and <loc>.axioms no longer intro? and elim? by
ballarin
parents:
14243
diff
changeset

201 
 Rule sets <locale>.intro and <locale>.axioms no longer declared as 
342634f38451
Isar/Locales: <loc>.intro and <loc>.axioms no longer intro? and elim? by
ballarin
parents:
14243
diff
changeset

202 
[intro?] and [elim?] (respectively) by default. 
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset

203 
 Experimental command for instantiation of locales in proof contexts: 
14551  204 
instantiate <label>[<attrs>]: <loc> 
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset

205 
Instantiates locale <loc> and adds all its theorems to the current context 
14551  206 
taking into account their attributes. Label and attrs are optional 
207 
modifiers, like in theorem declarations. If present, names of 

208 
instantiated theorems are qualified with <label>, and the attributes 

209 
<attrs> are applied after any attributes these theorems might have already. 

210 
If the locale has assumptions, a chained fact of the form 

14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14503
diff
changeset

211 
"<loc> t1 ... tn" is expected from which instantiations of the parameters 
14551  212 
are derived. The command does not support oldstyle locales declared 
213 
with "locale (open)". 

214 
A few (very simple) examples can be found in FOL/ex/LocaleInst.thy. 

14175
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

215 

dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

216 
* HOL: Tactic emulation methods induct_tac and case_tac understand static 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

217 
(Isar) contexts. 
dbd16ebaf907
Method rule_tac understands Isar contexts: documentation.
ballarin
parents:
14173
diff
changeset

218 

14556
c5078f6c99a9
* Calculation commands "moreover" and "also" no longer interfere with
wenzelm
parents:
14551
diff
changeset

219 

14136  220 
*** HOL *** 
221 

14624  222 
* Proof import: new image HOL4 contains the imported library from 
223 
the HOL4 system with about 2500 theorems. It is imported by 

224 
replaying proof terms produced by HOL4 in Isabelle. The HOL4 image 

225 
can be used like any other Isabelle image. See 

226 
HOL/Import/HOL/README for more information. 

227 

14398
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

228 
* Simplifier: 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

229 
 Much improved handling of linear and partial orders. 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

230 
Reasoners for linear and partial orders are set up for type classes 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

231 
"linorder" and "order" respectively, and are added to the default simpset 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

232 
as solvers. This means that the simplifier can build transitivity chains 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

233 
to solve goals from the assumptions. 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

234 
 INCOMPATIBILITY: old proofs break occasionally. Typically, applications 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

235 
of blast or auto after simplification become unnecessary because the goal 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

236 
is solved by simplification already. 
c5c47703f763
Efficient, graphbased reasoner for linear and partial orders.
ballarin
parents:
14389
diff
changeset

237 

14731  238 
* Numerics: new theory Ring_and_Field contains over 250 basic numerical laws, 
14389  239 
all proved in axiomatic type classes for semirings, rings and fields. 
240 

241 
* Numerics: 

242 
 Numeric types (nat, int, and in HOLComplex rat, real, complex, etc.) are 

14731  243 
now formalized using the Ring_and_Field theory mentioned above. 
14389  244 
 INCOMPATIBILITY: simplification and arithmetic behaves somewhat differently 
245 
than before, because now they are set up once in a generic manner. 

14731  246 
 INCOMPATIBILITY: many typespecific arithmetic laws have gone. 
14480  247 
Look for the general versions in Ring_and_Field (and Power if they concern 
248 
exponentiation). 

14389  249 

14401  250 
* Type "rat" of the rational numbers is now available in HOLComplex. 
14389  251 

14255  252 
* Records: 
253 
 Record types are now by default printed with their type abbreviation 

254 
instead of the list of all field types. This can be configured via 

255 
the reference "print_record_type_abbr". 

14731  256 
 Simproc "record_upd_simproc" for simplification of multiple updates added 
14255  257 
(not enabled by default). 
14427  258 
 Simproc "record_ex_sel_eq_simproc" to simplify EX x. sel r = x resp. 
259 
EX x. x = sel r to True (not enabled by default). 

14255  260 
 Tactic "record_split_simp_tac" to split and simplify records added. 
14731  261 

14136  262 
* 'specification' command added, allowing for definition by 
14224  263 
specification. There is also an 'ax_specification' command that 
264 
introduces the new constants axiomatically. 

14136  265 

14375  266 
* arith(_tac) is now able to generate counterexamples for reals as well. 
267 

14399
dc677b35e54f
New lemmas about inversion of restricted functions.
ballarin
parents:
14398
diff
changeset

268 
* HOLAlgebra: new locale "ring" for noncommutative rings. 
dc677b35e54f
New lemmas about inversion of restricted functions.
ballarin
parents:
14398
diff
changeset

269 

14243  270 
* HOLex: InductiveInvariant_examples illustrates advanced recursive function 
14610  271 
definitions, thanks to Sava Krsti\'{c} and John Matthews. 
272 

14731  273 
* HOLMatrix: a first theory for matrices in HOL with an application of 
14610  274 
matrix theory to linear programming. 
14136  275 

14380  276 
* Unions and Intersections: 
277 
The xsymbol output syntax of UN and INT has been changed 

278 
from "\<Union>x \<in> A. B" to "\<Union\<^bsub>x \<in> A\<^esub> B" 

279 
i.e. the index formulae has become a subscript, like in normal math. 

280 
Similarly for "\<Union>x. B", and for \<Inter> instead of \<Union>. 

281 
The subscript version is also accepted as input syntax. 

282 

14418  283 
* Unions and Intersections over Intervals: 
14731  284 
There is new short syntax "UN i<=n. A" for "UN i:{0..n}. A". There is 
285 
also an xsymbol version with subscripts "\<Union>\<^bsub>i <= n\<^esub>. A" 

14418  286 
like in normal math, and corresponding versions for < and for intersection. 
287 

14401  288 
* ML: the legacy theory structures Int and List have been removed. They had 
289 
conflicted with ML Basis Library structures having the same names. 

14380  290 

14464  291 
* 'refute' command added to search for (finite) countermodels. Only works 
292 
for a fragment of HOL. The installation of an external SAT solver is 

293 
highly recommended. See "HOL/Refute.thy" for details. 

294 

14602  295 
* 'quickcheck' command: Allows to find counterexamples by evaluating 
296 
formulae under an assignment of free variables to random values. 

297 
In contrast to 'refute', it can deal with inductive datatypes, 

298 
but cannot handle quantifiers. See "HOL/ex/Quickcheck_Examples.thy" 

299 
for examples. 

14464  300 

14606  301 

14536  302 
*** HOLCF *** 
303 

304 
* Streams now come with concatenation and are part of the HOLCF image 

305 

14572  306 

307 

14136  308 
New in Isabelle2003 (May 2003) 
14606  309 
 
14136  310 

13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset

311 
*** General *** 
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset

312 

13618  313 
* Provers/simplifier: 
314 

13781  315 
 Completely reimplemented method simp (ML: Asm_full_simp_tac): 
13618  316 
Assumptions are now subject to complete mutual simplification, 
317 
not just from left to right. The simplifier now preserves 

318 
the order of assumptions. 

319 

320 
Potential INCOMPATIBILITY: 

321 

13781  322 
 simp sometimes diverges where the old version did 
323 
not, e.g. invoking simp on the goal 

13618  324 

325 
[ P (f x); y = x; f x = f y ] ==> Q 

326 

13781  327 
now gives rise to the infinite reduction sequence 
328 

329 
P(f x) (f x = f y)> P(f y) (y = x)> P(f x) (f x = f y)> ... 

330 

331 
Using "simp (asm_lr)" (ML: Asm_lr_simp_tac) instead often solves this 

332 
kind of problem. 

333 

334 
 Tactics combining classical reasoner and simplification (such as auto) 

335 
are also affected by this change, because many of them rely on 

336 
simp. They may sometimes diverge as well or yield a different numbers 

337 
of subgoals. Try to use e.g. force, fastsimp, or safe instead of auto 

338 
in case of problems. Sometimes subsequent calls to the classical 

339 
reasoner will fail because a preceeding call to the simplifier too 

340 
eagerly simplified the goal, e.g. deleted redundant premises. 

13618  341 

342 
 The simplifier trace now shows the names of the applied rewrite rules 

343 

13829  344 
 You can limit the number of recursive invocations of the simplifier 
345 
during conditional rewriting (where the simplifie tries to solve the 

346 
conditions before applying the rewrite rule): 

347 
ML "simp_depth_limit := n" 

348 
where n is an integer. Thus you can force termination where previously 

349 
the simplifier would diverge. 

350 

13835
12b2ffbe543a
Change to meta simplifier: congruence rules may now have frees as head of term.
ballarin
parents:
13829
diff
changeset

351 
 Accepts free variables as head terms in congruence rules. Useful in Isar. 
13829  352 

13938  353 
 No longer aborts on failed congruence proof. Instead, the 
354 
congruence is ignored. 

355 

14008  356 
* Pure: New generic framework for extracting programs from constructive 
357 
proofs. See HOL/Extraction.thy for an example instantiation, as well 

358 
as HOL/Extraction for some case studies. 

359 

13868  360 
* Pure: The main goal of the proof state is no longer shown by default, only 
361 
the subgoals. This behaviour is controlled by a new flag. 

13835
12b2ffbe543a
Change to meta simplifier: congruence rules may now have frees as head of term.
ballarin
parents:
13829
diff
changeset

362 
PG menu: Isabelle/Isar > Settings > Show Main Goal 
13815  363 
(ML: Proof.show_main_goal). 
364 

365 
* Pure: You can find all matching introduction rules for subgoal 1, i.e. all 

366 
rules whose conclusion matches subgoal 1: 

367 
PG menu: Isabelle/Isar > Show me > matching rules 

368 
The rules are ordered by how closely they match the subgoal. 

369 
In particular, rules that solve a subgoal outright are displayed first 

370 
(or rather last, the way they are printed). 

371 
(ML: ProofGeneral.print_intros()) 

372 

373 
* Pure: New flag trace_unify_fail causes unification to print 

13781  374 
diagnostic information (PG: in trace buffer) when it fails. This is 
375 
useful for figuring out why single step proofs like rule, erule or 

376 
assumption failed. 

377 

13815  378 
* Pure: Locale specifications now produce predicate definitions 
13410
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

379 
according to the body of text (covering assumptions modulo local 
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

380 
definitions); predicate "loc_axioms" covers newly introduced text, 
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

381 
while "loc" is cumulative wrt. all included locale expressions; the 
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

382 
latter view is presented only on export into the global theory 
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

383 
context; potential INCOMPATIBILITY, use "(open)" option to fall back 
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

384 
on the old view without predicates; 
f2cd09766864
* Pure: locale specifications now produce predicate definitions;
wenzelm
parents:
13344
diff
changeset

385 

13459
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset

386 
* Pure: predefined locales "var" and "struct" are useful for sharing 
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset

387 
parameters (as in CASL, for example); just specify something like 
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset

388 
``var x + var y + struct M'' as import; 
83f41b047a39
* Pure: predefined locales "var" and "struct" are useful for sharing
wenzelm
parents:
13443
diff
changeset

389 

13463
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

390 
* Pure: improved thms_containing: proper indexing of facts instead of 
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

391 
raw theorems; check validity of results wrt. current name space; 
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

392 
include local facts of proof configuration (also covers active 
13541  393 
locales), cover fixed variables in index; may use "_" in term 
394 
specification; an optional limit for the number of printed facts may 

395 
be given (the default is 40); 

396 

397 
* Pure: disallow duplicate fact bindings within newstyle theory files 

398 
(batchmode only); 

13540
aede0306e214
* Pure: disallow duplicate fact bindings within newstyle theory files;
wenzelm
parents:
13522
diff
changeset

399 

13463
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

400 
* Provers: improved induct method: assumptions introduced by case 
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

401 
"foo" are split into "foo.hyps" (from the rule) and "foo.prems" (from 
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

402 
the goal statement); "foo" still refers to all facts collectively; 
07747943c626
* Provers: Simplifier.simproc(_i) now provide sane interface for
wenzelm
parents:
13459
diff
changeset

403 

13550  404 
* Provers: the function blast.overloaded has been removed: all constants 
405 
are regarded as potentially overloaded, which improves robustness in exchange 

406 
for slight decrease in efficiency; 

407 

13781  408 
* Provers/linorder: New generic prover for transitivity reasoning over 
409 
linear orders. Note: this prover is not efficient! 

410 

13522
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset

411 
* Isar: preview of problems to finish 'show' now produce an error 
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset

412 
rather than just a warning (in interactive mode); 
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset

413 

13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset

414 

13158  415 
*** HOL *** 
416 

13899  417 
* arith(_tac) 
418 

419 
 Produces a counter example if it cannot prove a goal. 

420 
Note that the counter example may be spurious if the goal is not a formula 

421 
of quantifierfree linear arithmetic. 

422 
In ProofGeneral the counter example appears in the trace buffer. 

423 

424 
 Knows about div k and mod k where k is a numeral of type nat or int. 

425 

426 
 Calls full Presburger arithmetic (by Amine Chaieb) if quantifierfree 

427 
linear arithmetic fails. This takes account of quantifiers and divisibility. 

14731  428 
Presburger arithmetic can also be called explicitly via presburger(_tac). 
13899  429 

430 
* simp's arithmetic capabilities have been enhanced a bit: it now 

431 
takes ~= in premises into account (by performing a case split); 

432 

433 
* simp reduces "m*(n div m) + n mod m" to n, even if the two summands 

434 
are distributed over a sum of terms; 

435 

13735  436 
* New tactic "trans_tac" and method "trans" instantiate 
437 
Provers/linorder.ML for axclasses "order" and "linorder" (predicates 

14731  438 
"<=", "<" and "="). 
439 

440 
* function INCOMPATIBILITIES: Pisets have been redefined and moved from main 

13587  441 
HOL to Library/FuncSet; constant "Fun.op o" is now called "Fun.comp"; 
442 

13443  443 
* 'typedef' command has new option "open" to suppress the set 
444 
definition; 

445 

13522
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset

446 
* functions Min and Max on finite sets have been introduced (theory 
934fffeb6f38
* Isar: preview of problems to finish 'show' now produce an error
wenzelm
parents:
13518
diff
changeset

447 
Finite_Set); 
13492  448 

13443  449 
* attribute [symmetric] now works for relations as well; it turns 
450 
(x,y) : R^1 into (y,x) : R, and vice versa; 

451 

13613  452 
* induct over a !!quantified statement (say !!x1..xn): 
453 
each "case" automatically performs "fix x1 .. xn" with exactly those names. 

454 

13899  455 
* Map: `empty' is no longer a constant but a syntactic abbreviation for 
456 
%x. None. Warning: empty_def now refers to the previously hidden definition 

457 
of the empty set. 

458 

14018  459 
* Algebra: formalization of classical algebra. Intended as base for 
460 
any algebraic development in Isabelle. Currently covers group theory 

461 
(up to Sylow's theorem) and ring theory (Universal Property of 

462 
Univariate Polynomials). Contributions welcome; 

13960  463 

464 
* GroupTheory: deleted, since its material has been moved to Algebra; 

465 

14731  466 
* Complex: new directory of the complex numbers with numeric constants, 
467 
nonstandard complex numbers, and some complex analysis, standard and 

13966
2160abf7cfe7
removal of the image HOLReal and merging of HOLRealex with HOLComplexex
paulson
parents:
13960
diff
changeset

468 
nonstandard (Jacques Fleuriot); 
2160abf7cfe7
removal of the image HOLReal and merging of HOLRealex with HOLComplexex
paulson
parents:
13960
diff
changeset

469 

2160abf7cfe7
removal of the image HOLReal and merging of HOLRealex with HOLComplexex
paulson
parents:
13960
diff
changeset

470 
* HOLComplex: new image for analysis, replacing HOLReal and HOLHyperreal; 
2160abf7cfe7
removal of the image HOLReal and merging of HOLRealex with HOLComplexex
paulson
parents:
13960
diff
changeset

471 

14731  472 
* Hyperreal: introduced Gauge integration and hyperreal logarithms (Jacques 
13966
2160abf7cfe7
removal of the image HOLReal and merging of HOLRealex with HOLComplexex
paulson
parents:
13960
diff
changeset

473 
Fleuriot); 
13960  474 

13549  475 
* Real/HahnBanach: updated and adapted to locales; 
476 

13995  477 
* NumberTheory: added Gauss's law of quadratic reciprocity (by Avigad, 
478 
Gray and Kramer); 

13872  479 

480 
* UNITY: added the MeierSanders theory of progress sets; 

481 

14011  482 
* MicroJava: bytecode verifier and lightweight bytecode verifier 
483 
as abstract algorithms, instantiated to the JVM; 

484 

14010  485 
* Bali: Java source language formalization. Type system, operational 
486 
semantics, axiomatic semantics. Supported language features: 

487 
classes, interfaces, objects,virtual methods, static methods, 

488 
static/instance fields, arrays, access modifiers, definite 

489 
assignment, exceptions. 

13549  490 

14011  491 

13549  492 
*** ZF *** 
493 

494 
* ZF/Constructible: consistency proof for AC (Gödel's constructible 

495 
universe, etc.); 

496 

13872  497 
* Main ZF: virtually all theories converted to newstyle format; 
13518  498 

13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset

499 

13478  500 
*** ML *** 
501 

502 
* Pure: Tactic.prove provides sane interface for internal proofs; 

503 
omits the infamous "standard" operation, so this is more appropriate 

504 
than prove_goalw_cterm in many situations (e.g. in simprocs); 

505 

506 
* Pure: improved error reporting of simprocs; 

507 

508 
* Provers: Simplifier.simproc(_i) provides sane interface for setting 

509 
up simprocs; 

510 

511 

13953  512 
*** Document preparation *** 
513 

514 
* uses \par instead of \\ for line breaks in theory text. This may 

515 
shift some page breaks in large documents. To get the old behaviour 

516 
use \renewcommand{\isanewline}{\mbox{}\\\mbox{}} in root.tex. 

517 

14731  518 
* minimized dependencies of isabelle.sty and isabellesym.sty on 
13953  519 
other packages 
520 

521 
* \<euro> now needs package babel/greek instead of marvosym (which 

522 
broke \Rightarrow) 

523 

14731  524 
* normal size for \<zero>...\<nine> (uses \mathbf instead of 
13954  525 
textcomp package) 
13953  526 

13280
306ef3aef61b
* improved thms_containing: proper indexing of facts instead of raw
wenzelm
parents:
13190
diff
changeset

527 

14572  528 

12984  529 
New in Isabelle2002 (March 2002) 
530 
 

11474  531 

11572  532 
*** Document preparation *** 
533 

11842
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

534 
* greatly simplified document preparation setup, including more 
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

535 
graceful interpretation of isatool usedir i/d/D options, and more 
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

536 
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

537 
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

538 
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

539 
"isatool usedir D output HOL Test && isatool document Test/output"; 
11842
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

540 

b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

541 
* theory dependency graph may now be incorporated into documents; 
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

542 
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

543 
with \includegraphics of LaTeX; 
b903d3dabbe2
* greatly simplified document preparation setup, including more
wenzelm
parents:
11817
diff
changeset

544 

11864
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset

545 
* proper spacing of consecutive markup elements, especially text 
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset

546 
blocks after section headings; 
371ce685b0ec
* proper spacing of consecutive markup elements, especially text
wenzelm
parents:
11842
diff
changeset

547 

11572  548 
* support bold style (for single symbols only), input syntax is like 
549 
this: "\<^bold>\<alpha>" or "\<^bold>A"; 

550 

11814  551 
* \<bullet> is now output as bold \cdot by default, which looks much 
11572  552 
better in printed text; 
553 

11712
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset

554 
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>; 
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset

555 
note that these symbols are currently unavailable in Proof General / 
12769  556 
XSymbol; new symbols \<zero>, \<one>, ..., \<nine>, and \<euro>; 
12690  557 

558 
* isatool latex no longer depends on changed TEXINPUTS, instead 

559 
isatool document copies the Isabelle style files to the target 

560 
location; 

11712
deb8cac87063
* added default LaTeX bindings for \<tturnstile> and \<TTurnstile>;
wenzelm
parents:
11702
diff
changeset

561 

11572  562 

11633  563 
*** Isar *** 
564 

12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

565 
* Pure/Provers: improved proof by cases and induction; 
12280  566 
 'case' command admits impromptu naming of parameters (such as 
567 
"case (Suc n)"); 

568 
 'induct' method divinates rule instantiation from the inductive 

569 
claim; no longer requires excessive ?P bindings for proper 

570 
instantiation of cases; 

571 
 'induct' method properly enumerates all possibilities of set/type 

572 
rules; as a consequence facts may be also passed through *type* 

573 
rules without further ado; 

574 
 'induct' method now derives symbolic cases from the *rulified* 

575 
rule (before it used to rulify cases stemming from the internal 

576 
atomized version); this means that the context of a nonatomic 

577 
statement becomes is included in the hypothesis, avoiding the 

578 
slightly cumbersome show "PROP ?case" form; 

579 
 'induct' may now use elimstyle induction rules without chaining 

580 
facts, using ``missing'' premises from the goal state; this allows 

581 
rules stemming from inductive sets to be applied in unstructured 

582 
scripts, while still benefitting from proper handling of nonatomic 

583 
statements; NB: major inductive premises need to be put first, all 

584 
the rest of the goal is passed through the induction; 

585 
 'induct' proper support for mutual induction involving nonatomic 

586 
rule statements (uses the new concept of simultaneous goals, see 

587 
below); 

12853  588 
 append all possible rule selections, but only use the first 
589 
success (no backtracking); 

11995
4a622f5fb164
 'induct' may now use elimstyle induction rules without chaining
wenzelm
parents:
11986
diff
changeset

590 
 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

591 
 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

592 
 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

593 
General versions); 
11995
4a622f5fb164
 'induct' may now use elimstyle induction rules without chaining
wenzelm
parents:
11986
diff
changeset

594 
 moved induct/cases attributes to Pure, methods to Provers; 
4a622f5fb164
 'induct' may now use elimstyle induction rules without chaining
wenzelm
parents:
11986
diff
changeset

595 
 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

596 

12163
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

597 
* Pure: support multiple simultaneous goal statements, for example 
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

598 
"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

599 
metalevel mechanism, this acts as if several individual goals had 
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

600 
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

601 
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

602 
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

603 
fails: 
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

604 

04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

605 
assume "A & B" then have A and B .. (*".." fails*) 
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

606 

04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

607 
better use "obtain" in situations as above; alternative refer to 
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

608 
multistep methods like 'auto', 'simp_all', 'blast+' etc.; 
04c98351f9af
Isar: 'induct' proper support for mutual induction involving
wenzelm
parents:
12159
diff
changeset

609 

12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset

610 
* Pure: proper integration with ``locales''; unlike the original 
12210
2f510d8d8291
* ZF: newstyle theory commands '(co)inductive', '(co)datatype',
wenzelm
parents:
12177
diff
changeset

611 
version by Florian Kammüller, Isar locales package highlevel proof 
12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset

612 
contexts rather than raw logical ones (e.g. we admit to include 
12280  613 
attributes everywhere); operations on locales include merge and 
12964  614 
rename; support for implicit arguments (``structures''); simultaneous 
615 
typeinference over imports and text; see also HOL/ex/Locales.thy for 

616 
some examples; 

12078
4eb8061286e5
* Isar/Pure: proper integration with ``locales''; unlike the original
wenzelm
parents:
12034
diff
changeset

617 

12707
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset

618 
* Pure: the following commands have been ``localized'', supporting a 
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset

619 
target locale specification "(in name)": 'lemma', 'theorem', 
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset

620 
'corollary', 'lemmas', 'theorems', 'declare'; the results will be 
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset

621 
stored both within the locale and at the theory level (exported and 
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset

622 
qualified by the locale name); 
4013be8572c5
* Pure: localized 'lemmas', 'theorems', 'declare';
wenzelm
parents:
12690
diff
changeset

623 

12964  624 
* Pure: theory goals may now be specified in ``long'' form, with 
625 
adhoc contexts consisting of arbitrary locale elements. for example 

626 
``lemma foo: fixes x assumes "A x" shows "B x"'' (local syntax and 

627 
definitions may be given, too); the result is a metalevel rule with 

628 
the context elements being discharged in the obvious way; 

629 

630 
* Pure: new proof command 'using' allows to augment currently used 

631 
facts after a goal statement ('using' is syntactically analogous to 

632 
'apply', but acts on the goal's facts only); this allows chained facts 

633 
to be separated into parts given before and after a claim, as in 

634 
``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

635 

11722  636 
* Pure: renamed "antecedent" case to "rule_context"; 
637 

12964  638 
* Pure: new 'judgment' command records explicit information about the 
639 
objectlogic embedding (used by several tools internally); no longer 

640 
use hardwired "Trueprop"; 

641 

11738  642 
* Pure: added 'corollary' command; 
643 

11722  644 
* Pure: fixed 'token_translation' command; 
645 

11899  646 
* Pure: removed obsolete 'exported' attribute; 
647 

11933  648 
* Pure: dummy pattern "_" in is/let is now automatically lifted over 
649 
bound variables: "ALL x. P x > Q x" (is "ALL x. _ > ?C x") 

11899  650 
supersedes more cumbersome ... (is "ALL x. _ x > ?C x"); 
651 

11952
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as objectlevel
wenzelm
parents:
11937
diff
changeset

652 
* Pure: method 'atomize' presents local goal premises as objectlevel 
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as objectlevel
wenzelm
parents:
11937
diff
changeset

653 
statements (atomic metalevel propositions); setup controlled via 
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as objectlevel
wenzelm
parents:
11937
diff
changeset

654 
rewrite rules declarations of 'atomize' attribute; example 
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as objectlevel
wenzelm
parents:
11937
diff
changeset

655 
application: 'induct' method with proper rule statements in improper 
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as objectlevel
wenzelm
parents:
11937
diff
changeset

656 
proof *scripts*; 
b10f1e8862f4
* Pure: method 'atomize' presents local goal premises as objectlevel
wenzelm
parents:
11937
diff
changeset

657 

12106
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset

658 
* 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

659 
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

660 
chance to get typeinference of the arguments right (this is 
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset

661 
especially important for locales); 
4a8558dbb6a0
* Isar/Pure: emulation of instantiation tactics (rule_tac, cut_tac,
wenzelm
parents:
12078
diff
changeset

662 

12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

663 
* 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

664 
mode; 
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

665 

12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

666 
* Pure/obtain: the formal conclusion "thesis", being marked as 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

667 
``internal'', may no longer be reference directly in the text; 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

668 
potential INCOMPATIBILITY, may need to use "?thesis" in rare 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

669 
situations; 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

670 

9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

671 
* Pure: generic 'sym' attribute which declares a rule both as pure 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

672 
'elim?' and for the 'symmetric' operation; 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

673 

12877
b9635eb8a448
* Isar/Pure: marginal comments ``'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset

674 
* 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

675 
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

676 
discontinued; 
b9635eb8a448
* Isar/Pure: marginal comments ``'' may now occur just anywhere in the text;
wenzelm
parents:
12853
diff
changeset

677 

13023
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset

678 
* Pure: new method 'rules' is particularly wellsuited for proof 
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset

679 
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

680 
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

681 

12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

682 
* Pure/Provers/classical: simplified integration with pure rule 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

683 
attributes and methods; the classical "intro?/elim?/dest?" 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

684 
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

685 
includes classically swapped intros; "intro" and "elim" methods no 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

686 
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

687 
AddXIs/AddXEs/AddXDs; all of this has some potential for 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

688 
INCOMPATIBILITY; 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

689 

12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

690 
* Provers/classical: attribute 'swapped' produces classical inversions 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

691 
of introduction rules; 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

692 

12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

693 
* Provers/simplifier: 'simplified' attribute may refer to explicit 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

694 
rules instead of full simplifier context; 'iff' attribute handles 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

695 
conditional rules; 
11936
fef099613354
* Provers: 'simplified' attribute may refer to explicit rules instead
wenzelm
parents:
11933
diff
changeset

696 

11745
06cd8c3b5487
* HOL: 'typedef' now allows alternative names for Rep/Abs morphisms;
wenzelm
parents:
11738
diff
changeset

697 
* 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

698 

11690  699 
* HOL: 'recdef' now fails on unfinished automated proofs, use 
11633  700 
"(permissive)" option to recover old behavior; 
701 

11933  702 
* HOL: 'inductive' no longer features separate (collective) attributes 
703 
for 'intros' (was found too confusing); 

704 

12405
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

705 
* HOL: properly declared induction rules less_induct and 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

706 
wf_induct_rule; 
9b16f99fd7b9
* Pure/obtain: "thesis" now internal (use ?thesis);
wenzelm
parents:
12364
diff
changeset

707 

11788
60054fee3c16
canonical 'cases'/'induct' rules for ntuples (n=3..7)
kleing
parents:
11745
diff
changeset

708 

11474  709 
*** HOL *** 
710 

11702  711 
* HOL: moved over to sane numeral syntax; the new policy is as 
712 
follows: 

713 

714 
 0 and 1 are polymorphic constants, which are defined on any 

715 
numeric type (nat, int, real etc.); 

716 

717 
 2, 3, 4, ... and 1, 2, 3, ... are polymorphic numerals, based 

718 
binary representation internally; 

719 

720 
 type nat has special constructor Suc, and generally prefers Suc 0 

721 
over 1::nat and Suc (Suc 0) over 2::nat; 

722 

12364
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

723 
This change may cause significant problems of INCOMPATIBILITY; here 
108cdda23ab3
* Pure/Provers/classical: simplified integration with pure rule
wenzelm
parents:
12335
diff
changeset

724 
are some hints on converting existing sources: 
11702  725 

726 
 due to the new "num" token, "0" and "1" etc. are now atomic 

727 
entities, so expressions involving "" (unary or binary minus) need 

728 
to be spaced properly; 

729 

730 
 existing occurrences of "1" may need to be constraint "1::nat" or 

731 
even replaced by Suc 0; similar for old "2"; 

732 

733 
 replace "#nnn" by "nnn", and "#nnn" by "nnn"; 

734 

735 
 remove all special provisions on numerals in proofs; 

736 

13042  737 
* HOL: simp rules nat_number expand numerals on nat to Suc/0 
12837  738 
representation (depends on bin_arith_simps in the default context); 
739 

12736  740 
* HOL: symbolic syntax for x^2 (numeral 2); 
741 

12335
db4d5f498742
* HOL: the class of all HOL types is now called "type" rather than
wenzelm
parents:
12312
diff
changeset

742 
* 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

743 
"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

744 
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

745 
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

746 
"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

747 

12280  748 
* HOL/record package improvements: 
749 
 new derived operations "fields" to build a partial record section, 

750 
"extend" to promote a fixed record to a record scheme, and 

751 
"truncate" for the reverse; cf. theorems "xxx.defs", which are *not* 

752 
declared as simp by default; 

12587
3f3d2ffb5df5
HOL/record: shared operations ("more", "fields", etc.) now need to be
wenzelm
parents:
12564
diff
changeset

753 
 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

754 
qualified)  potential INCOMPATIBILITY; 
12280  755 
 removed "make_scheme" operations (use "make" with "extend")  
756 
INCOMPATIBILITY; 

11937  757 
 removed "more" class (simply use "term")  INCOMPATIBILITY; 
12253  758 
 provides cases/induct rules for use with corresponding Isar 
759 
methods (for concrete records, record schemes, concrete more 

12280  760 
parts, and schematic more parts  in that order); 
11930  761 
 internal definitions directly based on a lightweight abstract 
762 
theory of product types over typedef rather than datatype; 

763 

13023
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset

764 
* 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

765 
specifications; specific support for HOL constructs such as inductive 
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset

766 
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

767 
via 'generate_code' theory section; 
f869b6822006
Added two paragraphs on "rules" method and code generator.
berghofe
parents:
12984
diff
changeset

768 

11933  769 
* HOL: canonical cases/induct rules for ntuples (n = 3..7); 
770 

13824  771 
* HOL: consolidated and renamed several theories. In particular: 
14731  772 
Ord.thy has been absorbed into HOL.thy 
773 
String.thy has been absorbed into List.thy 

774 

11802
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset

775 
* 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

776 
(beware of argument permutation!); 
1d5f5d2427d2
* HOL: concrete setsum syntax "\<Sum>i:A. b" == "setsum (%i. b) A"
wenzelm
parents:
11797
diff
changeset

777 

11657  778 
* HOL: linorder_less_split superseded by linorder_cases; 
779 

12917  780 
* HOL/List: "nodups" renamed to "distinct"; 
12889  781 

11633  782 
* HOL: added "The" definite description operator; move Hilbert's "Eps" 
13824  783 
to peripheral theory "Hilbert_Choice"; some INCOMPATIBILITIES: 
784 
 Ex_def has changed, now need to use some_eq_ex 

11437  785 

11572  786 
* HOL: made split_all_tac safe; EXISTING PROOFS MAY FAIL OR LOOP, so 
787 
in this (rare) case use: 

788 

789 
delSWrapper "split_all_tac" 

790 
addSbefore ("unsafe_split_all_tac", unsafe_split_all_tac) 

791 

792 
* HOL: added safe wrapper "split_conv_tac" to claset; EXISTING PROOFS 

11474  793 
MAY FAIL; 
11361  794 

11572  795 
* HOL: introduced f^n = f o ... o f; warning: due to the limits of 
796 
Isabelle's type classes, ^ on functions and relations has too general 

797 
a domain, namely ('a * 'b) set and 'a => 'b; this means that it may be 

798 
necessary to attach explicit type constraints; 

11307  799 

12917  800 
* HOL/Relation: the prefix name of the infix "O" has been changed from 
801 
"comp" to "rel_comp"; INCOMPATIBILITY: a few theorems have been 

802 
renamed accordingly (eg "compI" > "rel_compI"). 

12489  803 

11487
95071c9e85a3
* HOL: syntax translations now work properly with numerals and records
wenzelm
parents:
11475
diff
changeset

804 
* 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

805 
expressions; 
11474  806 

12457
cbfc53e45476
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead
wenzelm
parents:
12405
diff
changeset

807 
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead 
cbfc53e45476
* HOL: bounded abstraction now uses syntax "%" / "\<lambda>" instead
wenzelm
parents:
12405
diff
changeset

808 
of "lam"  INCOMPATIBILITY; 
11474  809 

11933  810 
* HOL: got rid of some global declarations (potential INCOMPATIBILITY 
811 
for ML tools): const "()" renamed "Product_Type.Unity", type "unit" 

812 
renamed "Product_Type.unit"; 

11611  813 

12564  814 
* HOL: renamed rtrancl_into_rtrancl2 to converse_rtrancl_into_rtrancl 
815 

12924  816 
* HOL: removed obsolete theorem "optionE" (use "option.exhaust", or 
817 
the "cases" method); 

818 

12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset

819 
* 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

820 
Florian Kammüller); 
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset

821 

12608
2df381faa787
* ZF/IMP: updated and converted to newstyle theory format;
wenzelm
parents:
12597
diff
changeset

822 
* HOL/IMP: updated and converted to newstyle theory format; several 
2df381faa787
* ZF/IMP: updated and converted to newstyle theory format;
wenzelm
parents:
12597
diff
changeset

823 
parts turned into readable document, with proper Isar proof texts and 
2df381faa787
* ZF/IMP: updated and converted to newstyle theory format;
wenzelm
parents:
12597
diff
changeset

824 
some explanations (by Gerwin Klein); 
12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset

825 

12734  826 
* HOLReal: added Complex_Numbers (by Gertrud Bauer); 
827 

12690  828 
* HOLHyperreal is now a logic image; 
829 

11611  830 

12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset

831 
*** HOLCF *** 
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset

832 

12622  833 
* Isar: consts/constdefs supports mixfix syntax for continuous 
834 
operations; 

835 

836 
* Isar: domain package adapted to newstyle theory format, e.g. see 

837 
HOLCF/ex/Dnat.thy; 

838 

839 
* theory Lift: proper use of rep_datatype lift instead of ML hacks  

12280  840 
potential INCOMPATIBILITY; now use plain induct_tac instead of former 
841 
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

842 

12597
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset

843 
* HOLCF/IMP: updated and converted to newstyle theory; 
14822e4436bf
HOL/IMP and HOLCF/IMP updated and converted (Gerwin Klein);
wenzelm
parents:
12587
diff
changeset

844 

12022
9c3377b133c0
HOLCF: proper rep_datatype lift (see theory Lift); use plain induct_tac
wenzelm
parents:
11995
diff
changeset

845 

11474  846 
*** ZF *** 
847 

12622  848 
* Isar: proper integration of logicspecific tools and packages, 
849 
including theory commands '(co)inductive', '(co)datatype', 

850 
'rep_datatype', 'inductive_cases', as well as methods 'ind_cases', 

851 
'induct_tac', 'case_tac', and 'typecheck' (with attribute 'TC'); 

852 

853 
* theory Main no longer includes AC; for the Axiom of Choice, base 

854 
your theory on Main_ZFC; 

855 

856 
* the integer library now covers quotients and remainders, with many 

857 
laws relating division to addition, multiplication, etc.; 

12563  858 

12280  859 
* ZF/UNITY: Chandy and Misra's UNITY is now available in ZF, giving a 
860 
typeless version of the formalism; 

861 

13025  862 
* ZF/AC, Coind, IMP, Resid: updated and converted to newstyle theory 
863 
format; 

12608
2df381faa787
* ZF/IMP: updated and converted to newstyle theory format;
wenzelm
parents:
12597
diff
changeset

864 

12280  865 
* ZF/Induct: new directory for examples of inductive definitions, 
12608
2df381faa787
* ZF/IMP: updated and converted to newstyle theory format;
wenzelm
parents:
12597
diff
changeset

866 
including theory Multiset for multiset orderings; converted to 
2df381faa787
* ZF/IMP: updated and converted to newstyle theory format;
wenzelm
parents:
12597
diff
changeset

867 
newstyle theory format; 
12177
b1c16d685a99
* ZF: newstyle theory commands 'inductive', 'inductive_cases', and
wenzelm
parents:
12163
diff
changeset

868 

13025  869 
* ZF: many new theorems about lists, ordinals, etc.; 
12850  870 

11474  871 

872 
*** General *** 

873 

12280  874 
* Pure/kernel: metalevel proof terms (by Stefan Berghofer); reference 
875 
variable proof controls level of detail: 0 = no proofs (only oracle 

876 
dependencies), 1 = lemma dependencies, 2 = compact proof terms; see 

877 
also ref manual for further ML interfaces; 

878 

879 
* Pure/axclass: removed obsolete ML interface 

880 
goal_subclass/goal_arity; 

881 

882 
* Pure/syntax: new token syntax "num" for plain numerals (without "#" 

883 
of "xnum"); potential INCOMPATIBILITY, since 0, 1 etc. are now 

884 
separate tokens, so expressions involving minus need to be spaced 

885 
properly; 

886 

12312
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

887 
* Pure/syntax: support nonoriented infixes, using keyword "infix" 
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

888 
rather than "infixl" or "infixr"; 
f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

889 

f0f06950820d
* Isar/Pure: "sorry" no longer requires quick_and_dirty in interactive mode;
wenzelm
parents:
12280
diff
changeset

890 
* 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

891 
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

892 
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

893 
type variable); 
12280  894 

895 
* Pure/syntax: print modes "type_brackets" and "no_type_brackets" 

896 
control output of nested => (types); the default behavior is 

897 
"type_brackets"; 

898 

899 
* Pure/syntax: builtin parse translation for "_constify" turns valued 

11817  900 
tokens into AST constants; 
11474  901 

12280  902 
* Pure/syntax: prefer later declarations of translations and print 
903 
translation functions; potential INCOMPATIBILITY: need to reverse 

904 
multiple declarations for same syntax element constant; 

905 

12832
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset

906 
* 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

907 
practice); 
c31b44286a8a
* Pure/show_hyps reset by default (in accordance to existing Isar practice);
wenzelm
parents:
12777
diff
changeset

908 

12280  909 
* Provers/classical: renamed addaltern to addafter, addSaltern to 
910 
addSafter; 

911 

912 
* Provers/clasimp: ``iff'' declarations now handle conditional rules 

913 
as well; 

12253  914 

12538  915 
* system: tested support for MacOS X; should be able to get Isabelle + 
916 
Proof General to work in a plain Terminal after installing Poly/ML 

917 
(e.g. from the Isabelle distribution area) and GNU bash alone 

918 
(e.g. from http://www.apple.com); full X11, XEmacs and XSymbol 

919 
support requires further installations, e.g. from 

920 
http://fink.sourceforge.net/); 

921 

12280  922 
* system: support Poly/ML 4.1.1 (able to manage larger heaps); 
11551  923 

12753
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset

924 
* 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

925 
of 40 MB), cf. ML_OPTIONS; 
3a62df7ae926
* system: reduced base memory usage by Poly/ML (approx. 20 MB instead
wenzelm
parents:
12736
diff
changeset

926 

11633  927 
* system: Proof General keywords specification is now part of the 
928 
Isabelle distribution (see etc/isarkeywords.el); 

929 

12728  930 
* system: support for persistent Proof General sessions (refrain from 
931 
outdating all loaded theories on startup); user may create writable 

932 
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

933 

11551  934 
* system: smart selection of Isabelle process versus Isabelle 
11572  935 
interface, accommodates caseinsensitive file systems (e.g. HFS+); may 
936 
run both "isabelle" and "Isabelle" even if file names are badly 

937 
damaged (executable inspects the case of the first letter of its own 

938 
name); added separate "isabelleprocess" and "isabelleinterface"; 

11551  939 

12472  940 
* system: refrain from any attempt at filtering input streams; no 
941 
longer support ``8bit'' encoding of old isabelle font, instead proper 

942 
isolatin characters may now be used; the related isatools 

943 
"symbolinput" and "nonascii" have disappeared as well; 

944 

945 
* system: removed old "xterm" interface (the print modes "xterm" and 

946 
"xterm_color" are still available for direct use in a suitable 

947 
terminal); 

948 

11314  949 

11169
98c2f741e32b
made split_all_tac safe introducing safe_full_simp_tac, EXISTING PROOFS MAY FAIL
oheimb
parents:
11130
diff
changeset

950 

11062  951 
New in Isabelle992 (February 2001) 
952 
 

953 

10224  954 
*** Overview of INCOMPATIBILITIES *** 
955 

11241  956 
* HOL: please note that theories in the Library and elsewhere often use the 
957 
newstyle (Isar) format; to refer to their theorems in an ML script you must 

12622  958 
bind them to ML identifers by e.g. val thm_name = thm "thm_name"; 
11241  959 

11043
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset

960 
* HOL: inductive package no longer splits induction rule aggressively, 
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset

961 
but only as far as specified by the introductions given; the old 
11130  962 
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

963 
'split_rule (complete)'; 
2e3bbac8763b
HOL: inductive package no longer splits induction rule aggressively,
wenzelm
parents:
11016
diff
changeset

964 

10998  965 
* HOL: induct renamed to lfp_induct, lfp_Tarski to lfp_unfold, 
966 
gfp_Tarski to gfp_unfold; 

10224  967 

10288  968 
* HOL: contrapos, contrapos2 renamed to contrapos_nn, contrapos_pp; 
969 

10858  970 
* HOL: infix "dvd" now has priority 50 rather than 70 (because it is a 
971 
relation); infix "^^" has been renamed "``"; infix "``" has been 

972 
renamed "`"; "univalent" has been renamed "single_valued"; 

10793  973 

10998  974 
* HOL/Real: "rinv" and "hrinv" replaced by overloaded "inverse" 
975 
operation; 

976 

10868  977 
* HOLCF: infix "`" has been renamed "$"; the symbol syntax is \<cdot>; 
10856  978 

10391  979 
* Isar: 'obtain' no longer declares "that" fact as simp/intro; 
980 

10401
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

981 
* Isar/HOL: method 'induct' now handles nonatomic goals; as a 
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

982 
consequence, it is no longer monotonic wrt. the local goal context 
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

983 
(which is now passed through the inductive cases); 
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

984 

10976
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset

985 
* Document preparation: renamed standard symbols \<ll> to \<lless> and 
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset

986 
\<gg> to \<ggreater>; 
0e7cf6f9fa29
* Document preparation: renamed standard symbols \<ll> to \<lless> and
wenzelm
parents:
10966
diff
changeset

987 

10224  988 

10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset

989 
*** Document preparation *** 
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset

990 

10858  991 
* \isabellestyle{NAME} selects version of Isabelle output (currently 
992 
available: are "it" for near mathmode beststyle output, "sl" for 

993 
slanted text style, and "tt" for plain typewriter; if no 

994 
\isabellestyle command is given, output is according to slanted 

995 
typewriter); 

996 

10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset

997 
* 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

998 
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

999 

10858  1000 
* some more standard symbols; see Appendix A of the system manual for 
11062  1001 
the complete list of symbols defined in isabellesym.sty; 
10858  1002 

10998  1003 
* improved isabelle style files; more abstract symbol implementation 
1004 
(should now use \isamath{...} and \isatext{...} in custom symbol 

1005 
definitions); 

1006 

10634  1007 
* antiquotation @{goals} and @{subgoals} for output of *dynamic* goals 
1008 
state; Note that presentation of goal states does not conform to 

1009 
actual humanreadable proof documents. Please do not include goal 

1010 
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

1011 

11062  1012 
* proper indentation of antiquoted output with proportional LaTeX 
1013 
fonts; 

10862  1014 

11050
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset

1015 
* no_document ML operator temporarily disables LaTeX document 
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset

1016 
generation; 
ac5709ac50b9
* no_document ML operator temporarily disables LaTeX document
wenzelm
parents:
11043
diff
changeset

1017 

11062  1018 
* isatool unsymbolize tunes sources for plain ASCII communication; 
1019 

10322
df38c61bf541
* support sub/super scripts (for single symbols only), input syntax is
wenzelm
parents:
10306
diff
changeset

1020 

10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset

1021 
*** Isar *** 
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset

1022 

10547  1023 
* Pure: Isar now suffers initial goal statements to contain unbound 
1024 
schematic variables (this does not conform to actual readable proof 

1025 
documents, due to unpredictable outcome and noncompositional proof 

1026 
checking); users who know what they are doing may use schematic goals 

1027 
for Prologstyle synthesis of proven results; 

1028 

10391  1029 
* Pure: assumption method (an implicit finishing) now handles actual 
1030 
rules as well; 

1031 

1032 
* Pure: improved 'obtain'  moved to Pure, insert "that" into 

1033 
initial goal, declare "that" only as Pure intro (only for single 

1034 
steps); the "that" rule assumption may now be involved in implicit 

1035 
finishing, thus ".." becomes a feasible for trivial obtains; 

1036 

1037 
* Pure: default proof step now includes 'intro_classes'; thus trivial 

1038 
instance proofs may be performed by ".."; 

1039 

1040 
* Pure: ?thesis / ?this / "..." now work for pure metalevel 

1041 
statements as well; 

10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset

1042 

11097  1043 
* Pure: more robust selection of calculational rules; 
1044 

10858  1045 
* Pure: the builtin notion of 'finished' goal now includes the ==refl 
1046 
rule (as well as the assumption rule); 

1047 

1048 
* Pure: 'thm_deps' command visualizes dependencies of theorems and 

1049 
lemmas, using the graph browser tool; 

1050 

10944  1051 
* Pure: predict failure of "show" in interactive mode; 
1052 

11016
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset

1053 
* Pure: 'thms_containing' now takes actual terms as arguments; 
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset

1054 

10401
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

1055 
* HOL: improved method 'induct'  now handles nonatomic goals 
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

1056 
(potential INCOMPATIBILITY); tuned error handling; 
58bb50f69497
* Isar/HOL: method 'induct' now handles nonatomic goals; as a
wenzelm
parents:
10391
diff
changeset

1057 

10557  1058 
* HOL: cases and induct rules now provide explicit hints about the 
10547  1059 
number of facts to be consumed (0 for "type" and 1 for "set" rules); 
1060 
any remaining facts are inserted into the goal verbatim; 

1061 

10858  1062 
* HOL: local contexts (aka cases) may now contain term bindings as 
1063 
well; the 'cases' and 'induct' methods new provide a ?case binding for 

1064 
the result to be shown in each case; 

1065 

10770  1066 
* HOL: added 'recdef_tc' command; 
1067 

11016
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset

1068 
* isatool convert assists in eliminating legacy ML scripts; 
8f8ba41a5e7a
* Pure: 'thms_containing' now takes actual terms as arguments;
wenzelm
parents:
10998
diff
changeset

1069 

10306
b0ab988a27a9
* HOL: default proof step now includes 'intro_classes';
wenzelm
parents:
10288
diff
changeset

1070 

10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset

1071 
*** HOL *** 
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset

1072 

87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset

1073 
* 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

1074 
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

1075 
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

1076 
HOL/Induct/Multiset, HOL/Induct/Acc (as Accessible_Part), HOL/While 
10337  1077 
(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

1078 

10966  1079 
* HOL/Unix: "Some aspects of Unix filesystem security", a typical 
1080 
modelling and verification task performed in Isabelle/HOL + 

1081 
Isabelle/Isar + Isabelle document preparation (by Markus Wenzel). 

1082 

11094  1083 
* HOL/Algebra: special summation operator SUM no longer exists, it has 
1084 
been replaced by setsum; infix 'assoc' now has priority 50 (like 

1085 
'dvd'); axiom 'one_not_zero' has been moved from axclass 'ring' to 

1086 
'domain', this makes the theory consistent with mathematical 

1087 
literature; 

1088 

10514  1089 
* HOL basics: added overloaded operations "inverse" and "divide" 
10726  1090 
(infix "/"), syntax for generic "abs" operation, generic summation 
11094  1091 
operator \<Sum>; 
10452
abeefb0a79ae
* added overloaded operations "inverse" and "divide" (infix "/");
wenzelm
parents:
10428
diff
changeset

1092 

10391  1093 
* HOL/typedef: simplified package, provide more useful rules (see also 
1094 
HOL/subset.thy); 

1095 

10915
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1096 
* HOL/datatype: induction rule for arbitrarily branching datatypes is 
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1097 
now expressed as a proper nested rule (oldstyle tactic scripts may 
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1098 
require atomize_strip_tac to cope with nonatomic premises); 
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1099 

6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1100 
* 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

1101 
to "split_conv" (old name still available for compatibility); 
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1102 

6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1103 
* 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

1104 
rules with string literals); 
6b66a8a530ce
* HOL/datatype: induction rule for arbitrarily branching datatypes is
wenzelm
parents:
10868
diff
changeset

1105 

12245  1106 
* HOLRealHyperreal: this extends HOLReal with the hyperreals 
1107 
and Fleuriot's mechanization of analysis, including the transcendental 

1108 
functions for the reals; 

10756  1109 

11094  1110 
* HOL/Real, HOL/Hyperreal: improved arithmetic simplification; 
10391  1111 

10858  1112 

10474  1113 
*** CTT *** 
1114 

10547  1115 
* CTT: xsymbol support for Pi, Sigma, >, : (membership); note that 
1116 
"lam" is displayed as TWO lambdasymbols 

10474  1117 

10547  1118 
* CTT: theory Main now available, containing everything (that is, Bool 
1119 
and Arith); 

1120 

10474  1121 

10391  1122 
*** General *** 
1123 

10547  1124 
* Pure: the Simplifier has been implemented properly as a derived rule 
1125 
outside of the actual kernel (at last!); the overall performance 

1126 
penalty in practical applications is about 50%, while reliability of 

1127 
the Isabelle inference kernel has been greatly improved; 

1128 

11112  1129 
* print modes "brackets" and "no_brackets" control output of nested => 
1130 
(types) and ==> (props); the default behaviour is "brackets"; 

1131 

10391  1132 
* Provers: fast_tac (and friends) now handle actual objectlogic rules 
1133 
as assumptions as well; 

1134 

11124  1135 
* system: support Poly/ML 4.0; 
1136 

1137 
* system: isatool install handles KDE version 1 or 2; 

1138 

10391  1139 

10245
87771e2f49fe
* HOL/Library: a collection of generic theories to be used together
wenzelm
parents:
10224
diff
changeset

1140 

10103  1141 
New in Isabelle991 (October 2000) 
1142 
 

8015  1143 

10003  1144 
*** Overview of INCOMPATIBILITIES *** 
8014  1145 

8848  1146 
* HOL: simplification of natural numbers is much changed; to partly 
1147 
recover the old behaviour (e.g. to prevent n+n rewriting to #2*n) 

1148 
issue the following ML commands: 

1149 

1150 
Delsimprocs Nat_Numeral_Simprocs.cancel_numerals; 

1151 
Delsimprocs [Nat_Numeral_Simprocs.combine_numerals]; 

8788  1152 

10129  1153 
* HOL: simplification no longer dives into caseexpressions; this is 
1154 
controlled by "t.weak_case_cong" for each datatype t; 

10003  1155 

1156 
* HOL: nat_less_induct renamed to less_induct; 

1157 

1158 
* HOL: systematic renaming of the SOME (Eps) rules, may use isatool 

1159 
fixsome to patch .thy and .ML sources automatically; 

8967  1160 

10003  1161 
select_equality > some_equality 
1162 
select_eq_Ex > some_eq_ex 

1163 
selectI2EX > someI2_ex 

1164 
selectI2 > someI2 

1165 
selectI > someI 

1166 
select1_equality > some1_equality 

1167 
Eps_sym_eq > some_sym_eq_trivial 

1168 
Eps_eq > some_eq_trivial 

1169 

1170 
* HOL: exhaust_tac on datatypes superceded by new generic case_tac; 

1171 

1172 
* HOL: removed obsolete theorem binding expand_if (refer to split_if 

1173 
instead); 

1174 

1175 
* HOL: the recursion equations generated by 'recdef' are now called 

1176 
f.simps instead of f.rules; 

1177 

1178 
* HOL: qed_spec_mp now also handles bounded ALL as well; 

1179 

1180 
* HOL: 0 is now overloaded, so the type constraint ":: nat" may 

1181 
sometimes be needed; 

1182 

1183 
* HOL: the constant for "f``x" is now "image" rather than "op ``"; 

8014  1184 

10065  1185 
* HOL: the constant for "f``x" is now "vimage" rather than "op ``"; 
1186 

9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset

1187 
* 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

1188 
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

1189 
now "<*lex*>" instead of "**"; 
8705  1190 

10003  1191 
* HOL: theory Sexp is now in HOL/Induct examples (it used to be part 
1192 
of main HOL, but was unused); better use HOL's datatype package; 

9971  1193 

10137
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1194 
* HOL: removed "symbols" syntax for constant "override" of theory Map; 
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1195 
the old syntax may be recovered as follows: 
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1196 

d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1197 
syntax (symbols) 
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1198 
override :: "('a ~=> 'b) => ('a ~=> 'b) => ('a ~=> 'b)" 
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1199 
(infixl "\\<oplus>" 100) 
d1c2bef01e2f
removed "symbols" syntax for constant "override";
wenzelm
parents:
10129
diff
changeset

1200 

8848  1201 
* HOL/Real: "rabs" replaced by overloaded "abs" function; 
1202 

8887
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset

1203 
* 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

1204 
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

1205 
internally; 
c0c583ce0b0b
* HOL/ML: even fewer consts are declared as global (see theories Ord,
wenzelm
parents:
8848
diff
changeset

1206 

10003  1207 
* HOL and ZF: syntax for quotienting wrt an equivalence relation 
1208 
changed from A/r to A//r; 

9908  1209 

10003  1210 
* ZF: new treatment of arithmetic (nat & int) may break some old 
1211 
proofs; 

8921
7c04c98132c4
* Pure: changed syntax of local blocks from {{ }} to { };
wenzelm
parents:
8887
diff
changeset

1212 

10003  1213 
* Isar: renamed some attributes (RS > THEN, simplify > simplified, 
1214 
rulify > rule_format, elimify > elim_format, ...); 

9542  1215 

9941
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset

1216 
* Isar/Provers: intro/elim/dest attributes changed; renamed 
fe05af7ec816
renamed atts: rulify to rule_format, elimify to elim_format;
wenzelm
parents:
9937
diff
changeset

1217 
intro/intro!/intro!! flags to intro!/intro/intro? (in most cases, one 
9937  1218 
should have to change intro!! to intro? only); replaced "delrule" by 
1219 
"rule del"; 

9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset

1220 

9612  1221 
* Isar/HOL: renamed "intrs" to "intros" in inductive definitions; 
1222 

9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset

1223 
* Provers: strengthened force_tac by using new first_best_tac; 
9402  1224 

10003  1225 
* LaTeX document preparation: several changes of isabelle.sty (see 
1226 
lib/texinputs); 

8729
094dbd0fad0c
* improved name spaces: ambiguous output is qualified; support for
wenzelm
parents:
8705
diff
changeset

1227 

8014  1228 

8487  1229 
*** Document preparation *** 
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1230 

9198
0ab3c81e9425
* formal comments (text blocks etc.) in newstyle theories may now
wenzelm
parents:
9185
diff
changeset

1231 
* formal comments (text blocks etc.) in newstyle theories may now 
9753  1232 
contain antiquotations of thm/prop/term/typ/text to be presented 
1233 
according to latex print mode; concrete syntax is like this: 

1234 
@{term[show_types] "f(x) = a + x"}; 

9198
0ab3c81e9425
* formal comments (text blocks etc.) in newstyle theories may now
wenzelm
parents:
9185
diff
changeset

1235 

8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1236 
* isatool mkdir provides easy setup of Isabelle session directories, 
8518  1237 
including proper document sources; 
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1238 

a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1239 
* generated LaTeX sources are now deleted after successful run 
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1240 
(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

1241 
of isatool usedir; 
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1242 

8566  1243 
* isatool usedir D now lets isatool latex o sty update the Isabelle 
10003  1244 
style files, achieving selfcontained LaTeX sources and simplifying 
1245 
LaTeX debugging; 

8566  1246 

8518  1247 
* oldstyle theories now produce (crude) LaTeX output as well; 
8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1248 

9057
af1ca1acf292
* browser info session directories are now selfcontained (may be put
wenzelm
parents:
9052
diff
changeset

1249 
* browser info session directories are now selfcontained (may be put 
9437
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset

1250 
on WWW server seperately); improved graphs of nested sessions; removed 
93e91040c286
* Isar/Provers: intro/elim/dest attributes: changed
wenzelm
parents:
9402
diff
changeset

1251 
graph for 'all sessions'; 
9057
af1ca1acf292
* browser info session directories are now selfcontained (may be put
wenzelm
parents:
9052
diff
changeset

1252 

10003  1253 
* several improvements in isabelle style files; \isabellestyle{it} 
1254 
produces fake math mode output; \isamarkupheader is now \section by 

1255 
default; see lib/texinputs/isabelle.sty etc.; 

9489
aa757b35b129
* blast(_tac) now handles actual objectlogic rules as assumptions;
wenzelm
parents:
9457
diff
changeset

1256 

8358
a57d72b5d272
* isatool mkdir provides easy setup of Isabelle session directories,
wenzelm
parents:
8283
diff
changeset

1257 

8184  1258 
*** Isar *** 
1259 

10003  1260 
* Isar/Pure: local results and corresponding term bindings are now 
1261 
subject to HindleyMilner polymorphism (similar to ML); this 

1262 
accommodates incremental typeinference very nicely; 

8283
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset

1263 

10003  1264 
* Isar/Pure: new derived language element 'obtain' supports 
1265 
generalized existence reasoning; 

8621
8ba0f90f6f35
* Isar/Pure: local results and corresponding term bindings are now
wenzelm
parents:
8603
diff
changeset

1266 

10003  1267 
* Isar/Pure: new calculational elements 'moreover' and 'ultimately' 
1268 
support accumulation of results, without applying any rules yet; 

1269 
useful to collect intermediate results without explicit name 

1270 
references, and for use with transitivity rules with more than 2 

1271 
premises; 

8184  1272 

10003  1273 
* Isar/Pure: scalable support for caseanalysis type proofs: new 
1274 
'case' language element refers to local contexts symbolically, as 

1275 
produced by certain proof methods; internally, case names are attached 

1276 
to theorems as "tags"; 

8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset

1277 

10003  1278 
* Isar/Pure: theory command 'hide' removes declarations from 
9330
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset

1279 
class/type/const name spaces; 
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset

1280 

10003  1281 
* 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

1282 
indicate potential overloading; 
6861e3b00155
HOL: the disjoint sum is now "<+>" instead of "Plus";
wenzelm
parents:
9288
diff
changeset

1283 

10003  1284 
* 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

1285 

10003  1286 
* Isar/Pure: syntax of sorts made 'inner', i.e. have to write 
1287 
"{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

1288 

10003  1289 
* Isar/Pure now provides its own version of intro/elim/dest 
1290 
attributes; useful for building new logics, but beware of confusion 

1291 
with the version in Provers/classical; 

9612  1292 

10003  1293 
* Isar/Pure: the local context of (nonatomic) goals is provided via 
1294 
case name 'antecedent'; 

8440
d66f0f14b1ca
* HOL: exhaust_tac on datatypes superceded by new case_tac;
wenzelm
parents:
8425
diff
changeset

1295 

10003  1296 
* Isar/Pure: removed obsolete 'transfer' attribute (transfer of thms 
1297 
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

1298 

10003  1299 
* Isar/Pure: theory command 'method_setup' provides a simple interface 
1300 
for definining proof methods in ML; 

9612  1301 

10003  1302 
* 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

1303 
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

1304 
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

1305 
replaced "delrule" by "rule del"; 
8283
0a319c5746eb
* Pure now provides its own version of intro/elim/dest attributes;
wenzelm
parents:
8271
diff
changeset

1306 

10003  1307 
* Isar/Provers: new 'hypsubst' method, plain 'subst' method and 
1308 
'symmetric' attribute (the latter supercedes [RS sym]); 

1309 

1310 
* Isar/Provers: splitter support (via 'split' attribute and 'simp' 

1311 
method modifier); 'simp' method: 'only:' modifier removes loopers as 

1312 
well (including splits); 

1313 

1314 
* Isar/Provers: Simplifier and Classical methods now support all kind 

1315 
of modifiers used in the past, including 'cong', 'iff', etc. 

1316 

1317 
* Isar/Provers: added 'fastsimp' and 'clarsimp' methods (combination 

1318 
of Simplifier and Classical reasoner); 

1319 

1320 
* Isar/HOL: new proof method 'cases' and improved version of 'induct' 

1321 
now support named cases; major packages (inductive, datatype, primrec, 

1322 
recdef) support case names and properly name parameters; 

9612  1323 

10003  1324 
* Isar/HOL: new transitivity rules for substitution in inequalities  
1325 
monotonicity conditions are extracted to be proven at end of 

1326 
calculations; 

1327 

1328 
* Isar/HOL: removed 'case_split' thm binding, should use 'cases' proof 

1329 
method anyway; 

1330 

1331 
* Isar/HOL: removed old expand_if = split_if; theorems if_splits = 

1332 
split_if split_if_asm; datatype package provides theorems foo.splits = 

1333 
foo.split foo.split_asm for each datatype; 

1334 

1335 
* Isar/HOL: tuned inductive package, rename "intrs" to "intros" 

1336 
(potential INCOMPATIBILITY), emulation of mk_cases feature for proof 

1337 
scripts: new 'inductive_cases' command and 'ind_cases' method; (Note: 

1338 
use "(cases (simplified))" method in proper proof texts); 

1339 

1340 
* Isar/HOL: added global 'arith_split' attribute for 'arith' method; 

1341 

1342 
* Isar: names of theorems etc. may be natural numbers as well; 

1343 

1344 
* Isar: 'pr' command: optional arguments for goals_limit and 

9724
2030c5d63741
* 'pr' command: optional argument for ProofContext.prems_limit;
wenzelm
parents:
9709
diff
changeset

1345 
ProofContext.prems_limit; no longer prints theory contexts, but only 
2030c5d63741
* 'pr' command: optional argument for ProofContext.prems_limit;
wenzelm
parents:
9709
diff
changeset

1346 
proof states; 
8487  1347 

10003  1348 
* Isar: diagnostic commands 'pr', 'thm', 'prop', 'term', 'typ' admit 
8518  1349 
additional print modes to be specified; e.g. "pr(latex)" will print 
1350 
proof state according to the Isabelle LaTeX style; 

8487  1351 

10003  1352 
* Isar: improved support for emulating tactic scripts, including proof 
9612  1353 
methods 'rule_tac' etc., 'cut_tac', 'thin_tac', 'subgoal_tac', 
1354 
'rename_tac', 'rotate_tac', 'tactic', and 'case_tac' / 'induct_tac' 

1355 
(for HOL datatypes); 

8534  1356 

10003  1357 
* Isar: simplified (more robust) goal selection of proof methods: 1st 
1358 
goal, all goals, or explicit goal specifier (tactic emulation); thus 

1359 
'proof method scripts' have to be in depthfirst order; 

8673
987ea1a559d0
Isar: simplified (more robust) goal selection of proof methods;
wenzelm
parents:
8655
diff
changeset

1360 

10003  1361 
* 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

1362 

10003  1363 
* Isar: removed 'help' command, which hasn't been too helpful anyway; 
1364 
should instead use individual commands for printing items 

1365 
(print_commands, print_methods etc.); 

9224
0da360494917
* Isar: removed 'help' command, which hasn't been too helpful anyway;
wenzelm
parents:
9198
diff
changeset

1366 

10003  1367 
* Isar: added 'nothing'  the empty list of theorems; 
9239  1368 

8184  1369 

8014  1370 
*** HOL *** 
1371 

10080  1372 
* HOL/MicroJava: formalization of a fragment of Java, together with a 
1373 
corresponding virtual machine and a specification of its bytecode 

1374 
verifier and a lightweight bytecode verifier, including proofs of 

1375 
typesafety; by Gerwin Klein, Tobias Nipkow, David von Oheimb, and 

1376 
Cornelia Pusch (see also the homepage of project Bali at 

1377 
http://isabelle.in.tum.de/Bali/); 

1378 

8518  1379 
* HOL/Algebra: new theory of rings and univariate polynomials, by 
1380 
Clemens Ballarin; 

8014  1381 

10157
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset

1382 
* HOL/NumberTheory: fundamental Theorem of Arithmetic, Chinese 
10003  1383 
Remainder Theorem, Fermat/Euler Theorem, Wilson's Theorem, by Thomas M 
1384 
Rasmussen; 

8570  1385 

10157
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset

1386 
* 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

1387 
structures, including duals, properties of bounds versus algebraic 
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset

1388 
laws, lattice operations versus settheoretic ones, the KnasterTarski 
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset

1389 
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

1390 
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

1391 
mathematicsstyle proof in Isabelle/Isar; by Markus Wenzel; 
6d3987f3aad9
* HOL/Lattice: fundamental concepts of lattice theory and order structures;
wenzelm
parents:
10137
diff
changeset

1392 

10003  1393 
* HOL/Prolog: a (barebones) implementation of LambdaProlog, by David 
1394 
von Oheimb; 

9542  1395 

10164
c240747082aa
* HOL/IMPP: extension of IMP with local variables and mutually
wenzelm
parents:
10157
diff
changeset

1396 
* 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

1397 
recursive procedures, by David von Oheimb; 
c240747082aa
* HOL/IMPP: extension of IMP with local variables and mutually
wenzelm
parents:
10157
diff
changeset

1398 

10003  1399 
* HOL/Lambda: converted into newstyle theory and document; 
9542  1400 

10003  1401 
* HOL/ex/Multiquote: example of multiple nested quotations and 
1402 
antiquotations  basically a generalized version of deBruijn 

1403 
representation; very useful in avoiding lifting of operations; 

8848  1404 

9612  1405 
* HOL/record: added general record equality rule to simpset; fixed 
1406 
selectupdate simplification procedure to handle extended records as 

1407 
well; admit "r" as field name; 

< 