author | nipkow |
Tue, 21 Dec 2010 08:38:03 +0100 | |
changeset 41341 | e65a122057ad |
parent 41339 | 481c89fabcbc (diff) |
parent 41340 | 9b3f25c934c8 (current diff) |
child 41345 | e284a364f724 |
--- a/src/HOL/Tools/hologic.ML Tue Dec 21 08:37:48 2010 +0100 +++ b/src/HOL/Tools/hologic.ML Tue Dec 21 08:38:03 2010 +0100 @@ -8,6 +8,7 @@ sig val typeS: sort val typeT: typ + val mk_id: typ -> term val mk_comp: term * term -> term val boolN: string val boolT: typ @@ -145,6 +146,8 @@ (* functions *) +fun mk_id T = Const ("Fun.id", T --> T); + fun mk_comp (f, g) = let val fT = fastype_of f;