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 intoleanprover-community:masterfrom
sinhp:lccc-section
Closed

[Merged by Bors] - feat(CategoryTheory): LCCC sections (constructing right adjoint to Over.ChosenPullback.pullback)#30373
sinhp wants to merge 176 commits intoleanprover-community:masterfrom
sinhp:lccc-section

Conversation

@sinhp
Copy link
Copy Markdown
Collaborator

@sinhp sinhp commented Oct 9, 2025

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

github-actions bot commented Oct 9, 2025

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
Collaborator

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 and others added 6 commits December 29, 2025 16:48
Co-authored-by: Robin Carlier <57142648+robin-carlier@users.noreply.github.com>
Co-authored-by: Robin Carlier <57142648+robin-carlier@users.noreply.github.com>
@sinhp sinhp removed the awaiting-author A reviewer has asked the author a question or requested changes. label Dec 29, 2025
Copy link
Copy Markdown
Contributor

@robin-carlier robin-carlier left a comment

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

github-actions bot commented Jan 2, 2026

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

@jcommelin jcommelin left a comment

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

mathlib-bors bot commented Jan 5, 2026

✌️ 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 and others added 2 commits January 5, 2026 11:32
Co-authored-by: Johan Commelin <johan@commelin.net>
Co-authored-by: Johan Commelin <johan@commelin.net>
@sinhp
Copy link
Copy Markdown
Collaborator Author

sinhp commented Jan 5, 2026

✌️ 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 <dagurtomas@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 5, 2026

Canceled.

@sinhp
Copy link
Copy Markdown
Collaborator Author

sinhp commented Jan 5, 2026

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 <dagurtomas@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 5, 2026

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 <dagurtomas@gmail.com>
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 <dagurtomas@gmail.com>
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 <dagurtomas@gmail.com>
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