Skip to content

[Merged by Bors] - feat(CategoryTheory): Arrow A is finite iff A is a finite category#19945

Closed
joelriou wants to merge 16 commits intomasterfrom
category-theory-arrow-cardinal
Closed

[Merged by Bors] - feat(CategoryTheory): Arrow A is finite iff A is a finite category#19945
joelriou wants to merge 16 commits intomasterfrom
category-theory-arrow-cardinal

Conversation

@joelriou
Copy link
Copy Markdown
Contributor

@joelriou joelriou commented Dec 13, 2024

@joelriou joelriou added the t-category-theory Category theory label Dec 13, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 13, 2024

messageFile.md

@joelriou joelriou added the WIP Work in progress label Dec 14, 2024
@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 Dec 14, 2024
@joelriou joelriou removed the WIP Work in progress label Jan 15, 2025
@TwoFX TwoFX added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 18, 2025
Co-authored-by: Markus Himmel <markus@himmel-villmar.de>
@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 Jan 20, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 21, 2025
…ction (#20881)

When `f : T → D` is a map and `D` is a category, then `InducedCategory D f` is a category with objects `T` with a fully faithful functor to `D`. In this PR, we show that in the case of a bijection `T ≃ D`, the induced category is equivalent to `D`.

The code would be nicer (see #19945) if the type of morphisms in the induced category was defined as a 1-field structure. This would be a very welcomed refactor.
@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 Jan 21, 2025
@mathlib4-dependent-issues-bot
Copy link
Copy Markdown
Collaborator

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 21, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 21, 2025

PR summary 9500f6759d

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Comma.CardinalArrow (new file) 708

Declarations diff

+ Arrow.discreteEquiv
+ Arrow.equivSigma
+ Arrow.finite
+ Arrow.finite_iff
+ Arrow.opEquiv
+ Arrow.shrinkEquiv
+ Arrow.shrinkHomsEquiv
+ ext
+ hasCardinalLT_arrow_discrete_iff
+ hasCardinalLT_arrow_op_iff
+ hasCardinalLT_arrow_shrinkHoms_iff
+ hasCardinalLT_arrow_shrink_iff
+ hasCardinalLT_of_hasCardinalLT_arrow
+ locallySmall_of_small_arrow
+ small_of_small_arrow

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

@joelriou joelriou removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 21, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 21, 2025
Copy link
Copy Markdown
Member

@TwoFX TwoFX 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 r+

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 21, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 21, 2025
#19945)

We obtain various results about the cardinality of `Arrow`.



Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 21, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(CategoryTheory): Arrow A is finite iff A is a finite category [Merged by Bors] - feat(CategoryTheory): Arrow A is finite iff A is a finite category Jan 21, 2025
@mathlib-bors mathlib-bors bot closed this Jan 21, 2025
@mathlib-bors mathlib-bors bot deleted the category-theory-arrow-cardinal branch January 21, 2025 18:35
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.

4 participants