Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(CategoryTheory): the Freyd-Mitchell embedding theorem #22222

Closed
wants to merge 79 commits into from

Conversation

TwoFX
Copy link
Member

@TwoFX TwoFX commented Feb 23, 2025

Co-authored-by: Jakob von Raumer [email protected]
Co-authored-by: Paul Reichert [email protected]
Co-authored-by: Joël Riou [email protected]


Open in Gitpod

@TwoFX TwoFX changed the title Fme 204 feat(CategoryTheory): the Freyd-Mitchell embedding theorem Feb 23, 2025
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 23, 2025
Copy link

github-actions bot commented Feb 23, 2025

PR summary 55e2d9d46d

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Abelian.FreydMitchell (new file) 1399

Declarations diff

+ EmbeddingRing
+ faithful_embedding
+ freyd_mitchell
+ full_embedding
+ functor
+ instance : (functor C).Faithful := by
+ instance : (functor C).Full := by
+ instance : Nonempty (AsSmall.{max u v} C) := ⟨0⟩
+ instance : PreservesFiniteColimits (functor C) := by
+ instance : PreservesFiniteLimits (functor C) := by
+ instance : Ring (EmbeddingRing C)
+ preservesFiniteColimits_embedding
+ preservesFiniteLimits_embedding
- instance : PreservesFiniteColimits (embedding F) := by
- instance : PreservesFiniteLimits (embedding F) := by
- instance [Nonempty D] : (embedding F).Faithful
- instance [Nonempty D] [F.Full] : (F ⋙ embedding F).Full

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

@github-actions github-actions bot added the t-category-theory Category theory label Feb 23, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Feb 23, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Feb 23, 2025
@mathlib4-dependent-issues-bot
Copy link
Collaborator

@github-actions github-actions bot removed the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 23, 2025
Let `C` be an abelian category. We construct a ring `FreydMitchell.EmbeddingRing C` and a functor
`FreydMitchell.embedding : C ⥤ ModuleCat.{max u v} (EmbeddingRing C)` which is full, faithful and
exact.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Could you include an outline of the strategy of proof here, in particular the important work on Ind-objects?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added an overview of the proof stategy. Is that what you had in mind?

@joelriou joelriou added the awaiting-author A reviewer has asked the author a question or requested changes label Feb 23, 2025
@TwoFX TwoFX removed the awaiting-author A reviewer has asked the author a question or requested changes label Feb 23, 2025
@joelriou
Copy link
Collaborator

Thanks!

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Feb 23, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 23, 2025
Co-authored-by: Jakob von Raumer <[email protected]>
Co-authored-by: Paul Reichert <[email protected]>
Co-authored-by: Joël Riou <[email protected]>



Co-authored-by: Markus Himmel <[email protected]>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 23, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(CategoryTheory): the Freyd-Mitchell embedding theorem [Merged by Bors] - feat(CategoryTheory): the Freyd-Mitchell embedding theorem Feb 23, 2025
@mathlib-bors mathlib-bors bot closed this Feb 23, 2025
@mathlib-bors mathlib-bors bot deleted the fme-204 branch February 23, 2025 20:45
Julian added a commit that referenced this pull request Feb 24, 2025
* origin/master:
  feat(Polynomial): polynomial sequences are bases for R[X] (#20846)
  feat: monoidal structure on Hopf algebras (#12011)
  feat(DiscreteValuationRing): addVal_eq_zero_iff (#21154)
  refactor(Cache): refactor getPackageDir to not use manually provided package directories (#21817)
  feat(CategoryTheory): categories of homological complexes have a separator (#20229)
  chore(Data/Complex): deprecate `Complex.abs` (#21995)
  feat: uncountable instances for `Ordinal` and isomorphic types (#18547)
  feat(Data/Set/Card): a few missing lemmas (#22186)
  feat: discrete topological spaces are 0-manifolds (#22105)
  feat(Data/Matroid/Loop): matroid loops (#22045)
  feat(SetTheory/Ordinal/Nimber/Field): Nimber division (#19066)
  feat(LinearAlgebra/Pi): add `pi_proj` and `pi_proj_comp` (#22162)
  feat(Data/Matroid/Circuit): matroid cocircuits (#21692)
  feat(Topology/Compactification/OnePoint): generalize instance (#22179)
  feat(Combinatorics/SimpleGraph): takeUntil properties (#21250)
  feat(Tactic): `pnat_to_nat` and `enat_to_nat` tactics (#21602)
  refactor: move `Polynomial.coeffs` and related results (#22225)
  chore: add AlgHom.ker_coe_equiv, resolve porting notes and erws (#22019)
  refactor(Order/Category): `ConcreteCategory` instance for `\omegaCPO` (#21478)
  feat(CategoryTheory): Grothendieck categories have a coseparator (#22224)
  feat: tweak calc widget (#22170)
  feat(CategoryTheory): the Freyd-Mitchell embedding theorem (#22222)
  chore(CategoryTheory): turn more `simp` into `simps!` (#22223)
  feat(CategoryTheory): the category of ind-objects is Grothendieck abelian (#21606)
  feat(AlgebraicTopology/SimplexCategory/GeneratorsRelations/EpiMono): epi-mono factorisation in `SimplexCategoryGenRel` (#21743)
  chore(CategoryTheory/DiscreteCategory): turn `simp` to `simps!` (#22217)
  feat(Analysis/Asymptotics): exponential growth of a sequence (#21178)
  feat(CategoryTheory): sigmaConst preserves monomorphisms (#21599)
  feat(RingTheory/Cotangent): `liftBaseChange` is injective for localizations (#21037)
  chore(CategoryTheory): fix incorrect name (#22210)
  feat(CategoryTheory): `IsPullback` version of 'pullback of iso is iso' (#22211)
  feat(CategoryTheory): pullbacks in functor categories (#22209)
  feat(CategoryTheory): detecting limit cones over connected diagrams (#22192)
  feat(LinearAlgebra): add theorems for injective/surjective/bijective compositions of bilinear maps (#21491)
Champitoad pushed a commit that referenced this pull request Feb 25, 2025
Co-authored-by: Jakob von Raumer <[email protected]>
Co-authored-by: Paul Reichert <[email protected]>
Co-authored-by: Joël Riou <[email protected]>



Co-authored-by: Markus Himmel <[email protected]>
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