[Merged by Bors] - feat(CategoryTheory/Sites): descent data, given as coalgebras#35452
Closed
joelriou wants to merge 11 commits intoleanprover-community:masterfrom
Closed
[Merged by Bors] - feat(CategoryTheory/Sites): descent data, given as coalgebras#35452joelriou wants to merge 11 commits intoleanprover-community:masterfrom
joelriou wants to merge 11 commits intoleanprover-community:masterfrom
Conversation
PR summary 8dbc02da01
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.CategoryTheory.Bicategory.Adjunction.Cat | 428 | 434 | +6 (+1.40%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.CategoryTheory.Bicategory.Adjunction.Cat |
6 |
Mathlib.CategoryTheory.Sites.Descent.DescentDataAsCoalgebra (new file) |
448 |
Declarations diff
+ DescentDataAsCoalgebra
+ Hom
+ coalgebraEquivalence
+ comp_hom
+ counit_naturality
+ hom_ext
+ id_hom
+ instance : Category (F.DescentDataAsCoalgebra f)
+ isEquivalence_toDescentDataAsCoalgebra_iff_isEquivalence_comonadComparison
+ isoMk
+ left_triangle_components
+ right_triangle_components
+ toDescentDataAsCoalgebra
+ toDescentDataAsCoalgebraCompCoalgebraEquivalenceFunctorIso
+ unit_naturality
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for scripts/declarations_diff.sh contains some details about this script.
No changes to technical debt.
You can run this locally as
./scripts/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
8 tasks
Contributor
|
Thanks! maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by robin-carlier. |
Member
|
Thanks! bors merge |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 21, 2026
Let `F : LocallyDiscrete Cᵒᵖ ⥤ᵖ Adj Cat` be a pseudofunctor to the bicategory of adjunctions in `Cat`. In particular, for any morphism `g : X ⟶ Y` in `C`, we have an adjunction `(g^*, g_*)` between a pullback functor and a pushforward functor. In this PR, given a family of morphisms `f i : X i ⟶ S` indexed by a type `ι` in `C`, we introduce a category `F.DescentDataAsCoalgebra f` of descent data relative to the morphisms `f i`, where the objects are described as a family of objects `obj i` over `X i`, and the morphisms relating them are described as morphisms `obj i₁ ⟶ (f i₁)^* (f i₂)_* (obj i₂)`, similarly as Eilenberg-Moore coalgebras. Indeed, when the index type `ι` contains a unique element, we show that `F.DescentDataAsCoalgebra (fun (i : ι) ↦ f` identifies to the category of coalgebras for the comonad attached to the adjunction `(F.map f.op.toLoc).adj`. Co-authored-by: Christian Merten
Contributor
|
Pull request successfully merged into master. Build succeeded: |
pfaffelh
pushed a commit
to pfaffelh/mathlib4
that referenced
this pull request
Mar 2, 2026
…over-community#35452) Let `F : LocallyDiscrete Cᵒᵖ ⥤ᵖ Adj Cat` be a pseudofunctor to the bicategory of adjunctions in `Cat`. In particular, for any morphism `g : X ⟶ Y` in `C`, we have an adjunction `(g^*, g_*)` between a pullback functor and a pushforward functor. In this PR, given a family of morphisms `f i : X i ⟶ S` indexed by a type `ι` in `C`, we introduce a category `F.DescentDataAsCoalgebra f` of descent data relative to the morphisms `f i`, where the objects are described as a family of objects `obj i` over `X i`, and the morphisms relating them are described as morphisms `obj i₁ ⟶ (f i₁)^* (f i₂)_* (obj i₂)`, similarly as Eilenberg-Moore coalgebras. Indeed, when the index type `ι` contains a unique element, we show that `F.DescentDataAsCoalgebra (fun (i : ι) ↦ f` identifies to the category of coalgebras for the comonad attached to the adjunction `(F.map f.op.toLoc).adj`. Co-authored-by: Christian Merten
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let
F : LocallyDiscrete Cᵒᵖ ⥤ᵖ Adj Catbe a pseudofunctor to the bicategory of adjunctions inCat. In particular,for any morphism
g : X ⟶ YinC, we have an adjunction(g^*, g_*)between a pullback functor and apushforward functor.
In this PR, given a family of morphisms
f i : X i ⟶ Sindexed by a typeιinC, we introduce a categoryF.DescentDataAsCoalgebra fof descent data relative to the morphismsf i, where the objects are described as a family of objectsobj ioverX i, and the morphisms relating them are described as morphismsobj i₁ ⟶ (f i₁)^* (f i₂)_* (obj i₂), similarly as Eilenberg-Moore coalgebras. Indeed, when the index typeιcontains a unique element, we show thatF.DescentDataAsCoalgebra (fun (i : ι) ↦ fidentifies to the category of coalgebras for the comonad attached to the adjunction(F.map f.op.toLoc).adj.Co-authored-by: Christian Merten