Skip to content

[Merged by Bors] - refactor: weaken HasPullbacks to HasPullback in MorphismProperty.Limits - #29812

Closed
Jlh18 wants to merge 16 commits into
leanprover-community:masterfrom
Jlh18:MorphismPropertyLimits
Closed

Jlh18 wants to merge 16 commits into
leanprover-community:masterfrom
Jlh18:MorphismPropertyLimits

Conversation

@Jlh18

@Jlh18 Jlh18 commented Sep 19, 2025 •

Copy link
Copy Markdown
Collaborator

The HasPullbacks instance on a category C for defining the baseChange / pullback functor along a map f : X -> Y between their over categories can be weakened to just a HasPullback condition on f.


Open in Gitpod

@github-actions github-actions Bot added new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-category-theory Category theory labels Sep 19, 2025
@github-actions

github-actions Bot commented Sep 19, 2025 •

Copy link
Copy Markdown

PR summary 108075f42a

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ instance [HasPullbacksAlong f] (h : P ⟶ Y) : HasPullback h (pullback.fst g f)

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

@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 Sep 19, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 10, 2025
@mathlib4-dependent-issues-bot

Copy link
Copy Markdown

@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 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
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Oct 10, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Oct 10, 2025
…ts (#29812)

The `HasPullbacks` instance on a category `C` for defining the `baseChange` / pullback functor along a map `f : X -> Y` between their over categories can be weakened to just a `HasPullback` condition on `f`.

- [ ] depends on: #29795

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

mathlib-bors Bot commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title refactor: weaken HasPullbacks to HasPullback in MorphismProperty.Limits [Merged by Bors] - refactor: weaken HasPullbacks to HasPullback in MorphismProperty.Limits Oct 10, 2025
@mathlib-bors mathlib-bors Bot closed this Oct 10, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Oct 15, 2025
…Adjuction (#29810)

This PR replaces the global assumption of `HasPullback T` with the weaker assumption that pullbacks exist along the morphism only. 

For the sake of readability I also moved the variable `(f : X -> Y)` into the statement of each theorem. As instructed in #29795 (comment)

- [ ] depends on: #29795
- [ ] depends on: #29812

Co-authored-by: jlh18 <[email protected]>
Jlh18 added a commit to Jlh18/mathlib4 that referenced this pull request Oct 24, 2025
…Adjuction (leanprover-community#29810)

This PR replaces the global assumption of `HasPullback T` with the weaker assumption that pullbacks exist along the morphism only. 

For the sake of readability I also moved the variable `(f : X -> Y)` into the statement of each theorem. As instructed in leanprover-community#29795 (comment)

- [ ] depends on: leanprover-community#29795
- [ ] depends on: leanprover-community#29812

Co-authored-by: jlh18 <[email protected]>
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
…ts (leanprover-community#29812)

The `HasPullbacks` instance on a category `C` for defining the `baseChange` / pullback functor along a map `f : X -> Y` between their over categories can be weakened to just a `HasPullback` condition on `f`.

- [ ] depends on: leanprover-community#29795

Co-authored-by: jlh18 <[email protected]>
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
…Adjuction (leanprover-community#29810)

This PR replaces the global assumption of `HasPullback T` with the weaker assumption that pullbacks exist along the morphism only. 

For the sake of readability I also moved the variable `(f : X -> Y)` into the statement of each theorem. As instructed in leanprover-community#29795 (comment)

- [ ] depends on: leanprover-community#29795
- [ ] depends on: leanprover-community#29812

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

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! 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.

4 participants