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(category_theory): T50000 challenge #2840

Closed
wants to merge 4 commits into from

Conversation

semorrison
Copy link
Collaborator

A lame effort at making something compile with -T50000. No actual speed improvement, just split up a definition into pieces.

@bryangingechen bryangingechen added the awaiting-review The author would like community review of the PR label May 27, 2020
bors bot pushed a commit that referenced this pull request May 27, 2020
This PR adds `-T100000` to CI. This is the default timeout setting in the VS Code extension and emacs.

With some exceptions, noted with `FIXME` comments mentioning `-T50000`, the library now compiles with `-T50000`:

- [ ] `has_sum.has_sum_ne_zero` in `src/topology/algebra/infinite_sum.lean`, where I don't really understand why it is slow.
- [ ] `exists_norm_eq_infi_of_complete_convex` in `src/analysis/normed_space/real_inner_product.lean`, which has a giant proof which should be rewritten in several steps.
- [ ] `tangent_bundle_core.coord_change_comp` in `src/geometry/manifold/basic_smooth_bundle.lean`.
- [ ] `change_origin_radius` in `src/analysis/analytic/basic.lean`

There are 3 `def`s related to category theory which also don't compile:
- [ ] `adj₁` in `src/topology/category/Top/adjunctions.lean`
- [x] `cones_equiv_inverse` in `src/category_theory/limits/over.lean` (addressed in #2840)
- [ ] `prod_functor` in `src/category_theory/limits/shapes/binary_products.lean`

This proof no longer causes problems with `-T50000`, but it should still be broken up at some point.
- [ ] `simple_func_sequence_tendsto` in `src/measure_theory/simple_func_dense.lean`, which has a giant proof which should be rewritten in several steps. ~~This one is really bad, and doesn't even compile with `-T100000`.~~ 

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/-T50000.20challenge).

Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@anu.edu.au>
@semorrison semorrison requested a review from b-mehta May 28, 2020 08:32
Copy link
Collaborator

@b-mehta b-mehta left a comment

Choose a reason for hiding this comment

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

Only very minor comments from me! I like that some of the case_bashes can be removed from tidy and some proofs still work

src/category_theory/limits/over.lean Outdated Show resolved Hide resolved
src/category_theory/limits/over.lean Outdated Show resolved Hide resolved
@robertylewis
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels May 29, 2020
bors bot pushed a commit that referenced this pull request May 29, 2020
A lame effort at making something compile with `-T50000`. No actual speed improvement, just split up a definition into pieces.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented May 29, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(category_theory): T50000 challenge [Merged by Bors] - chore(category_theory): T50000 challenge May 29, 2020
@bors bors bot closed this May 29, 2020
@bors bors bot deleted the T50000_category branch May 29, 2020 18:08
cipher1024 pushed a commit to cipher1024/mathlib that referenced this pull request Mar 15, 2022
…2276)

This PR adds `-T100000` to CI. This is the default timeout setting in the VS Code extension and emacs.

With some exceptions, noted with `FIXME` comments mentioning `-T50000`, the library now compiles with `-T50000`:

- [ ] `has_sum.has_sum_ne_zero` in `src/topology/algebra/infinite_sum.lean`, where I don't really understand why it is slow.
- [ ] `exists_norm_eq_infi_of_complete_convex` in `src/analysis/normed_space/real_inner_product.lean`, which has a giant proof which should be rewritten in several steps.
- [ ] `tangent_bundle_core.coord_change_comp` in `src/geometry/manifold/basic_smooth_bundle.lean`.
- [ ] `change_origin_radius` in `src/analysis/analytic/basic.lean`

There are 3 `def`s related to category theory which also don't compile:
- [ ] `adj₁` in `src/topology/category/Top/adjunctions.lean`
- [x] `cones_equiv_inverse` in `src/category_theory/limits/over.lean` (addressed in leanprover-community#2840)
- [ ] `prod_functor` in `src/category_theory/limits/shapes/binary_products.lean`

This proof no longer causes problems with `-T50000`, but it should still be broken up at some point.
- [ ] `simple_func_sequence_tendsto` in `src/measure_theory/simple_func_dense.lean`, which has a giant proof which should be rewritten in several steps. ~~This one is really bad, and doesn't even compile with `-T100000`.~~ 

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/-T50000.20challenge).

Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@anu.edu.au>
cipher1024 pushed a commit to cipher1024/mathlib that referenced this pull request Mar 15, 2022
A lame effort at making something compile with `-T50000`. No actual speed improvement, just split up a definition into pieces.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
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

4 participants