author | wenzelm |
Thu, 08 Nov 2018 16:18:12 +0100 | |
changeset 69268 | c1a27fce2076 |
parent 69230 | 07fc77bf5eb6 |
child 69269 | 1bee990d443c |
permissions | -rw-r--r-- |
57491 | 1 |
Isabelle NEWS -- history of user-relevant changes |
2 |
================================================= |
|
2553 | 3 |
|
62114
a7cf464933f7
generate HTML version of NEWS, with proper symbol rendering;
wenzelm
parents:
62111
diff
changeset
|
4 |
(Note: Isabelle/jEdit shows a tree-view of the NEWS file in Sidekick.) |
60006 | 5 |
|
64603 | 6 |
|
68683 | 7 |
New in this Isabelle version |
8 |
---------------------------- |
|
9 |
||
69042 | 10 |
*** General *** |
11 |
||
12 |
* Old-style inner comments (* ... *) within the term language are no |
|
13 |
longer supported (legacy feature in Isabelle2018). |
|
14 |
||
69066 | 15 |
* Infix operators that begin or end with a "*" can now be paranthesized |
16 |
without additional spaces, eg "(*)" instead of "( * )". |
|
17 |
||
69216
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69213
diff
changeset
|
18 |
* ML setup commands (e.g. 'setup', 'method_setup', 'parse_translation') |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69213
diff
changeset
|
19 |
need to provide a closed expression -- without trailing semicolon. Minor |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69213
diff
changeset
|
20 |
INCOMPATIBILITY. |
1a52baa70aed
clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);
wenzelm
parents:
69213
diff
changeset
|
21 |
|
69042 | 22 |
|
69189 | 23 |
*** Isabelle/jEdit Prover IDE *** |
24 |
||
25 |
* Improved sub-pixel font rendering (especially on Linux), thanks to |
|
26 |
OpenJDK 11. |
|
27 |
||
28 |
||
68879 | 29 |
*** Isar *** |
30 |
||
31 |
* More robust treatment of structural errors: begin/end blocks take |
|
32 |
precedence over goal/proof. |
|
33 |
||
69045 | 34 |
* Implicit cases goal1, goal2, goal3, etc. have been discontinued |
35 |
(legacy feature since Isabelle2016). |
|
36 |
||
37 |
||
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
38 |
*** HOL *** |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
39 |
|
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
40 |
* Simplified syntax setup for big operators under image. In rare |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
41 |
situations, type conversions are not inserted implicitly any longer |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
42 |
and need to be given explicitly. Auxiliary abbreviations INFIMUM, |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
43 |
SUPREMUM, UNION, INTER should now rarely occur in output and are just |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
44 |
retained as migration auxiliary. INCOMPATIBILITY. |
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
45 |
|
69094 | 46 |
* Theory List: the precedence of the list_update operator has changed: |
47 |
"f a [n := x]" now needs to be written "(f a)[n := x]". |
|
48 |
||
49 |
* Theory "HOL-Library.Multiset": the <Union># operator now has the same |
|
50 |
precedence as any other prefix function symbol. |
|
68848
8825efd1c2cf
updated URL to remote TPTP, following heads-up from Geoff Sutcliffe
blanchet
parents:
68824
diff
changeset
|
51 |
|
68938 | 52 |
* Facts sum_mset.commute and prod_mset.commute renamed to sum_mset.swap |
53 |
and prod_mset.swap, similarly to sum.swap and prod.swap. |
|
54 |
INCOMPATIBILITY. |
|
55 |
||
69164 | 56 |
* Strong congruence rules (with =simp=> in the premises) for constant f |
57 |
are now uniformly called f_cong_strong. |
|
58 |
||
69094 | 59 |
* Sledgehammer: The URL for SystemOnTPTP, which is used by remote |
60 |
provers, has been updated. |
|
69037 | 61 |
|
69205
8050734eee3e
add reconstruction by veriT in method smt
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents:
69189
diff
changeset
|
62 |
* SMT: reconstruction is now possible using the SMT solver veriT. |
8050734eee3e
add reconstruction by veriT in method smt
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents:
69189
diff
changeset
|
63 |
|
69099
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
64 |
* Session HOL-SPARK: .prv files are no longer written to the |
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
65 |
file-system, but exported to the session database. Results may be |
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
66 |
retrieved with the "isabelle export" command-line tool like this: |
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
67 |
|
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
68 |
isabelle export -x "*:**.prv" HOL-SPARK-Examples |
d44cb8a3e5e0
HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents:
69094
diff
changeset
|
69 |
|
68796
9ca183045102
simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents:
68770
diff
changeset
|
70 |
|
68803 | 71 |
*** ML *** |
72 |
||
73 |
* Original PolyML.pointerEq is retained as a convenience for tools that |
|
74 |
don't use Isabelle/ML (where this is called "pointer_eq"). |
|
75 |
||
68824 | 76 |
* ML evaluation (notably via commands 'ML' and 'ML_file') is subject to |
77 |
option ML_environment to select a named environment, such as "Isabelle" |
|
78 |
for Isabelle/ML, or "SML" for official Standard ML. It is also possible |
|
79 |
to move toplevel bindings between environments, using a notation with |
|
80 |
">" as separator. For example: |
|
81 |
||
82 |
declare [[ML_environment = "Isabelle>SML"]] |
|
83 |
ML \<open>val println = writeln\<close> |
|
84 |
||
85 |
declare [[ML_environment = "SML"]] |
|
86 |
ML \<open>println "test"\<close> |
|
87 |
||
88 |
declare [[ML_environment = "Isabelle"]] |
|
89 |
ML \<open>println\<close> \<comment> \<open>not present\<close> |
|
90 |
||
91 |
The Isabelle/ML function ML_Env.setup defines new ML environments. This |
|
92 |
is useful to incorporate big SML projects in an isolated name space, and |
|
93 |
potentially with variations on ML syntax (existing ML_Env.SML_operations |
|
94 |
observes the official standard). |
|
68803 | 95 |
|
69211
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
96 |
* GHC.read_source reads Haskell source text with antiquotations (only |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
97 |
the control-cartouche form). The default "cartouche" antiquotation |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
98 |
evaluates an ML expression of type string and inlines the result as |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
99 |
Haskell string literal. This allows to refer to Isabelle items robustly, |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
100 |
e.g. via Isabelle/ML antiquotations or library operations. For example: |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
101 |
|
69212 | 102 |
ML_command \<open> |
69211
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
103 |
GHC.read_source \<^context> \<open> |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
104 |
allConst, impConst, eqConst :: String |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
105 |
allConst = \<open>\<^const_name>\<open>Pure.all\<close>\<close> |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
106 |
impConst = \<open>\<^const_name>\<open>Pure.imp\<close>\<close> |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
107 |
eqConst = \<open>\<^const_name>\<open>Pure.eq\<close>\<close> |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
108 |
\<close> |
69212 | 109 |
|> writeln |
69211
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
110 |
\<close> |
7062639cfdaa
added GHC.read_source: read Haskell source text with antiquotations;
wenzelm
parents:
69189
diff
changeset
|
111 |
|
68803 | 112 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
113 |
*** System *** |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
114 |
|
69230 | 115 |
* Session directory $ISABELLE_HOME/src/Tools/Haskell provides some |
116 |
source modules for Isabelle tools implemented in Haskell, notably for |
|
117 |
Isabelle/PIDE. |
|
118 |
||
69044 | 119 |
* Isabelle server command "use_theories" supports "nodes_status_delay" |
120 |
for continuous output of node status information. The time interval is |
|
121 |
specified in seconds; a negative value means it is disabled (default). |
|
122 |
||
123 |
* Isabelle Server command "use_theories" terminates more robustly in the |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
124 |
presence of structurally broken sources: full consolidation of theories |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
125 |
is no longer required. |
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
126 |
|
69268
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
127 |
* Support for managed installations of Glasgow Haskell Compiler and |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
128 |
OCaml via the following command-line tools: |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
129 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
130 |
isabelle ghc_setup |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
131 |
isabelle ghc_stack |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
132 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
133 |
isabelle ocaml_setup |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
134 |
isabelle ocaml_opam |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
135 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
136 |
The global installation state is determined by the following settings |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
137 |
(and corresponding directory contents): |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
138 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
139 |
ISABELLE_STACK_ROOT |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
140 |
ISABELLE_STACK_RESOLVER |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
141 |
ISABELLE_GHC_VERSION |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
142 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
143 |
ISABELLE_OPAM_ROOT |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
144 |
ISABELLE_OCAML_VERSION |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
145 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
146 |
After setup, the following Isabelle settings are automatically |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
147 |
redirected (overriding existing user settings): |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
148 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
149 |
ISABELLE_GHC |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
150 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
151 |
ISABELLE_OCAML |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
152 |
ISABELLE_OCAMLC |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
153 |
|
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
154 |
The old meaning of these settings as locally installed executables may |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
155 |
be recovered by purging the directories ISABELLE_STACK_ROOT / |
c1a27fce2076
clarified tool setup for GHC / OCaml: discontinued "isabelle ghc", "isabelle ocaml", "isabelle ocamlc" to avoid confusion with traditional settings variables for executables (these are still required in existing applications, notably in session options [condition = ISABELLE_GHC] etc. and codegen setup;
wenzelm
parents:
69230
diff
changeset
|
156 |
ISABELLE_OPAM_ROOT. |
69189 | 157 |
|
158 |
* Update to Java 11: the latest long-term support version of OpenJDK. |
|
69151 | 159 |
|
68883
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
160 |
|
3653b3ad729e
clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents:
68879
diff
changeset
|
161 |
|
68391 | 162 |
New in Isabelle2018 (August 2018) |
163 |
--------------------------------- |
|
66651 | 164 |
|
66712 | 165 |
*** General *** |
166 |
||
68393 | 167 |
* Session-qualified theory names are mandatory: it is no longer possible |
168 |
to refer to unqualified theories from the parent session. |
|
169 |
INCOMPATIBILITY for old developments that have not been updated to |
|
170 |
Isabelle2017 yet (using the "isabelle imports" tool). |
|
171 |
||
172 |
* Only the most fundamental theory names are global, usually the entry |
|
173 |
points to major logic sessions: Pure, Main, Complex_Main, HOLCF, IFOL, |
|
174 |
FOL, ZF, ZFC etc. INCOMPATIBILITY, need to use qualified names for |
|
175 |
formerly global "HOL-Probability.Probability" and "HOL-SPARK.SPARK". |
|
176 |
||
68558
7aae213d9e69
discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents:
68548
diff
changeset
|
177 |
* Global facts need to be closed: no free variables and no hypotheses. |
7aae213d9e69
discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents:
68548
diff
changeset
|
178 |
Rare INCOMPATIBILITY. |
68540 | 179 |
|
68661 | 180 |
* Facts stemming from locale interpretation are subject to lazy |
181 |
evaluation for improved performance. Rare INCOMPATIBILITY: errors |
|
182 |
stemming from interpretation morphisms might be deferred and thus |
|
183 |
difficult to locate; enable system option "strict_facts" temporarily to |
|
184 |
avoid this. |
|
185 |
||
67446 | 186 |
* Marginal comments need to be written exclusively in the new-style form |
187 |
"\<comment> \<open>text\<close>", old ASCII variants like "-- {* ... *}" are no longer |
|
188 |
supported. INCOMPATIBILITY, use the command-line tool "isabelle |
|
189 |
update_comments" to update existing theory files. |
|
190 |
||
67507 | 191 |
* Old-style inner comments (* ... *) within the term language are legacy |
192 |
and will be discontinued soon: use formal comments "\<comment> \<open>...\<close>" or "\<^cancel>\<open>...\<close>" |
|
193 |
instead. |
|
194 |
||
67402 | 195 |
* The "op <infix-op>" syntax for infix operators has been replaced by |
67400 | 196 |
"(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to |
197 |
be a space between the "*" and the corresponding parenthesis. |
|
68543 | 198 |
INCOMPATIBILITY, use the command-line tool "isabelle update_op" to |
199 |
convert theory and ML files to the new syntax. Because it is based on |
|
200 |
regular expression matching, the result may need a bit of manual |
|
201 |
postprocessing. Invoking "isabelle update_op" converts all files in the |
|
202 |
current directory (recursively). In case you want to exclude conversion |
|
203 |
of ML files (because the tool frequently also converts ML's "op" |
|
204 |
syntax), use option "-m". |
|
67398 | 205 |
|
67013
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
206 |
* Theory header 'abbrevs' specifications need to be separated by 'and'. |
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
207 |
INCOMPATIBILITY. |
335a7dce7cb3
more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents:
66994
diff
changeset
|
208 |
|
66757 | 209 |
* Command 'external_file' declares the formal dependency on the given |
210 |
file name, such that the Isabelle build process knows about it, but |
|
211 |
without specific Prover IDE management. |
|
212 |
||
66759 | 213 |
* Session ROOT entries no longer allow specification of 'files'. Rare |
214 |
INCOMPATIBILITY, use command 'external_file' within a proper theory |
|
215 |
context. |
|
216 |
||
66764
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
217 |
* Session root directories may be specified multiple times: each |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
218 |
accessible ROOT file is processed only once. This facilitates |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
219 |
specification of $ISABELLE_HOME_USER/ROOTS or command-line options like |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
220 |
-d or -D for "isabelle build" and "isabelle jedit". Example: |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
221 |
|
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
222 |
isabelle build -D '~~/src/ZF' |
006deaf5c3dc
process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents:
66759
diff
changeset
|
223 |
|
67263 | 224 |
* The command 'display_drafts' has been discontinued. INCOMPATIBILITY, |
225 |
use action "isabelle.draft" (or "print") in Isabelle/jEdit instead. |
|
226 |
||
68393 | 227 |
* In HTML output, the Isabelle symbol "\<hyphen>" is rendered as explicit |
228 |
Unicode hyphen U+2010, to avoid unclear meaning of the old "soft hyphen" |
|
229 |
U+00AD. Rare INCOMPATIBILITY, e.g. copy-paste of historic Isabelle HTML |
|
230 |
output. |
|
67305
ecb74607063f
more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents:
67304
diff
changeset
|
231 |
|
66712 | 232 |
|
67261 | 233 |
*** Isabelle/jEdit Prover IDE *** |
66768 | 234 |
|
68393 | 235 |
* The command-line tool "isabelle jedit" provides more flexible options |
236 |
for session management: |
|
237 |
||
68472 | 238 |
- option -R builds an auxiliary logic image with all theories from |
239 |
other sessions that are not already present in its parent |
|
68393 | 240 |
|
241 |
- option -S is like -R, with a focus on the selected session and its |
|
242 |
descendants (this reduces startup time for big projects like AFP) |
|
243 |
||
68472 | 244 |
- option -A specifies an alternative ancestor session for options -R |
245 |
and -S |
|
246 |
||
68541 | 247 |
- option -i includes additional sessions into the name-space of |
248 |
theories |
|
249 |
||
68393 | 250 |
Examples: |
251 |
isabelle jedit -R HOL-Number_Theory |
|
252 |
isabelle jedit -R HOL-Number_Theory -A HOL |
|
253 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL |
|
254 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis |
|
68541 | 255 |
isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis -i CryptHOL |
68393 | 256 |
|
257 |
* PIDE markup for session ROOT files: allows to complete session names, |
|
258 |
follow links to theories and document files etc. |
|
259 |
||
260 |
* Completion supports theory header imports, using theory base name. |
|
261 |
E.g. "Prob" may be completed to "HOL-Probability.Probability". |
|
262 |
||
263 |
* Named control symbols (without special Unicode rendering) are shown as |
|
264 |
bold-italic keyword. This is particularly useful for the short form of |
|
265 |
antiquotations with control symbol: \<^name>\<open>argument\<close>. The action |
|
266 |
"isabelle.antiquoted_cartouche" turns an antiquotation with 0 or 1 |
|
267 |
arguments into this format. |
|
268 |
||
269 |
* Completion provides templates for named symbols with arguments, |
|
270 |
e.g. "\<comment> \<open>ARGUMENT\<close>" or "\<^emph>\<open>ARGUMENT\<close>". |
|
271 |
||
68368 | 272 |
* Slightly more parallel checking, notably for high priority print |
273 |
functions (e.g. State output). |
|
274 |
||
68080 | 275 |
* The view title is set dynamically, according to the Isabelle |
276 |
distribution and the logic session name. The user can override this via |
|
277 |
set-view-title (stored persistently in $JEDIT_SETTINGS/perspective.xml). |
|
278 |
||
67395
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
279 |
* System options "spell_checker_include" and "spell_checker_exclude" |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
280 |
supersede former "spell_checker_elements" to determine regions of text |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
281 |
that are subject to spell-checking. Minor INCOMPATIBILITY. |
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents:
67381
diff
changeset
|
282 |
|
67248
68177abb2988
isabelle.preview presents bibtex database files as well;
wenzelm
parents:
67246
diff
changeset
|
283 |
* Action "isabelle.preview" is able to present more file formats, |
67266 | 284 |
notably bibtex database files and ML files. |
67246
4cedf44f2af1
isabelle.preview presents auxiliary text files as well;
wenzelm
parents:
67224
diff
changeset
|
285 |
|
67262 | 286 |
* Action "isabelle.draft" is similar to "isabelle.preview", but shows a |
68067 | 287 |
plain-text document draft. Both are available via the menu "Plugins / |
288 |
Isabelle". |
|
67262 | 289 |
|
67304
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
290 |
* When loading text files, the Isabelle symbols encoding UTF-8-Isabelle |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
291 |
is only used if there is no conflict with existing Unicode sequences in |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
292 |
the file. Otherwise, the fallback encoding is plain UTF-8 and Isabelle |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
293 |
symbols remain in literal \<symbol> form. This avoids accidental loss of |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
294 |
Unicode content when saving the file. |
3cf05d7cf174
more robust treatment of conflicts with existing Unicode text;
wenzelm
parents:
67303
diff
changeset
|
295 |
|
68545 | 296 |
* Bibtex database files (.bib) are semantically checked. |
297 |
||
67993 | 298 |
* Update to jedit-5.5.0, the latest release. |
299 |
||
67246
4cedf44f2af1
isabelle.preview presents auxiliary text files as well;
wenzelm
parents:
67224
diff
changeset
|
300 |
|
67261 | 301 |
*** Isabelle/VSCode Prover IDE *** |
302 |
||
303 |
* HTML preview of theories and other file-formats similar to |
|
304 |
Isabelle/jEdit. |
|
305 |
||
68690
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
306 |
* Command-line tool "isabelle vscode_server" accepts the same options |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
307 |
-A, -R, -S, -i for session selection as "isabelle jedit". This is |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
308 |
relevant for isabelle.args configuration settings in VSCode. The former |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
309 |
option -A (explore all known session files) has been discontinued: it is |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
310 |
enabled by default, unless option -S is used to focus on a particular |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
311 |
spot in the session structure. INCOMPATIBILITY. |
354c04092cd0
more flexible session selection as in "isabelle jedit";
wenzelm
parents:
68681
diff
changeset
|
312 |
|
66768 | 313 |
|
67140 | 314 |
*** Document preparation *** |
315 |
||
67448 | 316 |
* Formal comments work uniformly in outer syntax, inner syntax (term |
317 |
language), Isabelle/ML and some other embedded languages of Isabelle. |
|
318 |
See also "Document comments" in the isar-ref manual. The following forms |
|
319 |
are supported: |
|
320 |
||
321 |
- marginal text comment: \<comment> \<open>\<dots>\<close> |
|
322 |
- canceled source: \<^cancel>\<open>\<dots>\<close> |
|
323 |
- raw LaTeX: \<^latex>\<open>\<dots>\<close> |
|
67413 | 324 |
|
67381 | 325 |
* Outside of the inner theory body, the default presentation context is |
326 |
theory Pure. Thus elementary antiquotations may be used in markup |
|
327 |
commands (e.g. 'chapter', 'section', 'text') and formal comments. |
|
328 |
||
68513 | 329 |
* System option "document_tags" specifies alternative command tags. This |
330 |
is occasionally useful to control the global visibility of commands via |
|
331 |
session options (e.g. in ROOT). |
|
67140 | 332 |
|
333 |
* Document markup commands ('section', 'text' etc.) are implicitly |
|
334 |
tagged as "document" and visible by default. This avoids the application |
|
335 |
of option "document_tags" to these commands. |
|
336 |
||
67145 | 337 |
* Isabelle names are mangled into LaTeX macro names to allow the full |
338 |
identifier syntax with underscore, prime, digits. This is relevant for |
|
339 |
antiquotations in control symbol notation, e.g. \<^const_name> becomes |
|
340 |
\isactrlconstUNDERSCOREname. |
|
341 |
||
68393 | 342 |
* Document preparation with skip_proofs option now preserves the content |
343 |
more accurately: only terminal proof steps ('by' etc.) are skipped. |
|
67297
86a099f896fc
formal check of @{cite} bibtex entries -- only in batch-mode session builds;
wenzelm
parents:
67295
diff
changeset
|
344 |
|
68484 | 345 |
* Document antiquotation @{theory name} requires the long |
346 |
session-qualified theory name: this is what users reading the text |
|
347 |
normally need to import. |
|
348 |
||
67219 | 349 |
* Document antiquotation @{session name} checks and prints the given |
350 |
session name verbatim. |
|
351 |
||
68393 | 352 |
* Document antiquotation @{cite} now checks the given Bibtex entries |
353 |
against the Bibtex database files -- only in batch-mode session builds. |
|
67157 | 354 |
|
67176
13b5c3ff1954
re-implemented "isabelle document" in Isabelle/Scala, include latex_errors here;
wenzelm
parents:
67173
diff
changeset
|
355 |
* Command-line tool "isabelle document" has been re-implemented in |
67194
1c0a6a957114
positions as postlude: avoid intrusion of odd %-forms into main tex source;
wenzelm
parents:
67191
diff
changeset
|
356 |
Isabelle/Scala, with simplified arguments and explicit errors from the |
67203 | 357 |
latex and bibtex process. Minor INCOMPATIBILITY. |
67173 | 358 |
|
68393 | 359 |
* Session ROOT entry: empty 'document_files' means there is no document |
360 |
for this session. There is no need to specify options [document = false] |
|
361 |
anymore. |
|
362 |
||
67140 | 363 |
|
67702
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
364 |
*** Isar *** |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
365 |
|
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
366 |
* Command 'interpret' no longer exposes resulting theorems as literal |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
367 |
facts, notably for the \<open>prop\<close> notation or the "fact" proof method. This |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
368 |
improves modularity of proofs and scalability of locale interpretation. |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
369 |
Rare INCOMPATIBILITY, need to refer to explicitly named facts instead |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
370 |
(e.g. use 'find_theorems' or 'try' to figure this out). |
2d9918f5b33c
command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents:
67616
diff
changeset
|
371 |
|
68393 | 372 |
* The old 'def' command has been discontinued (legacy since |
373 |
Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with |
|
374 |
object-logic equality or equivalence. |
|
375 |
||
68543 | 376 |
|
377 |
*** Pure *** |
|
378 |
||
379 |
* The inner syntax category "sort" now includes notation "_" for the |
|
380 |
dummy sort: it is effectively ignored in type-inference. |
|
381 |
||
67740 | 382 |
* Rewrites clauses (keyword 'rewrites') were moved into the locale |
68393 | 383 |
expression syntax, where they are part of locale instances. In |
384 |
interpretation commands rewrites clauses now need to occur before 'for' |
|
68469
aad109fde9ec
In interpretation commands, clarify what to do with definitions immediately subject to rewriting.
ballarin
parents:
68466
diff
changeset
|
385 |
and 'defines'. Rare INCOMPATIBILITY; definitions immediately subject to |
aad109fde9ec
In interpretation commands, clarify what to do with definitions immediately subject to rewriting.
ballarin
parents:
68466
diff
changeset
|
386 |
rewriting may need to be pulled up into the surrounding theory. |
68393 | 387 |
|
388 |
* For 'rewrites' clauses, if activating a locale instance fails, fall |
|
389 |
back to reading the clause first. This helps avoid qualification of |
|
67764 | 390 |
locale instances where the qualifier's sole purpose is avoiding |
391 |
duplicate constant declarations. |
|
67741
d5a7f2c54655
Fall back to reading rewrite morphism first if activation fails without it.
ballarin
parents:
67740
diff
changeset
|
392 |
|
68543 | 393 |
* Proof method "simp" now supports a new modifier "flip:" followed by a |
394 |
list of theorems. Each of these theorems is removed from the simpset |
|
395 |
(without warning if it is not there) and the symmetric version of the |
|
396 |
theorem (i.e. lhs and rhs exchanged) is added to the simpset. For "auto" |
|
397 |
and friends the modifier is "simp flip:". |
|
67718 | 398 |
|
399 |
||
66661 | 400 |
*** HOL *** |
401 |
||
68568 | 402 |
* Sledgehammer: bundled version of "vampire" (for non-commercial users) |
403 |
helps to avoid fragility of "remote_vampire" service. |
|
404 |
||
68028 | 405 |
* Clarified relationship of characters, strings and code generation: |
406 |
||
68393 | 407 |
- Type "char" is now a proper datatype of 8-bit values. |
408 |
||
409 |
- Conversions "nat_of_char" and "char_of_nat" are gone; use more |
|
410 |
general conversions "of_char" and "char_of" with suitable type |
|
411 |
constraints instead. |
|
412 |
||
413 |
- The zero character is just written "CHR 0x00", not "0" any longer. |
|
414 |
||
415 |
- Type "String.literal" (for code generation) is now isomorphic to |
|
416 |
lists of 7-bit (ASCII) values; concrete values can be written as |
|
417 |
"STR ''...''" for sequences of printable characters and "STR 0x..." |
|
418 |
for one single ASCII code point given as hexadecimal numeral. |
|
419 |
||
420 |
- Type "String.literal" supports concatenation "... + ..." for all |
|
421 |
standard target languages. |
|
422 |
||
423 |
- Theory HOL-Library.Code_Char is gone; study the explanations |
|
424 |
concerning "String.literal" in the tutorial on code generation to |
|
425 |
get an idea how target-language string literals can be converted to |
|
426 |
HOL string values and vice versa. |
|
427 |
||
428 |
- Session Imperative-HOL: operation "raise" directly takes a value of |
|
429 |
type "String.literal" as argument, not type "string". |
|
430 |
||
431 |
INCOMPATIBILITY. |
|
432 |
||
433 |
* Code generation: Code generation takes an explicit option |
|
434 |
"case_insensitive" to accomodate case-insensitive file systems. |
|
435 |
||
436 |
* Abstract bit operations as part of Main: push_bit, take_bit, drop_bit. |
|
437 |
||
438 |
* New, more general, axiomatization of complete_distrib_lattice. The |
|
439 |
former axioms: |
|
440 |
||
441 |
"sup x (Inf X) = Inf (sup x ` X)" and "inf x (Sup X) = Sup (inf x ` X)" |
|
442 |
||
443 |
are replaced by: |
|
444 |
||
445 |
"Inf (Sup ` A) <= Sup (Inf ` {f ` A | f . (! Y \<in> A . f Y \<in> Y)})" |
|
446 |
||
447 |
The instantiations of sets and functions as complete_distrib_lattice are |
|
448 |
moved to Hilbert_Choice.thy because their proofs need the Hilbert choice |
|
449 |
operator. The dual of this property is also proved in theory |
|
450 |
HOL.Hilbert_Choice. |
|
67831
07f5588f2735
Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents:
67830
diff
changeset
|
451 |
|
67999
1b05f74f2e5f
tidying up including contributions from Paulo EmÃlio de Vilhena
paulson <lp15@cam.ac.uk>
parents:
67993
diff
changeset
|
452 |
* New syntax for the minimum/maximum of a function over a finite set: |
68393 | 453 |
MIN x\<in>A. B and even MIN x. B (only useful for finite types), also MAX. |
67999
1b05f74f2e5f
tidying up including contributions from Paulo EmÃlio de Vilhena
paulson <lp15@cam.ac.uk>
parents:
67993
diff
changeset
|
454 |
|
67525
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
455 |
* Clarifed theorem names: |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
456 |
|
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
457 |
Min.antimono ~> Min.subset_imp |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
458 |
Max.antimono ~> Max.subset_imp |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
459 |
|
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
460 |
Minor INCOMPATIBILITY. |
5d04d7bcd5f6
avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents:
67510
diff
changeset
|
461 |
|
66661 | 462 |
* SMT module: |
68393 | 463 |
|
66661 | 464 |
- The 'smt_oracle' option is now necessary when using the 'smt' method |
66662 | 465 |
with a solver other than Z3. INCOMPATIBILITY. |
68393 | 466 |
|
66844 | 467 |
- The encoding to first-order logic is now more complete in the |
468 |
presence of higher-order quantifiers. An 'smt_explicit_application' |
|
469 |
option has been added to control this. INCOMPATIBILITY. |
|
470 |
||
66804
3f9bb52082c4
avoid name clashes on interpretation of abstract locales
haftmann
parents:
66803
diff
changeset
|
471 |
* Facts sum.commute(_restrict) and prod.commute(_restrict) renamed to |
66844 | 472 |
sum.swap(_restrict) and prod.swap(_restrict), to avoid name clashes on |
473 |
interpretation of abstract locales. INCOMPATIBILITY. |
|
66804
3f9bb52082c4
avoid name clashes on interpretation of abstract locales
haftmann
parents:
66803
diff
changeset
|
474 |
|
68393 | 475 |
* Predicate coprime is now a real definition, not a mere abbreviation. |
476 |
INCOMPATIBILITY. |
|
477 |
||
66803 | 478 |
* Predicate pairwise_coprime abolished, use "pairwise coprime" instead. |
479 |
INCOMPATIBILITY. |
|
480 |
||
68373 | 481 |
* The relator rel_filter on filters has been strengthened to its |
68393 | 482 |
canonical categorical definition with better properties. |
483 |
INCOMPATIBILITY. |
|
67616
1d005f514417
strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents:
67591
diff
changeset
|
484 |
|
68072
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
485 |
* Generalized linear algebra involving linear, span, dependent, dim |
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
486 |
from type class real_vector to locales module and vector_space. |
493b818e8e10
added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents:
67999
diff
changeset
|
487 |
Renamed: |
68393 | 488 |
|
489 |
span_inc ~> span_superset |
|
490 |
span_superset ~> span_base |
|
491 |
span_eq ~> span_eq_iff |
|
492 |
||
493 |
INCOMPATIBILITY. |
|
66844 | 494 |
|
66937 | 495 |
* Class linordered_semiring_1 covers zero_less_one also, ruling out |
496 |
pathologic instances. Minor INCOMPATIBILITY. |
|
497 |
||
68393 | 498 |
* Theory HOL.List: functions "sorted_wrt" and "sorted" now compare every |
499 |
element in a list to all following elements, not just the next one. |
|
500 |
||
501 |
* Theory HOL.List syntax: |
|
502 |
||
503 |
- filter-syntax "[x <- xs. P]" is no longer output syntax, but only |
|
504 |
input syntax |
|
505 |
||
506 |
- list comprehension syntax now supports tuple patterns in "pat <- xs" |
|
68249
949d93804740
First step to remove nonstandard "[x <- xs. P]" syntax: only input
nipkow
parents:
68246
diff
changeset
|
507 |
|
68450 | 508 |
* Theory Map: "empty" must now be qualified as "Map.empty". |
509 |
||
67051 | 510 |
* Removed nat-int transfer machinery. Rare INCOMPATIBILITY. |
511 |
||
68100 | 512 |
* Fact mod_mult_self4 (on nat) renamed to Suc_mod_mult_self3, to avoid |
513 |
clash with fact mod_mult_self4 (on more generic semirings). |
|
514 |
INCOMPATIBILITY. |
|
515 |
||
516 |
* Eliminated some theorem aliasses: |
|
517 |
even_times_iff ~> even_mult_iff |
|
518 |
mod_2_not_eq_zero_eq_one_nat ~> not_mod_2_eq_0_eq_1 |
|
519 |
even_of_nat ~> even_int_iff |
|
520 |
||
521 |
INCOMPATIBILITY. |
|
522 |
||
68157 | 523 |
* Eliminated some theorem duplicate variations: |
68393 | 524 |
|
525 |
- dvd_eq_mod_eq_0_numeral can be replaced by dvd_eq_mod_eq_0 |
|
526 |
- mod_Suc_eq_Suc_mod can be replaced by mod_Suc |
|
527 |
- mod_Suc_eq_Suc_mod [symmetrict] can be replaced by mod_simps |
|
528 |
- mod_eq_0_iff can be replaced by mod_eq_0_iff_dvd and dvd_def |
|
529 |
- the witness of mod_eqD can be given directly as "_ div _" |
|
68157 | 530 |
|
531 |
INCOMPATIBILITY. |
|
532 |
||
68260 | 533 |
* Classical setup: Assumption "m mod d = 0" (for m d :: nat) is no |
68393 | 534 |
longer aggresively destroyed to "\<exists>q. m = d * q". INCOMPATIBILITY, adding |
535 |
"elim!: dvd" to classical proof methods in most situations restores |
|
536 |
broken proofs. |
|
537 |
||
538 |
* Theory HOL-Library.Conditional_Parametricity provides command |
|
539 |
'parametric_constant' for proving parametricity of non-recursive |
|
540 |
definitions. For constants that are not fully parametric the command |
|
541 |
will infer conditions on relations (e.g., bi_unique, bi_total, or type |
|
542 |
class conditions such as "respects 0") sufficient for parametricity. See |
|
543 |
theory HOL-ex.Conditional_Parametricity_Examples for some examples. |
|
544 |
||
545 |
* Theory HOL-Library.Code_Lazy provides a new preprocessor for the code |
|
546 |
generator to generate code for algebraic types with lazy evaluation |
|
68639 | 547 |
semantics even in call-by-value target languages. See the theories |
68647 | 548 |
HOL-ex.Code_Lazy_Demo and HOL-Codegenerator_Test.Code_Lazy_Test for some |
549 |
examples. |
|
68393 | 550 |
|
551 |
* Theory HOL-Library.Landau_Symbols has been moved here from AFP. |
|
552 |
||
553 |
* Theory HOL-Library.Old_Datatype no longer provides the legacy command |
|
554 |
'old_datatype'. INCOMPATIBILITY. |
|
555 |
||
556 |
* Theory HOL-Computational_Algebra.Polynomial_Factorial does not provide |
|
557 |
instances of rat, real, complex as factorial rings etc. Import |
|
558 |
HOL-Computational_Algebra.Field_as_Ring explicitly in case of need. |
|
559 |
INCOMPATIBILITY. |
|
560 |
||
561 |
* Session HOL-Algebra: renamed (^) to [^] to avoid conflict with new |
|
562 |
infix/prefix notation. |
|
563 |
||
68543 | 564 |
* Session HOL-Algebra: revamped with much new material. The set of |
565 |
isomorphisms between two groups is now denoted iso rather than iso_set. |
|
566 |
INCOMPATIBILITY. |
|
567 |
||
568 |
* Session HOL-Analysis: the Arg function now respects the same interval |
|
569 |
as Ln, namely (-pi,pi]; the old Arg function has been renamed Arg2pi. |
|
68499
d4312962161a
Rationalisation of complex transcendentals, esp the Arg function
paulson <lp15@cam.ac.uk>
parents:
68484
diff
changeset
|
570 |
INCOMPATIBILITY. |
d4312962161a
Rationalisation of complex transcendentals, esp the Arg function
paulson <lp15@cam.ac.uk>
parents:
68484
diff
changeset
|
571 |
|
68548 | 572 |
* Session HOL-Analysis: the functions zorder, zer_poly, porder and |
573 |
pol_poly have been redefined. All related lemmas have been reworked. |
|
68531 | 574 |
INCOMPATIBILITY. |
575 |
||
68393 | 576 |
* Session HOL-Analysis: infinite products, Moebius functions, the |
577 |
Riemann mapping theorem, the Vitali covering theorem, |
|
578 |
change-of-variables results for integration and measures. |
|
68260 | 579 |
|
68647 | 580 |
* Session HOL-Real_Asymp: proof method "real_asymp" proves asymptotics |
581 |
or real-valued functions (limits, "Big-O", etc.) automatically. |
|
68681 | 582 |
See also ~~/src/HOL/Real_Asymp/Manual for some documentation. |
68647 | 583 |
|
68545 | 584 |
* Session HOL-Types_To_Sets: more tool support (unoverload_type combines |
585 |
internalize_sorts and unoverload) and larger experimental application |
|
586 |
(type based linear algebra transferred to linear algebra on subspaces). |
|
68522
d9cbc1e8644d
example for Types_To_Sets: transfer from type-based linear algebra to subspaces
immler
parents:
68515
diff
changeset
|
587 |
|
66651 | 588 |
|
68116 | 589 |
*** ML *** |
590 |
||
591 |
* Operation Export.export emits theory exports (arbitrary blobs), which |
|
592 |
are stored persistently in the session build database. |
|
593 |
||
68276 | 594 |
* Command 'ML_export' exports ML toplevel bindings to the global |
595 |
bootstrap environment of the ML process. This allows ML evaluation |
|
596 |
without a formal theory context, e.g. in command-line tools like |
|
597 |
"isabelle process". |
|
598 |
||
68116 | 599 |
|
66729 | 600 |
*** System *** |
601 |
||
67088 | 602 |
* Mac OS X 10.10 Yosemite is now the baseline version; Mavericks is no |
603 |
longer supported. |
|
604 |
||
68393 | 605 |
* Linux and Windows/Cygwin is for x86_64 only, old 32bit platform |
606 |
support has been discontinued. |
|
607 |
||
66906 | 608 |
* Java runtime is for x86_64 only. Corresponding Isabelle settings have |
609 |
been renamed to ISABELLE_TOOL_JAVA_OPTIONS and JEDIT_JAVA_OPTIONS, |
|
610 |
instead of former 32/64 variants. INCOMPATIBILITY. |
|
611 |
||
68003 | 612 |
* Old settings ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM should be |
613 |
phased out due to unclear preference of 32bit vs. 64bit architecture. |
|
614 |
Explicit GNU bash expressions are now preferred, for example (with |
|
615 |
quotes): |
|
616 |
||
617 |
#Posix executables (Unix or Cygwin), with preference for 64bit |
|
618 |
"${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}" |
|
619 |
||
620 |
#native Windows or Unix executables, with preference for 64bit |
|
621 |
"${ISABELLE_WINDOWS_PLATFORM64:-${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}}" |
|
622 |
||
623 |
#native Windows (32bit) or Unix executables (preference for 64bit) |
|
624 |
"${ISABELLE_WINDOWS_PLATFORM32:-${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}}" |
|
625 |
||
66745 | 626 |
* Command-line tool "isabelle build" supports new options: |
627 |
- option -B NAME: include session NAME and all descendants |
|
628 |
- option -S: only observe changes of sources, not heap images |
|
66841 | 629 |
- option -f: forces a fresh build |
66737
2edc0c42c883
option -B for "isabelle build" and "isabelle imports";
wenzelm
parents:
66729
diff
changeset
|
630 |
|
68734
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
631 |
* Command-line tool "isabelle build" options -c -x -B refer to |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
632 |
descendants wrt. the session parent or import graph. Subtle |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
633 |
INCOMPATIBILITY: options -c -x used to refer to the session parent graph |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
634 |
only. |
c14a2cc9b5ef
isabelle build options -c -x -B refer to imports_graph;
wenzelm
parents:
68690
diff
changeset
|
635 |
|
66843 | 636 |
* Command-line tool "isabelle build" takes "condition" options with the |
637 |
corresponding environment values into account, when determining the |
|
638 |
up-to-date status of a session. |
|
639 |
||
68393 | 640 |
* The command-line tool "dump" dumps information from the cumulative |
641 |
PIDE session database: many sessions may be loaded into a given logic |
|
642 |
image, results from all loaded theories are written to the output |
|
643 |
directory. |
|
644 |
||
66851
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
645 |
* Command-line tool "isabelle imports -I" also reports actual session |
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
646 |
imports. This helps to minimize the session dependency graph. |
c75769065548
more informative Imports.Report with actual session imports (minimized);
wenzelm
parents:
66844
diff
changeset
|
647 |
|
68393 | 648 |
* The command-line tool "export" and 'export_files' in session ROOT |
649 |
entries retrieve theory exports from the session build database. |
|
650 |
||
651 |
* The command-line tools "isabelle server" and "isabelle client" provide |
|
652 |
access to the Isabelle Server: it supports responsive session management |
|
653 |
and concurrent use of theories, based on Isabelle/PIDE infrastructure. |
|
654 |
See also the "system" manual. |
|
655 |
||
656 |
* The command-line tool "isabelle update_comments" normalizes formal |
|
657 |
comments in outer syntax as follows: \<comment> \<open>text\<close> (whith a single space to |
|
658 |
approximate the appearance in document output). This is more specific |
|
659 |
than former "isabelle update_cartouches -c": the latter tool option has |
|
660 |
been discontinued. |
|
661 |
||
662 |
* The command-line tool "isabelle mkroot" now always produces a document |
|
663 |
outline: its options have been adapted accordingly. INCOMPATIBILITY. |
|
664 |
||
665 |
* The command-line tool "isabelle mkroot -I" initializes a Mercurial |
|
666 |
repository for the generated session files. |
|
667 |
||
68523
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
668 |
* Settings ISABELLE_HEAPS + ISABELLE_BROWSER_INFO (or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
669 |
ISABELLE_HEAPS_SYSTEM + ISABELLE_BROWSER_INFO_SYSTEM in "system build |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
670 |
mode") determine the directory locations of the main build artefacts -- |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
671 |
instead of hard-wired directories in ISABELLE_HOME_USER (or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
672 |
ISABELLE_HOME). |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
673 |
|
68393 | 674 |
* Settings ISABELLE_PATH and ISABELLE_OUTPUT have been discontinued: |
675 |
heap images and session databases are always stored in |
|
68523
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
676 |
$ISABELLE_HEAPS/$ML_IDENTIFIER (command-line default) or |
ccacc84e0251
clarified settings -- avoid hard-wired directories;
wenzelm
parents:
68522
diff
changeset
|
677 |
$ISABELLE_HEAPS_SYSTEM/$ML_IDENTIFIER (main Isabelle application or |
68393 | 678 |
"isabelle jedit -s" or "isabelle build -s"). |
67099 | 679 |
|
67199 | 680 |
* ISABELLE_LATEX and ISABELLE_PDFLATEX now include platform-specific |
681 |
options for improved error reporting. Potential INCOMPATIBILITY with |
|
682 |
unusual LaTeX installations, may have to adapt these settings. |
|
683 |
||
68393 | 684 |
* Update to Poly/ML 5.7.1 with slightly improved performance and PIDE |
685 |
markup for identifier bindings. It now uses The GNU Multiple Precision |
|
67591 | 686 |
Arithmetic Library (libgmp) on all platforms, notably Mac OS X with |
687 |
32/64 bit. |
|
688 |
||
67099 | 689 |
|
66729 | 690 |
|
66472 | 691 |
New in Isabelle2017 (October 2017) |
692 |
---------------------------------- |
|
64439 | 693 |
|
64986 | 694 |
*** General *** |
695 |
||
66238 | 696 |
* Experimental support for Visual Studio Code (VSCode) as alternative |
697 |
Isabelle/PIDE front-end, see also |
|
66599 | 698 |
https://marketplace.visualstudio.com/items?itemName=makarius.Isabelle2017 |
66238 | 699 |
|
700 |
VSCode is a new type of application that continues the concepts of |
|
701 |
"programmer's editor" and "integrated development environment" towards |
|
702 |
fully semantic editing and debugging -- in a relatively light-weight |
|
703 |
manner. Thus it fits nicely on top of the Isabelle/PIDE infrastructure. |
|
704 |
Technically, VSCode is based on the Electron application framework |
|
705 |
(Node.js + Chromium browser + V8), which is implemented in JavaScript |
|
706 |
and TypeScript, while Isabelle/VSCode mainly consists of Isabelle/Scala |
|
707 |
modules around a Language Server implementation. |
|
708 |
||
65504 | 709 |
* Theory names are qualified by the session name that they belong to. |
66454 | 710 |
This affects imports, but not the theory name space prefix (which is |
711 |
just the theory base name as before). |
|
712 |
||
713 |
In order to import theories from other sessions, the ROOT file format |
|
714 |
provides a new 'sessions' keyword. In contrast, a theory that is |
|
715 |
imported in the old-fashioned manner via an explicit file-system path |
|
66472 | 716 |
belongs to the current session, and might cause theory name conflicts |
66454 | 717 |
later on. Theories that are imported from other sessions are excluded |
718 |
from the current session document. The command-line tool "isabelle |
|
719 |
imports" helps to update theory imports. |
|
720 |
||
65451 | 721 |
* The main theory entry points for some non-HOL sessions have changed, |
722 |
to avoid confusion with the global name "Main" of the session HOL. This |
|
723 |
leads to the follow renamings: |
|
724 |
||
725 |
CTT/Main.thy ~> CTT/CTT.thy |
|
726 |
ZF/Main.thy ~> ZF/ZF.thy |
|
727 |
ZF/Main_ZF.thy ~> ZF/ZF.thy |
|
728 |
ZF/Main_ZFC.thy ~> ZF/ZFC.thy |
|
729 |
ZF/ZF.thy ~> ZF/ZF_Base.thy |
|
730 |
||
731 |
INCOMPATIBILITY. |
|
732 |
||
66472 | 733 |
* Commands 'alias' and 'type_alias' introduce aliases for constants and |
734 |
type constructors, respectively. This allows adhoc changes to name-space |
|
735 |
accesses within global or local theory contexts, e.g. within a 'bundle'. |
|
736 |
||
64986 | 737 |
* Document antiquotations @{prf} and @{full_prf} output proof terms |
738 |
(again) in the same way as commands 'prf' and 'full_prf'. |
|
739 |
||
65055 | 740 |
* Computations generated by the code generator can be embedded directly |
741 |
into ML, alongside with @{code} antiquotations, using the following |
|
742 |
antiquotations: |
|
743 |
||
744 |
@{computation ... terms: ... datatypes: ...} : |
|
745 |
((term -> term) -> 'ml option -> 'a) -> Proof.context -> term -> 'a |
|
746 |
@{computation_conv ... terms: ... datatypes: ...} : |
|
747 |
(Proof.context -> 'ml -> conv) -> Proof.context -> conv |
|
65045
b69ef432438d
avoid Unicode that conflicts with Isabelle symbol rendering;
wenzelm
parents:
65042
diff
changeset
|
748 |
@{computation_check terms: ... datatypes: ...} : Proof.context -> conv |
65041 | 749 |
|
65055 | 750 |
See src/HOL/ex/Computations.thy, |
751 |
src/HOL/Decision_Procs/Commutative_Ring.thy and |
|
752 |
src/HOL/Decision_Procs/Reflective_Field.thy for examples and the |
|
753 |
tutorial on code generation. |
|
65041 | 754 |
|
64986 | 755 |
|
64602 | 756 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
757 |
||
66472 | 758 |
* Session-qualified theory imports allow the Prover IDE to process |
759 |
arbitrary theory hierarchies independently of the underlying logic |
|
760 |
session image (e.g. option "isabelle jedit -l"), but the directory |
|
761 |
structure needs to be known in advance (e.g. option "isabelle jedit -d" |
|
762 |
or a line in the file $ISABELLE_HOME_USER/ROOTS). |
|
64602 | 763 |
|
64842 | 764 |
* The PIDE document model maintains file content independently of the |
765 |
status of jEdit editor buffers. Reloading jEdit buffers no longer causes |
|
766 |
changes of formal document content. Theory dependencies are always |
|
767 |
resolved internally, without the need for corresponding editor buffers. |
|
768 |
The system option "jedit_auto_load" has been discontinued: it is |
|
769 |
effectively always enabled. |
|
770 |
||
64867 | 771 |
* The Theories dockable provides a "Purge" button, in order to restrict |
772 |
the document model to theories that are required for open editor |
|
773 |
buffers. |
|
774 |
||
66424 | 775 |
* The Theories dockable indicates the overall status of checking of each |
776 |
entry. When all forked tasks of a theory are finished, the border is |
|
777 |
painted with thick lines; remaining errors in this situation are |
|
778 |
represented by a different border color. |
|
779 |
||
66472 | 780 |
* Automatic indentation is more careful to avoid redundant spaces in |
781 |
intermediate situations. Keywords are indented after input (via typed |
|
782 |
characters or completion); see also option "jedit_indent_input". |
|
783 |
||
784 |
* Action "isabelle.preview" opens an HTML preview of the current theory |
|
785 |
document in the default web browser. |
|
786 |
||
66574
e16b27bd3f76
reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents:
66563
diff
changeset
|
787 |
* Command-line invocation "isabelle jedit -R -l LOGIC" opens the ROOT |
e16b27bd3f76
reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents:
66563
diff
changeset
|
788 |
entry of the specified logic session in the editor, while its parent is |
e16b27bd3f76
reverted 6acb28e5ba41: permissiveness of 1e5ae735e026 should be sufficient;
wenzelm
parents:
66563
diff
changeset
|
789 |
used for formal checking. |
66472 | 790 |
|
66462 | 791 |
* The main Isabelle/jEdit plugin may be restarted manually (using the |
792 |
jEdit Plugin Manager), as long as the "Isabelle Base" plugin remains |
|
793 |
enabled at all times. |
|
794 |
||
66472 | 795 |
* Update to current jedit-5.4.0. |
65329 | 796 |
|
64602 | 797 |
|
66149
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
798 |
*** Pure *** |
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
799 |
|
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
800 |
* Deleting the last code equations for a particular function using |
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
801 |
[code del] results in function with no equations (runtime abort) rather |
66472 | 802 |
than an unimplemented function (generation time abort). Use explicit |
66665 | 803 |
[[code drop:]] to enforce the latter. Minor INCOMPATIBILITY. |
66149
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
804 |
|
66310
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
805 |
* Proper concept of code declarations in code.ML: |
66472 | 806 |
- Regular code declarations act only on the global theory level, being |
807 |
ignored with warnings if syntactically malformed. |
|
808 |
- Explicitly global code declarations yield errors if syntactically |
|
809 |
malformed. |
|
810 |
- Default code declarations are silently ignored if syntactically |
|
811 |
malformed. |
|
66310
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
812 |
Minor INCOMPATIBILITY. |
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
813 |
|
66472 | 814 |
* Clarified and standardized internal data bookkeeping of code |
815 |
declarations: history of serials allows to track potentially |
|
816 |
non-monotonous declarations appropriately. Minor INCOMPATIBILITY. |
|
66310
e8d2862ec203
simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
haftmann
parents:
66298
diff
changeset
|
817 |
|
66149
4bf16fb7c14d
deleting a code equation never leads to unimplemented function
haftmann
parents:
66135
diff
changeset
|
818 |
|
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
819 |
*** HOL *** |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
820 |
|
66614
1f1c5d85d232
moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents:
66599
diff
changeset
|
821 |
* The Nunchaku model finder is now part of "Main". |
1f1c5d85d232
moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents:
66599
diff
changeset
|
822 |
|
66472 | 823 |
* SMT module: |
824 |
- A new option, 'smt_nat_as_int', has been added to translate 'nat' to |
|
825 |
'int' and benefit from the SMT solver's theory reasoning. It is |
|
826 |
disabled by default. |
|
827 |
- The legacy module "src/HOL/Library/Old_SMT.thy" has been removed. |
|
828 |
- Several small issues have been rectified in the 'smt' command. |
|
829 |
||
830 |
* (Co)datatype package: The 'size_gen_o_map' lemma is no longer |
|
831 |
generated for datatypes with type class annotations. As a result, the |
|
832 |
tactic that derives it no longer fails on nested datatypes. Slight |
|
833 |
INCOMPATIBILITY. |
|
66450
a8299195ed82
NEWS: Removed constant subseq; subsumed by strict_mono
eberlm <eberlm@in.tum.de>
parents:
66449
diff
changeset
|
834 |
|
66345
882abe912da9
do not fall back on nbe if plain evaluation fails
haftmann
parents:
66310
diff
changeset
|
835 |
* Command and antiquotation "value" with modified default strategy: |
882abe912da9
do not fall back on nbe if plain evaluation fails
haftmann
parents:
66310
diff
changeset
|
836 |
terms without free variables are always evaluated using plain evaluation |
66472 | 837 |
only, with no fallback on normalization by evaluation. Minor |
838 |
INCOMPATIBILITY. |
|
65956
639eb3617a86
reorganised material on sublists
eberlm <eberlm@in.tum.de>
parents:
65841
diff
changeset
|
839 |
|
65552
f533820e7248
theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents:
65544
diff
changeset
|
840 |
* Theories "GCD" and "Binomial" are already included in "Main" (instead |
65575 | 841 |
of "Complex_Main"). |
65552
f533820e7248
theories "GCD" and "Binomial" are already included in "Main": this avoids improper imports in applications;
wenzelm
parents:
65544
diff
changeset
|
842 |
|
65170
53675f36820d
restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents:
65099
diff
changeset
|
843 |
* Constant "surj" is a full input/output abbreviation (again). |
53675f36820d
restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents:
65099
diff
changeset
|
844 |
Minor INCOMPATIBILITY. |
53675f36820d
restored surj as output abbreviation, amending 6af79184bef3
haftmann
parents:
65099
diff
changeset
|
845 |
|
64632 | 846 |
* Dropped aliasses RangeP, DomainP for Rangep, Domainp respectively. |
847 |
INCOMPATIBILITY. |
|
848 |
||
66472 | 849 |
* Renamed ii to imaginary_unit in order to free up ii as a variable |
850 |
name. The syntax \<i> remains available. INCOMPATIBILITY. |
|
851 |
||
852 |
* Dropped abbreviations transP, antisymP, single_valuedP; use constants |
|
853 |
transp, antisymp, single_valuedp instead. INCOMPATIBILITY. |
|
854 |
||
855 |
* Constant "subseq" in Topological_Spaces has been removed -- it is |
|
856 |
subsumed by "strict_mono". Some basic lemmas specific to "subseq" have |
|
857 |
been renamed accordingly, e.g. "subseq_o" -> "strict_mono_o" etc. |
|
858 |
||
859 |
* Theory List: "sublist" renamed to "nths" in analogy with "nth", and |
|
860 |
"sublisteq" renamed to "subseq". Minor INCOMPATIBILITY. |
|
861 |
||
862 |
* Theory List: new generic function "sorted_wrt". |
|
863 |
||
864 |
* Named theorems mod_simps covers various congruence rules concerning |
|
865 |
mod, replacing former zmod_simps. INCOMPATIBILITY. |
|
64787 | 866 |
|
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
867 |
* Swapped orientation of congruence rules mod_add_left_eq, |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
868 |
mod_add_right_eq, mod_add_eq, mod_mult_left_eq, mod_mult_right_eq, |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
869 |
mod_mult_eq, mod_minus_eq, mod_diff_left_eq, mod_diff_right_eq, |
66472 | 870 |
mod_diff_eq. INCOMPATIBILITY. |
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
871 |
|
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
872 |
* Generalized some facts: |
64876 | 873 |
measure_induct_rule |
874 |
measure_induct |
|
64593
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
875 |
zminus_zmod ~> mod_minus_eq |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
876 |
zdiff_zmod_left ~> mod_diff_left_eq |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
877 |
zdiff_zmod_right ~> mod_diff_right_eq |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
878 |
zmod_eq_dvd_iff ~> mod_eq_dvd_iff |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
879 |
INCOMPATIBILITY. |
50c715579715
reoriented congruence rules in non-explosive direction
haftmann
parents:
64555
diff
changeset
|
880 |
|
66472 | 881 |
* Algebraic type class hierarchy of euclidean (semi)rings in HOL: |
882 |
euclidean_(semi)ring, euclidean_(semi)ring_cancel, |
|
883 |
unique_euclidean_(semi)ring; instantiation requires provision of a |
|
884 |
euclidean size. |
|
885 |
||
886 |
* Theory "HOL-Number_Theory.Euclidean_Algorithm" has been reworked: |
|
887 |
- Euclidean induction is available as rule eucl_induct. |
|
888 |
- Constants Euclidean_Algorithm.gcd, Euclidean_Algorithm.lcm, |
|
889 |
Euclidean_Algorithm.Gcd and Euclidean_Algorithm.Lcm allow |
|
890 |
easy instantiation of euclidean (semi)rings as GCD (semi)rings. |
|
891 |
- Coefficients obtained by extended euclidean algorithm are |
|
892 |
available as "bezout_coefficients". |
|
893 |
INCOMPATIBILITY. |
|
894 |
||
895 |
* Theory "Number_Theory.Totient" introduces basic notions about Euler's |
|
896 |
totient function previously hidden as solitary example in theory |
|
897 |
Residues. Definition changed so that "totient 1 = 1" in agreement with |
|
898 |
the literature. Minor INCOMPATIBILITY. |
|
899 |
||
66542 | 900 |
* New styles in theory "HOL-Library.LaTeXsugar": |
66541 | 901 |
- "dummy_pats" for printing equations with "_" on the lhs; |
902 |
- "eta_expand" for printing eta-expanded terms. |
|
903 |
||
66472 | 904 |
* Theory "HOL-Library.Permutations": theorem bij_swap_ompose_bij has |
905 |
been renamed to bij_swap_compose_bij. INCOMPATIBILITY. |
|
906 |
||
66643
f7e38b8583a0
Correction of typos and a bit of streamlining
paulson <lp15@cam.ac.uk>
parents:
66641
diff
changeset
|
907 |
* New theory "HOL-Library.Going_To_Filter" providing the "f going_to F" |
66488
9d83e8fe3de3
HOL-Library: going_to filter
Manuel Eberl <eberlm@in.tum.de>
parents:
66481
diff
changeset
|
908 |
filter for describing points x such that f(x) is in the filter F. |
9d83e8fe3de3
HOL-Library: going_to filter
Manuel Eberl <eberlm@in.tum.de>
parents:
66481
diff
changeset
|
909 |
|
66480
4b8d1df8933b
HOL-Analysis: Convergent FPS and infinite sums
Manuel Eberl <eberlm@in.tum.de>
parents:
66474
diff
changeset
|
910 |
* Theory "HOL-Library.Formal_Power_Series": constants X/E/L/F have been |
4b8d1df8933b
HOL-Analysis: Convergent FPS and infinite sums
Manuel Eberl <eberlm@in.tum.de>
parents:
66474
diff
changeset
|
911 |
renamed to fps_X/fps_exp/fps_ln/fps_hypergeo to avoid polluting the name |
66472 | 912 |
space. INCOMPATIBILITY. |
913 |
||
914 |
* Theory "HOL-Library.FinFun" has been moved to AFP (again). |
|
915 |
INCOMPATIBILITY. |
|
916 |
||
917 |
* Theory "HOL-Library.FuncSet": some old and rarely used ASCII |
|
918 |
replacement syntax has been removed. INCOMPATIBILITY, standard syntax |
|
919 |
with symbols should be used instead. The subsequent commands help to |
|
920 |
reproduce the old forms, e.g. to simplify porting old theories: |
|
921 |
||
922 |
syntax (ASCII) |
|
923 |
"_PiE" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set" ("(3PIE _:_./ _)" 10) |
|
924 |
"_Pi" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b set \<Rightarrow> ('a \<Rightarrow> 'b) set" ("(3PI _:_./ _)" 10) |
|
925 |
"_lam" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'a \<Rightarrow> 'b \<Rightarrow> ('a \<Rightarrow> 'b)" ("(3%_:_./ _)" [0,0,3] 3) |
|
926 |
||
927 |
* Theory "HOL-Library.Multiset": the simprocs on subsets operators of |
|
928 |
multisets have been renamed: |
|
929 |
||
930 |
msetless_cancel_numerals ~> msetsubset_cancel |
|
931 |
msetle_cancel_numerals ~> msetsubset_eq_cancel |
|
932 |
||
933 |
INCOMPATIBILITY. |
|
934 |
||
66481
d35f7a9f92e2
output syntax for pattern aliases
Lars Hupel <lars.hupel@mytum.de>
parents:
66480
diff
changeset
|
935 |
* Theory "HOL-Library.Pattern_Aliases" provides input and output syntax |
d35f7a9f92e2
output syntax for pattern aliases
Lars Hupel <lars.hupel@mytum.de>
parents:
66480
diff
changeset
|
936 |
for pattern aliases as known from Haskell, Scala and ML. |
65515 | 937 |
|
66563 | 938 |
* Theory "HOL-Library.Uprod" formalizes the type of unordered pairs. |
939 |
||
64898 | 940 |
* Session HOL-Analysis: more material involving arcs, paths, covering |
66650 | 941 |
spaces, innessential maps, retracts, infinite products, simplicial |
942 |
complexes. Baire Category theorem. Major results include the Jordan |
|
943 |
Curve Theorem and the Great Picard Theorem. |
|
66472 | 944 |
|
945 |
* Session HOL-Algebra has been extended by additional lattice theory: |
|
946 |
the Knaster-Tarski fixed point theorem and Galois Connections. |
|
947 |
||
948 |
* Sessions HOL-Computational_Algebra and HOL-Number_Theory: new notions |
|
949 |
of squarefreeness, n-th powers, and prime powers. |
|
950 |
||
951 |
* Session "HOL-Computional_Algebra" covers many previously scattered |
|
952 |
theories, notably Euclidean_Algorithm, Factorial_Ring, |
|
953 |
Formal_Power_Series, Fraction_Field, Fundamental_Theorem_Algebra, |
|
954 |
Normalized_Fraction, Polynomial_FPS, Polynomial, Primes. Minor |
|
955 |
INCOMPATIBILITY. |
|
65027
2b8583507891
renaming multiset simprocs
fleury <Mathias.Fleury@mpi-inf.mpg.de>
parents:
64986
diff
changeset
|
956 |
|
60331 | 957 |
|
64844 | 958 |
*** System *** |
959 |
||
66474 | 960 |
* Isabelle/Scala: the SQL module supports access to relational |
961 |
databases, either as plain file (SQLite) or full-scale server |
|
962 |
(PostgreSQL via local port or remote ssh connection). |
|
963 |
||
964 |
* Results of "isabelle build" are recorded as SQLite database (i.e. |
|
965 |
"Application File Format" in the sense of |
|
966 |
https://www.sqlite.org/appfileformat.html). This allows systematic |
|
967 |
access via operations from module Sessions.Store in Isabelle/Scala. |
|
968 |
||
66472 | 969 |
* System option "parallel_proofs" is 1 by default (instead of more |
970 |
aggressive 2). This requires less heap space and avoids burning parallel |
|
971 |
CPU cycles, while full subproof parallelization is enabled for repeated |
|
972 |
builds (according to parallel_subproofs_threshold). |
|
65072 | 973 |
|
65448
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
974 |
* System option "record_proofs" allows to change the global |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
975 |
Proofterm.proofs variable for a session. Regular values are are 0, 1, 2; |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
976 |
a negative value means the current state in the ML heap image remains |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
977 |
unchanged. |
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
wenzelm
parents:
65417
diff
changeset
|
978 |
|
66472 | 979 |
* Isabelle settings variable ISABELLE_SCALA_BUILD_OPTIONS has been |
980 |
renamed to ISABELLE_SCALAC_OPTIONS. Rare INCOMPATIBILITY. |
|
981 |
||
982 |
* Isabelle settings variables ISABELLE_WINDOWS_PLATFORM, |
|
983 |
ISABELLE_WINDOWS_PLATFORM32, ISABELLE_WINDOWS_PLATFORM64 indicate the |
|
984 |
native Windows platform (independently of the Cygwin installation). This |
|
985 |
is analogous to ISABELLE_PLATFORM, ISABELLE_PLATFORM32, |
|
986 |
ISABELLE_PLATFORM64. |
|
65557 | 987 |
|
66786 | 988 |
* Command-line tool "isabelle build_docker" builds a Docker image from |
989 |
the Isabelle application bundle for Linux. See also |
|
990 |
https://hub.docker.com/r/makarius/isabelle |
|
991 |
||
66473 | 992 |
* Command-line tool "isabelle vscode_server" provides a Language Server |
993 |
Protocol implementation, e.g. for the Visual Studio Code editor. It |
|
994 |
serves as example for alternative PIDE front-ends. |
|
995 |
||
66472 | 996 |
* Command-line tool "isabelle imports" helps to maintain theory imports |
66671 | 997 |
wrt. session structure. Examples for the main Isabelle distribution: |
66472 | 998 |
|
999 |
isabelle imports -I -a |
|
1000 |
isabelle imports -U -a |
|
1001 |
isabelle imports -U -i -a |
|
1002 |
isabelle imports -M -a -d '~~/src/Benchmarks' |
|
1003 |
||
64844 | 1004 |
|
67099 | 1005 |
|
64072 | 1006 |
New in Isabelle2016-1 (December 2016) |
1007 |
------------------------------------- |
|
62216 | 1008 |
|
62440 | 1009 |
*** General *** |
1010 |
||
64390 | 1011 |
* Splitter in proof methods "simp", "auto" and friends: |
1012 |
- The syntax "split add" has been discontinued, use plain "split", |
|
1013 |
INCOMPATIBILITY. |
|
1014 |
- For situations with many conditional or case expressions, there is |
|
1015 |
an alternative splitting strategy that can be much faster. It is |
|
1016 |
selected by writing "split!" instead of "split". It applies safe |
|
1017 |
introduction and elimination rules after each split rule. As a |
|
1018 |
result the subgoal may be split into several subgoals. |
|
1019 |
||
63273 | 1020 |
* Command 'bundle' provides a local theory target to define a bundle |
1021 |
from the body of specification commands (such as 'declare', |
|
1022 |
'declaration', 'notation', 'lemmas', 'lemma'). For example: |
|
1023 |
||
1024 |
bundle foo |
|
1025 |
begin |
|
1026 |
declare a [simp] |
|
1027 |
declare b [intro] |
|
1028 |
end |
|
63272 | 1029 |
|
63282 | 1030 |
* Command 'unbundle' is like 'include', but works within a local theory |
1031 |
context. Unlike "context includes ... begin", the effect of 'unbundle' |
|
1032 |
on the target context persists, until different declarations are given. |
|
1033 |
||
63977 | 1034 |
* Simplified outer syntax: uniform category "name" includes long |
1035 |
identifiers. Former "xname" / "nameref" / "name reference" has been |
|
1036 |
discontinued. |
|
1037 |
||
1038 |
* Embedded content (e.g. the inner syntax of types, terms, props) may be |
|
1039 |
delimited uniformly via cartouches. This works better than old-fashioned |
|
1040 |
quotes when sub-languages are nested. |
|
1041 |
||
1042 |
* Mixfix annotations support general block properties, with syntax |
|
1043 |
"(\<open>x=a y=b z \<dots>\<close>". Notable property names are "indent", "consistent", |
|
1044 |
"unbreakable", "markup". The existing notation "(DIGITS" is equivalent |
|
1045 |
to "(\<open>indent=DIGITS\<close>". The former notation "(00" for unbreakable blocks |
|
1046 |
is superseded by "(\<open>unbreabable\<close>" --- rare INCOMPATIBILITY. |
|
63650 | 1047 |
|
63383 | 1048 |
* Proof method "blast" is more robust wrt. corner cases of Pure |
1049 |
statements without object-logic judgment. |
|
1050 |
||
63624
994d1a1105ef
more informative 'prf' and 'full_prf', based on HOL/Proofs/ex/XML_Data.thy;
wenzelm
parents:
63610
diff
changeset
|
1051 |
* Commands 'prf' and 'full_prf' are somewhat more informative (again): |
63977 | 1052 |
proof terms are reconstructed and cleaned from administrative thm nodes. |
1053 |
||
1054 |
* Code generator: config option "code_timing" triggers measurements of |
|
1055 |
different phases of code generation. See src/HOL/ex/Code_Timing.thy for |
|
1056 |
examples. |
|
1057 |
||
1058 |
* Code generator: implicits in Scala (stemming from type class |
|
1059 |
instances) are generated into companion object of corresponding type |
|
1060 |
class, to resolve some situations where ambiguities may occur. |
|
1061 |
||
64390 | 1062 |
* Solve direct: option "solve_direct_strict_warnings" gives explicit |
1063 |
warnings for lemma statements with trivial proofs. |
|
64013
048b7dbfdfa3
option to report results of solve_direct as explicit warnings
haftmann
parents:
63995
diff
changeset
|
1064 |
|
64602 | 1065 |
|
62904 | 1066 |
*** Prover IDE -- Isabelle/Scala/jEdit *** |
1067 |
||
64527 | 1068 |
* More aggressive flushing of machine-generated input, according to |
1069 |
system option editor_generated_input_delay (in addition to existing |
|
1070 |
editor_input_delay for regular user edits). This may affect overall PIDE |
|
1071 |
reactivity and CPU usage. |
|
1072 |
||
64390 | 1073 |
* Syntactic indentation according to Isabelle outer syntax. Action |
1074 |
"indent-lines" (shortcut C+i) indents the current line according to |
|
1075 |
command keywords and some command substructure. Action |
|
1076 |
"isabelle.newline" (shortcut ENTER) indents the old and the new line |
|
1077 |
according to command keywords only; see also option |
|
1078 |
"jedit_indent_newline". |
|
1079 |
||
1080 |
* Semantic indentation for unstructured proof scripts ('apply' etc.) via |
|
1081 |
number of subgoals. This requires information of ongoing document |
|
1082 |
processing and may thus lag behind, when the user is editing too |
|
1083 |
quickly; see also option "jedit_script_indent" and |
|
1084 |
"jedit_script_indent_limit". |
|
1085 |
||
1086 |
* Refined folding mode "isabelle" based on Isar syntax: 'next' and 'qed' |
|
1087 |
are treated as delimiters for fold structure; 'begin' and 'end' |
|
1088 |
structure of theory specifications is treated as well. |
|
1089 |
||
1090 |
* Command 'proof' provides information about proof outline with cases, |
|
1091 |
e.g. for proof methods "cases", "induct", "goal_cases". |
|
1092 |
||
1093 |
* Completion templates for commands involving "begin ... end" blocks, |
|
1094 |
e.g. 'context', 'notepad'. |
|
1095 |
||
1096 |
* Sidekick parser "isabelle-context" shows nesting of context blocks |
|
1097 |
according to 'begin' and 'end' structure. |
|
1098 |
||
63977 | 1099 |
* Highlighting of entity def/ref positions wrt. cursor. |
1100 |
||
1101 |
* Action "isabelle.select-entity" (shortcut CS+ENTER) selects all |
|
64514 | 1102 |
occurrences of the formal entity at the caret position. This facilitates |
63977 | 1103 |
systematic renaming. |
1104 |
||
1105 |
* PIDE document markup works across multiple Isar commands, e.g. the |
|
1106 |
results established at the end of a proof are properly identified in the |
|
1107 |
theorem statement. |
|
1108 |
||
1109 |
* Cartouche abbreviations work both for " and ` to accomodate typical |
|
1110 |
situations where old ASCII notation may be updated. |
|
1111 |
||
63875 | 1112 |
* Dockable window "Symbols" also provides access to 'abbrevs' from the |
1113 |
outer syntax of the current theory buffer. This provides clickable |
|
1114 |
syntax templates, including entries with empty abbrevs name (which are |
|
1115 |
inaccessible via keyboard completion). |
|
1116 |
||
63022 | 1117 |
* IDE support for the Isabelle/Pure bootstrap process, with the |
1118 |
following independent stages: |
|
1119 |
||
1120 |
src/Pure/ROOT0.ML |
|
1121 |
src/Pure/ROOT.ML |
|
1122 |
src/Pure/Pure.thy |
|
1123 |
src/Pure/ML_Bootstrap.thy |
|
1124 |
||
1125 |
The ML ROOT files act like quasi-theories in the context of theory |
|
1126 |
ML_Bootstrap: this allows continuous checking of all loaded ML files. |
|
1127 |
The theory files are presented with a modified header to import Pure |
|
1128 |
from the running Isabelle instance. Results from changed versions of |
|
1129 |
each stage are *not* propagated to the next stage, and isolated from the |
|
1130 |
actual Isabelle/Pure that runs the IDE itself. The sequential |
|
63307 | 1131 |
dependencies of the above files are only observed for batch build. |
62904 | 1132 |
|
63977 | 1133 |
* Isabelle/ML and Standard ML files are presented in Sidekick with the |
1134 |
tree structure of section headings: this special comment format is |
|
1135 |
described in "implementation" chapter 0, e.g. (*** section ***). |
|
63461 | 1136 |
|
63581 | 1137 |
* Additional abbreviations for syntactic completion may be specified |
63871 | 1138 |
within the theory header as 'abbrevs'. The theory syntax for 'keywords' |
1139 |
has been simplified accordingly: optional abbrevs need to go into the |
|
1140 |
new 'abbrevs' section. |
|
1141 |
||
1142 |
* Global abbreviations via $ISABELLE_HOME/etc/abbrevs and |
|
1143 |
$ISABELLE_HOME_USER/etc/abbrevs are no longer supported. Minor |
|
1144 |
INCOMPATIBILITY, use 'abbrevs' within theory header instead. |
|
63579 | 1145 |
|
64390 | 1146 |
* Action "isabelle.keymap-merge" asks the user to resolve pending |
1147 |
Isabelle keymap changes that are in conflict with the current jEdit |
|
1148 |
keymap; non-conflicting changes are always applied implicitly. This |
|
1149 |
action is automatically invoked on Isabelle/jEdit startup and thus |
|
1150 |
increases chances that users see new keyboard shortcuts when re-using |
|
1151 |
old keymaps. |
|
1152 |
||
63675 | 1153 |
* ML and document antiquotations for file-systems paths are more uniform |
1154 |
and diverse: |
|
1155 |
||
1156 |
@{path NAME} -- no file-system check |
|
1157 |
@{file NAME} -- check for plain file |
|
1158 |
@{dir NAME} -- check for directory |
|
1159 |
||
1160 |
Minor INCOMPATIBILITY, former uses of @{file} and @{file_unchecked} may |
|
1161 |
have to be changed. |
|
63669 | 1162 |
|
1163 |
||
63977 | 1164 |
*** Document preparation *** |
1165 |
||
1166 |
* New symbol \<circle>, e.g. for temporal operator. |
|
1167 |
||
64073 | 1168 |
* New document and ML antiquotation @{locale} for locales, similar to |
1169 |
existing antiquotation @{class}. |
|
1170 |
||
63977 | 1171 |
* Mixfix annotations support delimiters like \<^control>\<open>cartouche\<close> -- |
1172 |
this allows special forms of document output. |
|
1173 |
||
1174 |
* Raw LaTeX output now works via \<^latex>\<open>...\<close> instead of raw control |
|
1175 |
symbol \<^raw:...>. INCOMPATIBILITY, notably for LaTeXsugar.thy and its |
|
1176 |
derivatives. |
|
1177 |
||
1178 |
* \<^raw:...> symbols are no longer supported. |
|
1179 |
||
1180 |
* Old 'header' command is no longer supported (legacy since |
|
1181 |
Isabelle2015). |
|
1182 |
||
1183 |
||
62312
5e5a881ebc12
command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents:
62284
diff
changeset
|
1184 |
*** Isar *** |
5e5a881ebc12
command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents:
62284
diff
changeset
|
1185 |
|
63180 | 1186 |
* Many specification elements support structured statements with 'if' / |
1187 |
'for' eigen-context, e.g. 'axiomatization', 'abbreviation', |
|
1188 |
'definition', 'inductive', 'function'. |
|
1189 |
||
63094
056ea294c256
toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents:
63078
diff
changeset
|
1190 |
* Toplevel theorem statements support eigen-context notation with 'if' / |
63284 | 1191 |
'for' (in postfix), which corresponds to 'assumes' / 'fixes' in the |
63094
056ea294c256
toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents:
63078
diff
changeset
|
1192 |
traditional long statement form (in prefix). Local premises are called |
056ea294c256
toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents:
63078
diff
changeset
|
1193 |
"that" or "assms", respectively. Empty premises are *not* bound in the |
056ea294c256
toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents:
63078
diff
changeset
|
1194 |
context: INCOMPATIBILITY. |
056ea294c256
toplevel theorem statements support 'if'/'for' eigen-context;
wenzelm
parents:
63078
diff
changeset
|
1195 |
|
63039 | 1196 |
* Command 'define' introduces a local (non-polymorphic) definition, with |
1197 |
optional abstraction over local parameters. The syntax resembles |
|
63043 | 1198 |
'definition' and 'obtain'. It fits better into the Isar language than |
1199 |
old 'def', which is now a legacy feature. |
|
63039 | 1200 |
|
63059
3f577308551e
'obtain' supports structured statements (similar to 'define');
wenzelm
parents:
63043
diff
changeset
|
1201 |
* Command 'obtain' supports structured statements with 'if' / 'for' |
3f577308551e
'obtain' supports structured statements (similar to 'define');
wenzelm
parents:
63043
diff
changeset
|
1202 |
context. |
3f577308551e
'obtain' supports structured statements (similar to 'define');
wenzelm
parents:
63043
diff
changeset
|
1203 |
|
62312
5e5a881ebc12
command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents:
62284
diff
changeset
|
1204 |
* Command '\<proof>' is an alias for 'sorry', with different |
5e5a881ebc12
command '\<proof>' is an alias for 'sorry', with different typesetting;
wenzelm
parents:
62284
diff
changeset
|
1205 |
typesetting. E.g. to produce proof holes in examples and documentation. |
62216 | 1206 |
|
63977 | 1207 |
* The defining position of a literal fact \<open>prop\<close> is maintained more |
1208 |
carefully, and made accessible as hyperlink in the Prover IDE. |
|
1209 |
||
1210 |
* Commands 'finally' and 'ultimately' used to expose the result as |
|
1211 |
literal fact: this accidental behaviour has been discontinued. Rare |
|
1212 |
INCOMPATIBILITY, use more explicit means to refer to facts in Isar. |
|
1213 |
||
1214 |
* Command 'axiomatization' has become more restrictive to correspond |
|
1215 |
better to internal axioms as singleton facts with mandatory name. Minor |
|
1216 |
INCOMPATIBILITY. |
|
62939 | 1217 |
|
63259 | 1218 |
* Proof methods may refer to the main facts via the dynamic fact |
1219 |
"method_facts". This is particularly useful for Eisbach method |
|
1220 |
definitions. |
|
1221 |
||
63527 | 1222 |
* Proof method "use" allows to modify the main facts of a given method |
1223 |
expression, e.g. |
|
63259 | 1224 |
|
1225 |
(use facts in simp) |
|
1226 |
(use facts in \<open>simp add: ...\<close>) |
|
1227 |
||
63977 | 1228 |
* The old proof method "default" has been removed (legacy since |
1229 |
Isabelle2016). INCOMPATIBILITY, use "standard" instead. |
|
1230 |
||
62216 | 1231 |
|
63165
c12845e8e80a
examples and documentation for code generator time measurements
haftmann
parents:
63161
diff
changeset
|
1232 |
*** Pure *** |
c12845e8e80a
examples and documentation for code generator time measurements
haftmann
parents:
63161
diff
changeset
|
1233 |
|
63977 | 1234 |
* Pure provides basic versions of proof methods "simp" and "simp_all" |
1235 |
that only know about meta-equality (==). Potential INCOMPATIBILITY in |
|
1236 |
theory imports that merge Pure with e.g. Main of Isabelle/HOL: the order |
|
1237 |
is relevant to avoid confusion of Pure.simp vs. HOL.simp. |
|
1238 |
||
1239 |
* The command 'unfolding' and proof method "unfold" include a second |
|
1240 |
stage where given equations are passed through the attribute "abs_def" |
|
1241 |
before rewriting. This ensures that definitions are fully expanded, |
|
1242 |
regardless of the actual parameters that are provided. Rare |
|
1243 |
INCOMPATIBILITY in some corner cases: use proof method (simp only:) |
|
1244 |
instead, or declare [[unfold_abs_def = false]] in the proof context. |
|
1245 |
||
1246 |
* Type-inference improves sorts of newly introduced type variables for |
|
1247 |
the object-logic, using its base sort (i.e. HOL.type for Isabelle/HOL). |
|
1248 |
Thus terms like "f x" or "\<And>x. P x" without any further syntactic context |
|
1249 |
produce x::'a::type in HOL instead of x::'a::{} in Pure. Rare |
|
1250 |
INCOMPATIBILITY, need to provide explicit type constraints for Pure |
|
1251 |
types where this is really intended. |
|
63350
705229ed856e
compiling implicit instances into companion objects for classes avoids ambiguities
haftmann
parents:
63343
diff
changeset
|
1252 |
|
63165
c12845e8e80a
examples and documentation for code generator time measurements
haftmann
parents:
63161
diff
changeset
|
1253 |
|
62327 | 1254 |
*** HOL *** |
1255 |
||
63977 | 1256 |
* New proof method "argo" using the built-in Argo solver based on SMT |
1257 |
technology. The method can be used to prove goals of quantifier-free |
|
1258 |
propositional logic, goals based on a combination of quantifier-free |
|
1259 |
propositional logic with equality, and goals based on a combination of |
|
1260 |
quantifier-free propositional logic with linear real arithmetic |
|
1261 |
including min/max/abs. See HOL/ex/Argo_Examples.thy for examples. |
|
1262 |
||
66614
1f1c5d85d232
moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years
blanchet
parents:
66599
diff
changeset
|
1263 |
* The new "nunchaku" command integrates the Nunchaku model finder. The |
64390 | 1264 |
tool is experimental. See ~~/src/HOL/Nunchaku/Nunchaku.thy for details. |
1265 |
||
63977 | 1266 |
* Metis: The problem encoding has changed very slightly. This might |
63785 | 1267 |
break existing proofs. INCOMPATIBILITY. |
1268 |
||
63116 | 1269 |
* Sledgehammer: |
63967
2aa42596edc3
new material on paths, etc. Also rationalisation
paulson <lp15@cam.ac.uk>
parents:
63963
diff
changeset
|
1270 |
- The MaSh relevance filter is now faster than before. |
63116 | 1271 |
- Produce syntactically correct Vampire 4.0 problem files. |
1272 |
||
62327 | 1273 |
* (Co)datatype package: |
62693 | 1274 |
- New commands for defining corecursive functions and reasoning about |
1275 |
them in "~~/src/HOL/Library/BNF_Corec.thy": 'corec', 'corecursive', |
|
1276 |
'friend_of_corec', and 'corecursion_upto'; and 'corec_unique' proof |
|
62842 | 1277 |
method. See 'isabelle doc corec'. |
63977 | 1278 |
- The predicator :: ('a \<Rightarrow> bool) \<Rightarrow> 'a F \<Rightarrow> bool is now a first-class |
63855 | 1279 |
citizen in bounded natural functors. |
62693 | 1280 |
- 'primrec' now allows nested calls through the predicator in addition |
62327 | 1281 |
to the map function. |
63855 | 1282 |
- 'bnf' automatically discharges reflexive proof obligations. |
62693 | 1283 |
- 'bnf' outputs a slightly modified proof obligation expressing rel in |
62332 | 1284 |
terms of map and set |
63855 | 1285 |
(not giving a specification for rel makes this one reflexive). |
62693 | 1286 |
- 'bnf' outputs a new proof obligation expressing pred in terms of set |
63855 | 1287 |
(not giving a specification for pred makes this one reflexive). |
1288 |
INCOMPATIBILITY: manual 'bnf' declarations may need adjustment. |
|
62335 | 1289 |
- Renamed lemmas: |
1290 |
rel_prod_apply ~> rel_prod_inject |
|
1291 |
pred_prod_apply ~> pred_prod_inject |
|
1292 |
INCOMPATIBILITY. |
|
62536
656e9653c645
made 'size' plugin compatible with locales again (and added regression test)
blanchet
parents:
62525
diff
changeset
|
1293 |
- The "size" plugin has been made compatible again with locales. |
63855 | 1294 |
- The theorems about "rel" and "set" may have a slightly different (but |
1295 |
equivalent) form. |
|
1296 |
INCOMPATIBILITY. |
|
62327 | 1297 |
|
63977 | 1298 |
* The 'coinductive' command produces a proper coinduction rule for |
1299 |
mutual coinductive predicates. This new rule replaces the old rule, |
|
1300 |
which exposed details of the internal fixpoint construction and was |
|
1301 |
hard to use. INCOMPATIBILITY. |
|
1302 |
||
1303 |
* New abbreviations for negated existence (but not bounded existence): |
|
1304 |
||
1305 |
\<nexists>x. P x \<equiv> \<not> (\<exists>x. P x) |
|
1306 |
\<nexists>!x. P x \<equiv> \<not> (\<exists>!x. P x) |
|
1307 |
||
1308 |
* The print mode "HOL" for ASCII syntax of binders "!", "?", "?!", "@" |
|
1309 |
has been removed for output. It is retained for input only, until it is |
|
1310 |
eliminated altogether. |
|
1311 |
||
1312 |
* The unique existence quantifier no longer provides 'binder' syntax, |
|
1313 |
but uses syntax translations (as for bounded unique existence). Thus |
|
1314 |
iterated quantification \<exists>!x y. P x y with its slightly confusing |
|
1315 |
sequential meaning \<exists>!x. \<exists>!y. P x y is no longer possible. Instead, |
|
1316 |
pattern abstraction admits simultaneous unique existence \<exists>!(x, y). P x y |
|
1317 |
(analogous to existing notation \<exists>!(x, y)\<in>A. P x y). Potential |
|
1318 |
INCOMPATIBILITY in rare situations. |
|
1319 |
||
1320 |
* Conventional syntax "%(). t" for unit abstractions. Slight syntactic |
|
1321 |
INCOMPATIBILITY. |
|
1322 |
||
64390 | 1323 |
* Renamed constants and corresponding theorems: |
1324 |
||
1325 |
setsum ~> sum |
|
1326 |
setprod ~> prod |
|
1327 |
listsum ~> sum_list |
|
1328 |
listprod ~> prod_list |
|
1329 |
||
1330 |
INCOMPATIBILITY. |
|
1331 |
||
1332 |
* Sligthly more standardized theorem names: |
|
1333 |
sgn_times ~> sgn_mult |
|
1334 |
sgn_mult' ~> Real_Vector_Spaces.sgn_mult |
|
1335 |
divide_zero_left ~> div_0 |
|
1336 |
zero_mod_left ~> mod_0 |
|
1337 |
divide_zero ~> div_by_0 |
|
1338 |
divide_1 ~> div_by_1 |
|
1339 |
nonzero_mult_divide_cancel_left ~> nonzero_mult_div_cancel_left |
|
1340 |
div_mult_self1_is_id ~> nonzero_mult_div_cancel_left |
|
1341 |
nonzero_mult_divide_cancel_right ~> nonzero_mult_div_cancel_right |
|
1342 |
div_mult_self2_is_id ~> nonzero_mult_div_cancel_right |
|
1343 |
is_unit_divide_mult_cancel_left ~> is_unit_div_mult_cancel_left |
|
1344 |
is_unit_divide_mult_cancel_right ~> is_unit_div_mult_cancel_right |
|
1345 |
mod_div_equality ~> div_mult_mod_eq |
|
1346 |
mod_div_equality2 ~> mult_div_mod_eq |
|
1347 |
mod_div_equality3 ~> mod_div_mult_eq |
|
1348 |
mod_div_equality4 ~> mod_mult_div_eq |
|
1349 |
minus_div_eq_mod ~> minus_div_mult_eq_mod |
|
1350 |
minus_div_eq_mod2 ~> minus_mult_div_eq_mod |
|
1351 |
minus_mod_eq_div ~> minus_mod_eq_div_mult |
|
1352 |
minus_mod_eq_div2 ~> minus_mod_eq_mult_div |
|
1353 |
div_mod_equality' ~> minus_mod_eq_div_mult [symmetric] |
|
1354 |
mod_div_equality' ~> minus_div_mult_eq_mod [symmetric] |
|
1355 |
zmod_zdiv_equality ~> mult_div_mod_eq [symmetric] |
|
1356 |
zmod_zdiv_equality' ~> minus_div_mult_eq_mod [symmetric] |
|
1357 |
Divides.mult_div_cancel ~> minus_mod_eq_mult_div [symmetric] |
|
1358 |
mult_div_cancel ~> minus_mod_eq_mult_div [symmetric] |
|
1359 |
zmult_div_cancel ~> minus_mod_eq_mult_div [symmetric] |
|
1360 |
div_1 ~> div_by_Suc_0 |
|
1361 |
mod_1 ~> mod_by_Suc_0 |
|
1362 |
INCOMPATIBILITY. |
|
1363 |
||
1364 |
* New type class "idom_abs_sgn" specifies algebraic properties |
|
1365 |
of sign and absolute value functions. Type class "sgn_if" has |
|
1366 |
disappeared. Slight INCOMPATIBILITY. |
|
1367 |
||
1368 |
* Dedicated syntax LENGTH('a) for length of types. |
|
1369 |
||
63977 | 1370 |
* Characters (type char) are modelled as finite algebraic type |
1371 |
corresponding to {0..255}. |
|
1372 |
||
1373 |
- Logical representation: |
|
1374 |
* 0 is instantiated to the ASCII zero character. |
|
1375 |
* All other characters are represented as "Char n" |
|
1376 |
with n being a raw numeral expression less than 256. |
|
1377 |
* Expressions of the form "Char n" with n greater than 255 |
|
1378 |
are non-canonical. |
|
1379 |
- Printing and parsing: |
|
1380 |
* Printable characters are printed and parsed as "CHR ''\<dots>''" |
|
1381 |
(as before). |
|
1382 |
* The ASCII zero character is printed and parsed as "0". |
|
1383 |
* All other canonical characters are printed as "CHR 0xXX" |
|
1384 |
with XX being the hexadecimal character code. "CHR n" |
|
1385 |
is parsable for every numeral expression n. |
|
1386 |
* Non-canonical characters have no special syntax and are |
|
1387 |
printed as their logical representation. |
|
1388 |
- Explicit conversions from and to the natural numbers are |
|
1389 |
provided as char_of_nat, nat_of_char (as before). |
|
1390 |
- The auxiliary nibble type has been discontinued. |
|
1391 |
||
1392 |
INCOMPATIBILITY. |
|
1393 |
||
1394 |
* Type class "div" with operation "mod" renamed to type class "modulo" |
|
1395 |
with operation "modulo", analogously to type class "divide". This |
|
1396 |
eliminates the need to qualify any of those names in the presence of |
|
1397 |
infix "mod" syntax. INCOMPATIBILITY. |
|
1398 |
||
63979 | 1399 |
* Statements and proofs of Knaster-Tarski fixpoint combinators lfp/gfp |
1400 |
have been clarified. The fixpoint properties are lfp_fixpoint, its |
|
1401 |
symmetric lfp_unfold (as before), and the duals for gfp. Auxiliary items |
|
1402 |
for the proof (lfp_lemma2 etc.) are no longer exported, but can be |
|
1403 |
easily recovered by composition with eq_refl. Minor INCOMPATIBILITY. |
|