Skip to content

[Merged by Bors] - feat(CategoryTheory/Adjunction): the right partial adjoint - #27168

Closed
grhkm21 wants to merge 3 commits into
leanprover-community:masterfrom
grhkm21:right-partial-adjoint
Closed

grhkm21 wants to merge 3 commits into
leanprover-community:masterfrom
grhkm21:right-partial-adjoint

Conversation

@grhkm21

@grhkm21 grhkm21 commented Jul 15, 2025 •

Copy link
Copy Markdown
Collaborator

Given a functor F : C ⥤ D, we define a functor F.partialLeftAdjoint : F.PartialLeftAdjointSource ⥤ C which is defined on a certain full subcategory of D. It satisfies similar properties to the right adjoint of F (if this existed). We show that the domain of definition of this partial right adjoint is stable under certain limits.

This dualises #17388, I came across this while formalising Proposition 4.3.4 of Emily Riehl's Category Theory in Context. I will also work on formalising Proposition 4.3.6, which is the bifunctor version of this.


Open in Gitpod

@grhkm21
grhkm21 requested a review from joelriou July 15, 2025 15:46
@github-actions github-actions Bot added the t-category-theory Category theory label Jul 15, 2025
@github-actions

github-actions Bot commented Jul 15, 2025 •

Copy link
Copy Markdown

PR summary 4940ad6e54

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ PartialRightAdjointSource
+ instance (Y : F.PartialRightAdjointSource) :
+ isLeftAdjoint_iff_rightAdjointObjIsDefined_eq_top
+ isLeftAdjoint_of_rightAdjointObjIsDefined_eq_top
+ partialRightAdjoint
+ partialRightAdjointHomEquiv
+ partialRightAdjointHomEquiv_comp
+ partialRightAdjointHomEquiv_map
+ partialRightAdjointHomEquiv_map_comp
+ partialRightAdjointMap
+ partialRightAdjointObj
+ representableByCompYonedaObjOfIsLimit
+ rightAdjointObjIsDefined
+ rightAdjointObjIsDefined_iff
+ rightAdjointObjIsDefined_limit
+ rightAdjointObjIsDefined_of_adjunction
+ rightAdjointObjIsDefined_of_isLimit

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 script/declarations_diff.sh contains some details about this script.


Increase in tech debt: (relative, absolute) = (2.00, 0.00)
Current number Change Type
821 2 erw

Current commit 5b328ead00
Reference commit 4940ad6e54

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@grhkm21

grhkm21 commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator Author

my bad

@joelriou joelriou added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jul 15, 2025
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jul 15, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Jul 15, 2025
Given a functor `F : C ⥤ D`, we define a functor `F.partialLeftAdjoint : F.PartialLeftAdjointSource ⥤ C` which is defined on a certain full subcategory of `D`. It satisfies similar properties to the right adjoint of `F` (if this existed). We show that the domain of definition of this partial right adjoint is stable under certain limits.

This dualises #17388, I came across this while formalising Proposition 4.3.4 of Emily Riehl's Category Theory in Context. I will also work on formalising Proposition 4.3.6, which is the bifunctor version of this.



Co-authored-by: grhkm21 <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(CategoryTheory/Adjunction): the right partial adjoint [Merged by Bors] - feat(CategoryTheory/Adjunction): the right partial adjoint Jul 15, 2025
@mathlib-bors mathlib-bors Bot closed this Jul 15, 2025
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Jul 16, 2025
…r-community#27168)

Given a functor `F : C ⥤ D`, we define a functor `F.partialLeftAdjoint : F.PartialLeftAdjointSource ⥤ C` which is defined on a certain full subcategory of `D`. It satisfies similar properties to the right adjoint of `F` (if this existed). We show that the domain of definition of this partial right adjoint is stable under certain limits.

This dualises leanprover-community#17388, I came across this while formalising Proposition 4.3.4 of Emily Riehl's Category Theory in Context. I will also work on formalising Proposition 4.3.6, which is the bifunctor version of this.



Co-authored-by: grhkm21 <[email protected]>
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…r-community#27168)

Given a functor `F : C ⥤ D`, we define a functor `F.partialLeftAdjoint : F.PartialLeftAdjointSource ⥤ C` which is defined on a certain full subcategory of `D`. It satisfies similar properties to the right adjoint of `F` (if this existed). We show that the domain of definition of this partial right adjoint is stable under certain limits.

This dualises leanprover-community#17388, I came across this while formalising Proposition 4.3.4 of Emily Riehl's Category Theory in Context. I will also work on formalising Proposition 4.3.6, which is the bifunctor version of this.



Co-authored-by: grhkm21 <[email protected]>
hrmacbeth pushed a commit to szqzs/mathlib4 that referenced this pull request Jul 28, 2025
…r-community#27168)

Given a functor `F : C ⥤ D`, we define a functor `F.partialLeftAdjoint : F.PartialLeftAdjointSource ⥤ C` which is defined on a certain full subcategory of `D`. It satisfies similar properties to the right adjoint of `F` (if this existed). We show that the domain of definition of this partial right adjoint is stable under certain limits.

This dualises leanprover-community#17388, I came across this while formalising Proposition 4.3.4 of Emily Riehl's Category Theory in Context. I will also work on formalising Proposition 4.3.6, which is the bifunctor version of this.



Co-authored-by: grhkm21 <[email protected]>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants