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.Module.LinearMap #1587

Closed
wants to merge 9 commits into from

Conversation

Vierkantor
Copy link
Contributor

@Vierkantor Vierkantor commented Jan 16, 2023

@Vierkantor Vierkantor added the WIP Work in progress label Jan 16, 2023
@hrmacbeth hrmacbeth added the mathlib-port This is a port of a theory file from mathlib. label Jan 17, 2023
Comment on lines +223 to +225
-- Porting note: adding this instance prevents a timeout in `ext_ring_op`
instance {σ : R →+* S} : FunLike (M →ₛₗ[σ] M₃) M (λ _ ↦ M₃) :=
{ AddHomClass.toFunLike with }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This instance could be removed if we can speed up ext_ring_op in some other way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(Indeed, with Gabriel's changes to Lean this can be deleted again.)

@Vierkantor Vierkantor added the help-wanted The author needs attention to resolve issues label Jan 17, 2023
Copy link
Contributor Author

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

I'm marking this as "help requested" since there are still two timeouts that I don't know how to fix.

Comment on lines +498 to +499
-- *TODO*: why are you still timing out?
set_option maxHeartbeats 300000 in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know how to solve this timeout.

Comment on lines +1085 to +1086
-- *TODO*: why are you still timing out?
set_option maxHeartbeats 300000 in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know how to solve this timeout.

@Vierkantor
Copy link
Contributor Author

leanprover/lean4#2003 solves both of the timeouts, so do we want to invest effort in fixing this ourselves?

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed help-wanted The author needs attention to resolve issues WIP Work in progress labels Jan 20, 2023
Co-authored-by: Johan Commelin <johan@commelin.net>
@Vierkantor Vierkantor added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jan 20, 2023
@jcommelin
Copy link
Member

Thanks 🎉

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 Jan 20, 2023
bors bot pushed a commit that referenced this pull request Jan 20, 2023
Zulip thread: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/algebra.2Emodule.2Elinear_map.20mathlib4.231587



Co-authored-by: Vierkantor <vierkantor@vierkantor.com>
Co-authored-by: qawbecrdtey <qawbecrdtey@naver.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@bors
Copy link

bors bot commented Jan 20, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Algebra.Module.LinearMap [Merged by Bors] - feat: port Algebra.Module.LinearMap Jan 20, 2023
@bors bors bot closed this Jan 20, 2023
@bors bors bot deleted the port/Algebra.Module.LinearMap branch January 20, 2023 16:13
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

4 participants