Skip to content

[Merged by Bors] - chore: to_additive various results on groups, group actions#20498

Closed
AntoineChambert-Loir wants to merge 8 commits intomasterfrom
ACL/Primitive-1
Closed

[Merged by Bors] - chore: to_additive various results on groups, group actions#20498
AntoineChambert-Loir wants to merge 8 commits intomasterfrom
ACL/Primitive-1

Conversation

@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 5, 2025

PR summary dde6eb3927

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ SubAddAction
+ _root_.AddAction.IsBlock.of_addsubgroup_of_conjugate
+ _root_.AddAction.IsBlock.translate

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


Increase in tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type
1514 1 erw

Current commit dde6eb3927
Reference commit a57f31753d

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Jan 5, 2025
@YaelDillies YaelDillies changed the title Feat: to_additive various results on groups, group actions chore: to_additive various results on groups, group actions Jan 5, 2025
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for splitting!

Sorry, I got bored halfway through, but there are more to fix. There are also several missing docstrings on the additivised versions

@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 5, 2025
@AntoineChambert-Loir AntoineChambert-Loir removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 6, 2025
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 6, 2025
@AntoineChambert-Loir AntoineChambert-Loir removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 6, 2025
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

maintainer delegate

rw [← SubMulAction.inclusion.coe_eq, ← image_smul_set, ← image_smul_set, ne_eq,
Set.image_eq_image C.inclusion_injective, disjoint_image_iff C.inclusion_injective]

theorem _root_.AddAction.IsBlock.of_addsubgroup_of_conjugate
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
theorem _root_.AddAction.IsBlock.of_addsubgroup_of_conjugate
theorem _root_.AddAction.IsBlock.of_addSubgroup_of_conjugate

Comment on lines +164 to +171
/-- A SubAddAction is a set which is closed under scalar multiplication. -/
structure SubAddAction (R : Type u) (M : Type v) [VAdd R M] : Type v where
/-- The underlying set of a `SubAddAction`. -/
carrier : Set M
/-- The carrier set is closed under scalar multiplication. -/
vadd_mem' : ∀ (c : R) {x : M}, x ∈ carrier → c +ᵥ x ∈ carrier

attribute [to_additive] SubMulAction
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you swap SubAddAction and SubMulAction around and tag SubMulAction with to_additive straight away?

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 6, 2025

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jan 6, 2025
@fpvandoorn
Copy link
Copy Markdown
Member

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 6, 2025

✌️ AntoineChambert-Loir can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jan 6, 2025
@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator Author

AntoineChambert-Loir commented Jan 6, 2025 via email

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 6, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: to_additive various results on groups, group actions [Merged by Bors] - chore: to_additive various results on groups, group actions Jan 6, 2025
@mathlib-bors mathlib-bors bot closed this Jan 6, 2025
@mathlib-bors mathlib-bors bot deleted the ACL/Primitive-1 branch January 6, 2025 23:47
@YaelDillies
Copy link
Copy Markdown
Contributor

@AntoineChambert-Loir, you didn't address my final comments (probably because you didn't see them via the email system)

@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator Author

AntoineChambert-Loir commented Jan 7, 2025 via email

mathlib-bors bot pushed a commit that referenced this pull request Jan 7, 2025
Two adjustments to  #20498 that had been requested by @YaelDillies but hadn't been implemented on time before merge.
mathlib-bors bot pushed a commit that referenced this pull request Jan 7, 2025
Two adjustments to  #20498 that had been requested by Yaël but hadn't been implemented on time before merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants