src/HOLCF/Discrete.thy
author paulson
Wed, 23 Jul 1997 11:52:22 +0200
changeset 3564 f886dbd91ee5
parent 2841 c2508f4ab739
child 12030 46d57d0290a2
permissions -rw-r--r--
Now Datatype.occs_in_prems prints the necessary warning ITSELF. It is also easier to invoke and even works if the induction variable is a parameter (rather than a free variable).

(*  Title:      HOLCF/Discrete.thy
    ID:         $Id$
    Author:     Tobias Nipkow
    Copyright   1997 TUM

Discrete CPOs
*)

Discrete = Discrete1 +

instance discr :: (term)cpo   (discr_cpo)

constdefs
   undiscr :: ('a::term)discr => 'a
  "undiscr x == (case x of Discr y => y)"

end