src/HOL/Nat.thy
author paulson
Fri May 30 15:19:58 1997 +0200 (1997-05-30)
changeset 3370 5c5fdce3a4e4
parent 2608 450c9b682a92
child 4104 84433b1ab826
permissions -rw-r--r--
Overloading of "^" requires new type class "power", with types "nat" and
"set" in that class. The operator itself is declared in Nat.thy
     1 (*  Title:      HOL/Nat.thy
     2     ID:         $Id$
     3     Author:     Tobias Nipkow
     4     Copyright   1997 TU Muenchen
     5 
     6 Nat is a partial order
     7 *)
     8 
     9 Nat = NatDef +
    10 
    11 instance nat :: order (le_refl,le_trans,le_anti_sym,nat_less_le)
    12 
    13 consts
    14   "^"           :: ['a::power,nat] => 'a            (infixr 80)
    15 
    16 end