author | wenzelm |
Sun, 26 Jan 2014 14:01:19 +0100 | |
changeset 55152 | a56099a6447a |
parent 55143 | 04448228381d |
child 55183 | 17ec4a29ef71 |
permissions | -rw-r--r-- |
5363 | 1 |
Isabelle NEWS -- history user-relevant changes |
2 |
============================================== |
|
2553 | 3 |
|
54055 | 4 |
New in this Isabelle version |
5 |
---------------------------- |
|
6 |
||
54702
3daeba5130f0
added document antiquotation @{url}, which produces formal markup for LaTeX and PIDE;
wenzelm
parents:
54688
diff
changeset
|
7 |
*** General *** |
3daeba5130f0
added document antiquotation @{url}, which produces formal markup for LaTeX and PIDE;
wenzelm
parents:
54688
diff
changeset
|
8 |
|
3daeba5130f0
added document antiquotation @{url}, which produces formal markup for LaTeX and PIDE;
wenzelm
parents:
54688
diff
changeset
|
9 |
* Document antiquotation @{url} produces markup for the given URL, |
3daeba5130f0
added document antiquotation @{url}, which produces formal markup for LaTeX and PIDE;
wenzelm
parents:
54688
diff
changeset
|
10 |
which results in an active hyperlink within the text. |
3daeba5130f0
added document antiquotation @{url}, which produces formal markup for LaTeX and PIDE;
wenzelm
parents:
54688
diff
changeset
|
11 |
|
54705 | 12 |
* Document antiquotation @{file_unchecked} is like @{file}, but does |
13 |
not check existence within the file-system. |
|
14 |
||
54732 | 15 |
* Discontinued legacy_isub_isup, which was a temporary Isabelle/ML |
16 |
workaround in Isabelle2013-1. The prover process no longer accepts |
|
17 |
old identifier syntax with \<^isub> or \<^isup>. |
|
18 |
||
55029
61a6bf7d4b02
clarified @{rail} syntax: prefer explicit \<newline> symbol;
wenzelm
parents:
55015
diff
changeset
|
19 |
* Syntax of document antiquotation @{rail} now uses \<newline> instead |
61a6bf7d4b02
clarified @{rail} syntax: prefer explicit \<newline> symbol;
wenzelm
parents:
55015
diff
changeset
|
20 |
of "\\", to avoid the optical illusion of escaped backslash within |
61a6bf7d4b02
clarified @{rail} syntax: prefer explicit \<newline> symbol;
wenzelm
parents:
55015
diff
changeset
|
21 |
string token. Minor INCOMPATIBILITY. |
61a6bf7d4b02
clarified @{rail} syntax: prefer explicit \<newline> symbol;
wenzelm
parents:
55015
diff
changeset
|
22 |
|
55122 | 23 |
* Lexical syntax (inner and outer) supports text cartouches with |
24 |
arbitrary nesting, and without escapes of quotes etc. |
|
25 |
||
54702
3daeba5130f0
added document antiquotation @{url}, which produces formal markup for LaTeX and PIDE;
wenzelm
parents:
54688
diff
changeset
|
26 |
|
54533 | 27 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
28 |
||
29 |
* Auxiliary files ('ML_file' etc.) are managed by the Prover IDE. |
|
30 |
Open text buffers take precedence over copies within the file-system. |
|
31 |
||
54688 | 32 |
* Document panel: simplied interaction where every single mouse click |
33 |
(re)opens document via desktop environment or as jEdit buffer. |
|
34 |
||
54881 | 35 |
* Option "jedit_print_mode" (see also "Plugin Options / Isabelle / |
36 |
General") allows to specify additional print modes for the prover |
|
37 |
process, without requiring old-fashioned command-line invocation of |
|
38 |
"isabelle jedit -m MODE". |
|
39 |
||
54533 | 40 |
|
55001 | 41 |
*** Pure *** |
42 |
||
55143
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
43 |
* Attributes "where" and "of" allow an optional context of local |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
44 |
variables ('for' declaration): these variables become schematic in the |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
45 |
instantiated theorem. |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
46 |
|
55152 | 47 |
* Obsolete attribute "standard" has been discontinued (legacy since |
48 |
Isabelle2012). Potential INCOMPATIBILITY, use explicit 'for' context |
|
49 |
where instantiations with schematic variables are intended (for |
|
50 |
declaration commands like 'lemmas' or attributes like "of"). The |
|
51 |
following temporary definition may help to port old applications: |
|
52 |
||
53 |
attribute_setup standard = |
|
54 |
"Scan.succeed (Thm.rule_attribute (K Drule.export_without_context))" |
|
55 |
||
55001 | 56 |
* More thorough check of proof context for goal statements and |
55006 | 57 |
attributed fact expressions (concerning background theory, declared |
58 |
hyps). Potential INCOMPATIBILITY, tools need to observe standard |
|
59 |
context discipline. See also Assumption.add_assumes and the more |
|
60 |
primitive Thm.assume_hyps. |
|
55001 | 61 |
|
55108
0b7a0c1fdf7e
inner syntax token language allows regular quoted strings;
wenzelm
parents:
55049
diff
changeset
|
62 |
* Inner syntax token language allows regular quoted strings "..." |
0b7a0c1fdf7e
inner syntax token language allows regular quoted strings;
wenzelm
parents:
55049
diff
changeset
|
63 |
(only makes sense in practice, if outer syntax is delimited |
0b7a0c1fdf7e
inner syntax token language allows regular quoted strings;
wenzelm
parents:
55049
diff
changeset
|
64 |
differently). |
0b7a0c1fdf7e
inner syntax token language allows regular quoted strings;
wenzelm
parents:
55049
diff
changeset
|
65 |
|
55001 | 66 |
|
54227
63b441f49645
moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
haftmann
parents:
54055
diff
changeset
|
67 |
*** HOL *** |
63b441f49645
moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
haftmann
parents:
54055
diff
changeset
|
68 |
|
55139 | 69 |
* Simproc "finite_Collect" is no longer enabled by default, due to |
70 |
spurious crashes and other surprises. Potential INCOMPATIBILITY. |
|
71 |
||
55098 | 72 |
* Moved new (co)datatype package and its dependencies from "HOL-BNF" to "HOL". |
73 |
The "bnf", "wrap_free_constructors", "datatype_new", "codatatype", |
|
74 |
"primrec_new", "primcorec", and "primcorecursive" command are now part of |
|
75 |
"Main". |
|
76 |
INCOMPATIBILITY. |
|
77 |
Theory renamings: |
|
78 |
FunDef.thy ~> Fun_Def.thy (and Fun_Def_Base.thy) |
|
79 |
Library/Wfrec.thy ~> Wfrec.thy |
|
80 |
Library/Zorn.thy ~> Zorn.thy |
|
81 |
Cardinals/Order_Relation.thy ~> Order_Relation.thy |
|
82 |
Library/Order_Union.thy ~> Cardinals/Order_Union.thy |
|
83 |
Cardinals/Cardinal_Arithmetic_Base.thy ~> BNF_Cardinal_Arithmetic.thy |
|
84 |
Cardinals/Cardinal_Order_Relation_Base.thy ~> BNF_Cardinal_Order_Relation.thy |
|
85 |
Cardinals/Constructions_on_Wellorders_Base.thy ~> BNF_Constructions_on_Wellorders.thy |
|
86 |
Cardinals/Wellorder_Embedding_Base.thy ~> BNF_Wellorder_Embedding.thy |
|
87 |
Cardinals/Wellorder_Relation_Base.thy ~> BNF_Wellorder_Relation.thy |
|
88 |
BNF/Ctr_Sugar.thy ~> Ctr_Sugar.thy |
|
89 |
BNF/Basic_BNFs.thy ~> Basic_BNFs.thy |
|
90 |
BNF/BNF_Comp.thy ~> BNF_Comp.thy |
|
91 |
BNF/BNF_Def.thy ~> BNF_Def.thy |
|
92 |
BNF/BNF_FP_Base.thy ~> BNF_FP_Base.thy |
|
93 |
BNF/BNF_GFP.thy ~> BNF_GFP.thy |
|
94 |
BNF/BNF_LFP.thy ~> BNF_LFP.thy |
|
95 |
BNF/BNF_Util.thy ~> BNF_Util.thy |
|
96 |
BNF/Coinduction.thy ~> Coinduction.thy |
|
97 |
BNF/More_BNFs.thy ~> Library/More_BNFs.thy |
|
98 |
BNF/Countable_Type.thy ~> Library/Countable_Set_Type.thy |
|
99 |
BNF/Examples/* ~> BNF_Examples/* |
|
100 |
New theories: |
|
101 |
List_Prefix.thy (split from Library/Sublist.thy) |
|
102 |
Wellorder_Extension.thy (split from Zorn.thy) |
|
103 |
Library/Cardinal_Notations.thy |
|
104 |
Library/BNF_Decl.thy |
|
105 |
BNF_Examples/Misc_Primcorec.thy |
|
106 |
BNF_Examples/Stream_Processor.thy |
|
107 |
Discontinued theory: |
|
108 |
BNF/BNF.thy |
|
109 |
BNF/Equiv_Relations_More.thy |
|
110 |
||
111 |
* New theory: |
|
112 |
Cardinals/Ordinal_Arithmetic.thy |
|
113 |
||
114 |
* Theory reorganizations: |
|
115 |
* Big_Operators.thy ~> Groups_Big.thy and Lattices_Big.thy |
|
116 |
||
55015
e33c5bd729ff
added \<newline> symbol, which is used for char/string literals in HOL;
wenzelm
parents:
55007
diff
changeset
|
117 |
* The symbol "\<newline>" may be used within char or string literals |
e33c5bd729ff
added \<newline> symbol, which is used for char/string literals in HOL;
wenzelm
parents:
55007
diff
changeset
|
118 |
to represent (Char Nibble0 NibbleA), i.e. ASCII newline. |
e33c5bd729ff
added \<newline> symbol, which is used for char/string literals in HOL;
wenzelm
parents:
55007
diff
changeset
|
119 |
|
55007
0c07990363a3
activation of Z3 via "z3_non_commercial" system option (without requiring restart);
wenzelm
parents:
55006
diff
changeset
|
120 |
* Activation of Z3 now works via "z3_non_commercial" system option |
0c07990363a3
activation of Z3 via "z3_non_commercial" system option (without requiring restart);
wenzelm
parents:
55006
diff
changeset
|
121 |
(without requiring restart), instead of former settings variable |
0c07990363a3
activation of Z3 via "z3_non_commercial" system option (without requiring restart);
wenzelm
parents:
55006
diff
changeset
|
122 |
"Z3_NON_COMMERCIAL". The option can be edited in Isabelle/jEdit menu |
0c07990363a3
activation of Z3 via "z3_non_commercial" system option (without requiring restart);
wenzelm
parents:
55006
diff
changeset
|
123 |
Plugin Options / Isabelle / General. |
0c07990363a3
activation of Z3 via "z3_non_commercial" system option (without requiring restart);
wenzelm
parents:
55006
diff
changeset
|
124 |
|
54893
4061ec8adb1c
avoid unicode text, which causes problems when recoding symbols (e.g. via UTF8-Isabelle in Isabelle/jEdit);
wenzelm
parents:
54890
diff
changeset
|
125 |
* "declare [[code abort: ...]]" replaces "code_abort ...". |
4061ec8adb1c
avoid unicode text, which causes problems when recoding symbols (e.g. via UTF8-Isabelle in Isabelle/jEdit);
wenzelm
parents:
54890
diff
changeset
|
126 |
INCOMPATIBILITY. |
4061ec8adb1c
avoid unicode text, which causes problems when recoding symbols (e.g. via UTF8-Isabelle in Isabelle/jEdit);
wenzelm
parents:
54890
diff
changeset
|
127 |
|
4061ec8adb1c
avoid unicode text, which causes problems when recoding symbols (e.g. via UTF8-Isabelle in Isabelle/jEdit);
wenzelm
parents:
54890
diff
changeset
|
128 |
* "declare [[code drop: ...]]" drops all code equations associated |
54890
cb892d835803
fundamental treatment of undefined vs. universally partial replaces code_abort
haftmann
parents:
54881
diff
changeset
|
129 |
with the given constants. |
cb892d835803
fundamental treatment of undefined vs. universally partial replaces code_abort
haftmann
parents:
54881
diff
changeset
|
130 |
|
54864
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
131 |
* Abolished slightly odd global lattice interpretation for min/max. |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
132 |
|
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
133 |
Fact consolidations: |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
134 |
min_max.inf_assoc ~> min.assoc |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
135 |
min_max.inf_commute ~> min.commute |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
136 |
min_max.inf_left_commute ~> min.left_commute |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
137 |
min_max.inf_idem ~> min.idem |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
138 |
min_max.inf_left_idem ~> min.left_idem |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
139 |
min_max.inf_right_idem ~> min.right_idem |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
140 |
min_max.sup_assoc ~> max.assoc |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
141 |
min_max.sup_commute ~> max.commute |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
142 |
min_max.sup_left_commute ~> max.left_commute |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
143 |
min_max.sup_idem ~> max.idem |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
144 |
min_max.sup_left_idem ~> max.left_idem |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
145 |
min_max.sup_inf_distrib1 ~> max_min_distrib2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
146 |
min_max.sup_inf_distrib2 ~> max_min_distrib1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
147 |
min_max.inf_sup_distrib1 ~> min_max_distrib2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
148 |
min_max.inf_sup_distrib2 ~> min_max_distrib1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
149 |
min_max.distrib ~> min_max_distribs |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
150 |
min_max.inf_absorb1 ~> min.absorb1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
151 |
min_max.inf_absorb2 ~> min.absorb2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
152 |
min_max.sup_absorb1 ~> max.absorb1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
153 |
min_max.sup_absorb2 ~> max.absorb2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
154 |
min_max.le_iff_inf ~> min.absorb_iff1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
155 |
min_max.le_iff_sup ~> max.absorb_iff2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
156 |
min_max.inf_le1 ~> min.cobounded1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
157 |
min_max.inf_le2 ~> min.cobounded2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
158 |
le_maxI1, min_max.sup_ge1 ~> max.cobounded1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
159 |
le_maxI2, min_max.sup_ge2 ~> max.cobounded2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
160 |
min_max.le_infI1 ~> min.coboundedI1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
161 |
min_max.le_infI2 ~> min.coboundedI2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
162 |
min_max.le_supI1 ~> max.coboundedI1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
163 |
min_max.le_supI2 ~> max.coboundedI2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
164 |
min_max.less_infI1 ~> min.strict_coboundedI1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
165 |
min_max.less_infI2 ~> min.strict_coboundedI2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
166 |
min_max.less_supI1 ~> max.strict_coboundedI1 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
167 |
min_max.less_supI2 ~> max.strict_coboundedI2 |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
168 |
min_max.inf_mono ~> min.mono |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
169 |
min_max.sup_mono ~> max.mono |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
170 |
min_max.le_infI, min_max.inf_greatest ~> min.boundedI |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
171 |
min_max.le_supI, min_max.sup_least ~> max.boundedI |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
172 |
min_max.le_inf_iff ~> min.bounded_iff |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
173 |
min_max.le_sup_iff ~> max.bounded_iff |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
174 |
|
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
175 |
For min_max.inf_sup_aci, prefer (one of) min.commute, min.assoc, |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
176 |
min.left_commute, min.left_idem, max.commute, max.assoc, |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
177 |
max.left_commute, max.left_idem directly. |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
178 |
|
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
179 |
For min_max.inf_sup_ord, prefer (one of) min.cobounded1, min.cobounded2, |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
180 |
max.cobounded1m max.cobounded2 directly. |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
181 |
|
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
182 |
For min_ac or max_ac, prefor more general collection ac_simps. |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
183 |
|
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
184 |
INCOMPATBILITY. |
a064732223ad
abolished slightly odd global lattice interpretation for min/max
haftmann
parents:
54850
diff
changeset
|
185 |
|
54850 | 186 |
* Word library: bit representations prefer type bool over type bit. |
187 |
INCOMPATIBILITY. |
|
188 |
||
54745 | 189 |
* Theorem disambiguation Inf_le_Sup (on finite sets) ~> Inf_fin_le_Sup_fin. |
54850 | 190 |
INCOMPATIBILITY. |
54745 | 191 |
|
54708 | 192 |
* Code generations are provided for make, fields, extend and truncate |
193 |
operations on records. |
|
194 |
||
54295 | 195 |
* Qualified constant names Wellfounded.acc, Wellfounded.accp. |
196 |
INCOMPATIBILITY. |
|
197 |
||
54228 | 198 |
* Fact generalization and consolidation: |
199 |
neq_one_mod_two, mod_2_not_eq_zero_eq_one_int ~> not_mod_2_eq_0_eq_1 |
|
200 |
INCOMPATIBILITY. |
|
201 |
||
202 |
* Purely algebraic definition of even. Fact generalization and consolidation: |
|
203 |
nat_even_iff_2_dvd, int_even_iff_2_dvd ~> even_iff_2_dvd |
|
204 |
even_zero_(nat|int) ~> even_zero |
|
205 |
INCOMPATIBILITY. |
|
54055 | 206 |
|
54489
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
207 |
* Abolished neg_numeral. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
208 |
* Canonical representation for minus one is "- 1". |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
209 |
* Canonical representation for other negative numbers is "- (numeral _)". |
54502 | 210 |
* When devising rule sets for number calculation, consider the |
54587 | 211 |
following canonical cases: 0, 1, numeral _, - 1, - numeral _. |
212 |
* HOLogic.dest_number also recognizes numerals in non-canonical forms |
|
54893
4061ec8adb1c
avoid unicode text, which causes problems when recoding symbols (e.g. via UTF8-Isabelle in Isabelle/jEdit);
wenzelm
parents:
54890
diff
changeset
|
213 |
like "numeral One", "- numeral One", "- 0" and even "- ... - _". |
54489
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
214 |
* Syntax for negative numerals is mere input syntax. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
215 |
INCOMPATBILITY. |
03ff4d1e6784
eliminiated neg_numeral in favour of - (numeral _)
haftmann
parents:
54449
diff
changeset
|
216 |
|
54230
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
217 |
* Elimination of fact duplicates: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
218 |
equals_zero_I ~> minus_unique |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
219 |
diff_eq_0_iff_eq ~> right_minus_eq |
54588 | 220 |
nat_infinite ~> infinite_UNIV_nat |
221 |
int_infinite ~> infinite_UNIV_int |
|
54230
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
222 |
INCOMPATIBILITY. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
223 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
224 |
* Fact name consolidation: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
225 |
diff_def, diff_minus, ab_diff_minus ~> diff_conv_add_uminus |
54250 | 226 |
minus_le_self_iff ~> neg_less_eq_nonneg |
227 |
le_minus_self_iff ~> less_eq_neg_nonpos |
|
228 |
neg_less_nonneg ~> neg_less_pos |
|
229 |
less_minus_self_iff ~> less_neg_neg [simp] |
|
54230
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
230 |
INCOMPATIBILITY. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
231 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
232 |
* More simplification rules on unary and binary minus: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
233 |
add_diff_cancel, add_diff_cancel_left, add_le_same_cancel1, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
234 |
add_le_same_cancel2, add_less_same_cancel1, add_less_same_cancel2, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
235 |
add_minus_cancel, diff_add_cancel, le_add_same_cancel1, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
236 |
le_add_same_cancel2, less_add_same_cancel1, less_add_same_cancel2, |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
237 |
minus_add_cancel, uminus_add_conv_diff. These correspondingly |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
238 |
have been taken away from fact collections algebra_simps and |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
239 |
field_simps. INCOMPATIBILITY. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
240 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
241 |
To restore proofs, the following patterns are helpful: |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
242 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
243 |
a) Arbitrary failing proof not involving "diff_def": |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
244 |
Consider simplification with algebra_simps or field_simps. |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
245 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
246 |
b) Lifting rules from addition to subtraction: |
54893
4061ec8adb1c
avoid unicode text, which causes problems when recoding symbols (e.g. via UTF8-Isabelle in Isabelle/jEdit);
wenzelm
parents:
54890
diff
changeset
|
247 |
Try with "using <rule for addition> of [... "- _" ...]" by simp". |
54230
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
248 |
|
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
249 |
c) Simplification with "diff_def": just drop "diff_def". |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
250 |
Consider simplification with algebra_simps or field_simps; |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
251 |
or the brute way with |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
252 |
"simp add: diff_conv_add_uminus del: add_uminus_conv_diff". |
b1d955791529
more simplification rules on unary and binary minus
haftmann
parents:
54228
diff
changeset
|
253 |
|
54264 | 254 |
* SUP and INF generalized to conditionally_complete_lattice |
255 |
||
256 |
* Theory Lubs moved HOL image to HOL-Library. It is replaced by |
|
257 |
Conditionally_Complete_Lattices. INCOMPATIBILITY. |
|
258 |
||
259 |
* Introduce bdd_above and bdd_below in Conditionally_Complete_Lattices, use them |
|
260 |
instead of explicitly stating boundedness of sets. |
|
261 |
||
54631 | 262 |
* ccpo.admissible quantifies only over non-empty chains to allow |
263 |
more syntax-directed proof rules; the case of the empty chain |
|
264 |
shows up as additional case in fixpoint induction proofs. |
|
265 |
INCOMPATIBILITY |
|
54264 | 266 |
|
55049 | 267 |
* Removed solvers remote_cvc3 and remote_z3. Use cvc3 and z3 instead. |
268 |
||
54672
748778ac0ab8
relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents:
54671
diff
changeset
|
269 |
* Nitpick: |
748778ac0ab8
relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents:
54671
diff
changeset
|
270 |
- Fixed soundness bug whereby mutually recursive datatypes could take |
748778ac0ab8
relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents:
54671
diff
changeset
|
271 |
infinite values. |
748778ac0ab8
relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents:
54671
diff
changeset
|
272 |
|
54787 | 273 |
* HOL-Multivariate_Analysis: |
274 |
- type class ordered_real_vector for ordered vector spaces |
|
275 |
- changed order of ordered_euclidean_space to be compatible with |
|
276 |
pointwise ordering on products. Therefore instance of |
|
277 |
conditionally_complete_lattice and ordered_real_vector. |
|
278 |
INCOMPATIBILITY: use box instead of greaterThanLessThan or |
|
279 |
explicit set-comprehensions with eucl_less for other (half-) open |
|
280 |
intervals. |
|
281 |
||
54672
748778ac0ab8
relocate NEWS to post-release version (cf. 7a14f831d02d);
wenzelm
parents:
54671
diff
changeset
|
282 |
|
54449
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
283 |
*** ML *** |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
284 |
|
55143
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
285 |
* Proper context discipline for read_instantiate and instantiate_tac: |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
286 |
variables that are meant to become schematic need to be given as |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
287 |
fixed, and are generalized by the explicit context of local variables. |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
288 |
This corresponds to Isar attributes "where" and "of" with 'for' |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
289 |
declaration. INCOMPATIBILITY, also due to potential change of indices |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
290 |
of schematic variables. |
04448228381d
explicit eigen-context for attributes "where", "of", and corresponding read_instantiate, instantiate_tac;
wenzelm
parents:
55139
diff
changeset
|
291 |
|
54449
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
292 |
* Toplevel function "use" refers to raw ML bootstrap environment, |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
293 |
without Isar context nor antiquotations. Potential INCOMPATIBILITY. |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
294 |
Note that 'ML_file' is the canonical command to load ML files into the |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
295 |
formal context. |
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
296 |
|
54742
7a86358a3c0b
proper context for basic Simplifier operations: rewrite_rule, rewrite_goals_rule, rewrite_goals_tac etc.;
wenzelm
parents:
54732
diff
changeset
|
297 |
* Proper context for basic Simplifier operations: rewrite_rule, |
7a86358a3c0b
proper context for basic Simplifier operations: rewrite_rule, rewrite_goals_rule, rewrite_goals_tac etc.;
wenzelm
parents:
54732
diff
changeset
|
298 |
rewrite_goals_rule, rewrite_goals_tac etc. INCOMPATIBILITY, need to |
7a86358a3c0b
proper context for basic Simplifier operations: rewrite_rule, rewrite_goals_rule, rewrite_goals_tac etc.;
wenzelm
parents:
54732
diff
changeset
|
299 |
pass runtime Proof.context (and ensure that the simplified entity |
7a86358a3c0b
proper context for basic Simplifier operations: rewrite_rule, rewrite_goals_rule, rewrite_goals_tac etc.;
wenzelm
parents:
54732
diff
changeset
|
300 |
actually belongs to it). |
7a86358a3c0b
proper context for basic Simplifier operations: rewrite_rule, rewrite_goals_rule, rewrite_goals_tac etc.;
wenzelm
parents:
54732
diff
changeset
|
301 |
|
54449
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
302 |
|
54683
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
303 |
*** System *** |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
304 |
|
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
305 |
* Simplified "isabelle display" tool. Settings variables DVI_VIEWER |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
306 |
and PDF_VIEWER now refer to the actual programs, not shell |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
307 |
command-lines. Discontinued option -c: invocation may be asynchronous |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
308 |
via desktop environment, without any special precautions. Potential |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
309 |
INCOMPATIBILITY with ambitious private settings. |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
310 |
|
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
311 |
* Improved 'display_drafts' concerning desktop integration and |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
312 |
repeated invocation in PIDE front-end: re-use single file |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
313 |
$ISABELLE_HOME_USER/tmp/drafts.pdf and corresponding views. |
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
314 |
|
cf48ddc266e5
clarified "isabelle display" and 'display_drafts': re-use file and program instance, open asynchronously via desktop environment;
wenzelm
parents:
54672
diff
changeset
|
315 |
|
54449
f3cfe882f9af
toplevel function "use" refers to raw ML bootstrap environment;
wenzelm
parents:
54384
diff
changeset
|
316 |
|
54639 | 317 |
New in Isabelle2013-2 (December 2013) |
318 |
------------------------------------- |
|
319 |
||
320 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
|
321 |
||
322 |
* More robust editing of running commands with internal forks, |
|
323 |
e.g. non-terminating 'by' steps. |
|
324 |
||
54641 | 325 |
* More relaxed Sledgehammer panel: avoid repeated application of query |
326 |
after edits surrounding the command location. |
|
327 |
||
54648 | 328 |
* More status information about commands that are interrupted |
329 |
accidentally (via physical event or Poly/ML runtime system signal, |
|
330 |
e.g. out-of-memory). |
|
331 |
||
54653 | 332 |
|
333 |
*** System *** |
|
334 |
||
335 |
* More robust termination of external processes managed by |
|
54664 | 336 |
Isabelle/ML: support cancellation of tasks within the range of |
337 |
milliseconds, as required for PIDE document editing with automatically |
|
338 |
tried tools (e.g. Sledgehammer). |
|
54653 | 339 |
|
54648 | 340 |
* Reactivated Isabelle/Scala kill command for external processes on |
341 |
Mac OS X, which was accidentally broken in Isabelle2013-1 due to a |
|
342 |
workaround for some Debian/Ubuntu Linux versions from 2013. |
|
343 |
||
54639 | 344 |
|
345 |
||
53971 | 346 |
New in Isabelle2013-1 (November 2013) |
347 |
------------------------------------- |
|
50994 | 348 |
|
51293
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset
|
349 |
*** General *** |
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset
|
350 |
|
53971 | 351 |
* Discontinued obsolete 'uses' within theory header. Note that |
352 |
commands like 'ML_file' work without separate declaration of file |
|
353 |
dependencies. Minor INCOMPATIBILITY. |
|
354 |
||
355 |
* Discontinued redundant 'use' command, which was superseded by |
|
356 |
'ML_file' in Isabelle2013. Minor INCOMPATIBILITY. |
|
357 |
||
53016
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
358 |
* Simplified subscripts within identifiers, using plain \<^sub> |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
359 |
instead of the second copy \<^isub> and \<^isup>. Superscripts are |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
360 |
only for literal tokens within notation; explicit mixfix annotations |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
361 |
for consts or fixed variables may be used as fall-back for unusual |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
362 |
names. Obsolete \<twosuperior> has been expanded to \<^sup>2 in |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
363 |
Isabelle/HOL. INCOMPATIBILITY, use "isabelle update_sub_sup" to |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
364 |
standardize symbols as a starting point for further manual cleanup. |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
365 |
The ML reference variable "legacy_isub_isup" may be set as temporary |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
366 |
workaround, to make the prover accept a subset of the old identifier |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
367 |
syntax. |
fa9c38891cf2
disable old identifier syntax by default, legacy_isub_isup := true may be used temporarily as fall-back;
wenzelm
parents:
52949
diff
changeset
|
368 |
|
53021
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents:
53016
diff
changeset
|
369 |
* Document antiquotations: term style "isub" has been renamed to |
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents:
53016
diff
changeset
|
370 |
"sub". Minor INCOMPATIBILITY. |
d0fa3f446b9d
discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
wenzelm
parents:
53016
diff
changeset
|
371 |
|
52487
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
372 |
* Uniform management of "quick_and_dirty" as system option (see also |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
373 |
"isabelle options"), configuration option within the context (see also |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
374 |
Config.get in Isabelle/ML), and attribute in Isabelle/Isar. Minor |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
375 |
INCOMPATIBILITY, need to use more official Isabelle means to access |
48bc24467008
backout dedd7952a62c: static "proofs" value within theory prevents later inferencing with different configuration;
wenzelm
parents:
52470
diff
changeset
|
376 |
quick_and_dirty, instead of historical poking into mutable reference. |
52059 | 377 |
|
52060 | 378 |
* Renamed command 'print_configs' to 'print_options'. Minor |
379 |
INCOMPATIBILITY. |
|
380 |
||
52430 | 381 |
* Proper diagnostic command 'print_state'. Old 'pr' (with its |
382 |
implicit change of some global references) is retained for now as |
|
383 |
control command, e.g. for ProofGeneral 3.7.x. |
|
384 |
||
52549 | 385 |
* Discontinued 'print_drafts' command with its old-fashioned PS output |
386 |
and Unix command-line print spooling. Minor INCOMPATIBILITY: use |
|
387 |
'display_drafts' instead and print via the regular document viewer. |
|
388 |
||
53971 | 389 |
* Updated and extended "isar-ref" and "implementation" manual, |
390 |
eliminated old "ref" manual. |
|
391 |
||
51293
05b1bbae748d
discontinued obsolete 'uses' within theory header;
wenzelm
parents:
51238
diff
changeset
|
392 |
|
51533 | 393 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
394 |
||
53971 | 395 |
* New manual "jedit" for Isabelle/jEdit, see isabelle doc or |
53852 | 396 |
Documentation panel. |
397 |
||
53971 | 398 |
* Dockable window "Documentation" provides access to Isabelle |
399 |
documentation. |
|
52646 | 400 |
|
52949 | 401 |
* Dockable window "Find" provides query operations for formal entities |
402 |
(GUI front-end to 'find_theorems' command). |
|
403 |
||
53050 | 404 |
* Dockable window "Sledgehammer" manages asynchronous / parallel |
405 |
sledgehammer runs over existing document sources, independently of |
|
406 |
normal editing and checking process. |
|
407 |
||
51533 | 408 |
* Dockable window "Timing" provides an overview of relevant command |
54332 | 409 |
timing information, depending on option jedit_timing_threshold. The |
410 |
same timing information is shown in the extended tooltip of the |
|
411 |
command keyword, when hovering the mouse over it while the CONTROL or |
|
412 |
COMMAND modifier is pressed. |
|
51533 | 413 |
|
53971 | 414 |
* Improved dockable window "Theories": Continuous checking of proof |
415 |
document (visible and required parts) may be controlled explicitly, |
|
416 |
using check box or shortcut "C+e ENTER". Individual theory nodes may |
|
417 |
be marked explicitly as required and checked in full, using check box |
|
418 |
or shortcut "C+e SPACE". |
|
419 |
||
54305 | 420 |
* Improved completion mechanism, which is now managed by the |
421 |
Isabelle/jEdit plugin instead of SideKick. Refined table of Isabelle |
|
422 |
symbol abbreviations (see $ISABELLE_HOME/etc/symbols). |
|
423 |
||
54319 | 424 |
* Standard jEdit keyboard shortcut C+b complete-word is remapped to |
425 |
isabelle.complete for explicit completion in Isabelle sources. |
|
426 |
INCOMPATIBILITY wrt. jEdit defaults, may have to invent new shortcuts |
|
427 |
to resolve conflict. |
|
428 |
||
54305 | 429 |
* Improved support of various "minor modes" for Isabelle NEWS, |
430 |
options, session ROOT etc., with completion and SideKick tree view. |
|
431 |
||
53971 | 432 |
* Strictly monotonic document update, without premature cancellation of |
433 |
running transactions that are still needed: avoid reset/restart of |
|
434 |
such command executions while editing. |
|
53271
0460d6962ced
GTK+ works better due to avoidance of default list view popups;
wenzelm
parents:
53251
diff
changeset
|
435 |
|
53971 | 436 |
* Support for asynchronous print functions, as overlay to existing |
437 |
document content. |
|
438 |
||
439 |
* Support for automatic tools in HOL, which try to prove or disprove |
|
440 |
toplevel theorem statements. |
|
441 |
||
442 |
* Action isabelle.reset-font-size resets main text area font size |
|
54365
5d45c985974a
no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents:
54351
diff
changeset
|
443 |
according to Isabelle/Scala plugin option "jedit_font_reset_size" (see |
5d45c985974a
no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents:
54351
diff
changeset
|
444 |
also "Plugin Options / Isabelle / General"). It can be bound to some |
5d45c985974a
no default shortcut for isabelle.reset-font-size -- avoid conflict with unsplit-current;
wenzelm
parents:
54351
diff
changeset
|
445 |
keyboard shortcut by the user (e.g. C+0 and/or C+NUMPAD0). |
53971 | 446 |
|
447 |
* File specifications in jEdit (e.g. file browser) may refer to |
|
54351 | 448 |
$ISABELLE_HOME and $ISABELLE_HOME_USER on all platforms. Discontinued |
449 |
obsolete $ISABELLE_HOME_WINDOWS variable. |
|
53971 | 450 |
|
451 |
* Improved support for Linux look-and-feel "GTK+", see also "Utilities |
|
452 |
/ Global Options / Appearance". |
|
453 |
||
454 |
* Improved support of native Mac OS X functionality via "MacOSX" |
|
455 |
plugin, which is now enabled by default. |
|
456 |
||
51533 | 457 |
|
51313 | 458 |
*** Pure *** |
459 |
||
54049 | 460 |
* Commands 'interpretation' and 'sublocale' are now target-sensitive. |
461 |
In particular, 'interpretation' allows for non-persistent |
|
462 |
interpretation within "context ... begin ... end" blocks offering a |
|
463 |
light-weight alternative to 'sublocale'. See "isar-ref" manual for |
|
464 |
details. |
|
51747 | 465 |
|
51565 | 466 |
* Improved locales diagnostic command 'print_dependencies'. |
467 |
||
51313 | 468 |
* Discontinued obsolete 'axioms' command, which has been marked as |
469 |
legacy since Isabelle2009-2. INCOMPATIBILITY, use 'axiomatization' |
|
470 |
instead, while observing its uniform scope for polymorphism. |
|
471 |
||
51316
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset
|
472 |
* Discontinued empty name bindings in 'axiomatization'. |
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset
|
473 |
INCOMPATIBILITY. |
dfe469293eb4
discontinued empty name bindings in 'axiomatization';
wenzelm
parents:
51313
diff
changeset
|
474 |
|
53971 | 475 |
* System option "proofs" has been discontinued. Instead the global |
476 |
state of Proofterm.proofs is persistently compiled into logic images |
|
477 |
as required, notably HOL-Proofs. Users no longer need to change |
|
478 |
Proofterm.proofs dynamically. Minor INCOMPATIBILITY. |
|
479 |
||
480 |
* Syntax translation functions (print_translation etc.) always depend |
|
481 |
on Proof.context. Discontinued former "(advanced)" option -- this is |
|
482 |
now the default. Minor INCOMPATIBILITY. |
|
483 |
||
484 |
* Former global reference trace_unify_fail is now available as |
|
485 |
configuration option "unify_trace_failure" (global context only). |
|
486 |
||
52463 | 487 |
* SELECT_GOAL now retains the syntactic context of the overall goal |
488 |
state (schematic variables etc.). Potential INCOMPATIBILITY in rare |
|
489 |
situations. |
|
490 |
||
51313 | 491 |
|
51002
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset
|
492 |
*** HOL *** |
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset
|
493 |
|
54032 | 494 |
* Stronger precedence of syntax for big intersection and union on |
495 |
sets, in accordance with corresponding lattice operations. |
|
496 |
INCOMPATIBILITY. |
|
497 |
||
498 |
* Notation "{p:A. P}" now allows tuple patterns as well. |
|
499 |
||
500 |
* Nested case expressions are now translated in a separate check phase |
|
501 |
rather than during parsing. The data for case combinators is separated |
|
502 |
from the datatype package. The declaration attribute |
|
503 |
"case_translation" can be used to register new case combinators: |
|
504 |
||
505 |
declare [[case_translation case_combinator constructor1 ... constructorN]] |
|
52637
1501ebe39711
attribute "code" declares concrete and abstract code equations uniformly; added explicit "code equation" instead
haftmann
parents:
52550
diff
changeset
|
506 |
|
52435
6646bb548c6b
migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier
haftmann
parents:
52430
diff
changeset
|
507 |
* Code generator: |
53160 | 508 |
- 'code_printing' unifies 'code_const' / 'code_type' / 'code_class' / |
509 |
'code_instance'. |
|
510 |
- 'code_identifier' declares name hints for arbitrary identifiers in |
|
511 |
generated code, subsuming 'code_modulename'. |
|
53983 | 512 |
|
513 |
See the isar-ref manual for syntax diagrams, and the HOL theories for |
|
514 |
examples. |
|
52435
6646bb548c6b
migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier
haftmann
parents:
52430
diff
changeset
|
515 |
|
54032 | 516 |
* Attibute 'code': 'code' now declares concrete and abstract code |
517 |
equations uniformly. Use explicit 'code equation' and 'code abstract' |
|
518 |
to distinguish both when desired. |
|
519 |
||
520 |
* Discontinued theories Code_Integer and Efficient_Nat by a more |
|
521 |
fine-grain stack of theories Code_Target_Int, Code_Binary_Nat, |
|
522 |
Code_Target_Nat and Code_Target_Numeral. See the tutorial on code |
|
523 |
generation for details. INCOMPATIBILITY. |
|
524 |
||
525 |
* Numeric types are mapped by default to target language numerals: |
|
526 |
natural (replaces former code_numeral) and integer (replaces former |
|
527 |
code_int). Conversions are available as integer_of_natural / |
|
528 |
natural_of_integer / integer_of_nat / nat_of_integer (in HOL) and |
|
529 |
Code_Numeral.integer_of_natural / Code_Numeral.natural_of_integer (in |
|
530 |
ML). INCOMPATIBILITY. |
|
531 |
||
532 |
* Function package: For mutually recursive functions f and g, separate |
|
533 |
cases rules f.cases and g.cases are generated instead of unusable |
|
534 |
f_g.cases which exposed internal sum types. Potential INCOMPATIBILITY, |
|
535 |
in the case that the unusable rule was used nevertheless. |
|
536 |
||
537 |
* Function package: For each function f, new rules f.elims are |
|
538 |
generated, which eliminate equalities of the form "f x = t". |
|
539 |
||
540 |
* New command 'fun_cases' derives ad-hoc elimination rules for |
|
541 |
function equations as simplified instances of f.elims, analogous to |
|
542 |
inductive_cases. See ~~/src/HOL/ex/Fundefs.thy for some examples. |
|
53307 | 543 |
|
54021 | 544 |
* Lifting: |
545 |
- parametrized correspondence relations are now supported: |
|
54378 | 546 |
+ parametricity theorems for the raw term can be specified in |
54021 | 547 |
the command lift_definition, which allow us to generate stronger |
548 |
transfer rules |
|
549 |
+ setup_lifting generates stronger transfer rules if parametric |
|
550 |
correspondence relation can be generated |
|
551 |
+ various new properties of the relator must be specified to support |
|
552 |
parametricity |
|
553 |
+ parametricity theorem for the Quotient relation can be specified |
|
554 |
- setup_lifting generates domain rules for the Transfer package |
|
555 |
- stronger reflexivity prover of respectfulness theorems for type |
|
556 |
copies |
|
557 |
- ===> and --> are now local. The symbols can be introduced |
|
558 |
by interpreting the locale lifting_syntax (typically in an |
|
559 |
anonymous context) |
|
54378 | 560 |
- Lifting/Transfer relevant parts of Library/Quotient_* are now in |
54021 | 561 |
Main. Potential INCOMPATIBILITY |
562 |
- new commands for restoring and deleting Lifting/Transfer context: |
|
563 |
lifting_forget, lifting_update |
|
54378 | 564 |
- the command print_quotmaps was renamed to print_quot_maps. |
54021 | 565 |
INCOMPATIBILITY |
566 |
||
567 |
* Transfer: |
|
54378 | 568 |
- better support for domains in Transfer: replace Domainp T |
54021 | 569 |
by the actual invariant in a transferred goal |
570 |
- transfer rules can have as assumptions other transfer rules |
|
571 |
- Experimental support for transferring from the raw level to the |
|
572 |
abstract level: Transfer.transferred attribute |
|
573 |
- Attribute version of the transfer method: untransferred attribute |
|
574 |
||
52286 | 575 |
* Reification and reflection: |
53160 | 576 |
- Reification is now directly available in HOL-Main in structure |
577 |
"Reification". |
|
578 |
- Reflection now handles multiple lists with variables also. |
|
579 |
- The whole reflection stack has been decomposed into conversions. |
|
52286 | 580 |
INCOMPATIBILITY. |
581 |
||
51489 | 582 |
* Revised devices for recursive definitions over finite sets: |
583 |
- Only one fundamental fold combinator on finite set remains: |
|
584 |
Finite_Set.fold :: ('a => 'b => 'b) => 'b => 'a set => 'b |
|
585 |
This is now identity on infinite sets. |
|
52745
821ce370b7fc
avoid predefined symbols -- allow editing with Isabelle/jEdit in isabelle-news mode;
wenzelm
parents:
52743
diff
changeset
|
586 |
- Locales ("mini packages") for fundamental definitions with |
51489 | 587 |
Finite_Set.fold: folding, folding_idem. |
588 |
- Locales comm_monoid_set, semilattice_order_set and |
|
589 |
semilattice_neutr_order_set for big operators on sets. |
|
590 |
See theory Big_Operators for canonical examples. |
|
591 |
Note that foundational constants comm_monoid_set.F and |
|
592 |
semilattice_set.F correspond to former combinators fold_image |
|
593 |
and fold1 respectively. These are now gone. You may use |
|
51490 | 594 |
those foundational constants as substitutes, but it is |
53983 | 595 |
preferable to interpret the above locales accordingly. |
51489 | 596 |
- Dropped class ab_semigroup_idem_mult (special case of lattice, |
597 |
no longer needed in connection with Finite_Set.fold etc.) |
|
598 |
- Fact renames: |
|
599 |
card.union_inter ~> card_Un_Int [symmetric] |
|
600 |
card.union_disjoint ~> card_Un_disjoint |
|
601 |
INCOMPATIBILITY. |
|
602 |
||
51487 | 603 |
* Locale hierarchy for abstract orderings and (semi)lattices. |
604 |
||
53526 | 605 |
* Complete_Partial_Order.admissible is defined outside the type class |
606 |
ccpo, but with mandatory prefix ccpo. Admissibility theorems lose the |
|
607 |
class predicate assumption or sort constraint when possible. |
|
53362 | 608 |
INCOMPATIBILITY. |
609 |
||
53160 | 610 |
* Introduce type class "conditionally_complete_lattice": Like a |
611 |
complete lattice but does not assume the existence of the top and |
|
612 |
bottom elements. Allows to generalize some lemmas about reals and |
|
613 |
extended reals. Removed SupInf and replaced it by the instantiation |
|
614 |
of conditionally_complete_lattice for real. Renamed lemmas about |
|
615 |
conditionally-complete lattice from Sup_... to cSup_... and from |
|
616 |
Inf_... to cInf_... to avoid hidding of similar complete lattice |
|
617 |
lemmas. |
|
618 |
||
619 |
* Introduce type class linear_continuum as combination of |
|
620 |
conditionally-complete lattices and inner dense linorders which have |
|
621 |
more than one element. INCOMPATIBILITY. |
|
622 |
||
53983 | 623 |
* Introduced type classes order_top and order_bot. The old classes top |
624 |
and bot only contain the syntax without assumptions. INCOMPATIBILITY: |
|
625 |
Rename bot -> order_bot, top -> order_top |
|
53683 | 626 |
|
53160 | 627 |
* Introduce type classes "no_top" and "no_bot" for orderings without |
628 |
top and bottom elements. |
|
51732 | 629 |
|
630 |
* Split dense_linorder into inner_dense_order and no_top, no_bot. |
|
631 |
||
632 |
* Complex_Main: Unify and move various concepts from |
|
53160 | 633 |
HOL-Multivariate_Analysis to HOL-Complex_Main. |
51732 | 634 |
|
53983 | 635 |
- Introduce type class (lin)order_topology and |
636 |
linear_continuum_topology. Allows to generalize theorems about |
|
637 |
limits and order. Instances are reals and extended reals. |
|
51732 | 638 |
|
639 |
- continuous and continuos_on from Multivariate_Analysis: |
|
53983 | 640 |
"continuous" is the continuity of a function at a filter. "isCont" |
641 |
is now an abbrevitation: "isCont x f == continuous (at _) f". |
|
642 |
||
643 |
Generalized continuity lemmas from isCont to continuous on an |
|
644 |
arbitrary filter. |
|
645 |
||
646 |
- compact from Multivariate_Analysis. Use Bolzano's lemma to prove |
|
647 |
compactness of closed intervals on reals. Continuous functions |
|
648 |
attain infimum and supremum on compact sets. The inverse of a |
|
649 |
continuous function is continuous, when the function is continuous |
|
650 |
on a compact set. |
|
51732 | 651 |
|
652 |
- connected from Multivariate_Analysis. Use it to prove the |
|
51775
408d937c9486
revert #916271d52466; add non-topological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset
|
653 |
intermediate value theorem. Show connectedness of intervals on |
408d937c9486
revert #916271d52466; add non-topological linear_continuum type class; show linear_continuum_topology is a perfect_space
hoelzl
parents:
51774
diff
changeset
|
654 |
linear_continuum_topology). |
51732 | 655 |
|
656 |
- first_countable_topology from Multivariate_Analysis. Is used to |
|
53983 | 657 |
show equivalence of properties on the neighbourhood filter of x and |
658 |
on all sequences converging to x. |
|
659 |
||
660 |
- FDERIV: Definition of has_derivative moved to Deriv.thy. Moved |
|
661 |
theorems from Library/FDERIV.thy to Deriv.thy and base the |
|
662 |
definition of DERIV on FDERIV. Add variants of DERIV and FDERIV |
|
663 |
which are restricted to sets, i.e. to represent derivatives from |
|
664 |
left or right. |
|
51732 | 665 |
|
666 |
- Removed the within-filter. It is replaced by the principal filter: |
|
667 |
||
668 |
F within X = inf F (principal X) |
|
669 |
||
670 |
- Introduce "at x within U" as a single constant, "at x" is now an |
|
671 |
abbreviation for "at x within UNIV" |
|
672 |
||
53983 | 673 |
- Introduce named theorem collections tendsto_intros, |
674 |
continuous_intros, continuous_on_intros and FDERIV_intros. Theorems |
|
675 |
in tendsto_intros (or FDERIV_intros) are also available as |
|
676 |
tendsto_eq_intros (or FDERIV_eq_intros) where the right-hand side |
|
677 |
is replaced by a congruence rule. This allows to apply them as |
|
678 |
intro rules and then proving equivalence by the simplifier. |
|
51732 | 679 |
|
680 |
- Restructured theories in HOL-Complex_Main: |
|
681 |
||
682 |
+ Moved RealDef and RComplete into Real |
|
683 |
||
684 |
+ Introduced Topological_Spaces and moved theorems about |
|
685 |
topological spaces, filters, limits and continuity to it |
|
686 |
||
687 |
+ Renamed RealVector to Real_Vector_Spaces |
|
688 |
||
53983 | 689 |
+ Split Lim, SEQ, Series into Topological_Spaces, |
690 |
Real_Vector_Spaces, and Limits |
|
51732 | 691 |
|
692 |
+ Moved Ln and Log to Transcendental |
|
693 |
||
694 |
+ Moved theorems about continuity from Deriv to Topological_Spaces |
|
695 |
||
696 |
- Remove various auxiliary lemmas. |
|
697 |
||
698 |
INCOMPATIBILITY. |
|
51002
496013a6eb38
remove unnecessary assumption from real_normed_vector
hoelzl
parents:
50994
diff
changeset
|
699 |
|
53738 | 700 |
* Nitpick: |
53803 | 701 |
- Added option "spy" |
53738 | 702 |
- Reduce incidence of "too high arity" errors |
703 |
||
51137 | 704 |
* Sledgehammer: |
705 |
- Renamed option: |
|
706 |
isar_shrink ~> isar_compress |
|
53738 | 707 |
INCOMPATIBILITY. |
53801 | 708 |
- Added options "isar_try0", "spy" |
53728 | 709 |
- Better support for "isar_proofs" |
53766 | 710 |
- MaSh has been fined-tuned and now runs as a local server |
51137 | 711 |
|
54032 | 712 |
* Improved support for ad hoc overloading of constants (see also |
713 |
isar-ref manual and ~~/src/HOL/ex/Adhoc_Overloading_Examples.thy). |
|
714 |
||
715 |
* Library/Polynomial.thy: |
|
716 |
- Use lifting for primitive definitions. |
|
717 |
- Explicit conversions from and to lists of coefficients, used for |
|
718 |
generated code. |
|
719 |
- Replaced recursion operator poly_rec by fold_coeffs. |
|
720 |
- Prefer pre-existing gcd operation for gcd. |
|
721 |
- Fact renames: |
|
722 |
poly_eq_iff ~> poly_eq_poly_eq_iff |
|
723 |
poly_ext ~> poly_eqI |
|
724 |
expand_poly_eq ~> poly_eq_iff |
|
725 |
IMCOMPATIBILITY. |
|
726 |
||
727 |
* New Library/Simps_Case_Conv.thy: Provides commands simps_of_case and |
|
728 |
case_of_simps to convert function definitions between a list of |
|
729 |
equations with patterns on the lhs and a single equation with case |
|
730 |
expressions on the rhs. See also Ex/Simps_Case_Conv_Examples.thy. |
|
731 |
||
732 |
* New Library/FSet.thy: type of finite sets defined as a subtype of |
|
733 |
sets defined by Lifting/Transfer. |
|
734 |
||
735 |
* Discontinued theory src/HOL/Library/Eval_Witness. INCOMPATIBILITY. |
|
736 |
||
737 |
* Consolidation of library theories on product orders: |
|
738 |
||
739 |
Product_Lattice ~> Product_Order -- pointwise order on products |
|
740 |
Product_ord ~> Product_Lexorder -- lexicographic order on products |
|
741 |
||
742 |
INCOMPATIBILITY. |
|
743 |
||
53160 | 744 |
* Imperative-HOL: The MREC combinator is considered legacy and no |
745 |
longer included by default. INCOMPATIBILITY, use partial_function |
|
746 |
instead, or import theory Legacy_Mrec as a fallback. |
|
747 |
||
53983 | 748 |
* HOL-Algebra: Discontinued theories ~~/src/HOL/Algebra/abstract and |
749 |
~~/src/HOL/Algebra/poly. Existing theories should be based on |
|
750 |
~~/src/HOL/Library/Polynomial instead. The latter provides |
|
751 |
integration with HOL's type classes for rings. INCOMPATIBILITY. |
|
51517
7957d26c3334
Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents:
51490
diff
changeset
|
752 |
|
54033 | 753 |
* HOL-BNF: |
54032 | 754 |
- Various improvements to BNF-based (co)datatype package, including |
755 |
new commands "primrec_new", "primcorec", and |
|
756 |
"datatype_new_compat", as well as documentation. See |
|
757 |
"datatypes.pdf" for details. |
|
758 |
- New "coinduction" method to avoid some boilerplate (compared to |
|
759 |
coinduct). |
|
760 |
- Renamed keywords: |
|
761 |
data ~> datatype_new |
|
762 |
codata ~> codatatype |
|
763 |
bnf_def ~> bnf |
|
764 |
- Renamed many generated theorems, including |
|
765 |
discs ~> disc |
|
766 |
map_comp' ~> map_comp |
|
767 |
map_id' ~> map_id |
|
768 |
sels ~> sel |
|
769 |
set_map' ~> set_map |
|
770 |
sets ~> set |
|
771 |
IMCOMPATIBILITY. |
|
772 |
||
51517
7957d26c3334
Discontinued theories src/HOL/Algebra/abstract and .../poly.
ballarin
parents:
51490
diff
changeset
|
773 |
|
51551 | 774 |
*** ML *** |
775 |
||
53971 | 776 |
* Spec_Check is a Quickcheck tool for Isabelle/ML. The ML function |
777 |
"check_property" allows to check specifications of the form "ALL x y |
|
778 |
z. prop x y z". See also ~~/src/Tools/Spec_Check/ with its |
|
779 |
Examples.thy in particular. |
|
780 |
||
53709
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
781 |
* Improved printing of exception trace in Poly/ML 5.5.1, with regular |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
782 |
tracing output in the command transaction context instead of physical |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
783 |
stdout. See also Toplevel.debug, Toplevel.debugging and |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
784 |
ML_Compiler.exn_trace. |
84522727f9d3
improved printing of exception trace in Poly/ML 5.5.1;
wenzelm
parents:
53683
diff
changeset
|
785 |
|
53971 | 786 |
* ML type "theory" is now immutable, without any special treatment of |
787 |
drafts or linear updates (which could lead to "stale theory" errors in |
|
788 |
the past). Discontinued obsolete operations like Theory.copy, |
|
789 |
Theory.checkpoint, and the auxiliary type theory_ref. Minor |
|
790 |
INCOMPATIBILITY. |
|
53164
beb4ee344c22
clarified position of Spec_Check for Isabelle/ML -- it is unrelated to Isabelle/HOL;
wenzelm
parents:
53162
diff
changeset
|
791 |
|
51551 | 792 |
* More uniform naming of goal functions for skipped proofs: |
793 |
||
794 |
Skip_Proof.prove ~> Goal.prove_sorry |
|
795 |
Skip_Proof.prove_global ~> Goal.prove_sorry_global |
|
796 |
||
53971 | 797 |
Minor INCOMPATIBILITY. |
51703
f2e92fc0c8aa
modifiers for classical wrappers operate on Proof.context instead of claset;
wenzelm
parents:
51689
diff
changeset
|
798 |
|
51717
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
799 |
* Simplifier tactics and tools use proper Proof.context instead of |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
800 |
historic type simpset. Old-style declarations like addsimps, |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
801 |
addsimprocs etc. operate directly on Proof.context. Raw type simpset |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
802 |
retains its use as snapshot of the main Simplifier context, using |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
803 |
simpset_of and put_simpset on Proof.context. INCOMPATIBILITY -- port |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
804 |
old tools by making them depend on (ctxt : Proof.context) instead of |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
805 |
(ss : simpset), then turn (simpset_of ctxt) into ctxt. |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
806 |
|
53971 | 807 |
* Modifiers for classical wrappers (e.g. addWrapper, delWrapper) |
808 |
operate on Proof.context instead of claset, for uniformity with addIs, |
|
809 |
addEs, addDs etc. Note that claset_of and put_claset allow to manage |
|
810 |
clasets separately from the context. |
|
811 |
||
51717
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
812 |
* Discontinued obsolete ML antiquotations @{claset} and @{simpset}. |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
813 |
INCOMPATIBILITY, use @{context} instead. |
9e7d1c139569
simplifier uses proper Proof.context instead of historic type simpset;
wenzelm
parents:
51703
diff
changeset
|
814 |
|
53971 | 815 |
* Antiquotation @{theory_context A} is similar to @{theory A}, but |
816 |
presents the result as initial Proof.context. |
|
817 |
||
51551 | 818 |
|
51398
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
819 |
*** System *** |
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
820 |
|
52052
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51775
diff
changeset
|
821 |
* Discontinued obsolete isabelle usedir, mkdir, make -- superseded by |
892061142ba6
discontinued obsolete isabelle usedir, mkdir, make;
wenzelm
parents:
51775
diff
changeset
|
822 |
"isabelle build" in Isabelle2013. INCOMPATIBILITY. |
51398
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
823 |
|
52054
eaf17514aabd
discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents:
52053
diff
changeset
|
824 |
* Discontinued obsolete isabelle-process options -f and -u (former |
eaf17514aabd
discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents:
52053
diff
changeset
|
825 |
administrative aliases of option -e). Minor INCOMPATIBILITY. |
eaf17514aabd
discontinued obsolete isabelle-process options -f and -u;
wenzelm
parents:
52053
diff
changeset
|
826 |
|
52550 | 827 |
* Discontinued obsolete isabelle print tool, and PRINT_COMMAND |
828 |
settings variable. |
|
829 |
||
52746 | 830 |
* Discontinued ISABELLE_DOC_FORMAT settings variable and historic |
831 |
document formats: dvi.gz, ps, ps.gz -- the default document format is |
|
832 |
always pdf. |
|
52743 | 833 |
|
52053 | 834 |
* Isabelle settings variable ISABELLE_BUILD_JAVA_OPTIONS allows to |
835 |
specify global resources of the JVM process run by isabelle build. |
|
836 |
||
52116
abf9fcfa65cf
added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset
|
837 |
* Toplevel executable $ISABELLE_HOME/bin/isabelle_scala_script allows |
abf9fcfa65cf
added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset
|
838 |
to run Isabelle/Scala source files as standalone programs. |
abf9fcfa65cf
added isabelle_scala_script wrapper -- NB: portable hash-bang allows exactly one executable, without additional arguments;
wenzelm
parents:
52060
diff
changeset
|
839 |
|
52439
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
840 |
* Improved "isabelle keywords" tool (for old-style ProofGeneral |
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
841 |
keyword tables): use Isabelle/Scala operations, which inspect outer |
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
842 |
syntax without requiring to build sessions first. |
4cf3f6153eb8
improved "isabelle keywords" and "isabelle update_keywords" based on Isabelle/Scala, without requiring to build sessions first;
wenzelm
parents:
52435
diff
changeset
|
843 |
|
53971 | 844 |
* Sessions may be organized via 'chapter' specifications in the ROOT |
845 |
file, which determines a two-level hierarchy of browser info. The old |
|
846 |
tree-like organization via implicit sub-session relation (with its |
|
847 |
tendency towards erratic fluctuation of URLs) has been discontinued. |
|
848 |
The default chapter is called "Unsorted". Potential INCOMPATIBILITY |
|
849 |
for HTML presentation of theories. |
|
850 |
||
51398
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
851 |
|
c3d02b3518c2
discontinued "isabelle usedir" option -P (remote path);
wenzelm
parents:
51382
diff
changeset
|
852 |
|
50993 | 853 |
New in Isabelle2013 (February 2013) |
854 |
----------------------------------- |
|
47887 | 855 |
|
47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
856 |
*** General *** |
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
857 |
|
50126
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
858 |
* Theorem status about oracles and unfinished/failed future proofs is |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
859 |
no longer printed by default, since it is incompatible with |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
860 |
incremental / parallel checking of the persistent document model. ML |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
861 |
function Thm.peek_status may be used to inspect a snapshot of the |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
862 |
ongoing evaluation process. Note that in batch mode --- notably |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
863 |
isabelle build --- the system ensures that future proofs of all |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
864 |
accessible theorems in the theory context are finished (as before). |
3dec88149176
theorem status about oracles/futures is no longer printed by default;
wenzelm
parents:
50119
diff
changeset
|
865 |
|
49699 | 866 |
* Configuration option show_markup controls direct inlining of markup |
867 |
into the printed representation of formal entities --- notably type |
|
868 |
and sort constraints. This enables Prover IDE users to retrieve that |
|
869 |
information via tooltips in the output window, for example. |
|
870 |
||
48890
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset
|
871 |
* Command 'ML_file' evaluates ML text from a file directly within the |
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset
|
872 |
theory, without any predeclaration via 'uses' in the theory header. |
d72ca5742f80
'ML_file' evaluates ML text from a file directly within the theory, without predeclaration via 'uses';
wenzelm
parents:
48844
diff
changeset
|
873 |
|
49243 | 874 |
* Old command 'use' command and corresponding keyword 'uses' in the |
875 |
theory header are legacy features and will be discontinued soon. |
|
876 |
Tools that load their additional source files may imitate the |
|
877 |
'ML_file' implementation, such that the system can take care of |
|
878 |
dependencies properly. |
|
879 |
||
47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
880 |
* Discontinued obsolete method fastsimp / tactic fast_simp_tac, which |
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
881 |
is called fastforce / fast_force_tac already since Isabelle2011-1. |
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
882 |
|
50110 | 883 |
* Updated and extended "isar-ref" and "implementation" manual, reduced |
884 |
remaining material in old "ref" manual. |
|
48120
9fe0e71052a0
updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset
|
885 |
|
51050 | 886 |
* Improved support for auxiliary contexts that indicate block structure |
887 |
for specifications. Nesting of "context fixes ... context assumes ..." |
|
49841 | 888 |
and "class ... context ...". |
889 |
||
50772
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
890 |
* Attribute "consumes" allows a negative value as well, which is |
50778 | 891 |
interpreted relatively to the total number of premises of the rule in |
50772
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
892 |
the target context. This form of declaration is stable when exported |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
893 |
from a nested 'context' with additional assumptions. It is the |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
894 |
preferred form for definitional packages, notably cases/rules produced |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
895 |
in HOL/inductive and HOL/function. |
6973b3f41334
allow negative argument in "consumes" source format;
wenzelm
parents:
50731
diff
changeset
|
896 |
|
49869
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
897 |
* More informative error messages for Isar proof commands involving |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
898 |
lazy enumerations (method applications etc.). |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
899 |
|
50213 | 900 |
* Refined 'help' command to retrieve outer syntax commands according |
901 |
to name patterns (with clickable results). |
|
902 |
||
47967
c422128d3889
discontinued obsolete method fastsimp / tactic fast_simp_tac;
wenzelm
parents:
47958
diff
changeset
|
903 |
|
49968 | 904 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
905 |
||
906 |
* Parallel terminal proofs ('by') are enabled by default, likewise |
|
907 |
proofs that are built into packages like 'datatype', 'function'. This |
|
908 |
allows to "run ahead" checking the theory specifications on the |
|
909 |
surface, while the prover is still crunching on internal |
|
910 |
justifications. Unfinished / cancelled proofs are restarted as |
|
911 |
required to complete full proof checking eventually. |
|
912 |
||
913 |
* Improved output panel with tooltips, hyperlinks etc. based on the |
|
914 |
same Rich_Text_Area as regular Isabelle/jEdit buffers. Activation of |
|
915 |
tooltips leads to some window that supports the same recursively, |
|
916 |
which can lead to stacks of tooltips as the semantic document content |
|
917 |
is explored. ESCAPE closes the whole stack, individual windows may be |
|
918 |
closed separately, or detached to become independent jEdit dockables. |
|
919 |
||
50717 | 920 |
* Improved support for commands that produce graph output: the text |
921 |
message contains a clickable area to open a new instance of the graph |
|
922 |
browser on demand. |
|
923 |
||
49968 | 924 |
* More robust incremental parsing of outer syntax (partial comments, |
925 |
malformed symbols). Changing the balance of open/close quotes and |
|
926 |
comment delimiters works more conveniently with unfinished situations |
|
927 |
that frequently occur in user interaction. |
|
928 |
||
929 |
* More efficient painting and improved reactivity when editing large |
|
930 |
files. More scalable management of formal document content. |
|
931 |
||
50505
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset
|
932 |
* Smarter handling of tracing messages: prover process pauses after |
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset
|
933 |
certain number of messages per command transaction, with some user |
33c92722cc3d
smarter handling of tracing messages: prover process pauses and enters user dialog;
wenzelm
parents:
50455
diff
changeset
|
934 |
dialog to stop or continue. This avoids swamping the front-end with |
50119
5c370a036de7
more generous tracing_limit, with explicit system option;
wenzelm
parents:
50118
diff
changeset
|
935 |
potentially infinite message streams. |
49968 | 936 |
|
937 |
* More plugin options and preferences, based on Isabelle/Scala. The |
|
938 |
jEdit plugin option panel provides access to some Isabelle/Scala |
|
939 |
options, including tuning parameters for editor reactivity and color |
|
940 |
schemes. |
|
941 |
||
50184 | 942 |
* Dockable window "Symbols" provides some editing support for Isabelle |
943 |
symbols. |
|
944 |
||
51082 | 945 |
* Dockable window "Monitor" shows ML runtime statistics. Note that |
946 |
continuous display of the chart slows down the system. |
|
50701 | 947 |
|
50183 | 948 |
* Improved editing support for control styles: subscript, superscript, |
949 |
bold, reset of style -- operating on single symbols or text |
|
50198
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
950 |
selections. Cf. keyboard shortcuts C+e DOWN/UP/RIGHT/LEFT. |
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
951 |
|
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
952 |
* Actions isabelle.increase-font-size and isabelle.decrease-font-size |
0c7b351a6871
added convenience actions isabelle.increase-font-size and isabelle.decrease-font-size;
wenzelm
parents:
50184
diff
changeset
|
953 |
adjust the main text area font size, and its derivatives for output, |
50836 | 954 |
tooltips etc. Cf. keyboard shortcuts C-PLUS and C-MINUS, which often |
955 |
need to be adapted to local keyboard layouts. |
|
50183 | 956 |
|
50730 | 957 |
* More reactive completion popup by default: use \t (TAB) instead of |
958 |
\n (NEWLINE) to minimize intrusion into regular flow of editing. See |
|
959 |
also "Plugin Options / SideKick / General / Code Completion Options". |
|
960 |
||
50406
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
961 |
* Implicit check and build dialog of the specified logic session |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
962 |
image. For example, HOL, HOLCF, HOL-Nominal can be produced on |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
963 |
demand, without bundling big platform-dependent heap images in the |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
964 |
Isabelle distribution. |
c28753665b8e
documentation for isabelle build_dialog and its implicit use in isabelle jedit;
wenzelm
parents:
50232
diff
changeset
|
965 |
|
49968 | 966 |
* Uniform Java 7 platform on Linux, Mac OS X, Windows: recent updates |
967 |
from Oracle provide better multi-platform experience. This version is |
|
968 |
now bundled exclusively with Isabelle. |
|
969 |
||
970 |
||
48205 | 971 |
*** Pure *** |
972 |
||
48431
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset
|
973 |
* Code generation for Haskell: restrict unqualified imports from |
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset
|
974 |
Haskell Prelude to a small set of fundamental operations. |
6efff142bb54
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations
haftmann
parents:
48428
diff
changeset
|
975 |
|
50646 | 976 |
* Command 'export_code': relative file names are interpreted |
977 |
relatively to master directory of current theory rather than the |
|
978 |
rather arbitrary current working directory. INCOMPATIBILITY. |
|
48371 | 979 |
|
48205 | 980 |
* Discontinued obsolete attribute "COMP". Potential INCOMPATIBILITY, |
981 |
use regular rule composition via "OF" / "THEN", or explicit proof |
|
982 |
structure instead. Note that Isabelle/ML provides a variety of |
|
983 |
operators like COMP, INCR_COMP, COMP_INCR, which need to be applied |
|
984 |
with some care where this is really required. |
|
985 |
||
48792 | 986 |
* Command 'typ' supports an additional variant with explicit sort |
987 |
constraint, to infer and check the most general type conforming to a |
|
51063 | 988 |
given sort. Example (in HOL): |
48792 | 989 |
|
990 |
typ "_ * _ * bool * unit" :: finite |
|
991 |
||
50716 | 992 |
* Command 'locale_deps' visualizes all locales and their relations as |
993 |
a Hasse diagram. |
|
994 |
||
48205 | 995 |
|
48013
44de84112a67
added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents:
47979
diff
changeset
|
996 |
*** HOL *** |
44de84112a67
added optimisation for equational premises in Quickcheck; added some Quickcheck examples; NEWS
bulwahn
parents:
47979
diff
changeset
|
997 |
|
50646 | 998 |
* Sledgehammer: |
999 |
||
1000 |
- Added MaSh relevance filter based on machine-learning; see the |
|
1001 |
Sledgehammer manual for details. |
|
1002 |
- Polished Isar proofs generated with "isar_proofs" option. |
|
1003 |
- Rationalized type encodings ("type_enc" option). |
|
50720 | 1004 |
- Renamed "kill_provers" subcommand to "kill_all". |
50646 | 1005 |
- Renamed options: |
1006 |
isar_proof ~> isar_proofs |
|
1007 |
isar_shrink_factor ~> isar_shrink |
|
1008 |
max_relevant ~> max_facts |
|
1009 |
relevance_thresholds ~> fact_thresholds |
|
1010 |
||
1011 |
* Quickcheck: added an optimisation for equality premises. It is |
|
1012 |
switched on by default, and can be switched off by setting the |
|
1013 |
configuration quickcheck_optimise_equality to false. |
|
1014 |
||
50878 | 1015 |
* Quotient: only one quotient can be defined by quotient_type |
1016 |
INCOMPATIBILITY. |
|
1017 |
||
1018 |
* Lifting: |
|
1019 |
- generation of an abstraction function equation in lift_definition |
|
1020 |
- quot_del attribute |
|
1021 |
- renamed no_abs_code -> no_code (INCOMPATIBILITY.) |
|
1022 |
||
50646 | 1023 |
* Simproc "finite_Collect" rewrites set comprehensions into pointfree |
1024 |
expressions. |
|
1025 |
||
1026 |
* Preprocessing of the code generator rewrites set comprehensions into |
|
1027 |
pointfree expressions. |
|
1028 |
||
1029 |
* The SMT solver Z3 has now by default a restricted set of directly |
|
1030 |
supported features. For the full set of features (div/mod, nonlinear |
|
1031 |
arithmetic, datatypes/records) with potential proof reconstruction |
|
1032 |
failures, enable the configuration option "z3_with_extensions". Minor |
|
1033 |
INCOMPATIBILITY. |
|
49948
744934b818c7
moved quite generic material from theory Enum to more appropriate places
haftmann
parents:
49918
diff
changeset
|
1034 |
|
49836
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
1035 |
* Simplified 'typedef' specifications: historical options for implicit |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
1036 |
set definition and alternative name have been discontinued. The |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
1037 |
former behavior of "typedef (open) t = A" is now the default, but |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
1038 |
written just "typedef t = A". INCOMPATIBILITY, need to adapt theories |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
1039 |
accordingly. |
c13b39542972
simplified 'typedef' specifications: discontinued implicit set definition and alternative name;
wenzelm
parents:
49822
diff
changeset
|
1040 |
|
50646 | 1041 |
* Removed constant "chars"; prefer "Enum.enum" on type "char" |
1042 |
directly. INCOMPATIBILITY. |
|
1043 |
||
1044 |
* Moved operation product, sublists and n_lists from theory Enum to |
|
1045 |
List. INCOMPATIBILITY. |
|
49822
0cfc1651be25
simplified construction of fold combinator on multisets;
haftmann
parents:
49770
diff
changeset
|
1046 |
|
49739 | 1047 |
* Theorem UN_o generalized to SUP_comp. INCOMPATIBILITY. |
1048 |
||
49738 | 1049 |
* Class "comm_monoid_diff" formalises properties of bounded |
49388 | 1050 |
subtraction, with natural numbers and multisets as typical instances. |
1051 |
||
50646 | 1052 |
* Added combinator "Option.these" with type "'a option set => 'a set". |
1053 |
||
1054 |
* Theory "Transitive_Closure": renamed lemmas |
|
1055 |
||
1056 |
reflcl_tranclp -> reflclp_tranclp |
|
1057 |
rtranclp_reflcl -> rtranclp_reflclp |
|
1058 |
||
1059 |
INCOMPATIBILITY. |
|
1060 |
||
1061 |
* Theory "Rings": renamed lemmas (in class semiring) |
|
1062 |
||
1063 |
left_distrib ~> distrib_right |
|
1064 |
right_distrib ~> distrib_left |
|
1065 |
||
1066 |
INCOMPATIBILITY. |
|
1067 |
||
1068 |
* Generalized the definition of limits: |
|
1069 |
||
1070 |
- Introduced the predicate filterlim (LIM x F. f x :> G) which |
|
1071 |
expresses that when the input values x converge to F then the |
|
1072 |
output f x converges to G. |
|
1073 |
||
1074 |
- Added filters for convergence to positive (at_top) and negative |
|
1075 |
infinity (at_bot). |
|
1076 |
||
1077 |
- Moved infinity in the norm (at_infinity) from |
|
1078 |
Multivariate_Analysis to Complex_Main. |
|
1079 |
||
1080 |
- Removed real_tendsto_inf, it is superseded by "LIM x F. f x :> |
|
1081 |
at_top". |
|
1082 |
||
1083 |
INCOMPATIBILITY. |
|
1084 |
||
1085 |
* Theory "Library/Option_ord" provides instantiation of option type to |
|
1086 |
lattice type classes. |
|
1087 |
||
1088 |
* Theory "Library/Multiset": renamed |
|
1089 |
||
1090 |
constant fold_mset ~> Multiset.fold |
|
1091 |
fact fold_mset_commute ~> fold_mset_comm |
|
1092 |
||
1093 |
INCOMPATIBILITY. |
|
1094 |
||
1095 |
* Renamed theory Library/List_Prefix to Library/Sublist, with related |
|
1096 |
changes as follows. |
|
1097 |
||
1098 |
- Renamed constants (and related lemmas) |
|
49145 | 1099 |
|
1100 |
prefix ~> prefixeq |
|
1101 |
strict_prefix ~> prefix |
|
1102 |
||
50646 | 1103 |
- Replaced constant "postfix" by "suffixeq" with swapped argument |
1104 |
order (i.e., "postfix xs ys" is now "suffixeq ys xs") and dropped |
|
1105 |
old infix syntax "xs >>= ys"; use "suffixeq ys xs" instead. |
|
1106 |
Renamed lemmas accordingly. |
|
1107 |
||
1108 |
- Added constant "list_hembeq" for homeomorphic embedding on |
|
1109 |
lists. Added abbreviation "sublisteq" for special case |
|
1110 |
"list_hembeq (op =)". |
|
1111 |
||
1112 |
- Theory Library/Sublist no longer provides "order" and "bot" type |
|
1113 |
class instances for the prefix order (merely corresponding locale |
|
1114 |
interpretations). The type class instances are now in theory |
|
1115 |
Library/Prefix_Order. |
|
1116 |
||
1117 |
- The sublist relation of theory Library/Sublist_Order is now based |
|
1118 |
on "Sublist.sublisteq". Renamed lemmas accordingly: |
|
50516 | 1119 |
|
1120 |
le_list_append_le_same_iff ~> Sublist.sublisteq_append_le_same_iff |
|
1121 |
le_list_append_mono ~> Sublist.list_hembeq_append_mono |
|
1122 |
le_list_below_empty ~> Sublist.list_hembeq_Nil, Sublist.list_hembeq_Nil2 |
|
1123 |
le_list_Cons_EX ~> Sublist.list_hembeq_ConsD |
|
1124 |
le_list_drop_Cons2 ~> Sublist.sublisteq_Cons2' |
|
1125 |
le_list_drop_Cons_neq ~> Sublist.sublisteq_Cons2_neq |
|
1126 |
le_list_drop_Cons ~> Sublist.sublisteq_Cons' |
|
1127 |
le_list_drop_many ~> Sublist.sublisteq_drop_many |
|
1128 |
le_list_filter_left ~> Sublist.sublisteq_filter_left |
|
1129 |
le_list_rev_drop_many ~> Sublist.sublisteq_rev_drop_many |
|
1130 |
le_list_rev_take_iff ~> Sublist.sublisteq_append |
|
1131 |
le_list_same_length ~> Sublist.sublisteq_same_length |
|
1132 |
le_list_take_many_iff ~> Sublist.sublisteq_append' |
|
49145 | 1133 |
less_eq_list.drop ~> less_eq_list_drop |
1134 |
less_eq_list.induct ~> less_eq_list_induct |
|
50516 | 1135 |
not_le_list_length ~> Sublist.not_sublisteq_length |
49145 | 1136 |
|
50646 | 1137 |
INCOMPATIBILITY. |
1138 |
||
1139 |
* New theory Library/Countable_Set. |
|
1140 |
||
1141 |
* Theory Library/Debug and Library/Parallel provide debugging and |
|
1142 |
parallel execution for code generated towards Isabelle/ML. |
|
1143 |
||
1144 |
* Theory Library/FuncSet: Extended support for Pi and extensional and |
|
1145 |
introduce the extensional dependent function space "PiE". Replaced |
|
1146 |
extensional_funcset by an abbreviation, and renamed lemmas from |
|
1147 |
extensional_funcset to PiE as follows: |
|
1148 |
||
1149 |
extensional_empty ~> PiE_empty |
|
1150 |
extensional_funcset_empty_domain ~> PiE_empty_domain |
|
1151 |
extensional_funcset_empty_range ~> PiE_empty_range |
|
1152 |
extensional_funcset_arb ~> PiE_arb |
|
1153 |
extensional_funcset_mem ~> PiE_mem |
|
1154 |
extensional_funcset_extend_domainI ~> PiE_fun_upd |
|
1155 |
extensional_funcset_restrict_domain ~> fun_upd_in_PiE |
|
1156 |
extensional_funcset_extend_domain_eq ~> PiE_insert_eq |
|
1157 |
card_extensional_funcset ~> card_PiE |
|
1158 |
finite_extensional_funcset ~> finite_PiE |
|
1159 |
||
1160 |
INCOMPATIBILITY. |
|
1161 |
||
1162 |
* Theory Library/FinFun: theory of almost everywhere constant |
|
1163 |
functions (supersedes the AFP entry "Code Generation for Functions as |
|
1164 |
Data"). |
|
1165 |
||
1166 |
* Theory Library/Phantom: generic phantom type to make a type |
|
1167 |
parameter appear in a constant's type. This alternative to adding |
|
1168 |
TYPE('a) as another parameter avoids unnecessary closures in generated |
|
1169 |
code. |
|
1170 |
||
1171 |
* Theory Library/RBT_Impl: efficient construction of red-black trees |
|
1172 |
from sorted associative lists. Merging two trees with rbt_union may |
|
1173 |
return a structurally different tree than before. Potential |
|
1174 |
INCOMPATIBILITY. |
|
1175 |
||
1176 |
* Theory Library/IArray: immutable arrays with code generation. |
|
1177 |
||
1178 |
* Theory Library/Finite_Lattice: theory of finite lattices. |
|
1179 |
||
1180 |
* HOL/Multivariate_Analysis: replaced |
|
1181 |
||
1182 |
"basis :: 'a::euclidean_space => nat => real" |
|
1183 |
"\<Chi>\<Chi> :: (nat => real) => 'a::euclidean_space" |
|
1184 |
||
1185 |
on euclidean spaces by using the inner product "_ \<bullet> _" with |
|
1186 |
vectors from the Basis set: "\<Chi>\<Chi> i. f i" is superseded by |
|
1187 |
"SUM i : Basis. f i * r i". |
|
1188 |
||
1189 |
With this change the following constants are also changed or removed: |
|
1190 |
||
1191 |
DIM('a) :: nat ~> card (Basis :: 'a set) (is an abbreviation) |
|
1192 |
a $$ i ~> inner a i (where i : Basis) |
|
1193 |
cart_base i removed |
|
1194 |
\<pi>, \<pi>' removed |
|
50526
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
1195 |
|
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
1196 |
Theorems about these constants where removed. |
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
1197 |
|
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
1198 |
Renamed lemmas: |
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
1199 |
|
50646 | 1200 |
component_le_norm ~> Basis_le_norm |
1201 |
euclidean_eq ~> euclidean_eq_iff |
|
1202 |
differential_zero_maxmin_component ~> differential_zero_maxmin_cart |
|
1203 |
euclidean_simps ~> inner_simps |
|
1204 |
independent_basis ~> independent_Basis |
|
1205 |
span_basis ~> span_Basis |
|
1206 |
in_span_basis ~> in_span_Basis |
|
1207 |
norm_bound_component_le ~> norm_boound_Basis_le |
|
1208 |
norm_bound_component_lt ~> norm_boound_Basis_lt |
|
1209 |
component_le_infnorm ~> Basis_le_infnorm |
|
1210 |
||
1211 |
INCOMPATIBILITY. |
|
50526
899c9c4e4a4c
Remove the indexed basis from the definition of euclidean spaces and only use the set of Basis vectors
hoelzl
parents:
50525
diff
changeset
|
1212 |
|
50141 | 1213 |
* HOL/Probability: |
50646 | 1214 |
|
1215 |
- Added simproc "measurable" to automatically prove measurability. |
|
1216 |
||
1217 |
- Added induction rules for sigma sets with disjoint union |
|
1218 |
(sigma_sets_induct_disjoint) and for Borel-measurable functions |
|
1219 |
(borel_measurable_induct). |
|
1220 |
||
1221 |
- Added the Daniell-Kolmogorov theorem (the existence the limit of a |
|
1222 |
projective family). |
|
1223 |
||
1224 |
* HOL/Cardinals: Theories of ordinals and cardinals (supersedes the |
|
1225 |
AFP entry "Ordinals_and_Cardinals"). |
|
1226 |
||
1227 |
* HOL/BNF: New (co)datatype package based on bounded natural functors |
|
1228 |
with support for mixed, nested recursion and interesting non-free |
|
1229 |
datatypes. |
|
48094 | 1230 |
|
50991 | 1231 |
* HOL/Finite_Set and Relation: added new set and relation operations |
50878 | 1232 |
expressed by Finite_Set.fold. |
1233 |
||
1234 |
* New theory HOL/Library/RBT_Set: implementation of sets by red-black |
|
1235 |
trees for the code generator. |
|
1236 |
||
1237 |
* HOL/Library/RBT and HOL/Library/Mapping have been converted to |
|
1238 |
Lifting/Transfer. |
|
1239 |
possible INCOMPATIBILITY. |
|
1240 |
||
1241 |
* HOL/Set: renamed Set.project -> Set.filter |
|
1242 |
INCOMPATIBILITY. |
|
1243 |
||
48120
9fe0e71052a0
updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset
|
1244 |
|
48206 | 1245 |
*** Document preparation *** |
1246 |
||
50646 | 1247 |
* Dropped legacy antiquotations "term_style" and "thm_style", since |
1248 |
styles may be given as arguments to "term" and "thm" already. |
|
1249 |
Discontinued legacy styles "prem1" .. "prem19". |
|
1250 |
||
1251 |
* Default LaTeX rendering for \<euro> is now based on eurosym package, |
|
1252 |
instead of slightly exotic babel/greek. |
|
48206 | 1253 |
|
48616
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
1254 |
* Document variant NAME may use different LaTeX entry point |
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
1255 |
document/root_NAME.tex if that file exists, instead of the common |
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
1256 |
document/root.tex. |
be8002ee43d8
document variant NAME may use different LaTeX entry point document/root_NAME.tex if that file exists;
wenzelm
parents:
48586
diff
changeset
|
1257 |
|
48657
63ef2f0cf8bb
simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset
|
1258 |
* Simplified custom document/build script, instead of old-style |
63ef2f0cf8bb
simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset
|
1259 |
document/IsaMakefile. Minor INCOMPATIBILITY. |
63ef2f0cf8bb
simplified custom document/build script, instead of old-style document/IsaMakefile;
wenzelm
parents:
48616
diff
changeset
|
1260 |
|
48206 | 1261 |
|
48992 | 1262 |
*** ML *** |
1263 |
||
50646 | 1264 |
* The default limit for maximum number of worker threads is now 8, |
1265 |
instead of 4, in correspondence to capabilities of contemporary |
|
1266 |
hardware and Poly/ML runtime system. |
|
1267 |
||
49869
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1268 |
* Type Seq.results and related operations support embedded error |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1269 |
messages within lazy enumerations, and thus allow to provide |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1270 |
informative errors in the absence of any usable results. |
bd370af308f0
support for more informative errors in lazy enumerations;
wenzelm
parents:
49841
diff
changeset
|
1271 |
|
48992 | 1272 |
* Renamed Position.str_of to Position.here to emphasize that this is a |
1273 |
formal device to inline positions into message text, but not |
|
1274 |
necessarily printing visible text. |
|
1275 |
||
1276 |
||
48206 | 1277 |
*** System *** |
1278 |
||
48585
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset
|
1279 |
* Advanced support for Isabelle sessions and build management, see |
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset
|
1280 |
"system" manual for the chapter of that name, especially the "isabelle |
51056 | 1281 |
build" tool and its examples. The "isabelle mkroot" tool prepares |
1282 |
session root directories for use with "isabelle build", similar to |
|
1283 |
former "isabelle mkdir" for "isabelle usedir". Note that this affects |
|
1284 |
document preparation as well. INCOMPATIBILITY, isabelle usedir / |
|
48736 | 1285 |
mkdir / make are rendered obsolete. |
1286 |
||
51056 | 1287 |
* Discontinued obsolete Isabelle/build script, it is superseded by the |
1288 |
regular isabelle build tool. For example: |
|
1289 |
||
1290 |
isabelle build -s -b HOL |
|
1291 |
||
48736 | 1292 |
* Discontinued obsolete "isabelle makeall". |
48585
a82910dd2270
announce advanced support for Isabelle sessions and build management;
wenzelm
parents:
48574
diff
changeset
|
1293 |
|
48722
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1294 |
* Discontinued obsolete IsaMakefile and ROOT.ML files from the |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1295 |
Isabelle distribution, except for rudimentary src/HOL/IsaMakefile that |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1296 |
provides some traditional targets that invoke "isabelle build". Note |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1297 |
that this is inefficient! Applications of Isabelle/HOL involving |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1298 |
"isabelle make" should be upgraded to use "isabelle build" directly. |
a5e3ba7cbb2a
discontinued obsolete IsaMakefile and ROOT.ML files from the Isabelle distribution;
wenzelm
parents:
48693
diff
changeset
|
1299 |
|
48693
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset
|
1300 |
* The "isabelle options" tool prints Isabelle system options, as |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset
|
1301 |
required for "isabelle build", for example. |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48683
diff
changeset
|
1302 |
|
50646 | 1303 |
* The "isabelle logo" tool produces EPS and PDF format simultaneously. |
1304 |
Minor INCOMPATIBILITY in command-line options. |
|
1305 |
||
1306 |
* The "isabelle install" tool has now a simpler command-line. Minor |
|
1307 |
INCOMPATIBILITY. |
|
1308 |
||
48844 | 1309 |
* The "isabelle components" tool helps to resolve add-on components |
1310 |
that are not bundled, or referenced from a bare-bones repository |
|
1311 |
version of Isabelle. |
|
1312 |
||
50646 | 1313 |
* Settings variable ISABELLE_PLATFORM_FAMILY refers to the general |
1314 |
platform family: "linux", "macos", "windows". |
|
1315 |
||
1316 |
* The ML system is configured as regular component, and no longer |
|
1317 |
picked up from some surrounding directory. Potential INCOMPATIBILITY |
|
1318 |
for home-made settings. |
|
50132 | 1319 |
|
50701 | 1320 |
* Improved ML runtime statistics (heap, threads, future tasks etc.). |
1321 |
||
48206 | 1322 |
* Discontinued support for Poly/ML 5.2.1, which was the last version |
1323 |
without exception positions and advanced ML compiler/toplevel |
|
1324 |
configuration. |
|
1325 |
||
48574 | 1326 |
* Discontinued special treatment of Proof General -- no longer guess |
1327 |
PROOFGENERAL_HOME based on accidental file-system layout. Minor |
|
1328 |
INCOMPATIBILITY: provide PROOFGENERAL_HOME and PROOFGENERAL_OPTIONS |
|
1329 |
settings manually, or use a Proof General version that has been |
|
1330 |
bundled as Isabelle component. |
|
48206 | 1331 |
|
50182 | 1332 |
|
48120
9fe0e71052a0
updated "isar-ref" manual, reduced remaining material in "ref" manual.
wenzelm
parents:
48111
diff
changeset
|
1333 |
|
47462 | 1334 |
New in Isabelle2012 (May 2012) |
1335 |
------------------------------ |
|
45109 | 1336 |
|
45593 | 1337 |
*** General *** |
1338 |
||
45614 | 1339 |
* Prover IDE (PIDE) improvements: |
1340 |
||
47585 | 1341 |
- more robust Sledgehammer integration (as before the sledgehammer |
47806 | 1342 |
command-line needs to be typed into the source buffer) |
45614 | 1343 |
- markup for bound variables |
47806 | 1344 |
- markup for types of term variables (displayed as tooltips) |
46956
9ff441f295c2
Isabelle/jEdit supports user-defined Isar commands within the running session;
wenzelm
parents:
46948
diff
changeset
|
1345 |
- support for user-defined Isar commands within the running session |
47158 | 1346 |
- improved support for Unicode outside original 16bit range |
1347 |
e.g. glyph for \<A> (thanks to jEdit 4.5.1) |
|
45614 | 1348 |
|
47806 | 1349 |
* Forward declaration of outer syntax keywords within the theory |
1350 |
header -- minor INCOMPATIBILITY for user-defined commands. Allow new |
|
1351 |
commands to be used in the same theory where defined. |
|
46485 | 1352 |
|
47482
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1353 |
* Auxiliary contexts indicate block structure for specifications with |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1354 |
additional parameters and assumptions. Such unnamed contexts may be |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1355 |
nested within other targets, like 'theory', 'locale', 'class', |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1356 |
'instantiation' etc. Results from the local context are generalized |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1357 |
accordingly and applied to the enclosing target context. Example: |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1358 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1359 |
context |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1360 |
fixes x y z :: 'a |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1361 |
assumes xy: "x = y" and yz: "y = z" |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1362 |
begin |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1363 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1364 |
lemma my_trans: "x = z" using xy yz by simp |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1365 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1366 |
end |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1367 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1368 |
thm my_trans |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1369 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1370 |
The most basic application is to factor-out context elements of |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1371 |
several fixes/assumes/shows theorem statements, e.g. see |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1372 |
~~/src/HOL/Isar_Examples/Group_Context.thy |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1373 |
|
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1374 |
Any other local theory specification element works within the "context |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1375 |
... begin ... end" block as well. |
a83b25e5bad3
some coverage of unnamed contexts, which can be nested within other targets;
wenzelm
parents:
47464
diff
changeset
|
1376 |
|
47484 | 1377 |
* Bundled declarations associate attributed fact expressions with a |
1378 |
given name in the context. These may be later included in other |
|
1379 |
contexts. This allows to manage context extensions casually, without |
|
47855 | 1380 |
the logical dependencies of locales and locale interpretation. See |
1381 |
commands 'bundle', 'include', 'including' etc. in the isar-ref manual. |
|
47484 | 1382 |
|
47829 | 1383 |
* Commands 'lemmas' and 'theorems' allow local variables using 'for' |
1384 |
declaration, and results are standardized before being stored. Thus |
|
1385 |
old-style "standard" after instantiation or composition of facts |
|
1386 |
becomes obsolete. Minor INCOMPATIBILITY, due to potential change of |
|
1387 |
indices of schematic variables. |
|
1388 |
||
1389 |
* Rule attributes in local theory declarations (e.g. locale or class) |
|
1390 |
are now statically evaluated: the resulting theorem is stored instead |
|
1391 |
of the original expression. INCOMPATIBILITY in rare situations, where |
|
1392 |
the historic accident of dynamic re-evaluation in interpretations |
|
1393 |
etc. was exploited. |
|
1394 |
||
1395 |
* New tutorial "Programming and Proving in Isabelle/HOL" |
|
1396 |
("prog-prove"). It completely supersedes "A Tutorial Introduction to |
|
1397 |
Structured Isar Proofs" ("isar-overview"), which has been removed. It |
|
1398 |
also supersedes "Isabelle/HOL, A Proof Assistant for Higher-Order |
|
1399 |
Logic" as the recommended beginners tutorial, but does not cover all |
|
1400 |
of the material of that old tutorial. |
|
1401 |
||
1402 |
* Updated and extended reference manuals: "isar-ref", |
|
1403 |
"implementation", "system"; reduced remaining material in old "ref" |
|
1404 |
manual. |
|
1405 |
||
1406 |
||
1407 |
*** Pure *** |
|
1408 |
||
46976
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1409 |
* Command 'definition' no longer exports the foundational "raw_def" |
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1410 |
into the user context. Minor INCOMPATIBILITY, may use the regular |
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1411 |
"def" result with attribute "abs_def" to imitate the old version. |
80123a220219
'definition' no longer exports the foundational "raw_def";
wenzelm
parents:
46966
diff
changeset
|
1412 |
|
47855 | 1413 |
* Attribute "abs_def" turns an equation of the form "f x y == t" into |
1414 |
"f == %x y. t", which ensures that "simp" or "unfold" steps always |
|
1415 |
expand it. This also works for object-logic equality. (Formerly |
|
1416 |
undocumented feature.) |
|
1417 |
||
47856 | 1418 |
* Sort constraints are now propagated in simultaneous statements, just |
1419 |
like type constraints. INCOMPATIBILITY in rare situations, where |
|
1420 |
distinct sorts used to be assigned accidentally. For example: |
|
1421 |
||
1422 |
lemma "P (x::'a::foo)" and "Q (y::'a::bar)" -- "now illegal" |
|
1423 |
||