src/CCL/Lfp.thy
author obua
Tue, 07 Jun 2005 20:04:41 +0200
changeset 16313 79b37d5e50b1
parent 1474 3f7d67927fe2
child 17456 bcf7544875b2
permissions -rw-r--r--
A flag DEFS_CHAIN_HISTORY can be used to improve the error message in case a cycle has been detected. If it is switched off and a cycle has been detected, the user is notified that there is such a flag.

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

The Knaster-Tarski Theorem
*)

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