src/HOL/Induct/Acc.thy
author wenzelm
Tue, 20 May 1997 19:29:50 +0200
changeset 3257 4e3724e0659f
parent 3120 c58423c20740
child 5102 8c782c25a11e
permissions -rw-r--r--
README generation;

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

constdefs
  pred :: "['b, ('a * 'b)set] => 'a set"        (*Set of predecessors*)
  "pred x r == {y. (y,x):r}"

consts
  acc  :: "('a * 'a)set => 'a set"              (*Accessible part*)

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

end