doc-src/ERRATA.txt
author paulson
Mon, 26 May 1997 12:54:40 +0200
changeset 3348 3f9a806f061e
parent 1117 839ab9c054f6
child 14379 ea10a8c3e9cf
permissions -rw-r--r--
Two useful facts about Powersets suggested by Florian Kammueller
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
$Id$
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     2
ERRATA in the book "Isabelle: A Generic Theorem Prover"
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     3
by Lawrence C. Paulson (contributions by Tobias Nipkow)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     4
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
     5
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
     6
changes to Isabelle.
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
     7
491
1a7717eca145 logics update
lcp
parents: 479
diff changeset
     8
Thanks to Sara Kalvala, Tobias Nipkow
1a7717eca145 logics update
lcp
parents: 479
diff changeset
     9
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    10
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    11
INTRODUCTION TO ISABELLE
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    12
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    13
Advanced Methods
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    14
1083
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    15
page 46: the theory sections can appear in any order
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    16
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    17
page 48: theories may now contain a separate definition part
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    18
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    19
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
    20
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    21
page 57, bottom: should be addsimps in 
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    22
	val add_ss = FOL_ss addrews [add_0, add_Suc]
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
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    25
ISABELLE REFERENCE MANUAL
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    26
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    27
Introduction
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    28
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    29
page 67: show_brackets is another flag, controlling display of bracketting
1117
839ab9c054f6 show_sorts
lcp
parents: 1083
diff changeset
    30
show_sorts:=true forces display of types
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    31
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    32
Tactics
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    33
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    34
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
    35
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    36
Theories
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    37
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    38
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
    39
	init_thy_reader();
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    40
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    41
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
    42
types, constants, axioms, etc.
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    43
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    44
Defining Logics
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    45
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    46
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    47
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    48
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
    49
As in ML, they must usually be enclosed in paretheses.
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    50
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    51
Syntax Transformations
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    52
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    53
page 145, line -5: delete repeated "the" in "before the the .thy file"
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    54
716
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    55
Simplification
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    56
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    57
page 157 display: Union operator is too big
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    58
716
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    59
page 158, "!": Isabelle now permits more general left-hand sides, so called
79adbdbda0fb Chnaged simplifier description (lhss)
nipkow
parents: 701
diff changeset
    60
higher-order patterns.
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    61
872
9b7236d774bd updates for Isabelle94-2
lcp
parents: 863
diff changeset
    62
Classical reasoner
9b7236d774bd updates for Isabelle94-2
lcp
parents: 863
diff changeset
    63
1083
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    64
page 176: Classical sets may specify a "wrapper tactical", which can be used
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    65
to define addss.  The package also provides tactics slow_tac, slow_best_tac,
53a0667e1cd2 Updates involving defs, addss, etc.
lcp
parents: 872
diff changeset
    66
depth_tac and deepen_tac.
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    67
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    68
ISABELLE'S OBJECT-LOGICS
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    69
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    70
First-Order Logic
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    71
872
9b7236d774bd updates for Isabelle94-2
lcp
parents: 863
diff changeset
    72
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
    73
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    74
Zermelo-Fraenkel Set Theory
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
    75
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    76
page 204: type i has class term, not (just) logic
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
    77
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    78
page 209: axioms have been renamed:
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    79
	union_iff is now Union_iff
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    80
	power_set is now Pow_iff
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    81
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    82
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
    83
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    84
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
    85
mem_irrefl
456
f1df7fc211a7 New errata list for the documentation
lcp
parents:
diff changeset
    86
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    87
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
    88
and QSigma_def (around <x;y>)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    89
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    90
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
    91
Inter, Union
458
877704b91847 type constraints
nipkow
parents: 456
diff changeset
    92
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    93
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
    94
developments involving the Axiom of Choice.
479
db5a95f2952e *** empty log message ***
nipkow
parents: 458
diff changeset
    95
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    96
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
    97
equivalence proof for an imperative language)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    98
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
    99
Higher-Order Logic
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   100
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   101
page 243: Pow is a new constant of type 'a set => 'a set set
491
1a7717eca145 logics update
lcp
parents: 479
diff changeset
   102
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   103
page 246: Pow is defined by   Pow(A) == {B. B <= A}
863
67692db44c70 empty_def typo
lcp
parents: 718
diff changeset
   104
empty_def should be  {} == {x.False}
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   105
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   106
page 248: Pow has the rules
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   107
	PowI     A<=B ==> A: Pow(B)
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   108
	PowD     A: Pow(B) ==> A<=B
507
a00301e9e64b addition of show_brackets
lcp
parents: 491
diff changeset
   109
701
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   110
page 251: split now has type [['a,'b] => 'c, 'a * 'b] => 'c
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   111
Definition modified accordingly
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   112
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   113
page 252: sum_case now has type ['a=>'c,'b=>'c, 'a+'b] =>'c
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   114
Definition and rules modified accordingly
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   115
718
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
   116
page 252: HOL_dup_cs is now deleted (use deepen_tac HOL_cs instead)
efca1e0710fb page 157 erratum
lcp
parents: 716
diff changeset
   117
701
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   118
page 254: nat_case now has type ['a, nat=>'a, nat] =>'a
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   119
Definition modified accordingly
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   120
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   121
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
   122
first.
74ee8b9ff9a7 argument swaps in HOL
lcp
parents: 614
diff changeset
   123
601
208834a9ba70 Added primrec section
nipkow
parents: 599
diff changeset
   124
page 259: HOL theory files may now include datatype declarations, primitive
614
da97045ef59a now mentions that the sections are available as
lcp
parents: 601
diff changeset
   125
recursive function definitions, and (co)inductive definitions.  (These new
da97045ef59a now mentions that the sections are available as
lcp
parents: 601
diff changeset
   126
sections are available separately as the file ml/HOL-extensions.dvi.gz,
da97045ef59a now mentions that the sections are available as
lcp
parents: 601
diff changeset
   127
host ftp.cl.cam.ac.uk.)
599
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   128
08b403fe92b1 now in a format that could be published
lcp
parents: 507
diff changeset
   129
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
   130
equivalence proof for an imperative language)