Skip to content

[Merged by Bors] - feat: port CategoryTheory.Sites.Sheaf - #3244

Closed
joelriou wants to merge 9 commits into
masterfrom
port/CategoryTheory.Sites.Sheaf
Closed

joelriou wants to merge 9 commits into
masterfrom
port/CategoryTheory.Sites.Sheaf

Conversation

@joelriou

@joelriou joelriou commented Apr 3, 2023

Copy link
Copy Markdown
Contributor

Open in Gitpod

joelriou added 3 commits April 3, 2023 17:12
Mathbin -> Mathlib
fix certain import statements
move "by" to end of line
add import to Mathlib.lean
@joelriou joelriou added WIP Work in progress mathlib-port This is a port of a theory file from mathlib. labels Apr 3, 2023
@joelriou joelriou removed the WIP Work in progress label Apr 4, 2023
@kim-em

kim-em commented Apr 5, 2023

Copy link
Copy Markdown
Contributor

bors d+

@bors

bors Bot commented Apr 5, 2023

Copy link
Copy Markdown

✌️ joelriou 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 This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Apr 5, 2023
@joelriou

joelriou commented Apr 5, 2023 •

Copy link
Copy Markdown
Contributor Author

Actually, the proof of Preadditive (Sheaf J A) is now very fast with your change @semorrison . It is the previous definition Sheaf.Hom.addCommGroup which is taking some time.

@joelriou

joelriou commented Apr 5, 2023

Copy link
Copy Markdown
Contributor Author

bord r+

@Parcly-Taxel

Parcly-Taxel commented Apr 5, 2023 •

Copy link
Copy Markdown
Collaborator

@joelriou You made a typo with the command there...

@joelriou

joelriou commented Apr 5, 2023

Copy link
Copy Markdown
Contributor Author

bors r+

bors Bot pushed a commit that referenced this pull request Apr 5, 2023
@bors

bors Bot commented Apr 5, 2023

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: port CategoryTheory.Sites.Sheaf [Merged by Bors] - feat: port CategoryTheory.Sites.Sheaf Apr 5, 2023
@bors bors Bot closed this Apr 5, 2023
@bors
bors Bot deleted the port/CategoryTheory.Sites.Sheaf branch April 5, 2023 13:52
bors Bot pushed a commit to leanprover-community/mathlib3 that referenced this pull request Apr 8, 2023
`@[simps]` should not be used to simplify the `hom` field of a category instance.

Very little needs to be changed when removing it.

However the problem in leanprover-community/mathlib4#3244 with a proof by `simp` failing seems to be implicated by this problem. If we remove the `@[simps]` generated lemma for `Hom` there, the original proof works (although is extremely slow).



Co-authored-by: Scott Morrison <[email protected]>
MonadMaverick pushed a commit that referenced this pull request Apr 9, 2023
MonadMaverick pushed a commit to MonadMaverick/mathlib4 that referenced this pull request Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). mathlib-port This is a port of a theory file from mathlib.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants