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(field_theory/intermediate_field): fix timeout #14725

Closed
wants to merge 5 commits into from

Conversation

alreadydone
Copy link
Collaborator

@alreadydone alreadydone commented Jun 14, 2022

  • Remove @[simps] from intermediate_field_map to reduce decl post-processing of intermediate_field_map from 18.3s to 46.4ms (on my machine).

  • Manually provide the two simp lemmas previously auto-generated by @[simps]. Mathlib compiles even without the two simp lemmas (see commit 1f5a7f1), but I am inclined to keep them in case some other branches/projects are using them.

Zulip reports about intermediate_field_map causing timeout in two separate branches


Open in Gitpod

@alreadydone alreadydone added easy < 20s of review time. See the lifecycle page for guidelines. awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Jun 14, 2022
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jun 14, 2022
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thanks!

@eric-wieser eric-wieser added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jun 14, 2022
@alreadydone alreadydone 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 Jun 14, 2022
alreadydone and others added 2 commits June 14, 2022 17:10
@ocfnash
Copy link
Collaborator

ocfnash commented Jun 14, 2022

Thanks

bors d+

@bors
Copy link

bors bot commented Jun 14, 2022

✌️ alreadydone 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 The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Jun 14, 2022
@alreadydone
Copy link
Collaborator Author

bors r+

@alreadydone
Copy link
Collaborator Author

Strangely bors reports merge conflict but github doesn't. Let me try again.

bors r+

@bors
Copy link

bors bot commented Jun 14, 2022

Already running a review

@YaelDillies
Copy link
Collaborator

This means that this PR conflicts with another PR in the bors batch. The only option is to wait for one of the two PRs to get merged.

bors bot pushed a commit that referenced this pull request Jun 15, 2022
+ Remove `@[simps]` from `intermediate_field_map` to reduce `decl post-processing of intermediate_field_map` from 18.3s to 46.4ms (on my machine).

+ Manually provide the two `simp` lemmas previously auto-generated by `@[simps]`. Mathlib compiles even without the two simp lemmas (see commit 1f5a7f1), but I am inclined to keep them in case some other branches/projects are using them.

[Zulip reports](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/deterministic.20timeout/near/285792556) about `intermediate_field_map` causing timeout in two separate branches
@bors
Copy link

bors bot commented Jun 15, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(field_theory/intermediate_field): fix timeout [Merged by Bors] - chore(field_theory/intermediate_field): fix timeout Jun 15, 2022
@bors bors bot closed this Jun 15, 2022
@bors bors bot deleted the intermediate_field_map_timeout branch June 15, 2022 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. easy < 20s of review time. See the lifecycle page for guidelines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants