src/ZF/ex/Enum.ML
author paulson
Tue, 24 Feb 1998 11:35:33 +0100
changeset 4648 f04da668581c
parent 4091 771b1f6422a8
child 5068 fb28eaa07e01
permissions -rw-r--r--
New theory of the inverse image of a function

(*  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 (simpset() addsimps enum.free_iffs) 1);
result();