src/ZF/Finite.thy
author lcp
Fri Aug 12 12:51:34 1994 +0200 (1994-08-12)
changeset 516 1957113f0d7d
child 534 cd8bec47e175
permissions -rw-r--r--
installation of new inductive/datatype sections
lcp@516
     1
(*  Title: 	ZF/Finite.thy
lcp@516
     2
    ID:         $Id$
lcp@516
     3
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
lcp@516
     4
    Copyright   1994  University of Cambridge
lcp@516
     5
lcp@516
     6
Finite powerset operator
lcp@516
     7
*)
lcp@516
     8
lcp@516
     9
Finite = Arith + 
lcp@516
    10
consts Fin :: "i=>i"
lcp@516
    11
inductive
lcp@516
    12
  domains   "Fin(A)" <= "Pow(A)"
lcp@516
    13
  intrs
lcp@516
    14
    emptyI  "0 : Fin(A)"
lcp@516
    15
    consI   "[| a: A;  b: Fin(A) |] ==> cons(a,b) : Fin(A)"
lcp@516
    16
  type_intrs "[empty_subsetI, cons_subsetI, PowI]"
lcp@516
    17
  type_elims "[make_elim PowD]"
lcp@516
    18
end