src/HOLCF/ex/Fix2.ML
author nipkow
Wed, 26 Jul 2000 19:43:28 +0200
changeset 9448 755330e55e18
parent 9265 35aab1c9c08c
child 10835 f4745d77e620
permissions -rw-r--r--
While functional for defining tail-recursive functions

(*  Title:      HOLCF/ex/Fix2.ML
    ID:         $Id$
    Author:     Franz Regensburger
    Copyright   1995 Technische Universitaet Muenchen
*)

Goal "fix = gix";
by (rtac ext_cfun 1);
by (rtac antisym_less 1);
by (rtac fix_least 1);
by (rtac gix1_def 1);
by (rtac gix2_def 1);
by (rtac (fix_eq RS sym) 1);
qed "lemma1";


Goal "gix`F=lub(range(%i. iterate i F UU))";
by (rtac (lemma1 RS subst) 1);
by (rtac fix_def2 1);
qed "lemma2";