doc-src/ERRATA.txt
author hoelzl
Tue, 17 May 2011 15:00:39 +0200
changeset 42867 760094e49a2c
parent 42637 381fdcab0f36
permissions -rw-r--r--
Collect intro-rules for sigma-algebras * * * sets_Collect shouldn't be intro rules
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     1
ERRATA in the book "Isabelle: A Generic Theorem Prover"
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     2
by Lawrence C. Paulson (contributions by Tobias Nipkow)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     3
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     4
Some of these errors are typographical but most of them are due to continuing
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     5
changes to Isabelle.
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
     6
491
1a7717eca145 logics update
lcp
parents: 479
diff changeset
     7
Thanks to Sara Kalvala, Tobias Nipkow
1a7717eca145 logics update
lcp
parents: 479
diff changeset
     8
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     9
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    10
INTRODUCTION TO ISABELLE
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    11
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    12
Advanced Methods
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    13
1083
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    14
page 46: the theory sections can appear in any order
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    15
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    16
page 48: theories may now contain a separate definition part
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    17
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    18
page 52, middle: the declaration "types bool,nat" should be "types bool nat"
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    19
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    20
page 57, bottom: should be addsimps in 
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    21
	val add_ss = FOL_ss addrews [add_0, add_Suc]
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    22
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    23
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    24
ISABELLE REFERENCE MANUAL
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    25
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    26
Introduction
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    27
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    28
page 67: show_brackets is another flag, controlling display of bracketting
1117
839ab9c054f6 show_sorts
lcp
parents: 1083
diff changeset
    29
show_sorts:=true forces display of types
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    30
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    31
Tactics
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    32
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    33
page 85: subgoals_tac is another tactic, for multiple calls to subgoal_tac
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    34
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    35
Theories
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    36
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    37
page 117: the three lines of ML shown can be abbreviated to just
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    38
	init_thy_reader();
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    39
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    40
page 118: extend_theory has been replaced by numerous functions for adding
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    41
types, constants, axioms, etc.
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    42
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    43
Defining Logics
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    44
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    45
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    46
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    47
page 127: type constraints ("::") now have a very low priority of 4.
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    48
As in ML, they must usually be enclosed in paretheses.
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    49
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    50
Syntax Transformations
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    51
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    52
page 145, line -5: delete repeated "the" in "before the the .thy file"
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    53
716
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    54
Simplification
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    55
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    56
page 157 display: Union operator is too big
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    57
716
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    58
page 158, "!": Isabelle now permits more general left-hand sides, so called
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    59
higher-order patterns.
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    60
872
9b7236d774bd updates for Isabelle94-2
lcp
parents: 863
diff changeset
    61
Classical reasoner
9b7236d774bd updates for Isabelle94-2
lcp
parents: 863
diff changeset
    62
1083
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    63
page 176: Classical sets may specify a "wrapper tactical", which can be used
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    64
to define addss.  The package also provides tactics slow_tac, slow_best_tac,
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    65
depth_tac and deepen_tac.
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    66
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    67
ISABELLE'S OBJECT-LOGICS
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    68
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    69
First-Order Logic
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    70
872
9b7236d774bd updates for Isabelle94-2
lcp
parents: 863
diff changeset
    71
pages 191, 196: FOL_dup_cs is now deleted (use deepen_tac FOL_cs instead)
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    72
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    73
Zermelo-Fraenkel Set Theory
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    74
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    75
page 204: type i has class term, not (just) logic
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    76
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    77
page 209: axioms have been renamed:
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    78
	union_iff is now Union_iff
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    79
	power_set is now Pow_iff
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    80
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    81
page 215, bottom of figure 17.10: DiffD2 is now  "c : A - B ==> c ~: B"
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    82
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    83
page 215, bottom: rules mem_anti_sym and mem_anti_refl are now mem_asym and
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    84
mem_irrefl
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    85
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    86
page 222, top: missing braces in qconverse_def (around right-hand side)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    87
and QSigma_def (around <x;y>)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    88
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    89
page 223, top: lfp_def, gfp_def have missing braces around the argument of
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    90
Inter, Union
458
877704b91847 type constraints
nipkow
parents: 456
diff changeset
    91
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    92
page 228: now there is also a theory of cardinal numbers and some
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    93
developments involving the Axiom of Choice.
479
db5a95f2952e *** empty log message ***
nipkow
parents: 458
diff changeset
    94
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    95
page 229: now there is another examples directory, IMP (a semantics
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    96
equivalence proof for an imperative language)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    97
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    98
Higher-Order Logic
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    99
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   100
page 243: Pow is a new constant of type 'a set => 'a set set
491
1a7717eca145 logics update
lcp
parents: 479
diff changeset
   101
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   102
page 246: Pow is defined by   Pow(A) == {B. B <= A}
863
67692db44c70 empty_def typo
lcp
parents: 718
diff changeset
   103
empty_def should be  {} == {x.False}
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   104
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   105
page 248: Pow has the rules
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   106
	PowI     A<=B ==> A: Pow(B)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   107
	PowD     A: Pow(B) ==> A<=B
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
   108
701
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   109
page 251: split now has type [['a,'b] => 'c, 'a * 'b] => 'c
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   110
Definition modified accordingly
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   111
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   112
page 252: sum_case now has type ['a=>'c,'b=>'c, 'a+'b] =>'c
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   113
Definition and rules modified accordingly
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   114
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
   115
page 252: HOL_dup_cs is now deleted (use deepen_tac HOL_cs instead)
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
   116
701
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   117
page 254: nat_case now has type ['a, nat=>'a, nat] =>'a
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   118
Definition modified accordingly
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   119
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   120
page 256,258: list_case now takes the list as its last argument, not the
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   121
first.
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   122
601
208834a9ba70 Added primrec section
nipkow
parents: 599
diff changeset
   123
page 259: HOL theory files may now include datatype declarations, primitive
14379
ea10a8c3e9cf updated links to the old ftp site
paulson
parents: 1117
diff changeset
   124
recursive function definitions, and (co)inductive definitions.  These new
ea10a8c3e9cf updated links to the old ftp site
paulson
parents: 1117
diff changeset
   125
sections are available separately at
ea10a8c3e9cf updated links to the old ftp site
paulson
parents: 1117
diff changeset
   126
    http://www.cl.cam.ac.uk/users/lcp/archive/ml/HOL-extensions.dvi.gz
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   127
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   128
page 259: now there is another examples directory, IMP (a semantics
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   129
equivalence proof for an imperative language)