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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Isabelle-dev mailing list Isabelle-dev@mailbroy.informatik.tu-muenchen.de https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev