src/HOL/Hoare/Examples.thy
author nipkow
Fri Nov 17 09:04:10 1995 +0100 (1995-11-17)
changeset 1335 5e1c0540f285
child 1374 5e407f2a3323
permissions -rw-r--r--
New directory.
Hoare logic according to Mike Gordon.
     1 (*  Title: 	HOL/Hoare/Examples.thy
     2     ID:         $Id$
     3     Author: 	Norbert Galm
     4     Copyright   1995 TUM
     5 
     6 Various arithmetic examples.
     7 *)
     8 
     9 Examples = Hoare + Arith2 +
    10 
    11 syntax
    12   "@1"	:: "nat"	("1")
    13   "@2"	:: "nat"	("2")
    14 
    15 translations
    16   "1" == "Suc(0)"
    17   "2" == "Suc(Suc(0))"
    18 end
    19 
    20