src/HOL/Hoare/Examples.thy
changeset 1335 5e1c0540f285
child 1374 5e407f2a3323
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/HOL/Hoare/Examples.thy	Fri Nov 17 09:04:10 1995 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +(*  Title: 	HOL/Hoare/Examples.thy
     1.5 +    ID:         $Id$
     1.6 +    Author: 	Norbert Galm
     1.7 +    Copyright   1995 TUM
     1.8 +
     1.9 +Various arithmetic examples.
    1.10 +*)
    1.11 +
    1.12 +Examples = Hoare + Arith2 +
    1.13 +
    1.14 +syntax
    1.15 +  "@1"	:: "nat"	("1")
    1.16 +  "@2"	:: "nat"	("2")
    1.17 +
    1.18 +translations
    1.19 +  "1" == "Suc(0)"
    1.20 +  "2" == "Suc(Suc(0))"
    1.21 +end
    1.22 +
    1.23 +