Skip to content

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

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

[Merged by Bors] - feat(CategoryTheory/Adjunction): the right partial adjoint#27168
grhkm21 wants to merge 3 commits intoleanprover-community:masterfrom
grhkm21:right-partial-adjoint

Conversation

@grhkm21
Copy link
Copy Markdown
Collaborator

@grhkm21 grhkm21 commented 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.


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
Copy link
Copy Markdown

github-actions bot commented Jul 15, 2025

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).

Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
@grhkm21
Copy link
Copy Markdown
Collaborator Author

grhkm21 commented Jul 15, 2025

my bad

@joelriou joelriou added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-author A reviewer has asked the author a question or requested changes. 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 <83517584+grhkm21@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jul 15, 2025

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 <83517584+grhkm21@users.noreply.github.com>
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 <83517584+grhkm21@users.noreply.github.com>
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 <83517584+grhkm21@users.noreply.github.com>
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