Skip to content

[Merged by Bors] - feat(AlgebraicTopology): truncated simplicial notations#20688

Closed
gio256 wants to merge 23 commits intomasterfrom
gio/trunc-macro
Closed

[Merged by Bors] - feat(AlgebraicTopology): truncated simplicial notations#20688
gio256 wants to merge 23 commits intomasterfrom
gio/trunc-macro

Conversation

@gio256
Copy link
Copy Markdown
Collaborator

@gio256 gio256 commented Jan 12, 2025

We provide macros for the following notations:

  • ⦋m⦌ₙ denotes the m-dimensional simplex in the n-truncated simplex category.
  • X _⦋m⦌ₙ denotes the m-th term of an n-truncated simplicial object X.
  • X ^⦋m⦌ₙ denotes the m-th term of an n-truncated cosimplicial object X.

For all of these notations, the truncation proof p : m ≤ n can also be provided using the syntax ⦋m, p⦌ₙ, X _⦋m, p⦌ₙ, and X ^⦋m, p⦌ₙ, respectively.

These notations generalize those already in use in HomotopyCat.lean and Coskeletal.lean.

Delaborators for these notations are added in #20719.

See #17732 and #20355 to understand the reason for the use of subscriptTerm.


Open in Gitpod

@gio256 gio256 added WIP Work in progress t-category-theory Category theory labels Jan 12, 2025
@gio256 gio256 removed the WIP Work in progress label Jan 12, 2025
@grunweg grunweg changed the title feat (AlgebraicTopology): Add truncated simplicial notations feat (AlgebraicTopology): add truncated simplicial notations Jan 12, 2025
@joelriou joelriou added the t-meta Tactics, attributes or user commands label Jan 12, 2025
@gio256 gio256 changed the title feat (AlgebraicTopology): add truncated simplicial notations feat (AlgebraicTopology): truncated simplicial notations Jan 14, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 18, 2025

PR summary 3c99f2b9ab

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.AlgebraicTopology.SimplexCategory.Defs 381 382 +1 (+0.26%)
Mathlib.AlgebraicTopology.SimplicialObject.Basic 862 863 +1 (+0.12%)
Mathlib.AlgebraicTopology.SimplicialSet.Coskeletal 880 881 +1 (+0.11%)
Mathlib.AlgebraicTopology.SimplicialSet.HomotopyCat 886 887 +1 (+0.11%)
Import changes for all files
Files Import difference
58 files Mathlib.AlgebraicTopology.AlternatingFaceMapComplex Mathlib.AlgebraicTopology.CechNerve Mathlib.AlgebraicTopology.DoldKan.Decomposition Mathlib.AlgebraicTopology.DoldKan.Degeneracies Mathlib.AlgebraicTopology.DoldKan.EquivalenceAdditive Mathlib.AlgebraicTopology.DoldKan.EquivalencePseudoabelian Mathlib.AlgebraicTopology.DoldKan.Equivalence Mathlib.AlgebraicTopology.DoldKan.Faces Mathlib.AlgebraicTopology.DoldKan.FunctorGamma Mathlib.AlgebraicTopology.DoldKan.FunctorN Mathlib.AlgebraicTopology.DoldKan.GammaCompN Mathlib.AlgebraicTopology.DoldKan.Homotopies Mathlib.AlgebraicTopology.DoldKan.HomotopyEquivalence Mathlib.AlgebraicTopology.DoldKan.NCompGamma Mathlib.AlgebraicTopology.DoldKan.NReflectsIso Mathlib.AlgebraicTopology.DoldKan.Normalized Mathlib.AlgebraicTopology.DoldKan.Notations Mathlib.AlgebraicTopology.DoldKan.PInfty Mathlib.AlgebraicTopology.DoldKan.Projections Mathlib.AlgebraicTopology.DoldKan.SplitSimplicialObject Mathlib.AlgebraicTopology.ExtraDegeneracy Mathlib.AlgebraicTopology.MooreComplex Mathlib.AlgebraicTopology.Quasicategory.Basic Mathlib.AlgebraicTopology.Quasicategory.Nerve Mathlib.AlgebraicTopology.Quasicategory.StrictSegal Mathlib.AlgebraicTopology.SimplexCategory.Basic Mathlib.AlgebraicTopology.SimplexCategory.Defs Mathlib.AlgebraicTopology.SimplexCategory.GeneratorsRelations.Basic Mathlib.AlgebraicTopology.SimplexCategory.GeneratorsRelations.EpiMono Mathlib.AlgebraicTopology.SimplexCategory.MorphismProperty Mathlib.AlgebraicTopology.SimplicialCategory.Basic Mathlib.AlgebraicTopology.SimplicialCategory.SimplicialObject Mathlib.AlgebraicTopology.SimplicialNerve Mathlib.AlgebraicTopology.SimplicialObject.Basic Mathlib.AlgebraicTopology.SimplicialObject.Coskeletal Mathlib.AlgebraicTopology.SimplicialObject.Split Mathlib.AlgebraicTopology.SimplicialSet.Basic Mathlib.AlgebraicTopology.SimplicialSet.Boundary Mathlib.AlgebraicTopology.SimplicialSet.Coskeletal Mathlib.AlgebraicTopology.SimplicialSet.HomotopyCat Mathlib.AlgebraicTopology.SimplicialSet.Horn Mathlib.AlgebraicTopology.SimplicialSet.KanComplex Mathlib.AlgebraicTopology.SimplicialSet.Monoidal Mathlib.AlgebraicTopology.SimplicialSet.NerveAdjunction Mathlib.AlgebraicTopology.SimplicialSet.Nerve Mathlib.AlgebraicTopology.SimplicialSet.Path Mathlib.AlgebraicTopology.SimplicialSet.StdSimplex Mathlib.AlgebraicTopology.SimplicialSet.StrictSegal Mathlib.AlgebraicTopology.SingularHomology.Basic Mathlib.AlgebraicTopology.SingularSet Mathlib.AlgebraicTopology.TopologicalSimplex Mathlib.CategoryTheory.Category.Cat.Colimit Mathlib.CategoryTheory.Idempotents.SimplicialObject Mathlib.RepresentationTheory.GroupCohomology.Basic Mathlib.RepresentationTheory.GroupCohomology.Functoriality Mathlib.RepresentationTheory.GroupCohomology.Hilbert90 Mathlib.RepresentationTheory.GroupCohomology.LowDegree Mathlib.RepresentationTheory.GroupCohomology.Resolution
1

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

@gio256 gio256 changed the title feat (AlgebraicTopology): truncated simplicial notations feat(AlgebraicTopology): truncated simplicial notations Jan 18, 2025
@gio256 gio256 added infinity-cosmos This PR is associated with Infinity Cosmos project and removed t-category-theory Category theory labels Jan 21, 2025
@leanprover-community leanprover-community deleted a comment from github-actions bot Jan 21, 2025
@joelriou joelriou added the t-category-theory Category theory label Jan 22, 2025
@joelriou joelriou added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 29, 2025
@gio256 gio256 removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 29, 2025
@joelriou joelriou added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 30, 2025
@gio256 gio256 removed the WIP Work in progress label Feb 8, 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 14, 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 20, 2025
@joelriou
Copy link
Copy Markdown
Contributor

This seems good to me, but some expert in meta code should also have a look.

@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 28, 2025
Copy link
Copy Markdown
Member

@digama0 digama0 left a comment

Choose a reason for hiding this comment

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

The meta code looks fine to me.

@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 2, 2025
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

LGTM modulo Mario's comment

@joelriou joelriou added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 4, 2025
@gio256 gio256 removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 6, 2025
@joelriou
Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Mar 10, 2025
mathlib-bors bot pushed a commit that referenced this pull request Mar 10, 2025
We provide macros for the following notations:
- `⦋m⦌ₙ` denotes the `m`-dimensional simplex in the `n`-truncated simplex category.
- `X _⦋m⦌ₙ` denotes the `m`-th term of an `n`-truncated simplicial object `X`.
- `X ^⦋m⦌ₙ` denotes the `m`-th term of an `n`-truncated cosimplicial object `X`.

For all of these notations, the truncation proof `p : m ≤ n` can also be provided using the syntax `⦋m, p⦌ₙ`, `X _⦋m, p⦌ₙ`, and `X ^⦋m, p⦌ₙ`, respectively.

These notations generalize those already in use in `HomotopyCat.lean` and `Coskeletal.lean`.

Delaborators for these notations are added in #20719.

See #17732 and #20355 to understand the reason for the use of `subscriptTerm`.



Co-authored-by: gio256 <gio256@protonmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 10, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(AlgebraicTopology): truncated simplicial notations [Merged by Bors] - feat(AlgebraicTopology): truncated simplicial notations Mar 10, 2025
@mathlib-bors mathlib-bors bot closed this Mar 10, 2025
@mathlib-bors mathlib-bors bot deleted the gio/trunc-macro branch March 10, 2025 20:36
tukamilano pushed a commit that referenced this pull request Mar 20, 2025
We provide macros for the following notations:
- `⦋m⦌ₙ` denotes the `m`-dimensional simplex in the `n`-truncated simplex category.
- `X _⦋m⦌ₙ` denotes the `m`-th term of an `n`-truncated simplicial object `X`.
- `X ^⦋m⦌ₙ` denotes the `m`-th term of an `n`-truncated cosimplicial object `X`.

For all of these notations, the truncation proof `p : m ≤ n` can also be provided using the syntax `⦋m, p⦌ₙ`, `X _⦋m, p⦌ₙ`, and `X ^⦋m, p⦌ₙ`, respectively.

These notations generalize those already in use in `HomotopyCat.lean` and `Coskeletal.lean`.

Delaborators for these notations are added in #20719.

See #17732 and #20355 to understand the reason for the use of `subscriptTerm`.



Co-authored-by: gio256 <gio256@protonmail.com>
idontgetoutmuch pushed a commit to idontgetoutmuch/mathlib4 that referenced this pull request Apr 7, 2025
…ommunity#20688)

We provide macros for the following notations:
- `⦋m⦌ₙ` denotes the `m`-dimensional simplex in the `n`-truncated simplex category.
- `X _⦋m⦌ₙ` denotes the `m`-th term of an `n`-truncated simplicial object `X`.
- `X ^⦋m⦌ₙ` denotes the `m`-th term of an `n`-truncated cosimplicial object `X`.

For all of these notations, the truncation proof `p : m ≤ n` can also be provided using the syntax `⦋m, p⦌ₙ`, `X _⦋m, p⦌ₙ`, and `X ^⦋m, p⦌ₙ`, respectively.

These notations generalize those already in use in `HomotopyCat.lean` and `Coskeletal.lean`.

Delaborators for these notations are added in leanprover-community#20719.

See leanprover-community#17732 and leanprover-community#20355 to understand the reason for the use of `subscriptTerm`.



Co-authored-by: gio256 <gio256@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infinity-cosmos This PR is associated with Infinity Cosmos project ready-to-merge This PR has been sent to bors. t-category-theory Category theory t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants