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