-
Notifications
You must be signed in to change notification settings - Fork 195
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
Improve mapping out of a generated subgroup #2180
Merged
Alizter
merged 4 commits into
HoTT:master
from
Alizter:ps/rr/better_subgroup_generated_rec_lemma
Jan 4, 2025
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This result is really a combination of two things. First, consider the special case when
f
is the identity map. Then it says thatsubgroup_generated X
is the smallest subgroup containing the generating set. I think this is something worth recording on its own.And then this result follows from that special case, since
S o f
is again a subgroup ofG
(bysubgroup_preimage
).I think separating this out into those two pieces would be useful and a bit shorter (since the current approach redoes
subgroup_preimage
).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 simplified the lemma like you suggested and added a comment. I'll add the preimage version back in if it becomes useful.
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.
Sounds good. Do you think
subgroup_generated_rec
should be renamed to something likesubgroup_generated_minimal
?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.
Did you see the previous comment?
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 missed that. Whats wrong with
subgroup_generated_rec
?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.
What the result is saying is that every subgroup containing the generators contains the generated subgroup, so the generated subgroup is the minimal subgroup containing the generators. So I thought a name in that direction might make more sense.
subgroup_generated_rec
would seem more appropriate for something that defines a function from the generated subgroup to an arbitrary group (or even an arbitrary type).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.
That's a good point. I think I'll hold off on that for now. At some point I should go around and start using inclusions like we do in Ideal.v for subgroups, that way it would make sense to call this a
sg_incl
or something to that effect.