Skip to content

feat(AlgebraicTopology/SimplicialSet): various properties of simplices - #45530

Open
joelriou wants to merge 8 commits into
leanprover-community:masterfrom
joelriou:sd-pairing-3
Open

joelriou wants to merge 8 commits into
leanprover-community:masterfrom
joelriou:sd-pairing-3

Conversation

@joelriou

@joelriou joelriou commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Various definitions related to simplices of simplicial sets are added. The most interesting one is the order preserving map X.N →o Y.N induced by a morphism f : X ⟶ Y of simplicial sets on types on nondegenerate simplices.


@joelriou joelriou added the t-algebraic-topology Algebraic topology label Oct 31, 2026
@github-actions github-actions Bot added the tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip label Oct 31, 2026
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

PR summary 17504aa873

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.AlgebraicTopology.SimplicialSet.NerveNondegenerate 1068 1070 +2 (+0.19%)
Import changes for all files
Files Import difference
Mathlib.AlgebraicTopology.SimplicialSet.NerveNondegenerate 2

Declarations diff (regex)

+ N.functor
+ N.toN_toS
+ S.toN_surjective
+ congrArrowι
+ funtorN'Iso_hom_app_coconeN_ι_app
+ le_iff_toS_le_toS
+ mapN
+ mapN_id
+ mapN_injective_of_mono
+ mapN_mapN
+ mapN_toN
+ mapN_ι
+ mapN_ι_simplex_mem
+ mapN_ι_toSubcomplex
+ map_id
+ map_injective_of_mono
+ map_map
+ map_ι_toSubcomplex
+ mem_range_mapN_ι_iff
+ mem_range_nerveMap_app_iff_of_orderEmbedding
+ mem_subcomplex_obj_iff
+ self_le_toS_toN
+ subcomplex_map
+ subcomplex_mapN
+ toN_of_nonDegenerate
+ toS_mapN_of_mono
+ toS_mapN_of_nonDegenerate
+ toS_toN_le_self
++ toSubcomplex
++ toSubcomplex_le_toSubcomplex_iff

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 17504aa).

  • +48 new declarations
  • −0 removed declarations
+CategoryTheory.nerve.mem_range_nerveMap_app_iff_of_orderEmbedding
+SSet.N.functor
+SSet.N.functor_map
+SSet.N.functor_obj_coe
+SSet.N.le_iff_toS_le_toS
+SSet.N.toN_toS
+SSet.N.toSubcomplex
+SSet.N.toSubcomplex.congr_simp
+SSet.N.toSubcomplex_le_toSubcomplex_iff
+SSet.N.toSubcomplex_toS
+SSet.S.map_dim
+SSet.S.map_id
+SSet.S.map_injective_of_mono
+SSet.S.map_map
+SSet.S.map_simplex
+SSet.S.map_ι_toSubcomplex
+SSet.S.mem_subcomplex_obj_iff
+SSet.S.self_le_toS_toN
+SSet.S.subcomplex_map
+SSet.S.toN_of_nonDegenerate
+SSet.S.toN_surjective
+SSet.S.toS_toN_le_self
+SSet.S.toSubcomplex
+SSet.S.toSubcomplex.congr_simp
+SSet.S.toSubcomplex_dim
+SSet.S.toSubcomplex_le_toSubcomplex_iff
+SSet.S.toSubcomplex_simplex_coe
+SSet.Subcomplex.congrArrowι
+SSet.Subcomplex.congrArrowι_hom_left
+SSet.Subcomplex.congrArrowι_hom_right
+SSet.Subcomplex.congrArrowι_inv_right
+SSet.coconeN_pt
+SSet.coconeN_ι_app
+SSet.funtorN'Iso_hom_app_coconeN_ι_app
+SSet.funtorN'Iso_hom_app_coconeN_ι_app_assoc
+SSet.mapN
+SSet.mapN_coe
+SSet.mapN_id
+SSet.mapN_injective_of_mono
+SSet.mapN_mapN
+SSet.mapN_toN
+SSet.mapN_ι
+SSet.mapN_ι_simplex_mem
+SSet.mapN_ι_toSubcomplex
+SSet.mem_range_mapN_ι_iff
+SSet.subcomplex_mapN
+SSet.toS_mapN_of_mono
+SSet.toS_mapN_of_nonDegenerate

Decrease in strong tech debt: (relative, absolute) = (5.13, 0.01)
Current number Change Type (strong)
1648 -6 backward.defeqAttrib.useBackward
3421 -9 backward.isDefEq.respectTransparency
1890 -2 backward.isDefEq.respectTransparency.types
No changes to weak technical debt.

Current commit 17504aa873
Reference commit 2446d631e9

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py 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).

@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 31, 2026
@joelriou joelriou added the WIP Work in progress label Oct 31, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 27, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

@joelriou joelriou removed the WIP Work in progress label Nov 27, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 30, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@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 Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-algebraic-topology Algebraic topology tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant