Skip to content

[Merged by Bors] - chore(Mathlib/CategoryTheory/Limits): add iff_of_natIso versions of variants of preservesLimits_of_natIso#39667

Closed
mathlib-splicebot[bot] wants to merge 1 commit into
masterfrom
splice-bot/pr-39572-Mathlib-CategoryTheory-Limits-Preserves-Basic.lean-c4b3a1f8a3-6qd2nu5
Closed

[Merged by Bors] - chore(Mathlib/CategoryTheory/Limits): add iff_of_natIso versions of variants of preservesLimits_of_natIso#39667
mathlib-splicebot[bot] wants to merge 1 commit into
masterfrom
splice-bot/pr-39572-Mathlib-CategoryTheory-Limits-Preserves-Basic.lean-c4b3a1f8a3-6qd2nu5

Conversation

@mathlib-splicebot

@mathlib-splicebot mathlib-splicebot Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

... as well as preservesLimit_iff_isLimit_mapCone: a functor preserves a limit if and only if it preserves some limit cone

This PR was automatically created from PR #39572 by @chrisflav via a review comment by @dagurtomas.

@github-actions github-actions Bot added the t-category-theory Category theory label May 21, 2026
@github-actions

Copy link
Copy Markdown

PR summary 7e7c3c3e1e

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ preservesColimit_iff_isColimit_mapCocone
+ preservesColimit_iff_of_natIso
+ preservesColimitsOfShape_iff_of_natIso
+ preservesColimitsOfSize_iff_of_natIso
+ preservesLimit_iff_isLimit_mapCone
+ preservesLimit_iff_of_natIso
+ preservesLimitsOfShape_iff_of_natIso
+ preservesLimitsOfSize_iff_of_natIso

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

@dagurtomas dagurtomas changed the title chore(Mathlib/CategoryTheory/Limits/Preserves/Basic.lean): automated extraction chore(Mathlib/CategoryTheory/Limits): add iff_of_natIso versions of variants of preservesLimits_of_natIso May 21, 2026
@dagurtomas

Copy link
Copy Markdown
Contributor

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by dagurtomas.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 21, 2026
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request May 21, 2026
… variants of `preservesLimits_of_natIso` (#39667)

... as well as `preservesLimit_iff_isLimit_mapCone`: a functor preserves a limit if and only if it preserves some limit cone

This PR was automatically created from PR #39572 by @chrisflav via a [review comment](#39572 (comment)) by @dagurtomas.

Co-authored-by: chrisflav <136261474+chrisflav@users.noreply.github.com>
@mathlib-triage mathlib-triage Bot added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels May 21, 2026
@mathlib-bors

mathlib-bors Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Mathlib/CategoryTheory/Limits): add iff_of_natIso versions of variants of preservesLimits_of_natIso [Merged by Bors] - chore(Mathlib/CategoryTheory/Limits): add iff_of_natIso versions of variants of preservesLimits_of_natIso May 21, 2026
@mathlib-bors mathlib-bors Bot closed this May 21, 2026
RaggedR pushed a commit to RaggedR/mathlib4 that referenced this pull request May 22, 2026
… variants of `preservesLimits_of_natIso` (leanprover-community#39667)

... as well as `preservesLimit_iff_isLimit_mapCone`: a functor preserves a limit if and only if it preserves some limit cone

This PR was automatically created from PR leanprover-community#39572 by @chrisflav via a [review comment](leanprover-community#39572 (comment)) by @dagurtomas.
kim-em added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request May 25, 2026
The merge of master in 76b190c lost four lemmas added by master
PR leanprover-community#39667 (commit 27850fe): `preservesLimit_iff_isLimit_mapCone`,
`preservesLimitsOfSize_iff_of_natIso`,
`preservesColimit_iff_isColimit_mapCocone`, and
`preservesColimitsOfSize_iff_of_natIso`. PR leanprover-community#39572's new file
`Algebra/Category/Ring/Under/Property.lean` uses the first of these,
so it failed to elaborate. Restore them and add the now-standard
`set_option backward.defeqAttrib.useBackward true in` scope to the
ported `CommRingCat.preservesLimit_parallelPair_tensorProd_iff_tensorEqualizer_bijective`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
… variants of `preservesLimits_of_natIso` (leanprover-community#39667)

... as well as `preservesLimit_iff_isLimit_mapCone`: a functor preserves a limit if and only if it preserves some limit cone

This PR was automatically created from PR leanprover-community#39572 by @chrisflav via a [review comment](leanprover-community#39572 (comment)) by @dagurtomas.

Co-authored-by: chrisflav <136261474+chrisflav@users.noreply.github.com>
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
… variants of `preservesLimits_of_natIso` (leanprover-community#39667)

... as well as `preservesLimit_iff_isLimit_mapCone`: a functor preserves a limit if and only if it preserves some limit cone

This PR was automatically created from PR leanprover-community#39572 by @chrisflav via a [review comment](leanprover-community#39572 (comment)) by @dagurtomas.

Co-authored-by: chrisflav <136261474+chrisflav@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.

3 participants