Skip to content

[Merged by Bors] - feat(CategoryTheory): LCCC sections (constructing right adjoint to Over.ChosenPullback.pullback) - #30373

Closed
sinhp wants to merge 176 commits into
leanprover-community:masterfrom
sinhp:lccc-section
Closed

sinhp wants to merge 176 commits into
leanprover-community:masterfrom
sinhp:lccc-section

Conversation

@sinhp

@sinhp sinhp commented Oct 9, 2025 •

Copy link
Copy Markdown
Collaborator

In LCCCs development, the sections functor is used to define the right adjoint to the pullback functor Over.ChosenPullback.pullback.

This PR defines Over.sections and proves that it is a right adjoint to the toOver (I : C) : C ⥤ Over I (this is the computable analogue of star).

This is the computable enhancement of #22319: instead of Limits.pullback this PR builds on top of Over.ChosenPullback and thus we eliminate any instance of noncomputable constructs.


Open in Gitpod

@github-actions github-actions Bot added t-category-theory Category theory large-import Automatically added label for PRs with a significant increase in transitive imports labels Oct 9, 2025
@github-actions

github-actions Bot commented Oct 9, 2025 •

Copy link
Copy Markdown

PR summary 959c85291a

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.LocallyCartesianClosed.Sections (new file) 499

Declarations diff

+ coreHomEquivToOverSections
+ curryRightUnitorHom
+ sections
+ sectionsCurry
+ sectionsCurry_sectionUncurry
+ sectionsUncurry
+ sectionsUncurry_sectionsCurry
+ toOverSectionsAdj
+ toUnit_comp_curryRightUnitorHom

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.


No changes to technical debt.

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

@sinhp sinhp changed the title feat: Lccc section feat: LCCC section Oct 9, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 9, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 10, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) large-import Automatically added label for PRs with a significant increase in transitive imports labels Oct 11, 2025
@sinhp sinhp removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 29, 2025

@robin-carlier robin-carlier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

maintainer merge

@github-actions

github-actions Bot commented Jan 2, 2026

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by robin-carlier.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jan 2, 2026

@jcommelin jcommelin 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.

Thanks 🎉

bors d+

@mathlib-bors

mathlib-bors Bot commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

✌️ sinhp can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Jan 5, 2026
@sinhp

sinhp commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator Author

✌️ sinhp can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Jan 5, 2026
…ver.ChosenPullback.pullback`) (#30373)

In LCCCs development, the `sections` functor is used to define the right adjoint to the pullback functor `Over.ChosenPullback.pullback`. 

This PR defines `Over.sections` and proves that it is a right adjoint to the `toOver (I : C) : C ⥤ Over I` (this is the computable analogue of `star`).

This is the computable enhancement of #22319: instead of `Limits.pullback` this PR builds on top of `Over.ChosenPullback` and thus we eliminate any instance of noncomputable constructs.

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

mathlib-bors Bot commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Canceled.

@sinhp

sinhp commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Jan 5, 2026
…ver.ChosenPullback.pullback`) (#30373)

In LCCCs development, the `sections` functor is used to define the right adjoint to the pullback functor `Over.ChosenPullback.pullback`. 

This PR defines `Over.sections` and proves that it is a right adjoint to the `toOver (I : C) : C ⥤ Over I` (this is the computable analogue of `star`).

This is the computable enhancement of #22319: instead of `Limits.pullback` this PR builds on top of `Over.ChosenPullback` and thus we eliminate any instance of noncomputable constructs.

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

mathlib-bors Bot commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(CategoryTheory): LCCC sections (constructing right adjoint to Over.ChosenPullback.pullback) [Merged by Bors] - feat(CategoryTheory): LCCC sections (constructing right adjoint to Over.ChosenPullback.pullback) Jan 5, 2026
@mathlib-bors mathlib-bors Bot closed this Jan 5, 2026
xgenereux pushed a commit to xgenereux/mathlib4 that referenced this pull request Jan 5, 2026
…ver.ChosenPullback.pullback`) (leanprover-community#30373)

In LCCCs development, the `sections` functor is used to define the right adjoint to the pullback functor `Over.ChosenPullback.pullback`. 

This PR defines `Over.sections` and proves that it is a right adjoint to the `toOver (I : C) : C ⥤ Over I` (this is the computable analogue of `star`).

This is the computable enhancement of leanprover-community#22319: instead of `Limits.pullback` this PR builds on top of `Over.ChosenPullback` and thus we eliminate any instance of noncomputable constructs.

Co-authored-by: Dagur Asgeirsson <[email protected]>
kim-em pushed a commit to kim-em/mathlib4 that referenced this pull request Jan 6, 2026
…ver.ChosenPullback.pullback`) (leanprover-community#30373)

In LCCCs development, the `sections` functor is used to define the right adjoint to the pullback functor `Over.ChosenPullback.pullback`. 

This PR defines `Over.sections` and proves that it is a right adjoint to the `toOver (I : C) : C ⥤ Over I` (this is the computable analogue of `star`).

This is the computable enhancement of leanprover-community#22319: instead of `Limits.pullback` this PR builds on top of `Over.ChosenPullback` and thus we eliminate any instance of noncomputable constructs.

Co-authored-by: Dagur Asgeirsson <[email protected]>
@github-actions github-actions Bot mentioned this pull request Jan 16, 2026
goliath-klein pushed a commit to PrParadoxy/mathlib4 that referenced this pull request Jan 24, 2026
…ver.ChosenPullback.pullback`) (leanprover-community#30373)

In LCCCs development, the `sections` functor is used to define the right adjoint to the pullback functor `Over.ChosenPullback.pullback`. 

This PR defines `Over.sections` and proves that it is a right adjoint to the `toOver (I : C) : C ⥤ Over I` (this is the computable analogue of `star`).

This is the computable enhancement of leanprover-community#22319: instead of `Limits.pullback` this PR builds on top of `Over.ChosenPullback` and thus we eliminate any instance of noncomputable constructs.

Co-authored-by: Dagur Asgeirsson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-category-theory Category theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants