author | wenzelm |
Tue, 11 Nov 2014 11:47:53 +0100 | |
changeset 58973 | 2a683fb686fd |
parent 58889 | 5b7a9633cfa8 |
child 58974 | cbc2ac19d783 |
permissions | -rw-r--r-- |
section {* Addition with fixpoint of successor *} theory Ex3 imports LCF begin axiomatization s :: "'a => 'a" and p :: "'a => 'a => 'a" where p_strict: "p(UU) = UU" and p_s: "p(s(x),y) = s(p(x,y))" declare p_strict [simp] p_s [simp] lemma example: "p(FIX(s),y) = FIX(s)" apply (induct s) apply simp apply simp done end