author | wenzelm |
Sat, 03 Sep 2005 17:54:10 +0200 | |
changeset 17248 | 81bf91654e73 |
parent 4905 | be73ddff6c5a |
child 19755 | 90f80de04c46 |
permissions | -rw-r--r-- |
4905 | 1 |
|
17248 | 2 |
(* $Id$ *) |
3 |
||
4 |
header {* Addition with fixpoint of successor *} |
|
4905 | 5 |
|
17248 | 6 |
theory Ex3 |
7 |
imports LCF |
|
8 |
begin |
|
4905 | 9 |
|
10 |
consts |
|
17248 | 11 |
s :: "'a => 'a" |
12 |
p :: "'a => 'a => 'a" |
|
4905 | 13 |
|
17248 | 14 |
axioms |
15 |
p_strict: "p(UU) = UU" |
|
16 |
p_s: "p(s(x),y) = s(p(x,y))" |
|
17 |
||
18 |
ML {* use_legacy_bindings (the_context ()) *} |
|
4905 | 19 |
|
20 |
end |