Skip to content

feat(AlgebraicTopology): application of the retract argument to model categories#20210

Closed
joelriou wants to merge 53 commits intomasterfrom
jriou-wfs
Closed

feat(AlgebraicTopology): application of the retract argument to model categories#20210
joelriou wants to merge 53 commits intomasterfrom
jriou-wfs

Conversation

@joelriou
Copy link
Copy Markdown
Contributor

@joelriou joelriou commented Dec 23, 2024

Basic consequences of the retract argument are obtained for model categories: cofibrations are exactly the morphisms that have the left lifting property with respect to trivial fibrations, etc. We deduce various properties of cofibrations, fibrations and weak equivalences in model categories (e.g. they are stable by composition).


Open in Gitpod

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

github-actions bot commented Dec 23, 2024

PR summary 4516ade296

Import changes exceeding 2%

% File
+10.28% Mathlib.AlgebraicTopology.ModelCategory.Basic

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.AlgebraicTopology.ModelCategory.Basic 603 665 +62 (+10.28%)
Import changes for all files
Files Import difference
Mathlib.AlgebraicTopology.ModelCategory.Basic 62
Mathlib.AlgebraicTopology.ModelCategory.Instances (new file) 664

Declarations diff

+ cofibrations_rlp
+ fibrations_llp
+ instance : (cofibrations C).IsMultiplicative := by
+ instance : (cofibrations C).IsStableUnderCobaseChange := by
+ instance : (fibrations C).IsMultiplicative := by
+ instance : (fibrations C).IsStableUnderBaseChange := by
+ instance : (trivialCofibrations C).IsMultiplicative := by
+ instance : (trivialCofibrations C).IsStableUnderCobaseChange := by
+ instance : (trivialFibrations C).IsMultiplicative := by
+ instance : (trivialFibrations C).IsStableUnderBaseChange := by
+ instance : MorphismProperty.IsWeakFactorizationSystem (cofibrations C) (trivialFibrations C)
+ instance : MorphismProperty.IsWeakFactorizationSystem (trivialCofibrations C) (fibrations C)
+ instance [(cofibrations C).IsStableUnderCobaseChange] [hf : Cofibration f] :
+ instance [(cofibrations C).IsStableUnderCobaseChange] [hg : Cofibration g] :
+ instance [(cofibrations C).IsStableUnderComposition]
+ instance [(fibrations C).IsStableUnderComposition]
+ instance [(weakEquivalences C).IsStableUnderComposition]
+ instance [CategoryWithWeakEquivalences C] [CategoryWithCofibrations C]
+ instance [CategoryWithWeakEquivalences C] [CategoryWithFibrations C]
+ instance [IsWeakFactorizationSystem (cofibrations C) (trivialFibrations C)] :
+ instance [IsWeakFactorizationSystem (cofibrations C) (trivialFibrations C)] [IsIso f] :
+ instance [IsWeakFactorizationSystem (trivialCofibrations C) (fibrations C)] :
+ instance [IsWeakFactorizationSystem (trivialCofibrations C) (fibrations C)] [IsIso f] :
+ isStableUnderCoproductsOfShape_cofibrations
+ isStableUnderCoproductsOfShape_trivialCofibrations
+ isStableUnderProductsOfShape_fibrations
+ isStableUnderProductsOfShape_trivialFibrations
+ mk'
+ trivialCofibrations_rlp
+ trivialFibrations_llp
+ weakEquivalence_of_postcomp
+ weakEquivalence_of_postcomp_of_fac
+ weakEquivalence_of_precomp
+ weakEquivalence_of_precomp_of_fac
++ instance [(fibrations C).IsStableUnderBaseChange]
++ instance [(trivialCofibrations C).IsStableUnderCobaseChange]
++ instance [(trivialFibrations C).IsStableUnderBaseChange]
++ instance [IsWeakFactorizationSystem (cofibrations C) (trivialFibrations C)]
+++++ instance [IsWeakFactorizationSystem (trivialCofibrations C) (fibrations C)]

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

@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 23, 2024
@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 11, 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 Jan 11, 2025
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Jan 11, 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 11, 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
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>
@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 Mar 17, 2025
@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 Apr 5, 2025
@joelriou joelriou added the WIP Work in progress label Apr 6, 2025
@joelriou
Copy link
Copy Markdown
Contributor Author

This PR has been migrated to a fork-based workflow: #26166

@joelriou joelriou closed this Jun 19, 2025
@YaelDillies YaelDillies deleted the jriou-wfs branch August 18, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports migrated-to-fork t-category-theory Category theory WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants