doc-src/IsarRef/Thy/Introduction.thy
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 30242 aea5d7fa7ef5
child 43522 e3fdb7c96be5
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
wenzelm@27035
     1
theory Introduction
wenzelm@27050
     2
imports Main
wenzelm@27035
     3
begin
wenzelm@27035
     4
wenzelm@27035
     5
chapter {* Introduction *}
wenzelm@27035
     6
wenzelm@27035
     7
section {* Overview *}
wenzelm@27035
     8
wenzelm@27035
     9
text {*
wenzelm@27035
    10
  The \emph{Isabelle} system essentially provides a generic
wenzelm@27035
    11
  infrastructure for building deductive systems (programmed in
wenzelm@27035
    12
  Standard ML), with a special focus on interactive theorem proving in
wenzelm@30069
    13
  higher-order logics.  Many years ago, even end-users would refer to
wenzelm@30069
    14
  certain ML functions (goal commands, tactics, tacticals etc.) to
wenzelm@30069
    15
  pursue their everyday theorem proving tasks.
wenzelm@27035
    16
  
wenzelm@27035
    17
  In contrast \emph{Isar} provides an interpreted language environment
wenzelm@27035
    18
  of its own, which has been specifically tailored for the needs of
wenzelm@27035
    19
  theory and proof development.  Compared to raw ML, the Isabelle/Isar
wenzelm@27035
    20
  top-level provides a more robust and comfortable development
wenzelm@30069
    21
  platform, with proper support for theory development graphs, managed
wenzelm@30069
    22
  transactions with unlimited undo etc.  The Isabelle/Isar version of
wenzelm@30069
    23
  the \emph{Proof~General} user interface
wenzelm@30069
    24
  \cite{proofgeneral,Aspinall:TACAS:2000} provides a decent front-end
wenzelm@30069
    25
  for interactive theory and proof development in this advanced
wenzelm@30069
    26
  theorem proving environment, even though it is somewhat biased
wenzelm@30069
    27
  towards old-style proof scripts.
wenzelm@27035
    28
wenzelm@27035
    29
  \medskip Apart from the technical advances over bare-bones ML
wenzelm@27035
    30
  programming, the main purpose of the Isar language is to provide a
wenzelm@27035
    31
  conceptually different view on machine-checked proofs
wenzelm@30069
    32
  \cite{Wenzel:1999:TPHOL,Wenzel-PhD}.  \emph{Isar} stands for
wenzelm@30069
    33
  \emph{Intelligible semi-automated reasoning}.  Drawing from both the
wenzelm@27035
    34
  traditions of informal mathematical proof texts and high-level
wenzelm@27035
    35
  programming languages, Isar offers a versatile environment for
wenzelm@27035
    36
  structured formal proof documents.  Thus properly written Isar
wenzelm@27035
    37
  proofs become accessible to a broader audience than unstructured
wenzelm@27035
    38
  tactic scripts (which typically only provide operational information
wenzelm@27035
    39
  for the machine).  Writing human-readable proof texts certainly
wenzelm@27035
    40
  requires some additional efforts by the writer to achieve a good
wenzelm@27035
    41
  presentation, both of formal and informal parts of the text.  On the
wenzelm@27035
    42
  other hand, human-readable formal texts gain some value in their own
wenzelm@27035
    43
  right, independently of the mechanic proof-checking process.
wenzelm@27035
    44
wenzelm@27035
    45
  Despite its grand design of structured proof texts, Isar is able to
wenzelm@27035
    46
  assimilate the old tactical style as an ``improper'' sub-language.
wenzelm@27035
    47
  This provides an easy upgrade path for existing tactic scripts, as
wenzelm@30069
    48
  well as some means for interactive experimentation and debugging of
wenzelm@30069
    49
  structured proofs.  Isabelle/Isar supports a broad range of proof
wenzelm@30069
    50
  styles, both readable and unreadable ones.
wenzelm@27035
    51
wenzelm@30042
    52
  \medskip The generic Isabelle/Isar framework (see
wenzelm@30069
    53
  \chref{ch:isar-framework}) works reasonably well for any Isabelle
wenzelm@30069
    54
  object-logic that conforms to the natural deduction view of the
wenzelm@30069
    55
  Isabelle/Pure framework.  Specific language elements introduced by
wenzelm@30069
    56
  the major object-logics are described in \chref{ch:hol}
wenzelm@27058
    57
  (Isabelle/HOL), \chref{ch:holcf} (Isabelle/HOLCF), and \chref{ch:zf}
wenzelm@27058
    58
  (Isabelle/ZF).  The main language elements are already provided by
wenzelm@27058
    59
  the Isabelle/Pure framework. Nevertheless, examples given in the
wenzelm@27058
    60
  generic parts will usually refer to Isabelle/HOL as well.
wenzelm@27040
    61
wenzelm@27040
    62
  \medskip Isar commands may be either \emph{proper} document
wenzelm@27040
    63
  constructors, or \emph{improper commands}.  Some proof methods and
wenzelm@27040
    64
  attributes introduced later are classified as improper as well.
wenzelm@27040
    65
  Improper Isar language elements, which are marked by ``@{text
wenzelm@27040
    66
  "\<^sup>*"}'' in the subsequent chapters; they are often helpful
wenzelm@27040
    67
  when developing proof documents, but their use is discouraged for
wenzelm@27040
    68
  the final human-readable outcome.  Typical examples are diagnostic
wenzelm@27040
    69
  commands that print terms or theorems according to the current
wenzelm@27040
    70
  context; other commands emulate old-style tactical theorem proving.
wenzelm@27035
    71
*}
wenzelm@27035
    72
wenzelm@27035
    73
end