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] - feat(category_theory/sites): sheaves on types #5259

Closed
wants to merge 9 commits into from

Conversation

kckennylau
Copy link
Collaborator


@kckennylau kckennylau added the awaiting-review The author would like community review of the PR label Dec 6, 2020
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved
src/category_theory/sites/types.lean Outdated Show resolved Hide resolved

In this file we define a grothendieck topology on the category of types,
and construct the canonical function that sends a type to a sheaf over
the category of types.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you actually construct this function? I think a better description would be to say something like the yoneda presheaf for any type is a sheaf (or to actually make a function which takes types to sheaves).

Copy link
Member

Choose a reason for hiding this comment

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

@kckennylau ⬆️ what do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Now I have actually constructed the functor and the induced equivalence of categories.

Co-authored-by: Bhavik Mehta <bhavikmehta8@gmail.com>
@jcommelin jcommelin 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 Dec 10, 2020
@@ -54,6 +54,11 @@ theorem is_sheaf_yoneda' {α : Type u} : is_sheaf types_grothendieck_topology (y
by { convert this, exact rfl },
λ f hf, funext $ λ y, by convert congr_fun (hf _ (hs y)) punit.star⟩

/-- The yoneda functor that sends a type to a sheaf over the category of types -/
def yoneda' : Type u ⥤ Sheaf types_grothendieck_topology :=
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add @[simps] to this, and show that composing this with the forgetful functor Sheaf => Presheaf is yoneda?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@kckennylau kckennylau 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 Dec 12, 2020
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

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 Dec 12, 2020
bors bot pushed a commit that referenced this pull request Dec 12, 2020
@bors
Copy link

bors bot commented Dec 12, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(category_theory/sites): sheaves on types [Merged by Bors] - feat(category_theory/sites): sheaves on types Dec 12, 2020
@bors bors bot closed this Dec 12, 2020
@bors bors bot deleted the type-site branch December 12, 2020 09:03
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