Finite.thy
author lcp
Tue, 06 Sep 1994 10:54:46 +0200
changeset 134 4b7da5a895e7
parent 128 89669c58e506
permissions -rw-r--r--
HOL/ind_syntax/factors: now returns only factors in the product type that associate to the right. Previously the proof of the induction rule crashed on types such as (bool*bool)*bool.

(*  Title: 	HOL/Finite.thy
    ID:         $Id$
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
    Copyright   1994  University of Cambridge

Finite powerset operator
*)

Finite = Lfp +
consts Fin :: "'a set => 'a set set"

inductive "Fin(A)"
  intrs
    emptyI  "{} : Fin(A)"
    insertI "[| a: A;  b: Fin(A) |] ==> insert(a,b) : Fin(A)"

end