unit and bool are instances of heap
authorhaftmann
Fri, 13 Aug 2010 14:43:16 +0200
changeset 38634721b4d6095b7
parent 38633 0dbbb511634d
child 38635 9ee71ec7db4e
unit and bool are instances of heap
src/HOL/Imperative_HOL/Heap.thy
     1.1 --- a/src/HOL/Imperative_HOL/Heap.thy	Fri Aug 13 14:41:27 2010 +0200
     1.2 +++ b/src/HOL/Imperative_HOL/Heap.thy	Fri Aug 13 14:43:16 2010 +0200
     1.3 @@ -14,6 +14,10 @@
     1.4  
     1.5  class heap = typerep + countable
     1.6  
     1.7 +instance unit :: heap ..
     1.8 +
     1.9 +instance bool :: heap ..
    1.10 +
    1.11  instance nat :: heap ..
    1.12  
    1.13  instance prod :: (heap, heap) heap ..