Lfp.thy
author nipkow
Sat, 13 Aug 1994 16:33:53 +0200
changeset 101 5f99df1e26c4
parent 0 7949f97df77a
child 116 ab4328bbff70
permissions -rw-r--r--
Added primitive recursive functions (Norbert Voelker's code) to the datatype package.

(*  Title: 	HOL/lfp.thy
    ID:         $Id$
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
    Copyright   1992  University of Cambridge

The Knaster-Tarski Theorem
*)

Lfp = Sum +
consts lfp :: "['a set=>'a set] => 'a set"
rules
 (*least fixed point*)
 lfp_def "lfp(f) == Inter({u. f(u) <= u})"
end