Skip to content
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

[Merged by Bors] - chore(Mathlib/Tactic/ToAdditive/Frontend): isolate the to_additive attribute implementation in a new file Tactic.ToAdditive.Frontend (1/2) #14816

Closed
wants to merge 1 commit into from

Conversation

Komyyy
Copy link
Collaborator

@Komyyy Komyyy commented Jul 17, 2024

Ideally, we want to move the attribute [to_additive] commands in Init.ZeroOne into Tactic.ToAdditive without any other changes.
However, the to_additive attribute is initialized in the file and cannot be included in the same file.
So it would be necessary to isolate the original to_additive attribute implementation in a new file Tactic.ToAdditive.Frontend, and create an new file Tactic.ToAdditive as a placeholder for the attribute [to_additive] commands in Init.ZeroOne.
But if we put these two changes in the same PR, git cannot recognizes that Tactic.ToAdditive is renamed, so we split the PR.


Open in Gitpod

@Komyyy Komyyy added awaiting-CI tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip labels Jul 17, 2024
Copy link

PR summary 0d18829320

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Tactic.ToAdditive -39
Mathlib.Tactic.ToAdditive.Frontend 39

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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>

@Komyyy
Copy link
Collaborator Author

Komyyy commented Jul 17, 2024

@jcommelin
Please delegate me.
In #14750, I was already delegated, and that PR should be merged after this PR is merged immediately.
If you delegate me, I'm going to merge these two PRs quickly.

Copy link
Collaborator

@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.

maintainer merge

Copy link

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

@jcommelin
Copy link
Member

bors d+

bors merge

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 17, 2024

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

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. delegated labels Jul 17, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 17, 2024
…attribute implementation in a new file `Tactic.ToAdditive.Frontend` (1/2) (#14816)

Ideally, we want to move the `attribute [to_additive]` commands in `Init.ZeroOne` into `Tactic.ToAdditive` without any other changes.
However, the `to_additive` attribute is initialized in the file and cannot be included in the same file.
So it would be necessary to isolate the original `to_additive` attribute implementation in a new file `Tactic.ToAdditive.Frontend`, and create an new file `Tactic.ToAdditive` as a placeholder for the `attribute [to_additive]` commands in `Init.ZeroOne`.
But if we put these two changes in the same PR, git cannot recognizes that `Tactic.ToAdditive` is renamed, so we split the PR.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 17, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Mathlib/Tactic/ToAdditive/Frontend): isolate the to_additive attribute implementation in a new file Tactic.ToAdditive.Frontend (1/2) [Merged by Bors] - chore(Mathlib/Tactic/ToAdditive/Frontend): isolate the to_additive attribute implementation in a new file Tactic.ToAdditive.Frontend (1/2) Jul 17, 2024
@mathlib-bors mathlib-bors bot closed this Jul 17, 2024
@mathlib-bors mathlib-bors bot deleted the Komyyy/Mathlib.Tactic.ToAdditive.Frontend branch July 17, 2024 07:41
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated maintainer-merge ready-to-merge This PR has been sent to bors. tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants