lfp.thy
author lcp
Fri, 25 Nov 1994 11:10:26 +0100
changeset 181 3f5136a61a72
parent 0 7949f97df77a
permissions -rw-r--r--
checks that the recursive sets are Consts before taking them apart! Bug was introduced during the translation to theory sections.

(*  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