src/HOL/Datatype.thy
author berghofe
Wed, 21 Oct 1998 17:38:47 +0200
changeset 5714 b4f2e281a907
parent 5181 4ba3787d9709
child 5759 bf5d9e5b8cdf
permissions -rw-r--r--
Changed syntax of rep_datatype.

(*  Title:      HOL/Datatype.thy
    ID:         $Id$
    Author:     Stefan Berghofer
    Copyright   1998  TU Muenchen
*)

Datatype = Univ +

rep_datatype sum
  distinct Inl_not_Inr, Inr_not_Inl
  inject   Inl_eq, Inr_eq
  induct   sum_induct

rep_datatype prod
  inject   Pair_eq
  induct   prod_induct

end