NEWS
author wenzelm
Sun, 27 Dec 2020 13:52:55 +0100
changeset 73008 dacf2598bb27
parent 73007 11140980a6b5
child 73009 56eae6d161db
permissions -rw-r--r--
proper NEWS according to current situation;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57491
9eedaafc05c8 tuned grammar and spelling (cf. 0cf15843b82f);
wenzelm
parents: 57476
diff changeset
     1
Isabelle NEWS -- history of user-relevant changes
9eedaafc05c8 tuned grammar and spelling (cf. 0cf15843b82f);
wenzelm
parents: 57476
diff changeset
     2
=================================================
2553
ed941505cab7 Isabelle NEWS -- history of user-visible changes;
wenzelm
parents:
diff changeset
     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
wenzelm
parents: 59998
diff changeset
     5
64603
a7f5e59378f7 tuned whitespace;
wenzelm
parents: 64602
diff changeset
     6
72972
31ff3c962937 misc tuning for release;
wenzelm
parents: 72971
diff changeset
     7
New in Isabelle2021 (February 2021)
31ff3c962937 misc tuning for release;
wenzelm
parents: 72971
diff changeset
     8
-----------------------------------
71557
61ba52af28e3 back to post-release mode;
wenzelm
parents: 71551
diff changeset
     9
72232
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    10
*** General ***
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    11
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    12
* HTML presentation includes auxiliary files (e.g. ML) for each theory,
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    13
with rich markup.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    14
72232
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    15
* Proof method "subst" is confined to the original subgoal range: its
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    16
included distinct_subgoals_tac no longer affects unrelated subgoals.
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    17
Rare INCOMPATIBILITY.
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    18
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    19
* Theory_Data extend operation is obsolete and needs to be the identity
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    20
function; merge should be conservative and not reset to the empty value.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    21
Subtle INCOMPATIBILITY and change of semantics (due to
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    22
Theory.join_theory from Isabelle2020). Special extend/merge behaviour at
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    23
the begin of a new theory can be achieved via Theory.at_begin.
72996
cdcd2785db94 more NEWS;
wenzelm
parents: 72987
diff changeset
    24
72232
e5fcbf6dc687 proper use of SELECT_GOAL to confine distinct_subgoals_tac to original goal range (amending 366d39e95d3c);
wenzelm
parents: 72208
diff changeset
    25
71932
65fd0f032a75 updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents: 71927
diff changeset
    26
*** Isabelle/jEdit Prover IDE ***
65fd0f032a75 updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents: 71927
diff changeset
    27
72946
9329abcdd651 improved markup for theory header imports;
wenzelm
parents: 72932
diff changeset
    28
* Improved markup for theory header imports: hyperlinks for theory files
9329abcdd651 improved markup for theory header imports;
wenzelm
parents: 72932
diff changeset
    29
work without formal checking of content.
9329abcdd651 improved markup for theory header imports;
wenzelm
parents: 72932
diff changeset
    30
72950
ac6457a70db5 download auxiliary files via "curl";
wenzelm
parents: 72946
diff changeset
    31
* The prover process can download auxiliary files (e.g. 'ML_file') for
ac6457a70db5 download auxiliary files via "curl";
wenzelm
parents: 72946
diff changeset
    32
theories with remote URL. This requires the external "curl" program.
ac6457a70db5 download auxiliary files via "curl";
wenzelm
parents: 72946
diff changeset
    33
72930
0cc298e29aff added action isabelle.goto-entity to follow links in a narrow formal sense;
wenzelm
parents: 72879
diff changeset
    34
* Action "isabelle.goto-entity" (shortcut CS+d) jumps to the definition
0cc298e29aff added action isabelle.goto-entity to follow links in a narrow formal sense;
wenzelm
parents: 72879
diff changeset
    35
of the formal entity at the caret position.
0cc298e29aff added action isabelle.goto-entity to follow links in a narrow formal sense;
wenzelm
parents: 72879
diff changeset
    36
72932
f7954a960890 more NEWS;
wenzelm
parents: 72930
diff changeset
    37
* The visual feedback on caret entity focus is normally restricted to
f7954a960890 more NEWS;
wenzelm
parents: 72930
diff changeset
    38
definitions within the visible text area. The keyboard modifier "CS"
f7954a960890 more NEWS;
wenzelm
parents: 72930
diff changeset
    39
overrides this: then all defining and referencing positions are shown.
f7954a960890 more NEWS;
wenzelm
parents: 72930
diff changeset
    40
See also option "jedit_focus_modifier".
f7954a960890 more NEWS;
wenzelm
parents: 72930
diff changeset
    41
72249
4bf8a8a2d2ad more uniform JVM vs. ML status widget;
wenzelm
parents: 72247
diff changeset
    42
* The jEdit status line includes widgets both for JVM and ML heap usage.
4bf8a8a2d2ad more uniform JVM vs. ML status widget;
wenzelm
parents: 72247
diff changeset
    43
Ongoing ML ongoing garbage collection is shown as "ML cleanup".
72150
510ebf846696 more documentation;
wenzelm
parents: 72120
diff changeset
    44
510ebf846696 more documentation;
wenzelm
parents: 72120
diff changeset
    45
* The Monitor dockable provides buttons to request a full garbage
510ebf846696 more documentation;
wenzelm
parents: 72120
diff changeset
    46
collection and sharing of live data on the ML heap. It also includes
510ebf846696 more documentation;
wenzelm
parents: 72120
diff changeset
    47
information about the Java Runtime system.
510ebf846696 more documentation;
wenzelm
parents: 72120
diff changeset
    48
72837
2c26c283f3ee PIDE support for session ROOTS;
wenzelm
parents: 72810
diff changeset
    49
* PIDE support for session ROOTS: markup for directories.
2c26c283f3ee PIDE support for session ROOTS;
wenzelm
parents: 72810
diff changeset
    50
72247
c06260b7152c update to official jedit-5.6.0;
wenzelm
parents: 72232
diff changeset
    51
* Update to jedit-5.6.0, the latest release. This version works properly
c06260b7152c update to official jedit-5.6.0;
wenzelm
parents: 72232
diff changeset
    52
on macOS by default, without the special MacOSX plugin.
71932
65fd0f032a75 updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents: 71927
diff changeset
    53
65fd0f032a75 updated to jedit-5.6pre1 (repository version 25349);
wenzelm
parents: 71927
diff changeset
    54
71902
1529336eaedc check bash functions against Isabelle settings environment;
wenzelm
parents: 71901
diff changeset
    55
*** Document preparation ***
1529336eaedc check bash functions against Isabelle settings environment;
wenzelm
parents: 71901
diff changeset
    56
72600
2fa4f25d9d07 official support for document theories from other sessions;
wenzelm
parents: 72581
diff changeset
    57
* Keyword 'document_theories' within ROOT specifies theories from other
2fa4f25d9d07 official support for document theories from other sessions;
wenzelm
parents: 72581
diff changeset
    58
sessions that should be included in the generated document source
2fa4f25d9d07 official support for document theories from other sessions;
wenzelm
parents: 72581
diff changeset
    59
directory. This does not affect the generated session.tex: \input{...}
2fa4f25d9d07 official support for document theories from other sessions;
wenzelm
parents: 72581
diff changeset
    60
needs to be used separately.
2fa4f25d9d07 official support for document theories from other sessions;
wenzelm
parents: 72581
diff changeset
    61
72314
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    62
* The standard LaTeX engine is now lualatex, according to settings
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    63
variable ISABELLE_PDFLATEX. This is mostly upwards compatible with old
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    64
pdflatex, but text encoding needs to conform strictly to utf8. Rare
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    65
INCOMPATIBILITY.
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    66
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    67
* Discontinued obsolete DVI format and ISABELLE_LATEX settings variable:
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    68
document output is always PDF.
684f14b1e7fc ISABELLE_PDFLATEX is now lualatex;
wenzelm
parents: 72309
diff changeset
    69
72763
3cc73d00553c added document antiquotation @{tool};
wenzelm
parents: 72749
diff changeset
    70
* Antiquotation @{tool} refers to Isabelle command-line tools, with
3cc73d00553c added document antiquotation @{tool};
wenzelm
parents: 72749
diff changeset
    71
completion and formal reference to the source (external script or
3cc73d00553c added document antiquotation @{tool};
wenzelm
parents: 72749
diff changeset
    72
internal Scala function).
3cc73d00553c added document antiquotation @{tool};
wenzelm
parents: 72749
diff changeset
    73
71908
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
    74
* Antiquotation @{bash_function} refers to GNU bash functions that are
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
    75
checked within the Isabelle settings environment.
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
    76
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
    77
* Antiquotations @{scala}, @{scala_object}, @{scala_type},
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
    78
@{scala_method} refer to checked Isabelle/Scala entities.
71902
1529336eaedc check bash functions against Isabelle settings environment;
wenzelm
parents: 71901
diff changeset
    79
1529336eaedc check bash functions against Isabelle settings environment;
wenzelm
parents: 71901
diff changeset
    80
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
    81
*** Pure ***
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
    82
71924
e5df9c8d9d4b clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents: 71923
diff changeset
    83
* Session Pure-Examples contains notable examples for Isabelle/Pure
e5df9c8d9d4b clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents: 71923
diff changeset
    84
(former entries of HOL-Isar_Examples).
e5df9c8d9d4b clarified sessions: "Notable Examples in Isabelle/Pure";
wenzelm
parents: 71923
diff changeset
    85
72739
e7c2848b78e8 refined syntax for bundle mixins for locale and class specifications
haftmann
parents: 72728
diff changeset
    86
* Named contexts (locale and class specifications, locale and class
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    87
context blocks) allow bundle mixins for the surface context. This allows
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    88
syntax notations to be organized within bundles conveniently. See theory
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    89
"HOL-ex.Specifications_with_bundle_mixins" for examples and the isar-ref
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    90
manual for syntax descriptions.
72739
e7c2848b78e8 refined syntax for bundle mixins for locale and class specifications
haftmann
parents: 72728
diff changeset
    91
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
    92
* Definitions in locales produce rule which can be added as congruence
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
    93
rule to protect foundational terms during simplification.
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
    94
72450
24bd1316eaae consolidated names and operations
haftmann
parents: 72388
diff changeset
    95
* Consolidated terminology and function signatures for nested targets:
24bd1316eaae consolidated names and operations
haftmann
parents: 72388
diff changeset
    96
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    97
  - Local_Theory.begin_nested replaces Local_Theory.open_target
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    98
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
    99
  - Local_Theory.end_nested replaces Local_Theory.close_target
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   100
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   101
  - Combination of Local_Theory.begin_nested and
72451
e51f1733618d replaced combinators by more conventional nesting pattern
haftmann
parents: 72450
diff changeset
   102
    Local_Theory.end_nested(_result) replaces
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   103
    Local_Theory.subtarget(_result)
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   104
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   105
INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   106
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   107
* Local_Theory.init replaces Generic_Target.init. Minor INCOMPATIBILITY.
72516
17dc99589a91 unified Local_Theory.init with Generic_Target.init
haftmann
parents: 72515
diff changeset
   108
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   109
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   110
*** HOL ***
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   111
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   112
* Session HOL-Examples contains notable examples for Isabelle/HOL
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   113
(former entries of HOL-Isar_Examples, HOL-ex etc.).
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   114
72478
b452242dce36 proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents: 72470
diff changeset
   115
* An updated version of the veriT solver is now included as Isabelle
b452242dce36 proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents: 72470
diff changeset
   116
component. It can be used in the "smt" proof method via "smt (verit)" or
b452242dce36 proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents: 72470
diff changeset
   117
via "declare [[smt_solver = verit]]" in the context; see also session
b452242dce36 proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents: 72470
diff changeset
   118
HOL-Word-SMT_Examples.
b452242dce36 proper Isabelle component settings: prefer standard terminology "ISABELLE_VERIT", avoid conflict of "VERIT_VERSION" with processing of implicit options by veriT;
wenzelm
parents: 72470
diff changeset
   119
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   120
* Zipperposition 2.0 is now included as Isabelle component for
72971
162b71f7e554 rebuild component with proper ZIPPERPOSITION_HOME for sledgehammer;
wenzelm
parents: 72969
diff changeset
   121
experimentation, e.g. in "sledgehammer [prover = zipperposition]".
162b71f7e554 rebuild component with proper ZIPPERPOSITION_HOME for sledgehammer;
wenzelm
parents: 72969
diff changeset
   122
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   123
* Sledgehammer:
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   124
  - support veriT in proof preplay
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   125
  - take adventage of more cores in proof preplay
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   126
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   127
* Updated the Metis prover underlying the "metis" proof method to
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   128
version 2.4 (release 20180810). The new version fixes one soundness
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   129
defect and two incompleteness defects. Very slight INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   130
72208
wenzelm
parents: 72163
diff changeset
   131
* Nitpick/Kodkod may be invoked directly within the running
wenzelm
parents: 72163
diff changeset
   132
Isabelle/Scala session (instead of an external Java process): this
wenzelm
parents: 72163
diff changeset
   133
improves reactivity and saves resources. This experimental feature is
73008
dacf2598bb27 proper NEWS according to current situation;
wenzelm
parents: 73007
diff changeset
   134
guarded by system option "kodkod_scala" (default: true in PIDE
dacf2598bb27 proper NEWS according to current situation;
wenzelm
parents: 73007
diff changeset
   135
interaction, false in batch builds).
72208
wenzelm
parents: 72163
diff changeset
   136
72070
wenzelm
parents: 72060
diff changeset
   137
* Simproc "defined_all" and rewrite rule "subst_all" perform more
wenzelm
parents: 72060
diff changeset
   138
aggressive substitution with variables from assumptions.
wenzelm
parents: 72060
diff changeset
   139
INCOMPATIBILITY, consider repairing proofs locally like this:
wenzelm
parents: 72060
diff changeset
   140
wenzelm
parents: 72060
diff changeset
   141
  supply subst_all [simp del] [[simproc del: defined_all]]
wenzelm
parents: 72060
diff changeset
   142
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   143
* Simproc "datatype_no_proper_subterm" rewrites equalities "lhs = rhs"
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   144
on datatypes to "False" if either side is a proper subexpression of the
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   145
other (for any datatype with a reasonable size function).
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   146
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   147
* Syntax for state monad combinators fcomp and scomp is organized in
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   148
bundle state_combinator_syntax.  Minor INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   149
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   150
* Syntax for reflected term syntax is organized in bundle term_syntax,
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   151
discontinuing previous locale term_syntax.  Minor INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   152
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   153
* New constant "power_int" for exponentiation with integer exponent,
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   154
written as "x powi n".
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   155
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   156
* Added the "at most 1" quantifier, Uniq.
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   157
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   158
* For the natural numbers, "Sup {} = 0".
72004
913162a47d9f Update Metis to 2.4
desharna
parents: 72001
diff changeset
   159
71956
a4bffc0de967 bit operations as distinctive library theory
haftmann
parents: 71949
diff changeset
   160
* Library theory "Bit_Operations" with generic bit operations.
a4bffc0de967 bit operations as distinctive library theory
haftmann
parents: 71949
diff changeset
   161
72281
beeadb35e357 more thorough treatment of division, particularly signed division on int and word
haftmann
parents: 72264
diff changeset
   162
* Library theory "Signed_Division" provides operations for signed
beeadb35e357 more thorough treatment of division, particularly signed division on int and word
haftmann
parents: 72264
diff changeset
   163
division, instantiated for type int.
beeadb35e357 more thorough treatment of division, particularly signed division on int and word
haftmann
parents: 72264
diff changeset
   164
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   165
* Self-contained library theory "Word" taken over from former session
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   166
"HOL-Word".
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   167
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   168
* Theory "Word": Type word is restricted to bit strings consisting of at
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   169
least one bit. INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   170
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   171
* Theory "Word": Bit operations NOT, AND, OR, XOR are based on generic
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   172
algebraic bit operations from HOL-Library.Bit_Operations.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   173
INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   174
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   175
* Theory "Word": Most operations on type word are set up for transfer
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   176
and lifting. INCOMPATIBILITY.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   177
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   178
* Theory "Word": Generic type conversions. INCOMPATIBILITY, sometimes
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   179
additional rewrite rules must be added to applications to get a
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   180
confluent system again.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   181
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   182
* Theory "Word": Uniform polymorphic "mask" operation for both types int
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   183
and word. INCOMPATIBILITY.
72082
41393ecb57ac uniform mask operation
haftmann
parents: 72079
diff changeset
   184
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   185
* Theory "Word": Syntax for signed compare operators has been
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   186
consolidated with syntax of regular compare operators. Minor
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   187
INCOMPATIBILITY.
72388
633d14bd1e59 consolidated for the sake of documentation
haftmann
parents: 72332
diff changeset
   188
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   189
* Former session "HOL-Word": Various operations dealing with bit values
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   190
represented as reversed lists of bools are separated into theory
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   191
Reversed_Bit_Lists in session Word_Lib in the AFP. INCOMPATIBILITY.
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   192
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   193
* Former session "HOL-Word": Theory "Word_Bitwise" has been moved to AFP
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   194
entry Word_Lib as theory "Bitwise". INCOMPATIBILITY.
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   195
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   196
* Former session "HOL-Word": Compound operation "bin_split" simplifies
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   197
by default into its components "drop_bit" and "take_bit".
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   198
INCOMPATIBILITY.
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   199
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   200
* Former session "HOL-Word": Operations lsb, msb and set_bit are
72546
58b1826354c9 NEWS and CONTRIBUTORS
haftmann
parents: 72521
diff changeset
   201
separated into theories Least_significant_bit, Most_significant_bit and
58b1826354c9 NEWS and CONTRIBUTORS
haftmann
parents: 72521
diff changeset
   202
Generic_set_bit respectively in session Word_Lib in the AFP.
58b1826354c9 NEWS and CONTRIBUTORS
haftmann
parents: 72521
diff changeset
   203
INCOMPATIBILITY.
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   204
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   205
* Former session "HOL-Word": Ancient int numeral representation has been
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   206
factored out in separate theory "Ancient_Numeral" in session Word_Lib in
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   207
the AFP. INCOMPATIBILITY.
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   208
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   209
* Former session "HOL-Word": Operations "bin_last", "bin_rest",
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   210
"bin_nth", "bintrunc", "sbintrunc", "norm_sint", "bin_cat" and
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   211
"max_word" are now mere input abbreviations. Minor INCOMPATIBILITY.
72515
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   212
c7038c397ae3 moved most material from session HOL-Word to Word_Lib in the AFP
haftmann
parents: 72511
diff changeset
   213
* Former session "HOL-Word": Misc ancient material has been factored out
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   214
into separate theories and moved to session Word_Lib in the AFP. See
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   215
theory "Guide" there for further information. INCOMPATIBILITY.
71987
ec17263ec38d removed superfluous dependency
haftmann
parents: 71986
diff changeset
   216
72070
wenzelm
parents: 72060
diff changeset
   217
* Session HOL-TPTP: The "tptp_isabelle" and "tptp_sledgehammer" commands
wenzelm
parents: 72060
diff changeset
   218
are in working order again, as opposed to outputting "GaveUp" on nearly
wenzelm
parents: 72060
diff changeset
   219
all problems.
71959
ee2c7f0dd1be prefer single name
haftmann
parents: 71957
diff changeset
   220
72987
b1be35908165 clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents: 72972
diff changeset
   221
* Session "HOL-Hoare": concrete syntax only for Hoare triples, not
b1be35908165 clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents: 72972
diff changeset
   222
abstract language constructors.
b1be35908165 clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents: 72972
diff changeset
   223
b1be35908165 clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents: 72972
diff changeset
   224
* Session "HOL-Hoare": now provides a total correctness logic as well.
b1be35908165 clarified modules: avoid multiple uses of the same ML file;
wenzelm
parents: 72972
diff changeset
   225
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   226
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   227
*** FOL ***
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   228
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   229
* Added the "at most 1" quantifier, Uniq, as in HOL.
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   230
72070
wenzelm
parents: 72060
diff changeset
   231
* Simproc "defined_all" and rewrite rule "subst_all" have been changed
wenzelm
parents: 72060
diff changeset
   232
as in HOL.
71923
haftmann
parents: 71909
diff changeset
   233
71901
0408f6814224 misc tuning;
wenzelm
parents: 71845
diff changeset
   234
71908
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
   235
*** ML ***
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
   236
72332
319dd5c618a5 allow Scala function execution on separate thread: better reactivity, but potential overloading of the JVM;
wenzelm
parents: 72316
diff changeset
   237
* Antiquotations @{scala_function}, @{scala}, @{scala_thread} refer to
319dd5c618a5 allow Scala function execution on separate thread: better reactivity, but potential overloading of the JVM;
wenzelm
parents: 72316
diff changeset
   238
registered Isabelle/Scala functions (of type String => String):
319dd5c618a5 allow Scala function execution on separate thread: better reactivity, but potential overloading of the JVM;
wenzelm
parents: 72316
diff changeset
   239
invocation works via the PIDE protocol.
71908
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
   240
72511
460d743010bc clarified signature: overloaded "+" for Path.append;
wenzelm
parents: 72510
diff changeset
   241
* Path.append is available as overloaded "+" operator, similar to
460d743010bc clarified signature: overloaded "+" for Path.append;
wenzelm
parents: 72510
diff changeset
   242
corresponding Isabelle/Scala operation.
460d743010bc clarified signature: overloaded "+" for Path.append;
wenzelm
parents: 72510
diff changeset
   243
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   244
* ML statistics via an external Poly/ML process: this allows monitoring
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   245
the runtime system while the ML program sleeps.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   246
71908
0dc67ae4a4c7 more NEWS;
wenzelm
parents: 71902
diff changeset
   247
71715
wenzelm
parents: 71666
diff changeset
   248
*** System ***
wenzelm
parents: 71666
diff changeset
   249
73007
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   250
* Isabelle server allows user-defined commands via
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   251
isabelle_scala_service.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   252
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   253
* Update/rebuild external provers on currently supported OS platforms,
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   254
notably CVC4 1.8, E prover 2.5, SPASS 3.8ds, CSDP 6.1.1.
11140980a6b5 updated for release;
wenzelm
parents: 72996
diff changeset
   255
72879
b3e9e9e4ff74 clarified session log file: avoid erratic messages;
wenzelm
parents: 72876
diff changeset
   256
* The command-line tool "isabelle log" prints prover messages from the
b3e9e9e4ff74 clarified session log file: avoid erratic messages;
wenzelm
parents: 72876
diff changeset
   257
build database of the given session, following the the order of theory
b3e9e9e4ff74 clarified session log file: avoid erratic messages;
wenzelm
parents: 72876
diff changeset
   258
sources, instead of erratic parallel evaluation. Consequently, the
b3e9e9e4ff74 clarified session log file: avoid erratic messages;
wenzelm
parents: 72876
diff changeset
   259
session log file is restricted to system messages of the overall build
b3e9e9e4ff74 clarified session log file: avoid erratic messages;
wenzelm
parents: 72876
diff changeset
   260
process, and thus becomes more informative.
72876
626fcaebd049 NEWS and documentation for "isabelle log";
wenzelm
parents: 72837
diff changeset
   261
72309
564012e31db1 discontinued obsolete DVI document format and related settings/tools;
wenzelm
parents: 72299
diff changeset
   262
* Discontinued obsolete isabelle display tool, and DVI_VIEWER settings
564012e31db1 discontinued obsolete DVI document format and related settings/tools;
wenzelm
parents: 72299
diff changeset
   263
variable.
564012e31db1 discontinued obsolete DVI document format and related settings/tools;
wenzelm
parents: 72299
diff changeset
   264
72316
3cc6aa405858 clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents: 72314
diff changeset
   265
* The command-line tool "isabelle logo" only outputs PDF; obsolete EPS
3cc6aa405858 clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents: 72314
diff changeset
   266
(for DVI documents) has been discontinued. Former option -n has been
3cc6aa405858 clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents: 72314
diff changeset
   267
turned into -o with explicit file name. Minor INCOMPATIBILITY.
3cc6aa405858 clarified "isabelle logo", after discontinuation of DVI output (see 564012e31db1);
wenzelm
parents: 72314
diff changeset
   268
72162
5894859c5c84 more systematic support for special directories;
wenzelm
parents: 72150
diff changeset
   269
* The shell function "isabelle_directory" (within etc/settings of
5894859c5c84 more systematic support for special directories;
wenzelm
parents: 72150
diff changeset
   270
components) augments the list of special directories for persistent
5894859c5c84 more systematic support for special directories;
wenzelm
parents: 72150
diff changeset
   271
symbolic path names. This improves portability of heap images and
5894859c5c84 more systematic support for special directories;
wenzelm
parents: 72150
diff changeset
   272
session databases. It used to be hard-wired for Isabelle + AFP, but
5894859c5c84 more systematic support for special directories;
wenzelm
parents: 72150
diff changeset
   273
other projects may now participate on equal terms.
5894859c5c84 more systematic support for special directories;
wenzelm
parents: 72150
diff changeset
   274
72681
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   275
* The command-line tool "isabelle process" now prints output to
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   276
stdout/stderr separately and incrementally, instead of just one bulk to
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   277
stdout after termination. Potential INCOMPATIBILITY for external tools.
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   278
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   279
* The command-line tool "isabelle console" now supports interrupts
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   280
properly (on Linux and macOS).
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   281
72103
7b318273a4aa discontinued old batch-build functionality;
wenzelm
parents: 72088
diff changeset
   282
* Batch-builds via "isabelle build" use a PIDE session with special
7b318273a4aa discontinued old batch-build functionality;
wenzelm
parents: 72088
diff changeset
   283
protocol: this allows to invoke Isabelle/Scala operations from
7b318273a4aa discontinued old batch-build functionality;
wenzelm
parents: 72088
diff changeset
   284
Isabelle/ML. Big build jobs (e.g. AFP) require extra heap space for the
7b318273a4aa discontinued old batch-build functionality;
wenzelm
parents: 72088
diff changeset
   285
java process, e.g. like this in $ISABELLE_HOME_USER/etc/settings:
71976
80d7f004089d clarified NEWS;
wenzelm
parents: 71975
diff changeset
   286
80d7f004089d clarified NEWS;
wenzelm
parents: 71975
diff changeset
   287
  ISABELLE_TOOL_JAVA_OPTIONS="$ISABELLE_TOOL_JAVA_OPTIONS -Xmx8g"
71975
2d658beb815b enable pide_session by default (again), with extra JVM heap for AFP tests (see also 86e429abd38d, 026de3424c39);
wenzelm
parents: 71964
diff changeset
   288
72728
caa182bdab7a clarified options: batch-build has pide_reports disabled by default (requires significant resources);
wenzelm
parents: 72684
diff changeset
   289
This includes full PIDE markup, if option "build_pide_reports" is
caa182bdab7a clarified options: batch-build has pide_reports disabled by default (requires significant resources);
wenzelm
parents: 72684
diff changeset
   290
enabled.
caa182bdab7a clarified options: batch-build has pide_reports disabled by default (requires significant resources);
wenzelm
parents: 72684
diff changeset
   291
72679
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   292
* The command-line tool "isabelle build" provides option -P DIR to
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   293
produce PDF/HTML presentation in the specified directory; -P: refers to
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   294
the standard directory according to ISABELLE_BROWSER_INFO /
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   295
ISABELLE_BROWSER_INFO_SYSTEM settings. Generated PDF documents are taken
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   296
from the build database -- from this or earlier builds with option
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   297
document=pdf.
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   298
72574
d892f6d66402 build documents in Isabelle/Scala, based on generated tex files as session exports;
wenzelm
parents: 72557
diff changeset
   299
* The command-line tool "isabelle document" generates theory documents
72679
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   300
on the spot, using the underlying session build database (exported
72681
035b8054013a tuned NEWS;
wenzelm
parents: 72679
diff changeset
   301
LaTeX sources or existing PDF files). INCOMPATIBILITY, the former
72679
7ab733b2aecb more NEWS;
wenzelm
parents: 72678
diff changeset
   302
"isabelle document" tool was rather different and has been discontinued.
72574
d892f6d66402 build documents in Isabelle/Scala, based on generated tex files as session exports;
wenzelm
parents: 72557
diff changeset
   303
71808
e2ad50885887 added "isabelle sessions" tool;
wenzelm
parents: 71788
diff changeset
   304
* The command-line tool "isabelle sessions" explores the structure of
e2ad50885887 added "isabelle sessions" tool;
wenzelm
parents: 71788
diff changeset
   305
Isabelle sessions and prints result names in topological order (on
e2ad50885887 added "isabelle sessions" tool;
wenzelm
parents: 71788
diff changeset
   306
stdout).
e2ad50885887 added "isabelle sessions" tool;
wenzelm
parents: 71788
diff changeset
   307
71733
6c470c918aad more general support for isabelle_scala_service;
wenzelm
parents: 71728
diff changeset
   308
* The Isabelle/Scala "Progress" interface changed slightly and
6c470c918aad more general support for isabelle_scala_service;
wenzelm
parents: 71728
diff changeset
   309
"No_Progress" has been discontinued. INCOMPATIBILITY, use "new Progress"
6c470c918aad more general support for isabelle_scala_service;
wenzelm
parents: 71728
diff changeset
   310
instead.
6c470c918aad more general support for isabelle_scala_service;
wenzelm
parents: 71728
diff changeset
   311
6c470c918aad more general support for isabelle_scala_service;
wenzelm
parents: 71728
diff changeset
   312
* General support for Isabelle/Scala system services, configured via the
6c470c918aad more general support for isabelle_scala_service;
wenzelm
parents: 71728
diff changeset
   313
shell function "isabelle_scala_service" in etc/settings (e.g. of an
71741
wenzelm
parents: 71736
diff changeset
   314
Isabelle component); see implementations of class
wenzelm
parents: 71736
diff changeset
   315
Isabelle_System.Service in Isabelle/Scala. This supersedes former
wenzelm
parents: 71736
diff changeset
   316
"isabelle_scala_tools" and "isabelle_file_format": minor
wenzelm
parents: 71736
diff changeset
   317
INCOMPATIBILITY.
71728
wenzelm
parents: 71715
diff changeset
   318
72748
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   319
* The syntax of theory load commands (for auxiliary files) is now
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   320
specified in Isabelle/Scala, as instance of class
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   321
isabelle.Command_Span.Load_Command registered via isabelle_scala_service
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   322
in etc/settings. This allows more flexible schemes than just a list of
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   323
file extensions. Minor INCOMPATIBILITY, e.g. see theory
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   324
HOL-SPARK.SPARK_Setup to emulate the old behaviour.
04d5f6d769a7 more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents: 72728
diff changeset
   325
72521
354bfab78cbf Isabelle/Phabricator supports Ubuntu 20.04 LTS;
wenzelm
parents: 72518
diff changeset
   326
* Isabelle/Phabricator supports Ubuntu 20.04 LTS.
354bfab78cbf Isabelle/Phabricator supports Ubuntu 20.04 LTS;
wenzelm
parents: 72518
diff changeset
   327
71845
b8d7b623e274 follow Phabricator update 2020 Week 19;
wenzelm
parents: 71839
diff changeset
   328
* Isabelle/Phabricator setup has been updated to follow ongoing
b8d7b623e274 follow Phabricator update 2020 Week 19;
wenzelm
parents: 71839
diff changeset
   329
development: libphutil has been discontinued. Minor INCOMPATIBILITY:
b8d7b623e274 follow Phabricator update 2020 Week 19;
wenzelm
parents: 71839
diff changeset
   330
existing server installations should remove libphutil from
b8d7b623e274 follow Phabricator update 2020 Week 19;
wenzelm
parents: 71839
diff changeset
   331
/usr/local/bin/isabelle-phabricator-upgrade and each installation root
b8d7b623e274 follow Phabricator update 2020 Week 19;
wenzelm
parents: 71839
diff changeset
   332
directory (e.g. /var/www/phabricator-vcs/libphutil).
b8d7b623e274 follow Phabricator update 2020 Week 19;
wenzelm
parents: 71839
diff changeset
   333
72510
wenzelm
parents: 72478
diff changeset
   334
* Experimental support for arm64-linux platform. The reference platform
wenzelm
parents: 72478
diff changeset
   335
is Raspberry Pi 4 with 8 GB RAM running Pi OS (64 bit).
wenzelm
parents: 72478
diff changeset
   336
71557
61ba52af28e3 back to post-release mode;
wenzelm
parents: 71551
diff changeset
   337
71839
0bbe0866b7e6 The Uniq quantifier for FOL too
paulson <lp15@cam.ac.uk>
parents: 71837
diff changeset
   338
71485
29e297fd5473 updated for release;
wenzelm
parents: 71484
diff changeset
   339
New in Isabelle2020 (April 2020)
29e297fd5473 updated for release;
wenzelm
parents: 71484
diff changeset
   340
--------------------------------
70265
a8238fd25541 back to post-release mode;
wenzelm
parents: 70260
diff changeset
   341
70562
wenzelm
parents: 70525
diff changeset
   342
*** General ***
wenzelm
parents: 70525
diff changeset
   343
70677
56d70f7ce4a4 more documentation;
wenzelm
parents: 70608
diff changeset
   344
* Session ROOT files need to specify explicit 'directories' for import
70681
a6c0f2d106c8 disallow overlapping session directories;
wenzelm
parents: 70677
diff changeset
   345
of theory files. Directories cannot be shared by different sessions.
a6c0f2d106c8 disallow overlapping session directories;
wenzelm
parents: 70677
diff changeset
   346
(Recall that import of theories from other sessions works via
a6c0f2d106c8 disallow overlapping session directories;
wenzelm
parents: 70677
diff changeset
   347
session-qualified theory names, together with suitable 'sessions'
a6c0f2d106c8 disallow overlapping session directories;
wenzelm
parents: 70677
diff changeset
   348
declarations in the ROOT.)
70677
56d70f7ce4a4 more documentation;
wenzelm
parents: 70608
diff changeset
   349
70562
wenzelm
parents: 70525
diff changeset
   350
* Internal derivations record dependencies on oracles and other theorems
wenzelm
parents: 70525
diff changeset
   351
accurately, including the implicit type-class reasoning wrt. proven
wenzelm
parents: 70525
diff changeset
   352
class relations and type arities. In particular, the formal tagging with
wenzelm
parents: 70525
diff changeset
   353
"Pure.skip_proofs" of results stemming from "instance ... sorry" is now
wenzelm
parents: 70525
diff changeset
   354
propagated properly to theorems depending on such type instances.
wenzelm
parents: 70525
diff changeset
   355
wenzelm
parents: 70525
diff changeset
   356
* Command 'sorry' (oracle "Pure.skip_proofs") is more precise about the
wenzelm
parents: 70525
diff changeset
   357
actual proposition that is assumed in the goal and proof context. This
wenzelm
parents: 70525
diff changeset
   358
requires at least Proofterm.proofs = 1 to show up in theorem
wenzelm
parents: 70525
diff changeset
   359
dependencies.
wenzelm
parents: 70525
diff changeset
   360
wenzelm
parents: 70525
diff changeset
   361
* Command 'thm_oracles' prints all oracles used in given theorems,
wenzelm
parents: 70525
diff changeset
   362
covering the full graph of transitive dependencies.
wenzelm
parents: 70525
diff changeset
   363
70605
048cf2096186 clarified 'thm_deps' command;
wenzelm
parents: 70599
diff changeset
   364
* Command 'thm_deps' prints immediate theorem dependencies of the given
048cf2096186 clarified 'thm_deps' command;
wenzelm
parents: 70599
diff changeset
   365
facts. The former graph visualization has been discontinued, because it
048cf2096186 clarified 'thm_deps' command;
wenzelm
parents: 70599
diff changeset
   366
was hardly usable.
048cf2096186 clarified 'thm_deps' command;
wenzelm
parents: 70599
diff changeset
   367
71446
wenzelm
parents: 71438
diff changeset
   368
* Refined treatment of proof terms, including type-class proofs for
wenzelm
parents: 71438
diff changeset
   369
minor object-logics (FOL, FOLP, Sequents).
wenzelm
parents: 71438
diff changeset
   370
71448
wenzelm
parents: 71446
diff changeset
   371
* The inference kernel is now confined to one main module: structure
wenzelm
parents: 71446
diff changeset
   372
Thm, without the former circular dependency on structure Axclass.
wenzelm
parents: 71446
diff changeset
   373
71545
b0b16088ccf2 allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents: 71543
diff changeset
   374
* Mixfix annotations may use "' " (single quote followed by space) to
b0b16088ccf2 allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents: 71543
diff changeset
   375
separate delimiters (as documented in the isar-ref manual), without
71547
d350aabace23 proper escape for literal single quotes;
wenzelm
parents: 71545
diff changeset
   376
requiring an auxiliary empty block. A literal single quote needs to be
71551
wenzelm
parents: 71547
diff changeset
   377
escaped properly. Minor INCOMPATIBILITY.
71545
b0b16088ccf2 allow slightly odd "' " in mixfix as documented (introduced in 55754d6d399c, but broken in be8a8d60d962);
wenzelm
parents: 71543
diff changeset
   378
70562
wenzelm
parents: 70525
diff changeset
   379
70522
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   380
*** Isar ***
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   381
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   382
* The proof method combinator (subproofs m) applies the method
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   383
expression m consecutively to each subgoal, constructing individual
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   384
subproofs internally. This impacts the internal construction of proof
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   385
terms: it makes a cascade of let-expressions within the derivation tree
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   386
and may thus improve scalability.
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   387
71427
wenzelm
parents: 71378
diff changeset
   388
* Attribute "trace_locales" activates tracing of locale instances during
wenzelm
parents: 71378
diff changeset
   389
roundup. It replaces the diagnostic command 'print_dependencies', which
wenzelm
parents: 71378
diff changeset
   390
has been discontinued.
70608
d997c7ba3305 Tracing of locale activation.
ballarin
parents: 70605
diff changeset
   391
70522
f2d58cafbc13 more documentation;
wenzelm
parents: 70434
diff changeset
   392
70683
8c7706b053c7 find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents: 70681
diff changeset
   393
*** Isabelle/jEdit Prover IDE ***
8c7706b053c7 find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents: 70681
diff changeset
   394
71543
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   395
* Prover IDE startup is now much faster, because theory dependencies are
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   396
no longer explored in advance. The overall session structure with its
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   397
declarations of 'directories' is sufficient to locate theory files. Thus
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   398
the "session focus" of option "isabelle jedit -S" has become obsolete
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   399
(likewise for "isabelle vscode_server -S"). Existing option "-R" is both
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   400
sufficient and more convenient to start editing a particular session.
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   401
71497
a80fa14bccb8 more Isabelle/jEdit actions;
wenzelm
parents: 71493
diff changeset
   402
* Actions isabelle.tooltip (CS+b) and isabelle.message (CS+m) display
a80fa14bccb8 more Isabelle/jEdit actions;
wenzelm
parents: 71493
diff changeset
   403
tooltip message popups, corresponding to mouse hovering with/without the
a80fa14bccb8 more Isabelle/jEdit actions;
wenzelm
parents: 71493
diff changeset
   404
CONTROL/COMMAND key pressed.
a80fa14bccb8 more Isabelle/jEdit actions;
wenzelm
parents: 71493
diff changeset
   405
71499
29f37eb9bd0f more Isabelle/jEdit actions;
wenzelm
parents: 71497
diff changeset
   406
* The following actions allow to navigate errors within the current
29f37eb9bd0f more Isabelle/jEdit actions;
wenzelm
parents: 71497
diff changeset
   407
document snapshot:
29f37eb9bd0f more Isabelle/jEdit actions;
wenzelm
parents: 71497
diff changeset
   408
29f37eb9bd0f more Isabelle/jEdit actions;
wenzelm
parents: 71497
diff changeset
   409
  isabelle.first-error (CS+a)
71505
ae3399b05e9b more documentation;
wenzelm
parents: 71499
diff changeset
   410
  isabelle.last-error (CS+z)
ae3399b05e9b more documentation;
wenzelm
parents: 71499
diff changeset
   411
  isabelle.next-error (CS+n)
ae3399b05e9b more documentation;
wenzelm
parents: 71499
diff changeset
   412
  isabelle.prev-error (CS+p)
71499
29f37eb9bd0f more Isabelle/jEdit actions;
wenzelm
parents: 71497
diff changeset
   413
71430
wenzelm
parents: 71429
diff changeset
   414
* Support more brackets: \<llangle> \<rrangle> (intended for implicit argument syntax).
wenzelm
parents: 71429
diff changeset
   415
71520
62755ec99671 support Java/VM monitoring via jconsole;
wenzelm
parents: 71505
diff changeset
   416
* Action isabelle.jconsole (menu item Plugins / Isabelle / Java/VM
62755ec99671 support Java/VM monitoring via jconsole;
wenzelm
parents: 71505
diff changeset
   417
Monitor) applies the jconsole tool on the running Isabelle/jEdit
62755ec99671 support Java/VM monitoring via jconsole;
wenzelm
parents: 71505
diff changeset
   418
process. This allows to monitor resource usage etc.
62755ec99671 support Java/VM monitoring via jconsole;
wenzelm
parents: 71505
diff changeset
   419
71543
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   420
* More adequate default font sizes for Linux on HD / UHD displays:
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   421
automatic font scaling is usually absent on Linux, in contrast to
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   422
Windows and macOS.
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   423
71575
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   424
* The default value for the jEdit property "view.antiAlias" (menu item
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   425
Utilities / Global Options / Text Area / Anti Aliased smooth text) is
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   426
now "subpixel HRGB", instead of former "standard". Especially on Linux
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   427
this often leads to faster text rendering, but can also cause problems
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   428
with odd color shades. An alternative is to switch back to "standard"
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   429
here, and set the following Java system property:
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   430
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   431
    isabelle jedit -Dsun.java2d.opengl=true
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   432
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   433
This can be made persistent via JEDIT_JAVA_OPTIONS in
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   434
$ISABELLE_HOME_USER/etc/settings. For the "Isabelle2020" desktop
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   435
application there is a corresponding options file in the same directory.
aff37005fd79 more NEWS;
wenzelm
parents: 71551
diff changeset
   436
70683
8c7706b053c7 find theory files via session structure: much faster Prover IDE startup;
wenzelm
parents: 70681
diff changeset
   437
71473
be84312a2d53 update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents: 71448
diff changeset
   438
*** Isabelle/VSCode Prover IDE ***
be84312a2d53 update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents: 71448
diff changeset
   439
71484
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   440
* Update of State and Preview panels to use new WebviewPanel API of
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   441
VSCode.
71473
be84312a2d53 update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents: 71448
diff changeset
   442
be84312a2d53 update to WebviewPanel API, following initial version by Peter Zeller;
wenzelm
parents: 71448
diff changeset
   443
70337
48609a6af1a0 removed relics of ASCII syntax for indexed big operators
haftmann
parents: 70300
diff changeset
   444
*** HOL ***
48609a6af1a0 removed relics of ASCII syntax for indexed big operators
haftmann
parents: 70300
diff changeset
   445
71427
wenzelm
parents: 71378
diff changeset
   446
* Improvements of the 'lift_bnf' command:
71264
0c454a5d125d NEWS, CONTRIBUTORS, and documentation
traytel
parents: 71259
diff changeset
   447
  - Add support for quotient types.
71427
wenzelm
parents: 71378
diff changeset
   448
  - Generate transfer rules for the lifted map/set/rel/pred constants
wenzelm
parents: 71378
diff changeset
   449
    (theorems "<type>.<constant>_transfer_raw").
71264
0c454a5d125d NEWS, CONTRIBUTORS, and documentation
traytel
parents: 71259
diff changeset
   450
70784
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   451
* Term_XML.Encode/Decode.term uses compact representation of Const
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   452
"typargs" from the given declaration environment. This also makes more
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   453
sense for translations to lambda-calculi with explicit polymorphism.
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   454
INCOMPATIBILITY, use Term_XML.Encode/Decode.term_raw in special
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   455
applications.
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   456
70524
7783bece74b4 tuned whitespace;
wenzelm
parents: 70522
diff changeset
   457
* ASCII membership syntax concerning big operators for infimum and
71427
wenzelm
parents: 71378
diff changeset
   458
supremum has been discontinued. INCOMPATIBILITY.
70524
7783bece74b4 tuned whitespace;
wenzelm
parents: 70522
diff changeset
   459
71543
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   460
* Removed multiplicativity assumption from class
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   461
"normalization_semidom". Introduced various new intermediate classes
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   462
with the multiplicativity assumption; many theorem statements
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   463
(especially involving GCD/LCM) had to be adapted. This allows for a more
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   464
natural instantiation of the algebraic typeclasses for e.g. Gaussian
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   465
integers. INCOMPATIBILITY.
317e9ebbc3e1 updated for release;
wenzelm
parents: 71536
diff changeset
   466
70524
7783bece74b4 tuned whitespace;
wenzelm
parents: 70522
diff changeset
   467
* Clear distinction between types for bits (False / True) and Z2 (0 /
71427
wenzelm
parents: 71378
diff changeset
   468
1): theory HOL-Library.Bit has been renamed accordingly.
wenzelm
parents: 71378
diff changeset
   469
INCOMPATIBILITY.
wenzelm
parents: 71378
diff changeset
   470
wenzelm
parents: 71378
diff changeset
   471
* Dynamic facts "algebra_split_simps" and "field_split_simps" correspond
70817
dd675800469d dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents: 70784
diff changeset
   472
to algebra_simps and field_simps but contain more aggressive rules
dd675800469d dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents: 70784
diff changeset
   473
potentially splitting goals; algebra_split_simps roughly replaces
dd675800469d dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents: 70784
diff changeset
   474
sign_simps and field_split_simps can be used instead of divide_simps.
dd675800469d dedicated fact collections for algebraic simplification rules potentially splitting goals
haftmann
parents: 70784
diff changeset
   475
INCOMPATIBILITY.
70524
7783bece74b4 tuned whitespace;
wenzelm
parents: 70522
diff changeset
   476
71428
wenzelm
parents: 71427
diff changeset
   477
* Theory HOL.Complete_Lattices:
wenzelm
parents: 71427
diff changeset
   478
renamed Inf_Sup -> Inf_eq_Sup and Sup_Inf -> Sup_eq_Inf
wenzelm
parents: 71427
diff changeset
   479
71434
6c52b1d71f8b proper symbols;
wenzelm
parents: 71433
diff changeset
   480
* Theory HOL-Library.Monad_Syntax: infix operation "bind" (\<bind>)
70524
7783bece74b4 tuned whitespace;
wenzelm
parents: 70522
diff changeset
   481
associates to the left now as is customary.
7783bece74b4 tuned whitespace;
wenzelm
parents: 70522
diff changeset
   482
71259
09aee7f5b447 Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents: 71166
diff changeset
   483
* Theory HOL-Library.Ramsey: full finite Ramsey's theorem with
09aee7f5b447 Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents: 71166
diff changeset
   484
multiple colours and arbitrary exponents.
09aee7f5b447 Ramsey with multiple colours and arbitrary exponents
paulson <lp15@cam.ac.uk>
parents: 71166
diff changeset
   485
71484
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   486
* Session HOL-Proofs: build faster thanks to better treatment of proof
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   487
terms in Isabelle/Pure.
71147
wenzelm
parents: 71134
diff changeset
   488
71438
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   489
* Session HOL-Word: bitwise NOT-operator has proper prefix syntax. Minor
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   490
INCOMPATIBILITY.
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   491
71484
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   492
* Session HOL-Analysis: proof method "metric" implements a decision
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   493
procedure for simple linear statements in metric spaces.
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   494
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   495
* Session HOL-Complex_Analysis has been split off from HOL-Analysis.
71149
a7d1fb0c9e16 proper prefix syntax
haftmann
parents: 71147
diff changeset
   496
71150
9e7d40d67258 tuned whitespace
haftmann
parents: 71149
diff changeset
   497
70525
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   498
*** ML ***
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   499
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   500
* Theory construction may be forked internally, the operation
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   501
Theory.join_theory recovers a single result theory. See also the example
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   502
in theory "HOL-ex.Join_Theory".
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   503
70565
d0b75c59beca added ML antiquotation @{oracle_name};
wenzelm
parents: 70562
diff changeset
   504
* Antiquotation @{oracle_name} inlines a formally checked oracle name.
d0b75c59beca added ML antiquotation @{oracle_name};
wenzelm
parents: 70562
diff changeset
   505
71436
2e1b0ee920f5 updated for release;
wenzelm
parents: 71434
diff changeset
   506
* Minimal support for a soft-type system within the Isabelle logical
2e1b0ee920f5 updated for release;
wenzelm
parents: 71434
diff changeset
   507
framework (module Soft_Type_System).
2e1b0ee920f5 updated for release;
wenzelm
parents: 71434
diff changeset
   508
71750
f39b1afe8845 tuned NEWS;
wenzelm
parents: 71662
diff changeset
   509
* Former Variable.auto_fixes has been replaced by slightly more general
f39b1afe8845 tuned NEWS;
wenzelm
parents: 71662
diff changeset
   510
Proof_Context.augment: it is subject to an optional soft-type system of
f39b1afe8845 tuned NEWS;
wenzelm
parents: 71662
diff changeset
   511
the underlying object-logic. Minor INCOMPATIBILITY.
71436
2e1b0ee920f5 updated for release;
wenzelm
parents: 71434
diff changeset
   512
71438
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   513
* More scalable Export.export using XML.tree to avoid premature string
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   514
allocations, with convenient shortcut XML.blob. Minor INCOMPATIBILITY.
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   515
71493
wenzelm
parents: 71485
diff changeset
   516
* Prover IDE support for the underlying Poly/ML compiler (not the basis
wenzelm
parents: 71485
diff changeset
   517
library). Open $ML_SOURCES/ROOT.ML in Isabelle/jEdit to browse the
wenzelm
parents: 71485
diff changeset
   518
implementation with full markup.
wenzelm
parents: 71485
diff changeset
   519
70525
1615b6808192 NEWS and example for Theory.join_theory;
wenzelm
parents: 70524
diff changeset
   520
70599
wenzelm
parents: 70565
diff changeset
   521
*** System ***
wenzelm
parents: 70565
diff changeset
   522
71433
wenzelm
parents: 71432
diff changeset
   523
* Standard rendering for more Isabelle symbols: \<llangle> \<rrangle> \<bbar> \<sqdot>
wenzelm
parents: 71432
diff changeset
   524
71378
820cf124dced added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents: 71343
diff changeset
   525
* The command-line tool "isabelle scala_project" creates a Gradle
820cf124dced added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents: 71343
diff changeset
   526
project configuration for Isabelle/Scala/jEdit, to support Scala IDEs
820cf124dced added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents: 71343
diff changeset
   527
such as IntelliJ IDEA.
820cf124dced added "isabelle scala_project" to support e.g. IntelliJ IDEA;
wenzelm
parents: 71343
diff changeset
   528
71293
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   529
* The command-line tool "isabelle phabricator_setup" facilitates
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   530
self-hosting of the Phabricator software-development platform, with
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   531
support for Git, Mercurial, Subversion repositories. This helps to avoid
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   532
monoculture and to escape the gravity of centralized version control by
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   533
Github and/or Bitbucket. For further documentation, see chapter
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   534
"Phabricator server administration" in the "system" manual. A notable
8f3940150493 tuned NEWS;
wenzelm
parents: 71291
diff changeset
   535
example installation is https://isabelle-dev.sketis.net/.
71134
wenzelm
parents: 70957
diff changeset
   536
71325
wenzelm
parents: 71293
diff changeset
   537
* The command-line tool "isabelle hg_setup" simplifies the setup of
wenzelm
parents: 71293
diff changeset
   538
Mercurial repositories, with hosting via Phabricator or SSH file server
wenzelm
parents: 71293
diff changeset
   539
access.
wenzelm
parents: 71293
diff changeset
   540
70686
9cde8c4ea5a5 discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents: 70683
diff changeset
   541
* The command-line tool "isabelle imports" has been discontinued: strict
9cde8c4ea5a5 discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents: 70683
diff changeset
   542
checking of session directories enforces session-qualified theory names
9cde8c4ea5a5 discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents: 70683
diff changeset
   543
in applications -- users are responsible to specify session ROOT entries
9cde8c4ea5a5 discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents: 70683
diff changeset
   544
properly.
9cde8c4ea5a5 discontinued obsolete "isabelle imports" and all_known data;
wenzelm
parents: 70683
diff changeset
   545
71429
wenzelm
parents: 71428
diff changeset
   546
* The command-line tool "isabelle dump" and its underlying
wenzelm
parents: 71428
diff changeset
   547
Isabelle/Scala module isabelle.Dump has become more scalable, by
wenzelm
parents: 71428
diff changeset
   548
splitting sessions and supporting a base logic image. Minor
wenzelm
parents: 71428
diff changeset
   549
INCOMPATIBILITY in options and parameters.
wenzelm
parents: 71428
diff changeset
   550
71750
f39b1afe8845 tuned NEWS;
wenzelm
parents: 71662
diff changeset
   551
* The command-line tool "isabelle build_docker" has been slightly
f39b1afe8845 tuned NEWS;
wenzelm
parents: 71662
diff changeset
   552
improved: it is now properly documented in the "system" manual.
f39b1afe8845 tuned NEWS;
wenzelm
parents: 71662
diff changeset
   553
71438
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   554
* Isabelle/Scala support for the Linux platform (Ubuntu): packages,
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   555
users, system services.
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   556
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   557
* Isabelle/Scala support for proof terms (with full type/term
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   558
information) in module isabelle.Term.
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   559
71662
263298eb68b2 more NEWS;
wenzelm
parents: 71581
diff changeset
   560
* Isabelle/Scala: more scalable output of YXML files, e.g. relevant for
263298eb68b2 more NEWS;
wenzelm
parents: 71581
diff changeset
   561
"isabelle dump".
263298eb68b2 more NEWS;
wenzelm
parents: 71581
diff changeset
   562
70599
wenzelm
parents: 70565
diff changeset
   563
* Theory export via Isabelle/Scala has been reworked. The former "fact"
wenzelm
parents: 70565
diff changeset
   564
name space is now split into individual "thm" items: names are
wenzelm
parents: 70565
diff changeset
   565
potentially indexed, such as "foo" for singleton facts, or "bar(1)",
wenzelm
parents: 70565
diff changeset
   566
"bar(2)", "bar(3)" for multi-facts. Theorem dependencies are now
wenzelm
parents: 70565
diff changeset
   567
exported as well: this spans an overall dependency graph of internal
wenzelm
parents: 70565
diff changeset
   568
inferences; it might help to reconstruct the formal structure of theory
71751
abf3e80bd815 tuned NEWS;
wenzelm
parents: 71750
diff changeset
   569
libraries. See also the module isabelle.Export_Theory in Isabelle/Scala.
70599
wenzelm
parents: 70565
diff changeset
   570
71484
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   571
* Theory export of structured specifications, based on internal
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   572
declarations of Spec_Rules by packages like 'definition', 'inductive',
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   573
'primrec', 'function'.
bb82dd4d19f6 updated for release;
wenzelm
parents: 71473
diff changeset
   574
71428
wenzelm
parents: 71427
diff changeset
   575
* Old settings variables ISABELLE_PLATFORM and ISABELLE_WINDOWS_PLATFORM
wenzelm
parents: 71427
diff changeset
   576
have been discontinued -- deprecated since Isabelle2018.
wenzelm
parents: 71427
diff changeset
   577
71438
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   578
* More complete x86_64 platform support on macOS, notably Catalina where
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   579
old x86 has been discontinued.
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   580
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   581
* Update to GHC stack 2.1.3 with stackage lts-13.19/ghc-8.6.4.
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   582
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   583
* Update to OCaml Opam 2.0.6 (using ocaml 4.05.0 as before).
22158ebde77f updated for release;
wenzelm
parents: 71436
diff changeset
   584
70265
a8238fd25541 back to post-release mode;
wenzelm
parents: 70260
diff changeset
   585
70784
799437173553 Term_XML.Encode/Decode.term uses Const "typargs";
wenzelm
parents: 70686
diff changeset
   586
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   587
New in Isabelle2019 (June 2019)
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   588
-------------------------------
68683
d69127c6e80f back to post-release mode -- after fork point;
wenzelm
parents: 68681
diff changeset
   589
69042
6e9df530b441 discontinued old-style inner comments;
wenzelm
parents: 69037
diff changeset
   590
*** General ***
6e9df530b441 discontinued old-style inner comments;
wenzelm
parents: 69037
diff changeset
   591
70032
0674c24afc5e updated for release;
wenzelm
parents: 70031
diff changeset
   592
* The font collection "Isabelle DejaVu" is systematically derived from
0674c24afc5e updated for release;
wenzelm
parents: 70031
diff changeset
   593
the existing "DejaVu" fonts, with variants "Sans Mono", "Sans", "Serif"
69343
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   594
and styles "Normal", "Bold", "Italic/Oblique", "Bold-Italic/Oblique".
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   595
The DejaVu base fonts are retricted to well-defined Unicode ranges and
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   596
augmented by special Isabelle symbols, taken from the former
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   597
"IsabelleText" font (which is no longer provided separately). The line
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   598
metrics and overall rendering quality is closer to original DejaVu.
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   599
INCOMPATIBILITY with display configuration expecting the old
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   600
"IsabelleText" font: use e.g. "Isabelle DejaVu Sans Mono" instead.
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   601
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   602
* The Isabelle fonts render "\<inverse>" properly as superscript "-1".
395c4fb15ea2 use "Isabelle DejaVu" fonts uniformly: Text Area, GUI elements, HTML output etc.;
wenzelm
parents: 69316
diff changeset
   603
69042
6e9df530b441 discontinued old-style inner comments;
wenzelm
parents: 69037
diff changeset
   604
* Old-style inner comments (* ... *) within the term language are no
6e9df530b441 discontinued old-style inner comments;
wenzelm
parents: 69037
diff changeset
   605
longer supported (legacy feature in Isabelle2018).
6e9df530b441 discontinued old-style inner comments;
wenzelm
parents: 69037
diff changeset
   606
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   607
* Old-style {* verbatim *} tokens are explicitly marked as legacy
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   608
feature and will be removed soon. Use \<open>cartouche\<close> syntax instead, e.g.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   609
via "isabelle update_cartouches -t" (available since Isabelle2015).
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   610
70297
wenzelm
parents: 70281
diff changeset
   611
* Infix operators that begin or end with a "*" are now parenthesized
wenzelm
parents: 70281
diff changeset
   612
without additional spaces, e.g. "(*)" instead of "( * )". Minor
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   613
INCOMPATIBILITY.
69066
nipkow
parents: 69045
diff changeset
   614
69580
6f755e3cd95d mixfix annotations may use cartouches;
wenzelm
parents: 69569
diff changeset
   615
* Mixfix annotations may use cartouches instead of old-style double
69586
9171d1ce5a35 support for "isabelle update -u mixfix_cartouches";
wenzelm
parents: 69585
diff changeset
   616
quotes, e.g. (infixl \<open>+\<close> 60). The command-line tool "isabelle update -u
9171d1ce5a35 support for "isabelle update -u mixfix_cartouches";
wenzelm
parents: 69585
diff changeset
   617
mixfix_cartouches" allows to update existing theory sources
9171d1ce5a35 support for "isabelle update -u mixfix_cartouches";
wenzelm
parents: 69585
diff changeset
   618
automatically.
69580
6f755e3cd95d mixfix annotations may use cartouches;
wenzelm
parents: 69569
diff changeset
   619
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
   620
* 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
   621
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
   622
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
   623
70057
0403b5127da1 documentation for generated files;
wenzelm
parents: 70032
diff changeset
   624
* Commands 'generate_file', 'export_generated_files', and
0403b5127da1 documentation for generated files;
wenzelm
parents: 70032
diff changeset
   625
'compile_generated_files' support a stateless (PIDE-conformant) model
0403b5127da1 documentation for generated files;
wenzelm
parents: 70032
diff changeset
   626
for generated sources and compiled binaries of other languages. The
70060
wenzelm
parents: 70057
diff changeset
   627
compilation process is managed in Isabelle/ML, and results exported to
70057
0403b5127da1 documentation for generated files;
wenzelm
parents: 70032
diff changeset
   628
the session database for further use (e.g. with "isabelle export" or
0403b5127da1 documentation for generated files;
wenzelm
parents: 70032
diff changeset
   629
"isabelle build -e").
0403b5127da1 documentation for generated files;
wenzelm
parents: 70032
diff changeset
   630
69042
6e9df530b441 discontinued old-style inner comments;
wenzelm
parents: 69037
diff changeset
   631
69189
wenzelm
parents: 69183
diff changeset
   632
*** Isabelle/jEdit Prover IDE ***
wenzelm
parents: 69183
diff changeset
   633
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   634
* Fonts for the text area, gutter, GUI elements etc. use the "Isabelle
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   635
DejaVu" collection by default, which provides uniform rendering quality
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   636
with the usual Isabelle symbols. Line spacing no longer needs to be
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   637
adjusted: properties for the old IsabelleText font had "Global Options /
70069
381035c03220 proper default;
wenzelm
parents: 70068
diff changeset
   638
Text Area / Extra vertical line spacing (in pixels): -2", it now
381035c03220 proper default;
wenzelm
parents: 70068
diff changeset
   639
defaults to 1, but 0 works as well.
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   640
69780
wenzelm
parents: 69778
diff changeset
   641
* The jEdit File Browser is more prominent in the default GUI layout of
wenzelm
parents: 69778
diff changeset
   642
Isabelle/jEdit: various virtual file-systems provide access to Isabelle
wenzelm
parents: 69778
diff changeset
   643
resources, notably via "favorites:" (or "Edit Favorites").
wenzelm
parents: 69778
diff changeset
   644
70061
5b75480f371a more NEWS;
wenzelm
parents: 70060
diff changeset
   645
* Further markup and rendering for "plain text" (e.g. informal prose)
5b75480f371a more NEWS;
wenzelm
parents: 70060
diff changeset
   646
and "raw text" (e.g. verbatim sources). This improves the visual
5b75480f371a more NEWS;
wenzelm
parents: 70060
diff changeset
   647
appearance of formal comments inside the term language, or in general
5b75480f371a more NEWS;
wenzelm
parents: 70060
diff changeset
   648
for repeated alternation of formal and informal text.
5b75480f371a more NEWS;
wenzelm
parents: 70060
diff changeset
   649
69643
83f15deb2d36 added action "isabelle-export-browser";
wenzelm
parents: 69624
diff changeset
   650
* Action "isabelle-export-browser" points the File Browser to the theory
69764
wenzelm
parents: 69755
diff changeset
   651
exports of the current buffer, based on the "isabelle-export:" virtual
wenzelm
parents: 69755
diff changeset
   652
file-system. The directory view needs to be reloaded manually to follow
wenzelm
parents: 69755
diff changeset
   653
ongoing document processing.
wenzelm
parents: 69755
diff changeset
   654
wenzelm
parents: 69755
diff changeset
   655
* Action "isabelle-session-browser" points the File Browser to session
wenzelm
parents: 69755
diff changeset
   656
information, based on the "isabelle-session:" virtual file-system. Its
wenzelm
parents: 69755
diff changeset
   657
entries are structured according to chapter / session names, the open
wenzelm
parents: 69755
diff changeset
   658
operation is redirected to the session ROOT file.
69643
83f15deb2d36 added action "isabelle-export-browser";
wenzelm
parents: 69624
diff changeset
   659
69273
wenzelm
parents: 69269
diff changeset
   660
* Support for user-defined file-formats via class isabelle.File_Format
69277
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   661
in Isabelle/Scala (e.g. see isabelle.Bibtex.File_Format), configured via
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   662
the shell function "isabelle_file_format" in etc/settings (e.g. of an
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   663
Isabelle component).
69273
wenzelm
parents: 69269
diff changeset
   664
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   665
* System option "jedit_text_overview" allows to disable the text
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   666
overview column.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   667
69854
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   668
* Command-line options "-s" and "-u" of "isabelle jedit" override the
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   669
default for system option "system_heaps" that determines the heap
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   670
storage directory for "isabelle build". Option "-n" is now clearly
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   671
separated from option "-s".
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   672
70105
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   673
* The Isabelle/jEdit desktop application uses the same options as
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   674
"isabelle jedit" for its internal "isabelle build" process: the implicit
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   675
option "-o system_heaps" (or "-s") has been discontinued. This reduces
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   676
the potential for surprise wrt. command-line tools.
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   677
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   678
* The official download of the Isabelle/jEdit application already
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   679
contains heap images for Isabelle/HOL within its main directory: thus
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   680
the first encounter becomes faster and more robust (e.g. when run from a
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   681
read-only directory).
eadd87383e30 clarified build of standard heaps;
wenzelm
parents: 70082
diff changeset
   682
70072
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   683
* Isabelle DejaVu fonts are available with hinting by default, which is
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   684
relevant for low-resolution displays. This may be disabled via system
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   685
option "isabelle_fonts_hinted = false" in
70075
ee0b8e06b01c proper etc/preferences;
wenzelm
parents: 70072
diff changeset
   686
$ISABELLE_HOME_USER/etc/preferences -- it occasionally yields better
70072
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   687
results.
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   688
70031
wenzelm
parents: 70026
diff changeset
   689
* OpenJDK 11 has quite different font rendering, with better glyph
wenzelm
parents: 70026
diff changeset
   690
shapes and improved sub-pixel anti-aliasing. In some situations results
70072
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   691
might be *worse* than Oracle Java 8, though -- a proper HiDPI / UHD
54dc58086351 support both hinted and unhinted fonts;
wenzelm
parents: 70069
diff changeset
   692
display is recommended.
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   693
70258
b4534d72dd22 more NEWS;
wenzelm
parents: 70237
diff changeset
   694
* OpenJDK 11 supports GTK version 2.2 and 3 (according to system
b4534d72dd22 more NEWS;
wenzelm
parents: 70237
diff changeset
   695
property jdk.gtk.version). The factory default is version 3, but
b4534d72dd22 more NEWS;
wenzelm
parents: 70237
diff changeset
   696
ISABELLE_JAVA_SYSTEM_OPTIONS includes "-Djdk.gtk.version=2.2" to make
b4534d72dd22 more NEWS;
wenzelm
parents: 70237
diff changeset
   697
this more conservative (as in Java 8). Depending on the GTK theme
b4534d72dd22 more NEWS;
wenzelm
parents: 70237
diff changeset
   698
configuration, "-Djdk.gtk.version=3" might work better or worse.
b4534d72dd22 more NEWS;
wenzelm
parents: 70237
diff changeset
   699
69189
wenzelm
parents: 69183
diff changeset
   700
69962
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   701
*** Document preparation ***
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   702
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   703
* Document markers are formal comments of the form \<^marker>\<open>marker_body\<close> that
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   704
are stripped from document output: the effect is to modify the semantic
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   705
presentation context or to emit markup to the PIDE document. Some
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   706
predefined markers are taken from the Dublin Core Metadata Initiative,
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   707
e.g. \<^marker>\<open>contributor arg\<close> or \<^marker>\<open>license arg\<close> and produce PIDE markup that
70281
wenzelm
parents: 70260
diff changeset
   708
can be retrieved from the document database.
69962
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   709
70140
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   710
* Old-style command tags %name are re-interpreted as markers with
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   711
proof-scope \<^marker>\<open>tag (proof) name\<close> and produce LaTeX environments as
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   712
before. Potential INCOMPATIBILITY: multiple markers are composed in
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   713
canonical order, resulting in a reversed list of tags in the
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   714
presentation context.
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   715
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   716
* Marker \<^marker>\<open>tag name\<close> does not apply to the proof of a top-level goal
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   717
statement by default (e.g. 'theorem', 'lemma'). This is a subtle change
d13865c21e36 updated documentation;
wenzelm
parents: 70127
diff changeset
   718
of semantics wrt. old-style %name.
69962
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   719
70143
0cc7fe616924 more abbrevs;
wenzelm
parents: 70140
diff changeset
   720
* In Isabelle/jEdit, the string "\tag" may be completed to a "\<^marker>\<open>tag \<close>"
0cc7fe616924 more abbrevs;
wenzelm
parents: 70140
diff changeset
   721
template.
0cc7fe616924 more abbrevs;
wenzelm
parents: 70140
diff changeset
   722
70121
61e26527480e added document antiquotation option "cartouche";
wenzelm
parents: 70106
diff changeset
   723
* Document antiquotation option "cartouche" indicates if the output
61e26527480e added document antiquotation option "cartouche";
wenzelm
parents: 70106
diff changeset
   724
should be delimited as cartouche; this takes precedence over the
61e26527480e added document antiquotation option "cartouche";
wenzelm
parents: 70106
diff changeset
   725
analogous option "quotes".
61e26527480e added document antiquotation option "cartouche";
wenzelm
parents: 70106
diff changeset
   726
70122
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   727
* Many document antiquotations are internally categorized as "embedded"
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   728
and expect one cartouche argument, which is typically used with the
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   729
\<^control>\<open>cartouche\<close> notation (e.g. \<^term>\<open>\<lambda>x y. x\<close>). The cartouche
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   730
delimiters are stripped in output of the source (antiquotation option
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   731
"source"), but it is possible to enforce delimiters via option
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   732
"source_cartouche", e.g. @{term [source_cartouche] \<open>\<lambda>x y. x\<close>}.
a0b21b4b7a4a strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
wenzelm
parents: 70121
diff changeset
   733
69962
82e945d472d5 documentation of document markers and re-interpreted command tags;
wenzelm
parents: 69960
diff changeset
   734
68879
wenzelm
parents: 68848
diff changeset
   735
*** Isar ***
wenzelm
parents: 68848
diff changeset
   736
69045
8c240fdeffcb discontinued old-style goal cases;
wenzelm
parents: 69044
diff changeset
   737
* Implicit cases goal1, goal2, goal3, etc. have been discontinued
8c240fdeffcb discontinued old-style goal cases;
wenzelm
parents: 69044
diff changeset
   738
(legacy feature since Isabelle2016).
8c240fdeffcb discontinued old-style goal cases;
wenzelm
parents: 69044
diff changeset
   739
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   740
* More robust treatment of structural errors: begin/end blocks take
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   741
precedence over goal/proof. This is particularly relevant for the
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   742
headless PIDE session and server.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   743
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   744
* Command keywords of kind thy_decl / thy_goal may be more specifically
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   745
fit into the traditional document model of "definition-statement-proof"
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   746
via thy_defn / thy_stmt / thy_goal_defn / thy_goal_stmt.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   747
69045
8c240fdeffcb discontinued old-style goal cases;
wenzelm
parents: 69044
diff changeset
   748
68796
9ca183045102 simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents: 68770
diff changeset
   749
*** HOL ***
9ca183045102 simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents: 68770
diff changeset
   750
70009
435fb018e8ee "export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents: 69962
diff changeset
   751
* Command 'export_code' produces output as logical files within the
70011
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   752
theory context, as well as formal session exports that can be
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   753
materialized via command-line tools "isabelle export" or "isabelle build
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   754
-e" (with 'export_files' in the session ROOT). Isabelle/jEdit also
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   755
provides a virtual file-system "isabelle-export:" that can be explored
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   756
in the regular file-browser. A 'file_prefix' argument allows to specify
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   757
an explicit name prefix for the target file (SML, OCaml, Scala) or
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   758
directory (Haskell); the default is "export" with a consecutive number
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   759
within each theory.
70009
435fb018e8ee "export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents: 69962
diff changeset
   760
435fb018e8ee "export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents: 69962
diff changeset
   761
* Command 'export_code': the 'file' argument is now legacy and will be
435fb018e8ee "export_code ... file_prefix ..." is the preferred way to produce output within the logical file-system within the theory context, as well as session exports;
wenzelm
parents: 69962
diff changeset
   762
removed soon: writing to the physical file-system is not well-defined in
70011
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   763
a reactive/parallel application like Isabelle. The empty 'file' argument
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   764
has been discontinued already: it is superseded by the file-browser in
9dde788b0128 clarified 'file_prefix';
wenzelm
parents: 70009
diff changeset
   765
Isabelle/jEdit on "isabelle-export:". Minor INCOMPATIBILITY.
69624
e02bdf853a4c optional code export as theory export
haftmann
parents: 69609
diff changeset
   766
70022
49e178cbf923 'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents: 70011
diff changeset
   767
* Command 'code_reflect' no longer supports the 'file' argument: it has
49e178cbf923 'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents: 70011
diff changeset
   768
been superseded by 'file_prefix' for stateless file management as in
49e178cbf923 'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents: 70011
diff changeset
   769
'export_code'. Minor INCOMPATIBILITY.
49e178cbf923 'code_reflect' only supports new-style 'file_prefix';
wenzelm
parents: 70011
diff changeset
   770
69743
6a9a8ef5e4c6 prefer proper strings in OCaml
haftmann
parents: 69733
diff changeset
   771
* Code generation for OCaml: proper strings are used for literals.
6a9a8ef5e4c6 prefer proper strings in OCaml
haftmann
parents: 69733
diff changeset
   772
Minor INCOMPATIBILITY.
6a9a8ef5e4c6 prefer proper strings in OCaml
haftmann
parents: 69733
diff changeset
   773
69926
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   774
* Code generation for OCaml: Zarith supersedes Nums as library for
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   775
proper integer arithmetic. The library is located via standard
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   776
invocations of "ocamlfind" (via ISABELLE_OCAMLFIND settings variable).
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   777
The environment provided by "isabelle ocaml_setup" already contains this
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   778
tool and the required packages. Minor INCOMPATIBILITY.
69906
55534affe445 migrated from Nums to Zarith as library for OCaml integer arithmetic
haftmann
parents: 69903
diff changeset
   779
69690
1fb204399d8d self-contained code modules for Haskell
haftmann
parents: 69672
diff changeset
   780
* Code generation for Haskell: code includes for Haskell must contain
1fb204399d8d self-contained code modules for Haskell
haftmann
parents: 69672
diff changeset
   781
proper module frame, nothing is added magically any longer.
1fb204399d8d self-contained code modules for Haskell
haftmann
parents: 69672
diff changeset
   782
INCOMPATIBILITY.
1fb204399d8d self-contained code modules for Haskell
haftmann
parents: 69672
diff changeset
   783
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   784
* Code generation: slightly more conventional syntax for 'code_stmts'
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   785
antiquotation. Minor INCOMPATIBILITY.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   786
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   787
* Theory List: the precedence of the list_update operator has changed:
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   788
"f a [n := x]" now needs to be written "(f a)[n := x]".
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   789
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   790
* The functions \<Union>, \<Inter>, \<Squnion>, \<Sqinter> (not the corresponding binding operators)
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   791
now have the same precedence as any other prefix function symbol. Minor
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   792
INCOMPATIBILITY.
69861
62e47f06d22c avoid context-sensitive simp rules whose context-free form (image_comp) is not simp by default
haftmann
parents: 69854
diff changeset
   793
68796
9ca183045102 simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents: 68770
diff changeset
   794
* 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
   795
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
   796
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
   797
SUPREMUM, UNION, INTER should now rarely occur in output and are just
70237
7e9269c188d6 more NEWS
haftmann
parents: 70215
diff changeset
   798
retained as migration auxiliary. Abbreviations MINIMUM and MAXIMUM
7e9269c188d6 more NEWS
haftmann
parents: 70215
diff changeset
   799
are gone INCOMPATIBILITY.
68796
9ca183045102 simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents: 68770
diff changeset
   800
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   801
* The simplifier uses image_cong_simp as a congruence rule. The historic
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   802
and not really well-formed congruence rules INF_cong*, SUP_cong*, are
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   803
not used by default any longer. INCOMPATIBILITY; consider using declare
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   804
image_cong_simp [cong del] in extreme situations.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   805
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   806
* INF_image and SUP_image are no default simp rules any longer.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   807
INCOMPATIBILITY, prefer image_comp as simp rule if needed.
68938
a0b19a163f5e left-over rename from 3f9bb52082c4
haftmann
parents: 68883
diff changeset
   808
69164
74f1b0f10b2b uniform naming of strong congruence rules
nipkow
parents: 69155
diff changeset
   809
* Strong congruence rules (with =simp=> in the premises) for constant f
69546
27dae626822b prefer naming convention from datatype package for strong congruence rules
haftmann
parents: 69506
diff changeset
   810
are now uniformly called f_cong_simp, in accordance with congruence
27dae626822b prefer naming convention from datatype package for strong congruence rules
haftmann
parents: 69506
diff changeset
   811
rules produced for mappers by the datatype package. INCOMPATIBILITY.
69164
74f1b0f10b2b uniform naming of strong congruence rules
nipkow
parents: 69155
diff changeset
   812
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   813
* Retired lemma card_Union_image; use the simpler card_UN_disjoint
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   814
instead. INCOMPATIBILITY.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   815
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   816
* Facts sum_mset.commute and prod_mset.commute have been renamed to
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   817
sum_mset.swap and prod_mset.swap, similarly to sum.swap and prod.swap.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   818
INCOMPATIBILITY.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   819
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   820
* ML structure Inductive: slightly more conventional naming schema.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   821
Minor INCOMPATIBILITY.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   822
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   823
* ML: Various _global variants of specification tools have been removed.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   824
Minor INCOMPATIBILITY, prefer combinators
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   825
Named_Target.theory_map[_result] to lift specifications to the global
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   826
theory level.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   827
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   828
* Theory HOL-Library.Simps_Case_Conv: 'case_of_simps' now supports
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   829
overlapping and non-exhaustive patterns and handles arbitrarily nested
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   830
patterns. It uses on the same algorithm as HOL-Library.Code_Lazy, which
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   831
assumes sequential left-to-right pattern matching. The generated
69568
de09a7261120 new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents: 69506
diff changeset
   832
equation no longer tuples the arguments on the right-hand side.
de09a7261120 new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents: 69506
diff changeset
   833
INCOMPATIBILITY.
de09a7261120 new implementation for case_of_simps based on Code_Lazy's pattern matching elimination algorithm
Andreas Lochbihler
parents: 69506
diff changeset
   834
70297
wenzelm
parents: 70281
diff changeset
   835
* Theory HOL-Library.Multiset: the \<Union># operator now has the same
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   836
precedence as any other prefix function symbol.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   837
70080
traytel
parents: 70075
diff changeset
   838
* Theory HOL-Library.Cardinal_Notations has been discontinued in favor
70168
e79bbf86a984 tuned for release;
wenzelm
parents: 70164
diff changeset
   839
of the bundle cardinal_syntax (available in theory Main). Minor
e79bbf86a984 tuned for release;
wenzelm
parents: 70164
diff changeset
   840
INCOMPATIBILITY.
70080
traytel
parents: 70075
diff changeset
   841
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   842
* Session HOL-Library and HOL-Number_Theory: Exponentiation by squaring,
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   843
used for computing powers in class "monoid_mult" and modular
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   844
exponentiation.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   845
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   846
* Session HOL-Computational_Algebra: Formal Laurent series and overhaul
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   847
of Formal power series.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   848
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   849
* Session HOL-Number_Theory: More material on residue rings in
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   850
Carmichael's function, primitive roots, more properties for "ord".
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   851
70125
b601c2c87076 type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents: 70106
diff changeset
   852
* Session HOL-Analysis: Better organization and much more material
b601c2c87076 type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents: 70106
diff changeset
   853
at the level of abstract topological spaces.
b601c2c87076 type instantiations for poly_mapping as a real_normed_vector
paulson <lp15@cam.ac.uk>
parents: 70106
diff changeset
   854
70164
1f163f772da3 Group theory developments towards proving algebraic closure (by de Vilhena and Baillon)
paulson <lp15@cam.ac.uk>
parents: 70143
diff changeset
   855
* Session HOL-Algebra: Free abelian groups, etc., ported from HOL Light;
70215
8371a25ca177 Algebraic closure: moving more theorems into their rightful places
paulson <lp15@cam.ac.uk>
parents: 70175
diff changeset
   856
 algebraic closure of a field by de Vilhena and Baillon.
70032
0674c24afc5e updated for release;
wenzelm
parents: 70031
diff changeset
   857
70168
e79bbf86a984 tuned for release;
wenzelm
parents: 70164
diff changeset
   858
* Session HOL-Homology has been added. It is a port of HOL Light's
e79bbf86a984 tuned for release;
wenzelm
parents: 70164
diff changeset
   859
homology library, with new proofs of "invariance of domain" and related
e79bbf86a984 tuned for release;
wenzelm
parents: 70164
diff changeset
   860
results.
e79bbf86a984 tuned for release;
wenzelm
parents: 70164
diff changeset
   861
69099
d44cb8a3e5e0 HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents: 69094
diff changeset
   862
* 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
   863
file-system, but exported to the session database. Results may be
70026
6ae9505d693a more convenient export;
wenzelm
parents: 70023
diff changeset
   864
retrieved via "isabelle build -e HOL-SPARK-Examples" on the
6ae9505d693a more convenient export;
wenzelm
parents: 70023
diff changeset
   865
command-line.
69099
d44cb8a3e5e0 HOL-SPARK .prv files are no longer written to the file-system;
wenzelm
parents: 69094
diff changeset
   866
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   867
* Sledgehammer:
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   868
  - The URL for SystemOnTPTP, which is used by remote provers, has been
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   869
    updated.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   870
  - The machine-learning-based filter MaSh has been optimized to take
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   871
    less time (in most cases).
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   872
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   873
* SMT: reconstruction is now possible using the SMT solver veriT.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   874
70174
40fdd74b75f3 entry point for comprehensive word library
haftmann
parents: 70168
diff changeset
   875
* Session HOL-Word:
40fdd74b75f3 entry point for comprehensive word library
haftmann
parents: 70168
diff changeset
   876
  * New theory More_Word as comprehensive entrance point.
70175
85fb1a585f52 eliminated type class
haftmann
parents: 70174
diff changeset
   877
  * Merged type class bitss into type class bits.
70174
40fdd74b75f3 entry point for comprehensive word library
haftmann
parents: 70168
diff changeset
   878
  INCOMPATIBILITY.
40fdd74b75f3 entry point for comprehensive word library
haftmann
parents: 70168
diff changeset
   879
68796
9ca183045102 simplified syntax setup for big operators under image, retaining input abbreviations for backward compatibility
haftmann
parents: 68770
diff changeset
   880
68803
169bf32b35dd retain original PolyML.pointerEq;
wenzelm
parents: 68796
diff changeset
   881
*** ML ***
169bf32b35dd retain original PolyML.pointerEq;
wenzelm
parents: 68796
diff changeset
   882
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   883
* Command 'generate_file' allows to produce sources for other languages,
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   884
with antiquotations in the Isabelle context (only the control-cartouche
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   885
form). The default "cartouche" antiquotation evaluates an ML expression
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   886
of type string and inlines the result as a string literal of the target
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   887
language. For example, this works for Haskell as follows:
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   888
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   889
  generate_file "Pure.hs" = \<open>
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   890
  module Isabelle.Pure where
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   891
    allConst, impConst, eqConst :: String
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   892
    allConst = \<open>\<^const_name>\<open>Pure.all\<close>\<close>
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   893
    impConst = \<open>\<^const_name>\<open>Pure.imp\<close>\<close>
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   894
    eqConst = \<open>\<^const_name>\<open>Pure.eq\<close>\<close>
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   895
  \<close>
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   896
70082
4f936de6d9b8 tuned -- prefer Isar command 'compile_generated_files';
wenzelm
parents: 70080
diff changeset
   897
See also commands 'export_generated_files' and 'compile_generated_files'
4f936de6d9b8 tuned -- prefer Isar command 'compile_generated_files';
wenzelm
parents: 70080
diff changeset
   898
to use the results.
68803
169bf32b35dd retain original PolyML.pointerEq;
wenzelm
parents: 68796
diff changeset
   899
70260
22cfcfcadd8b more documentation;
wenzelm
parents: 70258
diff changeset
   900
* ML evaluation (notably via command 'ML' or 'ML_file') is subject to
68824
7414ce0256e1 some NEWS (instead of proper documentation);
wenzelm
parents: 68803
diff changeset
   901
option ML_environment to select a named environment, such as "Isabelle"
70260
22cfcfcadd8b more documentation;
wenzelm
parents: 70258
diff changeset
   902
for Isabelle/ML, or "SML" for official Standard ML.
68803
169bf32b35dd retain original PolyML.pointerEq;
wenzelm
parents: 68796
diff changeset
   903
69381
4c9b4e2c5460 more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents: 69377
diff changeset
   904
* ML antiquotation @{master_dir} refers to the master directory of the
4c9b4e2c5460 more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents: 69377
diff changeset
   905
underlying theory, i.e. the directory of the theory file.
4c9b4e2c5460 more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents: 69377
diff changeset
   906
69470
c8c3285f1294 more ML antiquotations;
wenzelm
parents: 69381
diff changeset
   907
* ML antiquotation @{verbatim} inlines its argument as string literal,
c8c3285f1294 more ML antiquotations;
wenzelm
parents: 69381
diff changeset
   908
preserving newlines literally. The short form \<^verbatim>\<open>abc\<close> is particularly
c8c3285f1294 more ML antiquotations;
wenzelm
parents: 69381
diff changeset
   909
useful.
c8c3285f1294 more ML antiquotations;
wenzelm
parents: 69381
diff changeset
   910
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   911
* Local_Theory.reset is no longer available in user space. Regular
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   912
definitional packages should use balanced blocks of
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   913
Local_Theory.open_target versus Local_Theory.close_target instead, or
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   914
the Local_Theory.subtarget(_result) combinator. Rare INCOMPATIBILITY.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   915
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   916
* Original PolyML.pointerEq is retained as a convenience for tools that
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   917
don't use Isabelle/ML (where this is called "pointer_eq").
69381
4c9b4e2c5460 more general command 'generate_file' for registered file types, notably Haskell;
wenzelm
parents: 69377
diff changeset
   918
69282
94fa3376ba33 added ML antiquotation @{master_dir};
wenzelm
parents: 69277
diff changeset
   919
68883
3653b3ad729e clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents: 68879
diff changeset
   920
*** System ***
3653b3ad729e clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents: 68879
diff changeset
   921
70031
wenzelm
parents: 70026
diff changeset
   922
* Update to OpenJDK 11: the current long-term support version of Java.
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   923
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   924
* Update to Poly/ML 5.8 allows to use the native x86_64 platform without
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   925
the full overhead of 64-bit values everywhere. This special x86_64_32
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   926
mode provides up to 16GB ML heap, while program code and stacks are
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   927
allocated elsewhere. Thus approx. 5 times more memory is available for
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   928
applications compared to old x86 mode (which is no longer used by
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   929
Isabelle). The switch to the x86_64 CPU architecture also avoids
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   930
compatibility problems with Linux and macOS, where 32-bit applications
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   931
are gradually phased out.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   932
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   933
* System option "checkpoint" has been discontinued: obsolete thanks to
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   934
improved memory management in Poly/ML.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   935
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   936
* System option "system_heaps" determines where to store the session
69854
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   937
image of "isabelle build" (and other tools using that internally).
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   938
Former option "-s" is superseded by option "-o system_heaps".
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   939
INCOMPATIBILITY in command-line syntax.
cc0b3e177b49 system option "system_heaps" supersedes various command-line options for "system build mode";
wenzelm
parents: 69829
diff changeset
   940
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   941
* Session directory $ISABELLE_HOME/src/Tools/Haskell provides some
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   942
source modules for Isabelle tools implemented in Haskell, notably for
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   943
Isabelle/PIDE.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   944
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   945
* The command-line tool "isabelle build -e" retrieves theory exports
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   946
from the session build database, using 'export_files' in session ROOT
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   947
entries.
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   948
69585
wenzelm
parents: 69580
diff changeset
   949
* The command-line tool "isabelle update" uses Isabelle/PIDE in
wenzelm
parents: 69580
diff changeset
   950
batch-mode to update theory sources based on semantic markup produced in
69609
wenzelm
parents: 69592
diff changeset
   951
Isabelle/ML. Actual updates depend on system options that may be enabled
69588
wenzelm
parents: 69586
diff changeset
   952
via "-u OPT" (for "update_OPT"), see also $ISABELLE_HOME/etc/options
wenzelm
parents: 69586
diff changeset
   953
section "Theory update". Theory sessions are specified as in "isabelle
69585
wenzelm
parents: 69580
diff changeset
   954
dump".
wenzelm
parents: 69580
diff changeset
   955
69592
a80d8ec6c998 support for isabelle update -u control_cartouches;
wenzelm
parents: 69588
diff changeset
   956
* The command-line tool "isabelle update -u control_cartouches" changes
a80d8ec6c998 support for isabelle update -u control_cartouches;
wenzelm
parents: 69588
diff changeset
   957
antiquotations into control-symbol format (where possible): @{NAME}
a80d8ec6c998 support for isabelle update -u control_cartouches;
wenzelm
parents: 69588
diff changeset
   958
becomes \<^NAME> and @{NAME ARG} becomes \<^NAME>\<open>ARG\<close>.
a80d8ec6c998 support for isabelle update -u control_cartouches;
wenzelm
parents: 69588
diff changeset
   959
69277
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   960
* Support for Isabelle command-line tools defined in Isabelle/Scala.
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   961
Instances of class Isabelle_Scala_Tools may be configured via the shell
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   962
function "isabelle_scala_tools" in etc/settings (e.g. of an Isabelle
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   963
component).
258bef08b31e support for user-defined Isabelle/Scala command-line tools;
wenzelm
parents: 69273
diff changeset
   964
70023
5aef4e9966c4 misc tuning for release;
wenzelm
parents: 70022
diff changeset
   965
* Isabelle Server command "use_theories" supports "nodes_status_delay"
69044
wenzelm
parents: 69042
diff changeset
   966
for continuous output of node status information. The time interval is
wenzelm
parents: 69042
diff changeset
   967
specified in seconds; a negative value means it is disabled (default).
wenzelm
parents: 69042
diff changeset
   968
wenzelm
parents: 69042
diff changeset
   969
* 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
   970
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
   971
is no longer required.
3653b3ad729e clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents: 68879
diff changeset
   972
69926
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   973
* OCaml tools and libraries are now accesed via ISABELLE_OCAMLFIND,
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   974
which needs to point to a suitable version of "ocamlfind" (e.g. via
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   975
OPAM, see below). INCOMPATIBILITY: settings variables ISABELLE_OCAML and
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   976
ISABELLE_OCAMLC are no longer supported.
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
   977
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
   978
* 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
   979
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
   980
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
   981
  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
   982
  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
   983
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
   984
  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
   985
  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
   986
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
   987
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
   988
(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
   989
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
   990
  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
   991
  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
   992
  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
   993
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
   994
  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
   995
  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
   996
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
   997
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
   998
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
   999
69269
1bee990d443c tuned whitespace;
wenzelm
parents: 69268
diff changeset
  1000
  ISABELLE_GHC
1bee990d443c tuned whitespace;
wenzelm
parents: 69268
diff changeset
  1001
69926
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
  1002
  ISABELLE_OCAMLFIND
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
  1003
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
  1004
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
  1005
be recovered by purging the directories ISABELLE_STACK_ROOT /
69926
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
  1006
ISABELLE_OPAM_ROOT, or by resetting these variables in
110fff287217 access OCaml tools and libraries via ISABELLE_OCAMLFIND;
wenzelm
parents: 69914
diff changeset
  1007
$ISABELLE_HOME_USER/etc/settings.
69189
wenzelm
parents: 69183
diff changeset
  1008
69822
8c587dd44f51 updated to polyml-5.8-20190220 (pre-release of Poly/ML 5.8);
wenzelm
parents: 69811
diff changeset
  1009
68883
3653b3ad729e clarified Thy_Resources.Session.use_theories: "terminated" node status is sufficient;
wenzelm
parents: 68879
diff changeset
  1010
68391
9b4f60bdad54 updated for release;
wenzelm
parents: 68373
diff changeset
  1011
New in Isabelle2018 (August 2018)
9b4f60bdad54 updated for release;
wenzelm
parents: 68373
diff changeset
  1012
---------------------------------
66651
435cb8d69e27 back to post-release mode -- after fork point;
wenzelm
parents: 66650
diff changeset
  1013
66712
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66688
diff changeset
  1014
*** General ***
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66688
diff changeset
  1015
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1016
* Session-qualified theory names are mandatory: it is no longer possible
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1017
to refer to unqualified theories from the parent session.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1018
INCOMPATIBILITY for old developments that have not been updated to
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1019
Isabelle2017 yet (using the "isabelle imports" tool).
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1020
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1021
* Only the most fundamental theory names are global, usually the entry
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1022
points to major logic sessions: Pure, Main, Complex_Main, HOLCF, IFOL,
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1023
FOL, ZF, ZFC etc. INCOMPATIBILITY, need to use qualified names for
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1024
formerly global "HOL-Probability.Probability" and "HOL-SPARK.SPARK".
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1025
68558
7aae213d9e69 discontinued pending_shyps: too much complication due to lazy facts;
wenzelm
parents: 68548
diff changeset
  1026
* 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
  1027
Rare INCOMPATIBILITY.
68540
000a0e062529 disallow pending hyps;
wenzelm
parents: 68523
diff changeset
  1028
68661
5820f0f379ae added system option "strict_facts";
wenzelm
parents: 68647
diff changeset
  1029
* Facts stemming from locale interpretation are subject to lazy
5820f0f379ae added system option "strict_facts";
wenzelm
parents: 68647
diff changeset
  1030
evaluation for improved performance. Rare INCOMPATIBILITY: errors
5820f0f379ae added system option "strict_facts";
wenzelm
parents: 68647
diff changeset
  1031
stemming from interpretation morphisms might be deferred and thus
5820f0f379ae added system option "strict_facts";
wenzelm
parents: 68647
diff changeset
  1032
difficult to locate; enable system option "strict_facts" temporarily to
5820f0f379ae added system option "strict_facts";
wenzelm
parents: 68647
diff changeset
  1033
avoid this.
5820f0f379ae added system option "strict_facts";
wenzelm
parents: 68647
diff changeset
  1034
67446
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
  1035
* Marginal comments need to be written exclusively in the new-style form
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
  1036
"\<comment> \<open>text\<close>", old ASCII variants like "-- {* ... *}" are no longer
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
  1037
supported. INCOMPATIBILITY, use the command-line tool "isabelle
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
  1038
update_comments" to update existing theory files.
1f4d167b6ac9 discontinued old form of marginal comments;
wenzelm
parents: 67433
diff changeset
  1039
67507
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
  1040
* Old-style inner comments (* ... *) within the term language are legacy
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
  1041
and will be discontinued soon: use formal comments "\<comment> \<open>...\<close>" or "\<^cancel>\<open>...\<close>"
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
  1042
instead.
5db077cfe1b2 old-style inner comments are legacy;
wenzelm
parents: 67448
diff changeset
  1043
67402
nipkow
parents: 67400
diff changeset
  1044
* The "op <infix-op>" syntax for infix operators has been replaced by
67400
nipkow
parents: 67398
diff changeset
  1045
"(<infix-op>)". If <infix-op> begins or ends with a "*", there needs to
nipkow
parents: 67398
diff changeset
  1046
be a space between the "*" and the corresponding parenthesis.
68543
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1047
INCOMPATIBILITY, use the command-line tool "isabelle update_op" to
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1048
convert theory and ML files to the new syntax. Because it is based on
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1049
regular expression matching, the result may need a bit of manual
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1050
postprocessing. Invoking "isabelle update_op" converts all files in the
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1051
current directory (recursively). In case you want to exclude conversion
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1052
of ML files (because the tool frequently also converts ML's "op"
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1053
syntax), use option "-m".
67398
5eb932e604a2 Manual updates towards conversion of "op" syntax
nipkow
parents: 67395
diff changeset
  1054
67013
335a7dce7cb3 more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents: 66994
diff changeset
  1055
* 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
  1056
INCOMPATIBILITY.
335a7dce7cb3 more uniform header syntax, in contrast to the former etc/abbrevs file-format (see 73939a9b70a3);
wenzelm
parents: 66994
diff changeset
  1057
66757
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
  1058
* Command 'external_file' declares the formal dependency on the given
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
  1059
file name, such that the Isabelle build process knows about it, but
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
  1060
without specific Prover IDE management.
e32750d7acb4 added command 'external_file';
wenzelm
parents: 66745
diff changeset
  1061
66759
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
  1062
* Session ROOT entries no longer allow specification of 'files'. Rare
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
  1063
INCOMPATIBILITY, use command 'external_file' within a proper theory
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
  1064
context.
918f15c9367a discontinued obsolete 'files' in session ROOT;
wenzelm
parents: 66757
diff changeset
  1065
66764
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
  1066
* 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
  1067
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
  1068
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
  1069
-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
  1070
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
  1071
  isabelle build -D '~~/src/ZF'
006deaf5c3dc process ROOT files only once, which allows duplicate (or overlapping) session root directories;
wenzelm
parents: 66759
diff changeset
  1072
67263
449a989f42cd discontinued 'display_drafts' command;
wenzelm
parents: 67262
diff changeset
  1073
* The command 'display_drafts' has been discontinued. INCOMPATIBILITY,
449a989f42cd discontinued 'display_drafts' command;
wenzelm
parents: 67262
diff changeset
  1074
use action "isabelle.draft" (or "print") in Isabelle/jEdit instead.
449a989f42cd discontinued 'display_drafts' command;
wenzelm
parents: 67262
diff changeset
  1075
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1076
* In HTML output, the Isabelle symbol "\<hyphen>" is rendered as explicit
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1077
Unicode hyphen U+2010, to avoid unclear meaning of the old "soft hyphen"
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1078
U+00AD. Rare INCOMPATIBILITY, e.g. copy-paste of historic Isabelle HTML
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1079
output.
67305
ecb74607063f more robust hyphen (see also "Soft hyphen (SHY) – a hard problem?" http://jkorpela.fi/shy.html);
wenzelm
parents: 67304
diff changeset
  1080
66712
4c98c929a12a session-qualified theory names are mandatory;
wenzelm
parents: 66688
diff changeset
  1081
67261
wenzelm
parents: 67248
diff changeset
  1082
*** Isabelle/jEdit Prover IDE ***
66768
f27488f47a47 completion supports theory header imports;
wenzelm
parents: 66764
diff changeset
  1083
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1084
* The command-line tool "isabelle jedit" provides more flexible options
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1085
for session management:
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1086
68472
581a1bfec8ad clarified documentation;
wenzelm
parents: 68469
diff changeset
  1087
  - option -R builds an auxiliary logic image with all theories from
581a1bfec8ad clarified documentation;
wenzelm
parents: 68469
diff changeset
  1088
    other sessions that are not already present in its parent
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1089
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1090
  - option -S is like -R, with a focus on the selected session and its
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1091
    descendants (this reduces startup time for big projects like AFP)
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1092
68472
581a1bfec8ad clarified documentation;
wenzelm
parents: 68469
diff changeset
  1093
  - option -A specifies an alternative ancestor session for options -R
581a1bfec8ad clarified documentation;
wenzelm
parents: 68469
diff changeset
  1094
    and -S
581a1bfec8ad clarified documentation;
wenzelm
parents: 68469
diff changeset
  1095
68541
12b4b3bc585d command-line option for include_sessions;
wenzelm
parents: 68540
diff changeset
  1096
  - option -i includes additional sessions into the name-space of
12b4b3bc585d command-line option for include_sessions;
wenzelm
parents: 68540
diff changeset
  1097
    theories
12b4b3bc585d command-line option for include_sessions;
wenzelm
parents: 68540
diff changeset
  1098
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1099
  Examples:
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1100
    isabelle jedit -R HOL-Number_Theory
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1101
    isabelle jedit -R HOL-Number_Theory -A HOL
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1102
    isabelle jedit -d '$AFP' -S Formal_SSA -A HOL
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1103
    isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis
68541
12b4b3bc585d command-line option for include_sessions;
wenzelm
parents: 68540
diff changeset
  1104
    isabelle jedit -d '$AFP' -S Formal_SSA -A HOL-Analysis -i CryptHOL
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1105
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1106
* PIDE markup for session ROOT files: allows to complete session names,
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1107
follow links to theories and document files etc.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1108
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1109
* Completion supports theory header imports, using theory base name.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1110
E.g. "Prob" may be completed to "HOL-Probability.Probability".
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1111
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1112
* Named control symbols (without special Unicode rendering) are shown as
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1113
bold-italic keyword. This is particularly useful for the short form of
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1114
antiquotations with control symbol: \<^name>\<open>argument\<close>. The action
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1115
"isabelle.antiquoted_cartouche" turns an antiquotation with 0 or 1
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1116
arguments into this format.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1117
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1118
* Completion provides templates for named symbols with arguments,
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1119
e.g. "\<comment> \<open>ARGUMENT\<close>" or "\<^emph>\<open>ARGUMENT\<close>".
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1120
68368
wenzelm
parents: 68364
diff changeset
  1121
* Slightly more parallel checking, notably for high priority print
wenzelm
parents: 68364
diff changeset
  1122
functions (e.g. State output).
wenzelm
parents: 68364
diff changeset
  1123
68080
17f79ae49401 set view title dynamically;
wenzelm
parents: 68073
diff changeset
  1124
* The view title is set dynamically, according to the Isabelle
17f79ae49401 set view title dynamically;
wenzelm
parents: 68073
diff changeset
  1125
distribution and the logic session name. The user can override this via
17f79ae49401 set view title dynamically;
wenzelm
parents: 68073
diff changeset
  1126
set-view-title (stored persistently in $JEDIT_SETTINGS/perspective.xml).
17f79ae49401 set view title dynamically;
wenzelm
parents: 68073
diff changeset
  1127
67395
b39d596b77ce more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
wenzelm
parents: 67381
diff changeset
  1128
* 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
  1129
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
  1130
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
  1131
67248
68177abb2988 isabelle.preview presents bibtex database files as well;
wenzelm
parents: 67246
diff changeset
  1132
* Action "isabelle.preview" is able to present more file formats,
67266
wenzelm
parents: 67263
diff changeset
  1133
notably bibtex database files and ML files.
67246
4cedf44f2af1 isabelle.preview presents auxiliary text files as well;
wenzelm
parents: 67224
diff changeset
  1134
67262
46540a2ead4b action "isabelle.draft" for plain-text preview;
wenzelm
parents: 67261
diff changeset
  1135
* Action "isabelle.draft" is similar to "isabelle.preview", but shows a
68067
b91c4acc1aaf clarified menu actions;
wenzelm
parents: 68033
diff changeset
  1136
plain-text document draft. Both are available via the menu "Plugins /
b91c4acc1aaf clarified menu actions;
wenzelm
parents: 68033
diff changeset
  1137
Isabelle".
67262
46540a2ead4b action "isabelle.draft" for plain-text preview;
wenzelm
parents: 67261
diff changeset
  1138
67304
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
  1139
* 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
  1140
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
  1141
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
  1142
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
  1143
Unicode content when saving the file.
3cf05d7cf174 more robust treatment of conflicts with existing Unicode text;
wenzelm
parents: 67303
diff changeset
  1144
68545
7922992c99ea misc tuning and updates for release;
wenzelm
parents: 68543
diff changeset
  1145
* Bibtex database files (.bib) are semantically checked.
7922992c99ea misc tuning and updates for release;
wenzelm
parents: 68543
diff changeset
  1146
67993
wenzelm
parents: 67928
diff changeset
  1147
* Update to jedit-5.5.0, the latest release.
wenzelm
parents: 67928
diff changeset
  1148
67246
4cedf44f2af1 isabelle.preview presents auxiliary text files as well;
wenzelm
parents: 67224
diff changeset
  1149
67261
wenzelm
parents: 67248
diff changeset
  1150
*** Isabelle/VSCode Prover IDE ***
wenzelm
parents: 67248
diff changeset
  1151
wenzelm
parents: 67248
diff changeset
  1152
* HTML preview of theories and other file-formats similar to
wenzelm
parents: 67248
diff changeset
  1153
Isabelle/jEdit.
wenzelm
parents: 67248
diff changeset
  1154
68690
354c04092cd0 more flexible session selection as in "isabelle jedit";
wenzelm
parents: 68681
diff changeset
  1155
* Command-line tool "isabelle vscode_server" accepts the same options
354c04092cd0 more flexible session selection as in "isabelle jedit";
wenzelm
parents: 68681
diff changeset
  1156
-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
  1157
relevant for isabelle.args configuration settings in VSCode. The former
354c04092cd0 more flexible session selection as in "isabelle jedit";
wenzelm
parents: 68681
diff changeset
  1158
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
  1159
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
  1160
spot in the session structure. INCOMPATIBILITY.
354c04092cd0 more flexible session selection as in "isabelle jedit";
wenzelm
parents: 68681
diff changeset
  1161
66768
f27488f47a47 completion supports theory header imports;
wenzelm
parents: 66764
diff changeset
  1162
67140
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1163
*** Document preparation ***
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1164
67448
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1165
* Formal comments work uniformly in outer syntax, inner syntax (term
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1166
language), Isabelle/ML and some other embedded languages of Isabelle.
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1167
See also "Document comments" in the isar-ref manual. The following forms
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1168
are supported:
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1169
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1170
  - marginal text comment: \<comment> \<open>\<dots>\<close>
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1171
  - canceled source: \<^cancel>\<open>\<dots>\<close>
dbb1f02e667d more documentation;
wenzelm
parents: 67446
diff changeset
  1172
  - raw LaTeX: \<^latex>\<open>\<dots>\<close>
67413
2555713586c8 added \<^cancel> operator for unused text;
wenzelm
parents: 67402
diff changeset
  1173
67381
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
  1174
* Outside of the inner theory body, the default presentation context is
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
  1175
theory Pure. Thus elementary antiquotations may be used in markup
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
  1176
commands (e.g. 'chapter', 'section', 'text') and formal comments.
146757999c8d theory Pure is default presentation context;
wenzelm
parents: 67368
diff changeset
  1177
68513
88b0e63d58a5 updated documentation;
wenzelm
parents: 68484
diff changeset
  1178
* System option "document_tags" specifies alternative command tags. This
88b0e63d58a5 updated documentation;
wenzelm
parents: 68484
diff changeset
  1179
is occasionally useful to control the global visibility of commands via
88b0e63d58a5 updated documentation;
wenzelm
parents: 68484
diff changeset
  1180
session options (e.g. in ROOT).
67140
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1181
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1182
* Document markup commands ('section', 'text' etc.) are implicitly
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1183
tagged as "document" and visible by default. This avoids the application
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1184
of option "document_tags" to these commands.
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1185
67145
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
  1186
* Isabelle names are mangled into LaTeX macro names to allow the full
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
  1187
identifier syntax with underscore, prime, digits. This is relevant for
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
  1188
antiquotations in control symbol notation, e.g. \<^const_name> becomes
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
  1189
\isactrlconstUNDERSCOREname.
e77c5bfca9aa name mangling for Latex macros;
wenzelm
parents: 67140
diff changeset
  1190
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1191
* Document preparation with skip_proofs option now preserves the content
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1192
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
  1193
68484
59793df7f853 clarified document antiquotation @{theory};
wenzelm
parents: 68472
diff changeset
  1194
* Document antiquotation @{theory name} requires the long
59793df7f853 clarified document antiquotation @{theory};
wenzelm
parents: 68472
diff changeset
  1195
session-qualified theory name: this is what users reading the text
59793df7f853 clarified document antiquotation @{theory};
wenzelm
parents: 68472
diff changeset
  1196
normally need to import.
59793df7f853 clarified document antiquotation @{theory};
wenzelm
parents: 68472
diff changeset
  1197
67219
81e9804b2014 added document antiquotation @{session name};
wenzelm
parents: 67215
diff changeset
  1198
* Document antiquotation @{session name} checks and prints the given
81e9804b2014 added document antiquotation @{session name};
wenzelm
parents: 67215
diff changeset
  1199
session name verbatim.
81e9804b2014 added document antiquotation @{session name};
wenzelm
parents: 67215
diff changeset
  1200
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1201
* Document antiquotation @{cite} now checks the given Bibtex entries
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1202
against the Bibtex database files -- only in batch-mode session builds.
67157
d0657c8b7616 clarified document preparation vs. skip_proofs;
wenzelm
parents: 67145
diff changeset
  1203
67176
13b5c3ff1954 re-implemented "isabelle document" in Isabelle/Scala, include latex_errors here;
wenzelm
parents: 67173
diff changeset
  1204
* 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
  1205
Isabelle/Scala, with simplified arguments and explicit errors from the
67203
85784e16bec8 expose bibtex errors;
wenzelm
parents: 67199
diff changeset
  1206
latex and bibtex process. Minor INCOMPATIBILITY.
67173
e746db6db903 more explicit latex errors;
wenzelm
parents: 67157
diff changeset
  1207
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1208
* Session ROOT entry: empty 'document_files' means there is no document
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1209
for this session. There is no need to specify options [document = false]
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1210
anymore.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1211
67140
386a31d6d17a more documentation;
wenzelm
parents: 67133
diff changeset
  1212
67702
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67616
diff changeset
  1213
*** Isar ***
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67616
diff changeset
  1214
2d9918f5b33c command 'interpret' no longer exposes resulting theorems as literal facts;
wenzelm
parents: 67616
diff changeset
  1215
* 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
  1216
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
  1217
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
  1218
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
  1219
(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
  1220
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1221
* The old 'def' command has been discontinued (legacy since
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1222
Isbelle2016-1). INCOMPATIBILITY, use 'define' instead -- usually with
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1223
object-logic equality or equivalence.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1224
68543
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1225
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1226
*** Pure ***
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1227
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1228
* The inner syntax category "sort" now includes notation "_" for the
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1229
dummy sort: it is effectively ignored in type-inference.
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1230
67740
b6ce18784872 Proper rewrite morphisms in locale instances.
ballarin
parents: 67718
diff changeset
  1231
* Rewrites clauses (keyword 'rewrites') were moved into the locale
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1232
expression syntax, where they are part of locale instances. In
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1233
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
  1234
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
  1235
rewriting may need to be pulled up into the surrounding theory.
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1236
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1237
* For 'rewrites' clauses, if activating a locale instance fails, fall
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1238
back to reading the clause first. This helps avoid qualification of
67764
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
  1239
locale instances where the qualifier's sole purpose is avoiding
0f8cb5568b63 Drop rewrites after defines in interpretations.
ballarin
parents: 67741
diff changeset
  1240
duplicate constant declarations.
67741
d5a7f2c54655 Fall back to reading rewrite morphism first if activation fails without it.
ballarin
parents: 67740
diff changeset
  1241
68543
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1242
* Proof method "simp" now supports a new modifier "flip:" followed by a
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1243
list of theorems. Each of these theorems is removed from the simpset
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1244
(without warning if it is not there) and the symmetric version of the
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1245
theorem (i.e. lhs and rhs exchanged) is added to the simpset. For "auto"
c87e1adb91af misc tuning for release;
wenzelm
parents: 68541
diff changeset
  1246
and friends the modifier is "simp flip:".
67718
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
  1247
17874d43d3b3 notation for dummy sort;
wenzelm
parents: 67702
diff changeset
  1248
66661
fdab65297bd6 real oracle
blanchet
parents: 66651
diff changeset
  1249
*** HOL ***
fdab65297bd6 real oracle
blanchet
parents: 66651
diff changeset
  1250
68568
cf01d04e94d7 more NEWS;
wenzelm
parents: 68558
diff changeset
  1251
* Sledgehammer: bundled version of "vampire" (for non-commercial users)
cf01d04e94d7 more NEWS;
wenzelm
parents: 68558
diff changeset
  1252
helps to avoid fragility of "remote_vampire" service.
cf01d04e94d7 more NEWS;
wenzelm
parents: 68558
diff changeset
  1253
68028
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
  1254
* Clarified relationship of characters, strings and code generation:
1f9f973eed2a proper datatype for 8-bit characters
haftmann
parents: 68027
diff changeset
  1255
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1256
  - Type "char" is now a proper datatype of 8-bit values.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1257
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1258
  - Conversions "nat_of_char" and "char_of_nat" are gone; use more
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1259
    general conversions "of_char" and "char_of" with suitable type
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1260
    constraints instead.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1261
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1262
  - The zero character is just written "CHR 0x00", not "0" any longer.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1263
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1264
  - Type "String.literal" (for code generation) is now isomorphic to
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1265
    lists of 7-bit (ASCII) values; concrete values can be written as
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1266
    "STR ''...''" for sequences of printable characters and "STR 0x..."
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1267
    for one single ASCII code point given as hexadecimal numeral.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1268
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1269
  - Type "String.literal" supports concatenation "... + ..." for all
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1270
    standard target languages.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1271
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1272
  - Theory HOL-Library.Code_Char is gone; study the explanations
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1273
    concerning "String.literal" in the tutorial on code generation to
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1274
    get an idea how target-language string literals can be converted to
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1275
    HOL string values and vice versa.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1276
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1277
  - Session Imperative-HOL: operation "raise" directly takes a value of
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1278
    type "String.literal" as argument, not type "string".
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1279
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1280
INCOMPATIBILITY.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1281
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1282
* Code generation: Code generation takes an explicit option
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1283
"case_insensitive" to accomodate case-insensitive file systems.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1284
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1285
* Abstract bit operations as part of Main: push_bit, take_bit, drop_bit.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1286
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1287
* New, more general, axiomatization of complete_distrib_lattice. The
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1288
former axioms:
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1289
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1290
  "sup x (Inf X) = Inf (sup x ` X)" and "inf x (Sup X) = Sup (inf x ` X)"
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1291
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1292
are replaced by:
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1293
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1294
  "Inf (Sup ` A) <= Sup (Inf ` {f ` A | f . (! Y \<in> A . f Y \<in> Y)})"
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1295
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1296
The instantiations of sets and functions as complete_distrib_lattice are
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1297
moved to Hilbert_Choice.thy because their proofs need the Hilbert choice
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1298
operator. The dual of this property is also proved in theory
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1299
HOL.Hilbert_Choice.
67831
07f5588f2735 Removed stray 'sledgehammer' invocation
Manuel Eberl <eberlm@in.tum.de>
parents: 67830
diff changeset
  1300
67999
1b05f74f2e5f tidying up including contributions from Paulo Emílio de Vilhena
paulson <lp15@cam.ac.uk>
parents: 67993
diff changeset
  1301
* New syntax for the minimum/maximum of a function over a finite set:
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1302
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
  1303
67525
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
  1304
* Clarifed theorem names:
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
  1305
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
  1306
  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
  1307
  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
  1308
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
  1309
Minor INCOMPATIBILITY.
5d04d7bcd5f6 avoid concrete (anti)mono in theorem names since it could be the other way round
haftmann
parents: 67510
diff changeset
  1310
66661
fdab65297bd6 real oracle
blanchet
parents: 66651
diff changeset
  1311
* SMT module:
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1312
66661
fdab65297bd6 real oracle
blanchet
parents: 66651
diff changeset
  1313
  - The 'smt_oracle' option is now necessary when using the 'smt' method
66662
4b10fa05423b document incompatibility
blanchet
parents: 66661
diff changeset
  1314
    with a solver other than Z3. INCOMPATIBILITY.
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1315
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1316
  - The encoding to first-order logic is now more complete in the
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1317
    presence of higher-order quantifiers. An 'smt_explicit_application'
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1318
    option has been added to control this. INCOMPATIBILITY.
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1319
66804
3f9bb52082c4 avoid name clashes on interpretation of abstract locales
haftmann
parents: 66803
diff changeset
  1320
* Facts sum.commute(_restrict) and prod.commute(_restrict) renamed to
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1321
sum.swap(_restrict) and prod.swap(_restrict), to avoid name clashes on
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1322
interpretation of abstract locales. INCOMPATIBILITY.
66804
3f9bb52082c4 avoid name clashes on interpretation of abstract locales
haftmann
parents: 66803
diff changeset
  1323
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1324
* Predicate coprime is now a real definition, not a mere abbreviation.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1325
INCOMPATIBILITY.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1326
66803
dd8922885a68 avoid trivial definition
haftmann
parents: 66801
diff changeset
  1327
* Predicate pairwise_coprime abolished, use "pairwise coprime" instead.
dd8922885a68 avoid trivial definition
haftmann
parents: 66801
diff changeset
  1328
INCOMPATIBILITY.
dd8922885a68 avoid trivial definition
haftmann
parents: 66801
diff changeset
  1329
68373
f254e383bfe9 NEWS: infinite products
paulson <lp15@cam.ac.uk>
parents: 68370
diff changeset
  1330
* The relator rel_filter on filters has been strengthened to its
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1331
canonical categorical definition with better properties.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1332
INCOMPATIBILITY.
67616
1d005f514417 strengthen filter relator to canonical categorical definition with better properties
Andreas Lochbihler
parents: 67591
diff changeset
  1333
68072
493b818e8e10 added Johannes' generalizations Modules.thy and Vector_Spaces.thy; adapted HOL and HOL-Analysis accordingly
immler
parents: 67999
diff changeset
  1334
* 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
  1335
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
  1336
Renamed:
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1337
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1338
  span_inc ~> span_superset
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1339
  span_superset ~> span_base
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1340
  span_eq ~> span_eq_iff
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1341
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1342
INCOMPATIBILITY.
66844
0746d4781674 tuned whitespace;
wenzelm
parents: 66843
diff changeset
  1343
66937
a1a4a5e2933a rule out pathologic instances
haftmann
parents: 66909
diff changeset
  1344
* Class linordered_semiring_1 covers zero_less_one also, ruling out
a1a4a5e2933a rule out pathologic instances
haftmann
parents: 66909
diff changeset
  1345
pathologic instances. Minor INCOMPATIBILITY.
a1a4a5e2933a rule out pathologic instances
haftmann
parents: 66909
diff changeset
  1346
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1347
* Theory HOL.List: functions "sorted_wrt" and "sorted" now compare every
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1348
element in a list to all following elements, not just the next one.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1349
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1350
* Theory HOL.List syntax:
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1351
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1352
  - filter-syntax "[x <- xs. P]" is no longer output syntax, but only
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1353
    input syntax
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1354
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1355
  - 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
  1356
68450
41de07c7a0f3 Map.empty now qualified to avoid name clashes
nipkow
parents: 68404
diff changeset
  1357
* Theory Map: "empty" must now be qualified as "Map.empty".
41de07c7a0f3 Map.empty now qualified to avoid name clashes
nipkow
parents: 68404
diff changeset
  1358
67051
e7e54a0b9197 dedicated definition for coprimality
haftmann
parents: 67043
diff changeset
  1359
* Removed nat-int transfer machinery. Rare INCOMPATIBILITY.
e7e54a0b9197 dedicated definition for coprimality
haftmann
parents: 67043
diff changeset
  1360
68100
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1361
* Fact mod_mult_self4 (on nat) renamed to Suc_mod_mult_self3, to avoid
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1362
clash with fact mod_mult_self4 (on more generic semirings).
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1363
INCOMPATIBILITY.
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1364
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1365
* Eliminated some theorem aliasses:
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1366
  even_times_iff ~> even_mult_iff
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1367
  mod_2_not_eq_zero_eq_one_nat ~> not_mod_2_eq_0_eq_1
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1368
  even_of_nat ~> even_int_iff
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1369
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1370
INCOMPATIBILITY.
b2d84b1114fa removed some lemma duplicates
haftmann
parents: 68080
diff changeset
  1371
68157
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
  1372
* Eliminated some theorem duplicate variations:
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1373
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1374
  - dvd_eq_mod_eq_0_numeral can be replaced by dvd_eq_mod_eq_0
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1375
  - mod_Suc_eq_Suc_mod can be replaced by mod_Suc
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1376
  - mod_Suc_eq_Suc_mod [symmetrict] can be replaced by mod_simps
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1377
  - mod_eq_0_iff can be replaced by mod_eq_0_iff_dvd and dvd_def
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1378
  - the witness of mod_eqD can be given directly as "_ div _"
68157
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
  1379
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
  1380
INCOMPATIBILITY.
057d5b4ce47e removed some non-essential rules
haftmann
parents: 68125
diff changeset
  1381
68260
61188c781cdd avoid overaggressive classical rule
haftmann
parents: 68249
diff changeset
  1382
* Classical setup: Assumption "m mod d = 0" (for m d :: nat) is no
68393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1383
longer aggresively destroyed to "\<exists>q. m = d * q". INCOMPATIBILITY, adding
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1384
"elim!: dvd" to classical proof methods in most situations restores
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1385
broken proofs.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1386
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1387
* Theory HOL-Library.Conditional_Parametricity provides command
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1388
'parametric_constant' for proving parametricity of non-recursive
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1389
definitions. For constants that are not fully parametric the command
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1390
will infer conditions on relations (e.g., bi_unique, bi_total, or type
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1391
class conditions such as "respects 0") sufficient for parametricity. See
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1392
theory HOL-ex.Conditional_Parametricity_Examples for some examples.
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1393
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1394
* Theory HOL-Library.Code_Lazy provides a new preprocessor for the code
b9989df11c78 misc tuning and updates for release;
wenzelm
parents: 68391
diff changeset
  1395
generator to generate code for algebraic types with lazy evaluation
68639
357fca99a65a more examples for Code_Lazy
Andreas Lochbihler
parents: 68568
diff