Skip to content

feat(AlgebraicTopology/SingularHomology): homology in degree 0#37630

Open
joelriou wants to merge 54 commits intoleanprover-community:masterfrom
joelriou:sset-homology-zero
Open

feat(AlgebraicTopology/SingularHomology): homology in degree 0#37630
joelriou wants to merge 54 commits intoleanprover-community:masterfrom
joelriou:sset-homology-zero

Conversation

@joelriou
Copy link
Copy Markdown
Contributor

@joelriou joelriou commented Apr 4, 2026

In this PR, we compute the singular homology of a topological space in degree 0 in terms of its path connected components. This follows from a similar result for the homology of simplicial sets.

This is a rough draft.


Open in Gitpod

@joelriou joelriou added WIP Work in progress t-algebraic-topology Algebraic topology labels Apr 4, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 4, 2026

PR summary 2ea7849dc0

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.AlgebraicTopology.SingularHomology.HomologyZero (new file) 1723

Declarations diff

+ Homeomorph.continousMap
+ Path
+ TopCat.stdSimplexHomeomorphI_symm_one
+ TopCat.stdSimplexHomeomorphI_symm_zero
+ TopCat.stdSimplexHomeomorphI_vertex_one
+ TopCat.stdSimplexHomeomorphI_vertex_zero
+ instance : Unique (stdSimplex ℝ (Fin (⦋0⦌.len + 1)))
+ instance [PathConnectedSpace X] : (toSSet.obj X).IsConnected := by
+ instance [PathConnectedSpace X] : IsIso (X.singularHomology₀ε R)
+ instance [PathConnectedSpace X] : Nonempty (ZerothHomotopy X)
+ instance [PathConnectedSpace X] : Subsingleton (ZerothHomotopy X)
+ lift
+ lift_mk
+ mk
+ mk_surjective
+ pathEquiv
+ rec
+ singularHomology₀Iso
+ singularHomology₀Iso_sigma_desc_id
+ singularHomology₀ε
+ sound
+ toSSetObjEdgeEquiv
+ toSSetObjEdgeEquiv'
+ toSSetObjEquiv_naturality_apply
+ toSSetObjEquiv_symm_naturality
+ toSSetObjEquiv_δ_apply
+ toSSetObj₁Equiv
+ toSSetObj₁Equiv_apply_one
+ toSSetObj₁Equiv_apply_zero
+ zerothHomotopyEquiv
+ δ_one_toSSetObj₁Equiv.symm
+ δ_zero_toSSetObj₁Equiv.symm

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


Increase in tech debt: (relative, absolute) = (4.00, 0.00)
Current number Change Type
6539 4 backward.isDefEq.respectTransparency

Current commit d57a7341b8
Reference commit 2ea7849dc0

You can run this locally as

./scripts/reporting/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).

@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 Apr 4, 2026
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Apr 4, 2026
@github-actions github-actions bot removed the large-import Automatically added label for PRs with a significant increase in transitive imports label Apr 4, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

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

@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 Apr 11, 2026
@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 Apr 11, 2026
@github-actions github-actions bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Apr 11, 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 Apr 13, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

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

@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 Apr 16, 2026
@github-actions github-actions bot removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) file-removed A Lean module was (re)moved without a `deprecated_module` annotation labels Apr 16, 2026
@joelriou joelriou changed the title feat(AlgebraicTopology): homology in degree 0 feat(AlgebraicTopology/SingularHomology): homology in degree 0 Apr 16, 2026
@mathlib-dependent-issues mathlib-dependent-issues bot added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Apr 16, 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 Apr 17, 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 Apr 18, 2026
@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 Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) t-algebraic-topology Algebraic topology WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant