src/Doc/Eisbach/Preface.thy
author wenzelm
Sun, 17 May 2015 23:03:49 +0200
changeset 60288 d7f636331176
child 60298 7c278b692aae
permissions -rw-r--r--
added Eisbach manual, using version 8845c4cb28b6 of its Bitbucket repository;

(*:wrap=hard:maxLineLen=78:*)

theory Preface
imports Base "../Eisbach_Tools"
begin

text \<open>
  \emph{Eisbach} is a collection of tools which form the basis for defining
  new proof methods in Isabelle/Isar~@{cite "Wenzel-PhD"}. It can be thought
  of as a ``proof method language'', but is more precisely an infrastructure
  for defining new proof methods out of existing ones.

  The core functionality of Eisbach is provided by the Isar @{command method}
  command. Here users may define new methods by combining existing ones with
  the usual Isar syntax These methods can be abstracted over terms, facts and
  other methods, as one might expect in any higher-order functional language.

  Additional functionality is provided by extending the space of methods and
  attributes. The new @{method match} method allows for explicit control-flow,
  by taking a match target and a list of pattern-method pairs. By using the
  functionality provided by Eisbach, additional support methods can be easily
  written. For example, the @{method catch} method, which provides basic
  try-catch functionality, only requires a few lines of ML.

  Eisbach is meant to allow users to write automation using only Isar syntax.
  Traditionally proof methods have been written in Isabelle/ML, which poses a
  high barrier-to-entry for many users.

  \medskip This manual is written for users familiar with Isabelle/Isar, but
  not necessarily Isabelle/ML. It covers the usage of the @{command method} as
  well as the @{method match} method, as well as discussing their integration
  with existing Isar concepts such as @{command named_theorems}.
\<close>

end