Skip to content

[Merged by Bors] - feat(CategoryTheory/Presentable): functors which preserve κ-presentable objects - #41190

Closed
joelriou wants to merge 5 commits into
leanprover-community:masterfrom
joelriou:preserves-cardinal-presentable
Closed

joelriou wants to merge 5 commits into
leanprover-community:masterfrom
joelriou:preserves-cardinal-presentable

Conversation

@joelriou

Copy link
Copy Markdown
Contributor

Open in Gitpod

@github-actions

github-actions Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

PR summary c14d7994da

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Presentable.PreservesCardinalPresentable (new file) 970

Declarations diff (regex)

+ PreservesCardinalPresentable
+ PreservesCardinalPresentable.iff_of_iso
+ PreservesCardinalPresentable.of_iso
+ instance (F : C ⥤ D) (G : D ⥤ E) (κ : Cardinal.{w}) [Fact κ.IsRegular]
+ instance (F : C ⥤ D) (κ : Cardinal.{w}) [Fact κ.IsRegular] (X : C)
+ instance (κ : Cardinal.{w}) [Fact κ.IsRegular] :

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.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit c14d799).

  • +11 new declarations
  • −0 removed declarations
+CategoryTheory.Functor.PreservesCardinalPresentable
+CategoryTheory.Functor.PreservesCardinalPresentable.casesOn
+CategoryTheory.Functor.PreservesCardinalPresentable.iff_of_iso
+CategoryTheory.Functor.PreservesCardinalPresentable.le_inverseImage_isCardinalPresentable
+CategoryTheory.Functor.PreservesCardinalPresentable.mk
+CategoryTheory.Functor.PreservesCardinalPresentable.of_iso
+CategoryTheory.Functor.PreservesCardinalPresentable.rec
+CategoryTheory.Functor.PreservesCardinalPresentable.recOn
+CategoryTheory.Functor.instIsCardinalPresentableObjOfPreservesCardinalPresentable
+CategoryTheory.Functor.instPreservesCardinalPresentableComp
+CategoryTheory.Functor.instPreservesCardinalPresentableId

No changes to strong technical debt.

Increase in weak tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type (weak)
5055 1 exposed public sections

Current commit c14d7994da
Reference commit 3b5417e200

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/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).

@smorel394

Copy link
Copy Markdown
Collaborator

Not much to criticize here. :-(
I would say that this PR is good to go.

@joelriou joelriou changed the title feat(CategoryTheory/Presentable): functors which preserves κ-presentable objects feat(CategoryTheory/Presentable): functors which preserve κ-presentable objects Jun 30, 2026
@dagurtomas

Copy link
Copy Markdown
Contributor

Thanks!

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 Aug 12, 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 merge

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Aug 13, 2026
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 13, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Aug 13, 2026
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Aug 13, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(CategoryTheory/Presentable): functors which preserve κ-presentable objects [Merged by Bors] - feat(CategoryTheory/Presentable): functors which preserve κ-presentable objects Aug 13, 2026
@mathlib-bors mathlib-bors Bot closed this Aug 13, 2026
attilavjda pushed a commit to attilavjda/mathlib4 that referenced this pull request Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. 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.

5 participants