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(Data/Finsupp/Defs): rename instances #10976

Closed
wants to merge 1 commit into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Feb 25, 2024

This adds the inst prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming foo to Finsupp.instFoo, then deleting the redundant Finsupp)

All the changes to downstream files are fallout, no names have been changed there.


Open in Gitpod

This adds the `inst` prefix that is expected in Lean 4.

All the changes to downstream files are fallout, no names have been changed there.
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR awaiting-CI labels Feb 25, 2024
@@ -1456,7 +1456,7 @@ instance nonUnitalCommSemiring [CommSemiring k] [AddCommSemigroup G] :
#align add_monoid_algebra.non_unital_comm_semiring AddMonoidAlgebra.nonUnitalCommSemiring

instance nontrivial [Semiring k] [Nontrivial k] [Nonempty G] : Nontrivial k[G] :=
Copy link
Member Author

Choose a reason for hiding this comment

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

Renaming these instance can come in a later PR.

@Ruben-VandeVelde
Copy link
Collaborator

maintainer merge

I don't think aliases are needed for instances

Copy link

github-actions bot commented Mar 1, 2024

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@urkud
Copy link
Member

urkud commented Mar 1, 2024

Thanks! 🎉
bors merge

@riccardobrasca
Copy link
Member

Thanks!

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Mar 1, 2024
@mathlib-bors
Copy link

mathlib-bors bot commented Mar 1, 2024

Already running a review

@github-actions github-actions bot removed the awaiting-review The author would like community review of the PR label Mar 1, 2024
mathlib-bors bot pushed a commit that referenced this pull request Mar 1, 2024
This adds the `inst` prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming `foo` to `Finsupp.instFoo`, then deleting the redundant `Finsupp`)

All the changes to downstream files are fallout, no names have been changed there.
@mathlib-bors
Copy link

mathlib-bors bot commented Mar 1, 2024

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Mar 1, 2024
This adds the `inst` prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming `foo` to `Finsupp.instFoo`, then deleting the redundant `Finsupp`)

All the changes to downstream files are fallout, no names have been changed there.
@mathlib-bors
Copy link

mathlib-bors bot commented Mar 1, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Data/Finsupp/Defs): rename instances [Merged by Bors] - chore(Data/Finsupp/Defs): rename instances Mar 1, 2024
@mathlib-bors mathlib-bors bot closed this Mar 1, 2024
@mathlib-bors mathlib-bors bot deleted the eric-wieser/finsupp-instance-names branch March 1, 2024 17:22
kbuzzard pushed a commit that referenced this pull request Mar 12, 2024
This adds the `inst` prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming `foo` to `Finsupp.instFoo`, then deleting the redundant `Finsupp`)

All the changes to downstream files are fallout, no names have been changed there.
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
This adds the `inst` prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming `foo` to `Finsupp.instFoo`, then deleting the redundant `Finsupp`)

All the changes to downstream files are fallout, no names have been changed there.
utensil pushed a commit that referenced this pull request Mar 26, 2024
This adds the `inst` prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming `foo` to `Finsupp.instFoo`, then deleting the redundant `Finsupp`)

All the changes to downstream files are fallout, no names have been changed there.
Louddy pushed a commit that referenced this pull request Apr 15, 2024
This adds the `inst` prefix that is expected in Lean 4.

Performed using the F2 shortcut (renaming `foo` to `Finsupp.instFoo`, then deleting the redundant `Finsupp`)

All the changes to downstream files are fallout, no names have been changed there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer-merge ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants