ex/Acc.thy
author lcp
Thu, 13 Oct 1994 09:39:15 +0100
changeset 153 c0ff8f1ebc16
parent 127 d9527f97246e
permissions -rw-r--r--
HOL/HOL.ML/selectI2: new rule for descriptions

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