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

chore(category_theory): speed-up monoidal.of_has_finite_products #1616

Merged
merged 2 commits into from
Oct 29, 2019

Conversation

semorrison
Copy link
Collaborator

Just factoring out some proofs, to satisfy the -T 50000 challenge, per #1566.

Copy link
Member

@fpvandoorn fpvandoorn left a comment

Choose a reason for hiding this comment

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

LGTM. This doesn't actually speed up the total compilation time, does it?

@fpvandoorn fpvandoorn added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Oct 29, 2019
@mergify mergify bot merged commit 6030ff0 into master Oct 29, 2019
@mergify mergify bot deleted the monoidal_of_has_finite_products branch October 29, 2019 09:23
@semorrison
Copy link
Collaborator Author

semorrison commented Oct 29, 2019 via email

@rwbarton
Copy link
Collaborator

It probably does increase the amount of work which can be done in parallel, though. Until recently I thought that splitting off Props like this makes no real difference, because Lean can do it automatically. But those examples where by exact made a difference made me realize that my mental model (first the data fields are elaborated, then the properties) is wrong, and all the elaboration is happening on one task. (Probably checking proofs in the kernel happens on separate tasks, but that is usually cheap anyways.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants