[isabelle-dev] top and bot
Florian Haftmann
florian.haftmann at informatik.tu-muenchen.de
Mon May 3 13:55:31 CEST 2010
Hi Brian
> Every time I use the overloaded constants "top" and "bot" (defined in
> Orderings.thy), Isabelle prints them out as "top_class.top" and
> "bot_class.bot", instead of just "top" and "bot". I find this
> annoying, so I tried to find out the reason for this.
> class top = preorder +
> fixes top :: 'a
> assumes top_greatest [simp]: "x \<le> top"
>
> class bot = preorder +
> fixes bot :: 'a
> assumes bot_least [simp]: "bot \<le> x"
The fact that both class predicate and class operation have the same
base name is indeed confusing. Meanwhile it should be possible to
insert a non-mandatory qualifier into the name binding of the class
predicate, e.g. "pred", or even "class". Any objections?
Florian
--
Home:
http://www.in.tum.de/~haftmann
PGP available:
http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_at_informatik_tu_muenchen_de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://mailman46.in.tum.de/pipermail/isabelle-dev/attachments/20100503/3b81e947/attachment.sig>
More information about the isabelle-dev
mailing list