Skip to content

[Merged by Bors] - feat(CategoryTheory): retracts of objects and morphisms - #19233

Closed
mckoen wants to merge 9 commits into
masterfrom
mckoen/retract
Closed

mckoen wants to merge 9 commits into
masterfrom
mckoen/retract

Conversation

@mckoen

@mckoen mckoen commented Nov 19, 2024

Copy link
Copy Markdown
Collaborator

Defines retracts of objects and morphisms, and basic API. Used in #19135.


Open in Gitpod

@mckoen mckoen added WIP Work in progress t-category-theory Category theory labels Nov 19, 2024
@mckoen
mckoen requested a review from joelriou November 19, 2024 00:10
@github-actions

github-actions Bot commented Nov 19, 2024 •

Copy link
Copy Markdown

PR summary b3e23b6de7

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Retract (new file) 320
Mathlib.CategoryTheory.MorphismProperty.Retract (new file) 393

Declarations diff

+ IsStableUnderRetracts
+ IsStableUnderRetracts.epimorphisms
+ IsStableUnderRetracts.isomorphisms
+ IsStableUnderRetracts.monomorphisms
+ Retract
+ RetractArrow
+ i_w
+ instance : IsSplitEpi h.r := ⟨⟨h.splitEpi⟩⟩
+ instance : IsSplitEpi h.r.left := ⟨⟨h.left.splitEpi⟩⟩
+ instance : IsSplitEpi h.r.right := ⟨⟨h.right.splitEpi⟩⟩
+ instance : IsSplitMono h.i := ⟨⟨h.splitMono⟩⟩
+ instance : IsSplitMono h.i.left := ⟨⟨h.left.splitMono⟩⟩
+ instance : IsSplitMono h.i.right := ⟨⟨h.right.splitMono⟩⟩
+ left
+ map
+ of_retract
+ r_w
+ retract_left
+ retract_right
+ right
+ splitEpi
+ splitMono

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

Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
@joelriou joelriou added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 20, 2024
@mckoen mckoen removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 21, 2024
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
Comment thread Mathlib/CategoryTheory/Retract.lean Resolved
@joelriou joelriou added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 24, 2024
@mckoen mckoen removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 4, 2024
@joelriou joelriou added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 4, 2024
@mckoen mckoen removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. WIP Work in progress labels Dec 5, 2024
@joelriou

joelriou commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

Thanks!
bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Dec 6, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Dec 6, 2024
Defines retracts of objects and morphisms, and basic API. Used in #19135.



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

mathlib-bors Bot commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(CategoryTheory): retracts of objects and morphisms [Merged by Bors] - feat(CategoryTheory): retracts of objects and morphisms Dec 6, 2024
@mathlib-bors mathlib-bors Bot closed this Dec 6, 2024
@mathlib-bors
mathlib-bors Bot deleted the mckoen/retract branch December 6, 2024 07:10
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.

2 participants