generalised type
authornipkow
Wed, 04 Jan 2012 13:58:06 +0100
changeset 46116 b903d272c37d
parent 46115 ecab67f5a5c2
child 46117 edd50ec8d471
generalised type
src/HOL/IMP/Collecting.thy
--- a/src/HOL/IMP/Collecting.thy	Wed Jan 04 12:09:53 2012 +0100
+++ b/src/HOL/IMP/Collecting.thy	Wed Jan 04 13:58:06 2012 +0100
@@ -75,7 +75,7 @@
 fun invar :: "'a acom \<Rightarrow> 'a" where
 "invar({I} WHILE b DO c {P}) = I"
 
-fun lift :: "('a set \<Rightarrow> 'a) \<Rightarrow> com \<Rightarrow> 'a acom set \<Rightarrow> 'a acom"
+fun lift :: "('a set \<Rightarrow> 'b) \<Rightarrow> com \<Rightarrow> 'a acom set \<Rightarrow> 'b acom"
 where
 "lift F com.SKIP M = (SKIP {F (post ` M)})" |
 "lift F (x ::= a) M = (x ::= a {F (post ` M)})" |