author | clasohm |
Wed, 29 Nov 1995 17:01:41 +0100 | |
changeset 1374 | 5e407f2a3323 |
parent 1335 | 5e1c0540f285 |
child 1476 | 608483c2122a |
permissions | -rw-r--r-- |
1335 | 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 |
|
1374 | 12 |
"@1" :: nat ("1") |
13 |
"@2" :: nat ("2") |
|
1335 | 14 |
|
15 |
translations |
|
16 |
"1" == "Suc(0)" |
|
17 |
"2" == "Suc(Suc(0))" |
|
18 |
end |
|
19 |
||
20 |