src/HOL/ex/Acc.thy
author lcp
Tue, 25 Apr 1995 11:14:03 +0200
changeset 1072 0140ff702b23
parent 972 e61b058d58d2
child 1266 3ae9fe3c0f68
permissions -rw-r--r--
updated version

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

Inductive definition of acc(r)

See Ch. Paulin-Mohring, Inductive Definitions in the System Coq.
Research Report 92-49, LIP, ENS Lyon.  Dec 1992.
*)

Acc = WF + 

consts
  pred :: "['b, ('a * 'b)set] => 'a set"	(*Set of predecessors*)
  acc  :: "('a * 'a)set => 'a set"		(*Accessible part*)

defs
  pred_def     "pred x r == {y. (y,x):r}"

inductive "acc(r)"
  intrs
    pred    "pred a r: Pow(acc(r)) ==> a: acc(r)"
  monos     "[Pow_mono]"

end