Skip to content

[Merged by Bors] - chore: Rename a few lemmas about Pi.mulSingle#12317

Closed
YaelDillies wants to merge 1 commit intomasterfrom
rename_pi_single
Closed

[Merged by Bors] - chore: Rename a few lemmas about Pi.mulSingle#12317
YaelDillies wants to merge 1 commit intomasterfrom
rename_pi_single

Conversation

@YaelDillies
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies commented Apr 21, 2024

Before this PR, the MonoidHom version of Pi.mulSingle was called MonoidHom.single for brevity; but this is confusing when contrasted with MulHom.single which is about Pi.single.

After this PR, the name is MonoidHom.mulSingle.

Also fix the name of Pi.single_div since it is about Pi.mulSingle (and we don't have the lemma that would be called Pi.single_div).


Open in Gitpod

These were erroneously named after `Pi.single`.
@YaelDillies YaelDillies added awaiting-review easy < 20s of review time. See the lifecycle page for guidelines. t-algebra Algebra (groups, rings, fields, etc) labels Apr 21, 2024
@eric-wieser
Copy link
Copy Markdown
Member

bors d+

I don't think this was an error, I think it was a decision at the time which turned out to become inconsistent later. I've edited the description accordingly; please merge if you're ok with it.

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 21, 2024

✌️ YaelDillies 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 delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Apr 21, 2024
@YaelDillies
Copy link
Copy Markdown
Contributor Author

Pi.single_div is unambiguously an error, right?

@YaelDillies
Copy link
Copy Markdown
Contributor Author

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Apr 21, 2024
Before this PR, the `MonoidHom` version of `Pi.mulSingle` was called `MonoidHom.single` for brevity; but this is confusing when contrasted with `MulHom.single` which is about `Pi.single`.

After this PR, the name is `MonoidHom.mulSingle`.

Also fix the name of `Pi.single_div` since it is about `Pi.mulSingle` (and we don't have the lemma that would be called `Pi.single_div`).
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 21, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: Rename a few lemmas about Pi.mulSingle [Merged by Bors] - chore: Rename a few lemmas about Pi.mulSingle Apr 21, 2024
@mathlib-bors mathlib-bors bot closed this Apr 21, 2024
@mathlib-bors mathlib-bors bot deleted the rename_pi_single branch April 21, 2024 17:33
callesonne pushed a commit that referenced this pull request Apr 22, 2024
Before this PR, the `MonoidHom` version of `Pi.mulSingle` was called `MonoidHom.single` for brevity; but this is confusing when contrasted with `MulHom.single` which is about `Pi.single`.

After this PR, the name is `MonoidHom.mulSingle`.

Also fix the name of `Pi.single_div` since it is about `Pi.mulSingle` (and we don't have the lemma that would be called `Pi.single_div`).
Jun2M pushed a commit that referenced this pull request Apr 24, 2024
Before this PR, the `MonoidHom` version of `Pi.mulSingle` was called `MonoidHom.single` for brevity; but this is confusing when contrasted with `MulHom.single` which is about `Pi.single`.

After this PR, the name is `MonoidHom.mulSingle`.

Also fix the name of `Pi.single_div` since it is about `Pi.mulSingle` (and we don't have the lemma that would be called `Pi.single_div`).
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). easy < 20s of review time. See the lifecycle page for guidelines. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants