src/LCF/ex/Ex3.thy
author wenzelm
Tue, 09 Mar 1999 12:08:08 +0100
changeset 6315 ed71bedf6976
parent 4905 be73ddff6c5a
child 17248 81bf91654e73
permissions -rw-r--r--
*** empty log message ***
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