src/ZF/ex/Enum.ML
author lcp
Fri, 12 Aug 1994 12:28:46 +0200
changeset 515 abcc438e7c27
parent 477 53fc8ad84b33
child 1461 6bcb44e4d6e5
permissions -rw-r--r--
installation of new inductive/datatype sections

(*  Title: 	ZF/ex/Enum
    ID:         $Id$
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
    Copyright   1993  University of Cambridge

Example of a BIG enumeration type

Can go up to at least 100 constructors, but it takes nearly 7 minutes...
*)

open Enum;

goal Enum.thy "C00 ~= C01";
by (simp_tac (ZF_ss addsimps enum.free_iffs) 1);
result();