Skip to content

[Merged by Bors] - feat: port Algebra.Module.LinearMap - #1587

Closed
Vierkantor wants to merge 9 commits into
masterfrom
port/Algebra.Module.LinearMap
Closed

Vierkantor wants to merge 9 commits into
masterfrom
port/Algebra.Module.LinearMap

Conversation

@Vierkantor

@Vierkantor Vierkantor commented Jan 16, 2023 •

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
Copy Markdown
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

@Vierkantor Vierkantor left a comment

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

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

Comment thread Mathlib/Algebra/Module/LinearMap.lean Resolved
@jcommelin jcommelin added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed help-wanted The author needs attention to resolve issues WIP Work in progress labels Jan 20, 2023
Co-authored-by: Johan Commelin <[email protected]>
@Vierkantor Vierkantor added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jan 20, 2023
@jcommelin

Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@bors

bors Bot commented Jan 20, 2023

Copy link
Copy Markdown

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.

4 participants