Skip to content

[Merged by Bors] - feat(AlgebraicTopology): attaching cells - #21613

Closed
joelriou wants to merge 9 commits into
masterfrom
jriou-attach-cells
Closed

joelriou wants to merge 9 commits into
masterfrom
jriou-attach-cells

Conversation

@joelriou

@joelriou joelriou commented Feb 9, 2025 •

Copy link
Copy Markdown
Contributor

Given a family of morphisms g a : A a ⟶ B a and a morphism f : X₁ ⟶ X₂, this PR introduces a structure AttachCells g f which expresses that X₂ is obtained from X₁ by attaching cells of the form g a.


I think the large-import warning can be ignored: the extra import to SmallObject.Construction is needed in order to phrase an important property of the construction that is done in this file, and it shall be used in the downstream uses of this construction.

Open in Gitpod

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels Feb 9, 2025
@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 9, 2025
@github-actions

github-actions Bot commented Feb 9, 2025 •

Copy link
Copy Markdown

PR summary 14a778aecf

Import changes exceeding 2%

% File
+45.52% Mathlib.CategoryTheory.SmallObject.Construction

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.CategoryTheory.SmallObject.Construction 424 617 +193 (+45.52%)
Import changes for all files
Files Import difference
Mathlib.CategoryTheory.SmallObject.Construction 193
Mathlib.AlgebraicTopology.RelativeCellComplex.AttachCells (new file) 616

Declarations diff

+ AttachCells
+ attachCellsιFunctorObj
+ cell
+ cell_def
+ hom_ext
+ nonempty_attachCells_iff
+ pushouts_coproducts
+ reindexCellTypes

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 WIP Work in progress label Feb 9, 2025
@TwoFX TwoFX added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Feb 11, 2025
@joelriou joelriou removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Feb 12, 2025

@TwoFX TwoFX left a comment

Copy link
Copy Markdown
Member

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
Given a family of morphisms `g a : A a ⟶ B a` and a morphism `f : X₁ ⟶ X₂`, this PR introduces a structure `AttachCells g f` which expresses that `X₂` is obtained from `X₁` by attaching cells of the form `g a`.



Co-authored-by: Joël Riou <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Feb 12, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(AlgebraicTopology): attaching cells [Merged by Bors] - feat(AlgebraicTopology): attaching cells Feb 12, 2025
@mathlib-bors mathlib-bors Bot closed this Feb 12, 2025
@mathlib-bors
mathlib-bors Bot deleted the jriou-attach-cells branch February 12, 2025 09:19
joneugster pushed a commit that referenced this pull request Feb 12, 2025
Given a family of morphisms `g a : A a ⟶ B a` and a morphism `f : X₁ ⟶ X₂`, this PR introduces a structure `AttachCells g f` which expresses that `X₂` is obtained from `X₁` by attaching cells of the form `g a`.



Co-authored-by: Joël Riou <[email protected]>
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 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