-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify documentation of GeneratorsOfDomain and add an example #3453
Clarify documentation of GeneratorsOfDomain and add an example #3453
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that's the intended meaning of GeneratorsOfDomain
. Think about it: GeneratorsOfGroup
returns the generators of an object viewed as a group, i.e., generators relative to the category of groups. For the same object, you can also call GeneratorsOfSemigroup
or GeneratorsOfMagma
, and they each give you larger sets. My interpretation thus is that GeneratorsOfDomain
returns the most general set of generators, namely those relative to the category "Set".
Of course we may now argue that this is not what it should be; but then the question is, what should it do? How do we decide which kind of "generators" are supposed to be returned? Those of a magma? A semigroup? A monoid? A group? A ring? A ring-with-one? etc. ... Or perhaps "The most specific one?" -- assuming that is always well-defined? |
Ah, I've interpreted the following section in the documentation as if there were a unique operational structure attached to a domain.
But since domains are modelled via filters there can't be a unique "most specific with respect to inclusion" one. In #3460 I suggest a category Would it be problematic if installations of |
So |
6d6f310
to
199b710
Compare
Codecov Report
@@ Coverage Diff @@
## master #3453 +/- ##
=========================================
Coverage ? 85.34%
=========================================
Files ? 699
Lines ? 346465
Branches ? 0
=========================================
Hits ? 295675
Misses ? 50790
Partials ? 0
|
Nevermind my previous suggestions. I just updated this PR and I think the new version is a lot clearer. |
Also adds an example.
199b710
to
f14c871
Compare
A domain comes with an associated
operational structure
. The documentation for GeneratorsOfDomain states:I'm changing this to: