src/LCF/ex/Ex3.thy
author paulson
Wed, 13 Sep 2000 18:45:10 +0200
changeset 9942 87f0809a06a9
parent 4905 be73ddff6c5a
child 17248 81bf91654e73
permissions -rw-r--r--
moved Primes, Fib, Factorization to HOL/NumberTheory


(*** Addition with fixpoint of successor ***)

Ex3 = LCF +

consts
  s	:: "'a => 'a"
  p	:: "'a => 'a => 'a"

rules
  p_strict	"p(UU) = UU"
  p_s		"p(s(x),y) = s(p(x,y))"

end