Trying to Treat Type Classes and Sub-types Like Sets and Subsets
问题 This question is related to my previous SO question about type classes. I ask this question to set up a future question about locales. I don't think type classes will work for what I'm trying to do, but how type classes work have given me ideas about what I want out of locales. Below, when I use the braces notation {0,0} , it doesn't represent the normal HOL braces, and 0 represents the empty set. Some files if you want them A_i130424a.thy - ASCII friendly THY. i130424a.thy - non-ASCII