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

feat(category_theory/examples/topological_spaces): limits and colimits #518

Merged
merged 1 commit into from Dec 18, 2018

Conversation

rwbarton
Copy link
Collaborator

TO CONTRIBUTORS:

Make sure you have:

  • reviewed and applied the coding style: coding, naming
  • make sure definitions and lemmas are put in the right files
  • make sure definitions and lemmas are not redundant

For reviewers: code review check list

@@ -73,11 +73,11 @@ abbreviation small_category (C : Type u) : Type (u+1) := category.{u u} C

structure bundled (c : Type u → Type v) :=
(α : Type u)
[str : c α]
(str : c α)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Compare https://leanprover.zulipchat.com/#narrow/stream/116395-maths/subject/limits.202.2E0/near/148053105. The current []s are redundant with mk_ob, and make it hard to construct objects when you want to provide str explicitly. I'm also open to other arrangements as long as both explicit and implicit (from class inference) specification of str is convenient.

⟨limit.lift (F ⋙ forget) (forget.map_cone s),
continuous_iff_le_coinduced.mpr $ lattice.supr_le $ λ j,
induced_le_iff_le_coinduced.mpr $ continuous_iff_le_coinduced.mp (s.π.app j).property⟩,
fac' := λ s j, subtype.eq rfl,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually, maybe it's worth factoring out these last three lines and proving some lemma about when a cone is a limit cone if its image under a faithful functor is one.

@digama0 digama0 merged commit 293ba83 into leanprover-community:master Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants