src/LCF/ex/Ex3.thy
author wenzelm
Fri, 08 May 1998 13:54:45 +0200
changeset 4905 be73ddff6c5a
child 17248 81bf91654e73
permissions -rw-r--r--
proper thy files;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     1
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     2
(*** Addition with fixpoint of successor ***)
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     3
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     4
Ex3 = LCF +
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     5
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     6
consts
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     7
  s	:: "'a => 'a"
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     8
  p	:: "'a => 'a => 'a"
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     9
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    10
rules
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    11
  p_strict	"p(UU) = UU"
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    12
  p_s		"p(s(x),y) = s(p(x,y))"
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    13
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    14
end