Skip to content

[Merged by Bors] - refactor(LightProfinite): redefine light profinite spaces as second countable profinite spaces - #13319

Closed
dagurtomas wants to merge 29 commits into
masterfrom
dagur/LightProfiniteRefactor
Closed

dagurtomas wants to merge 29 commits into
masterfrom
dagur/LightProfiniteRefactor

Conversation

@dagurtomas

@dagurtomas dagurtomas commented May 28, 2024 •

Copy link
Copy Markdown
Contributor

Changes the definition of LightProfinite to the category of second countable totally disconnected compact Hausdorff spaces. The old LightProfinite is renamed to LightDiagram and we give an equivalence of categories between them.

This changes LightProfinite.Basic to match Profinite.Basic more closely. It also contains the equivalence of categories with LightDiagram and an EssentiallySmall instance.

The Limits and EffectiveEpi files now match their counterparts for Profinite more closely as well.

This PR also adds a new feature: LightProfinite has countable limits and the functor to Profinite creates countable limits.


Open in Gitpod

@dagurtomas dagurtomas added the WIP Work in progress label May 28, 2024
@dagurtomas dagurtomas added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-category-theory Category theory t-topology Topological spaces, uniform spaces, metric spaces, filters and removed WIP Work in progress labels May 28, 2024
@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label May 28, 2024
@github-actions

github-actions Bot commented Jun 7, 2024 •

Copy link
Copy Markdown

PR summary fac1429c0e

Import changes

Dependency changes

File Base Count Head Count Change
Mathlib.Topology.Category.LightProfinite.IsLight 1277 0 -1277 (-100.00%)
Mathlib.Topology.Category.LightProfinite.Basic 1259 1274 +15 (+1.19%)
Mathlib.Topology.Category.LightProfinite.Limits 1302 1301 -1 (-0.08%)
Mathlib.Topology.Category.LightProfinite.EffectiveEpi 1326 1325 -1 (-0.08%)

Declarations diff

+ FintypeCat.toLightProfiniteFullyFaithful
+ LightDiagram
+ LightDiagram'
+ LightDiagram'.toLightFunctor
+ LightDiagram'.toProfinite
+ LightDiagram.equivSmall
+ LightProfinite.equivDiagram
+ LightProfinite.toCompHaus_comp_toTop
+ LightProfinite.toTopCat
+ LightProfinite.toTopCatFullyFaithful
+ Sigma.ι_comp_toFiniteCoproduct
+ category
+ coe_comp
+ coe_id
+ coproductHomeoCoproduct
+ coproductIsoCoproduct
+ createsCountableLimits
+ finiteCoproduct.ι_desc_apply
+ finiteCoproduct.ι_injective
+ finiteCoproduct.ι_jointly_surjective
+ forget_reflectsIsomorphisms
+ hasForget₂
+ homeoOfIso
+ instCountableDiscreteQuotient
+ instance (S : LightDiagram.{u}) : SecondCountableTopology S.cone.pt := by
+ instance (S : LightProfinite) : Countable (Clopens S) := by
+ instance (X : LightProfinite) :
+ instance : Category LightDiagram := InducedCategory.category toProfinite
+ instance : Category LightDiagram' := InducedCategory.category LightDiagram'.toProfinite
+ instance : CoeSort LightProfinite (Type*)
+ instance : EssentiallySmall LightDiagram.{u}
+ instance : FinitaryExtensive LightProfinite.{u}
+ instance : FintypeCat.toLightProfinite.Faithful
+ instance : FintypeCat.toLightProfinite.Full
+ instance : HasCountableLimits LightProfinite
+ instance : Inhabited LightProfinite
+ instance : LightDiagram'.toLightFunctor.IsEquivalence
+ instance : LightDiagram'.toLightFunctor.{u}.EssSurj
+ instance : LightDiagram'.toLightFunctor.{u}.Faithful := ⟨id⟩
+ instance : LightDiagram'.toLightFunctor.{u}.Full
+ instance : LightProfinite.toTopCat.Faithful := LightProfinite.toTopCatFullyFaithful.faithful
+ instance : LightProfinite.toTopCat.Full := LightProfinite.toTopCatFullyFaithful.full
+ instance : Precoherent LightProfinite.{u} := inferInstance
+ instance : lightDiagramToLightProfinite.IsEquivalence
+ instance : lightDiagramToProfinite.Faithful := show (inducedFunctor _).Faithful from inferInstance
+ instance : lightDiagramToProfinite.Full := show (inducedFunctor _).Full from inferInstance
+ instance : lightProfiniteToCompHaus.Faithful := lightProfiniteToCompHausFullyFaithful.faithful
+ instance : lightProfiniteToCompHaus.Full := lightProfiniteToCompHausFullyFaithful.full
+ instance : lightProfiniteToLightDiagram.IsEquivalence
+ instance : lightToProfinite.Faithful := lightToProfiniteFullyFaithful.faithful
+ instance : lightToProfinite.Full := lightToProfiniteFullyFaithful.full
+ instance {J : Type v} [SmallCategory J] (F : J ⥤ LightProfinite.{max u v}) :
+ instance {X : LightDiagram} : CompactSpace ((forget LightDiagram).obj X)
+ instance {X : LightDiagram} : T2Space ((forget LightDiagram).obj X)
+ instance {X : LightDiagram} : TopologicalSpace ((forget LightDiagram).obj X)
+ instance {X : LightDiagram} : TotallyDisconnectedSpace ((forget LightDiagram).obj X)
+ instance {X : LightProfinite} : SecondCountableTopology ((forget LightProfinite).obj X)
+ instance {X : LightProfinite} : SecondCountableTopology (lightProfiniteToCompHaus.obj X)
+ instance {X : LightProfinite} : SecondCountableTopology X
+ instance {X : LightProfinite} : TotallyDisconnectedSpace (lightProfiniteToCompHaus.obj X)
+ instance {X : LightProfinite} : TotallyDisconnectedSpace X
+ instance {X Y : LightProfinite} (f : X ⟶ Y) [@Epi CompHaus _ _ _ f] : Epi f := by
+ instance {X Y : LightProfinite} (f : X ⟶ Y) [Epi f] : @Epi CompHaus _ _ _ f := by
+ isClosedMap
+ isIso_of_bijective
+ isoEquivHomeo
+ isoOfBijective
+ isoOfHomeo
+ lightDiagramToLightProfinite
+ lightDiagramToProfinite
+ lightProfiniteToCompHaus
+ lightProfiniteToCompHausFullyFaithful
+ lightProfiniteToLightDiagram
+ lightToProfiniteFullyFaithful
+ limitCone
+ limitConeIsLimit
+ mono_iff_injective
+ pullbackHomeoPullback
+ pullbackIsoPullback
+ pullback_fst_eq
+ pullback_snd_eq
+ toLightDiagram
+-+ concreteCategory
- IsLight
- LightProfinite'
- LightProfinite'.toLightFunctor
- LightProfinite'.toProfinite
- LightProfinite.equivSmall
- ext
- fintypeCatToLightProfinite
- instCountableDiscreteQuotientOfIsLight
- instIsLightProd
- instance (S : LightProfinite.{u}) : (lightToProfinite.obj S).IsLight
- instance (S : LightProfinite.{u}) : S.toProfinite.IsLight
- instance (X : LightProfinite) : Unique (X ⟶ (FintypeCat.of PUnit.{u+1}).toLightProfinite)
- instance : Category LightProfinite := InducedCategory.category toProfinite
- instance : Category LightProfinite' := InducedCategory.category LightProfinite'.toProfinite
- instance : FinitaryExtensive LightProfinite
- instance : LightProfinite'.toLightFunctor.IsEquivalence
- instance : LightProfinite'.toLightFunctor.{u}.EssSurj
- instance : LightProfinite'.toLightFunctor.{u}.Faithful := ⟨id⟩
- instance : LightProfinite'.toLightFunctor.{u}.Full
- instance : Precoherent LightProfinite := inferInstance
- instance : fintypeCatToLightProfinite.Faithful
- instance : fintypeCatToLightProfinite.Full
- instance : lightToProfinite.Faithful := show (inducedFunctor _).Faithful from inferInstance
- instance : lightToProfinite.Full := show (inducedFunctor _).Full from inferInstance
- instance : toTopCat.Faithful := Functor.Faithful.comp _ _
- instance : toTopCat.Full := Functor.Full.comp _ _
- instance [Mono f] : IsIso ((Profinite.limitConeIsLimit ((lightProfiniteDiagramOfHom f) ⋙
- instance {X Y B : LightProfinite} (f : X ⟶ B) (g : Y ⟶ B) : HasLimit (cospan f g)
- instance {X Y B : Profinite.{u}} (f : X ⟶ B) (g : Y ⟶ B) [X.IsLight] [Y.IsLight] :
- instance {α : Type w} [Finite α] (X : α → Profinite.{max u w}) [∀ a, (X a).IsLight] :
- isLight_of_mono
- lightProfiniteConeOfHom
- lightProfiniteConeOfHom_π_app
- lightProfiniteConeOfHom_π_app'
- lightProfiniteDiagramOfHom
- lightProfiniteIsLimitOfMono
- lightProfiniteOfMono
- ofIsLight
- toTopCat

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@kbuzzard kbuzzard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks great to me -- almost ready to go. I left some small comments.

@kbuzzard kbuzzard added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Jun 11, 2024
@dagurtomas dagurtomas added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jun 11, 2024
@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jun 11, 2024
@kbuzzard

Copy link
Copy Markdown
Member

Thanks a lot!

bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Jun 11, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jun 11, 2024
…ountable profinite spaces (#13319)

Changes the definition of `LightProfinite` to the category of second countable totally disconnected compact Hausdorff spaces. The old `LightProfinite` is renamed to `LightDiagram` and we give an equivalence of categories between them. 

This changes `LightProfinite.Basic` to match `Profinite.Basic` more closely. It also contains the equivalence of categories with `LightDiagram` and an `EssentiallySmall` instance. 

The `Limits` and `EffectiveEpi` files now match their counterparts for `Profinite` more closely as well. 

This PR also adds a new feature: `LightProfinite` has countable limits and the functor to `Profinite` creates countable limits.
@mathlib-bors

mathlib-bors Bot commented Jun 11, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title refactor(LightProfinite): redefine light profinite spaces as second countable profinite spaces [Merged by Bors] - refactor(LightProfinite): redefine light profinite spaces as second countable profinite spaces Jun 11, 2024
@mathlib-bors mathlib-bors Bot closed this Jun 11, 2024
@mathlib-bors
mathlib-bors Bot deleted the dagur/LightProfiniteRefactor branch June 11, 2024 13:49
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
…ountable profinite spaces (#13319)

Changes the definition of `LightProfinite` to the category of second countable totally disconnected compact Hausdorff spaces. The old `LightProfinite` is renamed to `LightDiagram` and we give an equivalence of categories between them. 

This changes `LightProfinite.Basic` to match `Profinite.Basic` more closely. It also contains the equivalence of categories with `LightDiagram` and an `EssentiallySmall` instance. 

The `Limits` and `EffectiveEpi` files now match their counterparts for `Profinite` more closely as well. 

This PR also adds a new feature: `LightProfinite` has countable limits and the functor to `Profinite` creates countable limits.
mathlib-bors Bot pushed a commit that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-category-theory Category theory t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants