Skip to content

[Merged by Bors] - feat(CategoryTheory): the retract argument#20666

Closed
joelriou wants to merge 8 commits intomasterfrom
jriou-retract-argument
Closed

[Merged by Bors] - feat(CategoryTheory): the retract argument#20666
joelriou wants to merge 8 commits intomasterfrom
jriou-retract-argument

Conversation

@joelriou
Copy link
Copy Markdown
Contributor

@joelriou joelriou commented Jan 11, 2025

In a category, if i ≫ p = f, and f has the left lifting property with respect to p, then f is a retract of i. This statement and its dual are formalised, as well as consequences for classes of morphisms which satisfy HasFactorization W₁ W₂. This is applied to classes of morphisms in model categories in #20210.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 11, 2025

PR summary 9d526b9422

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.MorphismProperty.RetractArgument (new file) 619

Declarations diff

+ RetractArrow.ofLeftLiftingProperty
+ RetractArrow.ofRightLiftingProperty
+ instance (P₁ P₂ : MorphismProperty C)
+ llp_eq_of_le_llp_of_hasFactorization_of_isStableUnderRetracts
+ llp_of_isIso
+ mem_trivialCofibrations_iff
+ mem_trivialFibrations_iff
+ rlp_eq_of_le_rlp_of_hasFactorization_of_isStableUnderRetracts
+ rlp_of_isIso

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

@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 22, 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 22, 2025
@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 Feb 9, 2025
@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 9, 2025
@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 Feb 10, 2025
@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 10, 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 Feb 12, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 12, 2025
In a category, if `i ≫ p = f`, and `f` has the left lifting property with respect to `p`, then `f` is a retract of `i`. This statement and its dual are formalised, as well as consequences for classes of morphisms which satisfy `HasFactorization W₁ W₂`. This is applied to classes of morphisms in model categories in #20210.



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

mathlib-bors bot commented Feb 12, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(CategoryTheory): the retract argument [Merged by Bors] - feat(CategoryTheory): the retract argument Feb 12, 2025
@mathlib-bors mathlib-bors bot closed this Feb 12, 2025
@mathlib-bors mathlib-bors bot deleted the jriou-retract-argument branch February 12, 2025 15:42
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