src/HOL/Hoare/Examples.thy
author clasohm
Mon, 05 Feb 1996 21:29:06 +0100
changeset 1476 608483c2122a
parent 1374 5e407f2a3323
child 1625 40501958d0f6
permissions -rw-r--r--
expanded tabs; incorporated Konrad's changes

(*  Title:      HOL/Hoare/Examples.thy
    ID:         $Id$
    Author:     Norbert Galm
    Copyright   1995 TUM

Various arithmetic examples.
*)

Examples = Hoare + Arith2 +

syntax
  "@1"  :: nat  ("1")
  "@2"  :: nat  ("2")

translations
  "1" == "Suc(0)"
  "2" == "Suc(Suc(0))"
end