Admin/page/main-content/logics.content
author wenzelm
Mon, 18 Sep 2000 15:21:01 +0200
changeset 10019 7564e6723fb8
parent 9285 21bfc8c14c3d
child 10180 149878bae19c
permissions -rw-r--r--
tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     1
%title%
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     2
Isabelle's Logics
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     3
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     4
%body%
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     5
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     6
Isabelle can be viewed from two main perspectives.  On the one hand it
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     7
may serve as a generic framework for rapid prototyping of deductive
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     8
systems.  On the other hand, major existing logics like
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
     9
<strong>Isabelle/HOL</strong> provide a theorem proving environment
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    10
ready to use for sizable applications.
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    11
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    12
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    13
<h2>Isabelle's Logics</h2>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    14
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    15
The Isabelle distribution includes a large body of object logics and
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    16
other examples (see the <a href="library/">Isabelle theory
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    17
library</a>).
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    18
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    19
<dl>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    20
10019
wenzelm
parents: 9285
diff changeset
    21
<dt><a
wenzelm
parents: 9285
diff changeset
    22
href="library/HOL/index.html"><strong>Isabelle/HOL</strong></a><dd> is
wenzelm
parents: 9285
diff changeset
    23
a version of classical higher-order logic resembling that of the <A
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    24
HREF="http://www.cl.cam.ac.uk/Research/HVG/HOL/HOL.html">HOL
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    25
System</A>.
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    26
10019
wenzelm
parents: 9285
diff changeset
    27
<dt><a
wenzelm
parents: 9285
diff changeset
    28
href="library/HOLCF/index.html"><strong>Isabelle/HOLCF</strong></a><dd>
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    29
adds Scott's Logic for Computable Functions (domain theory) to HOL.
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    30
10019
wenzelm
parents: 9285
diff changeset
    31
<dt><a
wenzelm
parents: 9285
diff changeset
    32
href="library/FOL/index.html"><strong>Isabelle/FOL</strong></a><dd>
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    33
provides basic classical and intuitionistic first-order logic.  It is
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    34
polymorphic.
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    35
10019
wenzelm
parents: 9285
diff changeset
    36
<dt><a
wenzelm
parents: 9285
diff changeset
    37
href="library/ZF/index.html"><strong>Isabelle/ZF</strong></a><dd>
wenzelm
parents: 9285
diff changeset
    38
offers a formulation of Zermelo-Fraenkel set theory on top of FOL.
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    39
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    40
</dl>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    41
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    42
<p>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    43
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    44
Isabelle/HOL is currently the best developed object logic, including
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    45
an extensive library of (concrete) mathematics, and various packages
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    46
for advanced definitional concepts (like (co-)inductive sets and
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    47
types, well-founded recursion etc.).  The distribution also includes
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    48
some large applications, for example correctness proofs of
10019
wenzelm
parents: 9285
diff changeset
    49
cryptographic protocols (<a
wenzelm
parents: 9285
diff changeset
    50
href="library/HOL/Auth/index.html">HOL/Auth</a>) or communication
wenzelm
parents: 9285
diff changeset
    51
protocols (<a href="library/HOLCF/IOA/index.html">HOLCF/IOA</a>).
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    52
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    53
<p>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    54
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    55
Isabelle/ZF provides another starting point for applications, with a
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    56
slightly less developed library.  Its definitional packages are
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    57
similar to those of Isabelle/HOL.  Untyped ZF provides more advanced
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    58
constructions for sets than simply-typed HOL.
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    59
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    60
<p>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    61
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    62
There are a few minor object logics that may serve as further
10019
wenzelm
parents: 9285
diff changeset
    63
examples: <a href="library/CTT/index.html">CTT</a> is an extensional
wenzelm
parents: 9285
diff changeset
    64
version of Martin-L&ouml;f's Type Theory, <a
wenzelm
parents: 9285
diff changeset
    65
href="library/Cube/index.html">Cube</a> is Barendregt's Lambda Cube.
wenzelm
parents: 9285
diff changeset
    66
There are also some sequent calculus examples under <a
wenzelm
parents: 9285
diff changeset
    67
href="library/Sequents/index.html">Sequents</a>, including modal and
wenzelm
parents: 9285
diff changeset
    68
linear logics.  Again see the <a href="library/index.html">Isabelle
9285
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    69
theory library</a> for other examples.
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    70
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    71
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    72
<h3>Defining Logics</h3>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    73
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    74
Logics are not hard-wired into Isabelle, but formulated within
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    75
Isabelle's meta logic: <strong>Isabelle/Pure</strong>.  There are
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    76
quite a lot of syntactic and deductive tools available in generic
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    77
Isabelle.  Thus defining new logics or extending existing ones
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    78
basically works as follows:
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    79
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    80
<ol>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    81
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    82
<li> declare concrete syntax (via mixfix grammar and syntax macros),
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    83
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    84
<li> declare abstract syntax (as higher-order constants),
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    85
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    86
<li> declare inference rules (as meta-logical propositions),
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    87
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    88
<li> instantiate generic automatic proof tools (simplifier, classical
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    89
tableau prover etc.),
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    90
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    91
<li> manually code special proof procedures (via tacticals or
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    92
hand-written ML).
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    93
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    94
</ol>
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    95
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    96
The first three steps above are fully declarative and involve no ML
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    97
programming at all.  Thus one already gets a decent deductive
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    98
environment based on primitive inferences (by employing the built-in
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
    99
mechanisms of Isabelle/Pure, in particular higher-order unification
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   100
and resolution).
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   101
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   102
For sizable applications some degree of automated reasoning is
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   103
essential.  Instantiating existing tools like the classical tableau
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   104
prover involves only minimal ML-based setup.  One may also write
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   105
arbitrary proof procedures or even theory extension packages in ML,
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   106
without breaching system soundness (Isabelle follows the well-known
21bfc8c14c3d about -> logics, better access to online libraries
kleing
parents:
diff changeset
   107
<em>LCF system approach</em> to achieve a secure system).