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] - feat: port Algebra.TrivSqZeroExt #2951

Closed
wants to merge 7 commits into from

Conversation

eric-wieser
Copy link
Member

Note that the note on the port comment wiki is out of date; the PR to wait for has made it through mathport already.

The main difficulty here comes from the fact that Lean can no longer work out the type of the zero in (r • 0 : M) due to being HSMul. The rest of the port is just adding instance names, and one cases where cases n resulted in an unwanted Nat.zero where using match n gives a better 0.


Open in Gitpod

Mathbin -> Mathlib
fix certain import statements
move "by" to end of line
add import to Mathlib.lean
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR mathlib-port This is a port of a theory file from mathlib. labels Mar 17, 2023
@ChrisHughes24
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Mar 17, 2023
bors bot pushed a commit that referenced this pull request Mar 17, 2023
Note that the note on the port comment wiki is out of date; the PR to wait for has made it through mathport already.

The main difficulty here comes from the fact that Lean can no longer work out the type of the zero in `(r • 0 : M)` due to `•` being `HSMul`. The rest of the port is just adding instance names, and one cases where `cases n` resulted in an unwanted `Nat.zero` where using `match n` gives a better `0`.
@bors
Copy link

bors bot commented Mar 17, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Algebra.TrivSqZeroExt [Merged by Bors] - feat: port Algebra.TrivSqZeroExt Mar 17, 2023
@bors bors bot closed this Mar 17, 2023
@bors bors bot deleted the port/Algebra.TrivSqZeroExt branch March 17, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mathlib-port This is a port of a theory file from mathlib. 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

2 participants