open-topological-data-analysis-persistent-homology
Topological Data Analysis & Persistent Homology: $A_n$ Interval Decomposition, Bauer–Lesnick Exact Isometry ($d_I=d_B$), $H_0$ Elder Rule / Kruskal MST & Sharp $p$-Wasserstein Distances
A 3-module Lean 4 formalization (7,830 lines, 165 verified declarations, 35/35 clean axioms) establishing the four foundational algebraic, metric, and combinatorial theorems of one-parameter persistent homology over an arbitrary field $K$: (1) Exact $A_n$ Interval Decomposition & Krull–Schmidt Uniqueness (IntervalDecomposition.lean: Möbius inclusion–exclusion multiplicities $\mu(b,d)=\dim_K C(b,d)\ge 0$, exact rank-invariant recovery $\beta^{i,j}=\sum_{b\le i,j\le d}\mu(b,d)$, constructive isomorphism $V\cong\bigoplus_{b\le d}\mathbb{I}[b,d]^{\oplus\mu(b,d)}$, Krull–Schmidt uniqueness, & complete classification by $\mu$ or $\beta$); (2) Algebraic Stability, Exact Isometry ($d_I=d_B$) & Sublevel-Set Filtration Stability (BottleneckInterleavingIsometry.lean: finite optimal partial matching attainment, converse isometry $d_I\le d_B$, full Bauer–Lesnick Algebraic Stability $d_B\le d_I$ via grid barcode decomposition of $\operatorname{im}(\varphi)$ & induced matchings, Exact Isometry Theorem $d_I(M(D_1),M(D_2))=d_B(D_1,D_2)$, & sublevel-set filtration stability $d_B(D_f,D_g)\le\|f-g\|_\infty$ with exact $P_3$ sharpness); (3) Exact $H_0$ Elder Rule & Kruskal MST Correspondence (ElderRuleAndWasserstein.lean: merge-tree bijection, exact persistence-module isomorphism $H_0(G;K)\cong\mathbb{I}[\mathrm{birth}(r_{\min}),\infty)\oplus\bigoplus_{e\in\mathrm{Kruskal}}\mathbb{I}[\mathrm{birth}(\mathrm{youngerRoot}\,e),\mathrm{wt}(e))$, full Kruskal MST Optimality for arbitrary real edge weights, & exact Persistence–MST weight identity); and (4) Sharp $p$-Wasserstein Persistence Distances & Stability Separations (ElderRuleAndWasserstein.lean: full metric axioms for all $1\le p<\infty$ including exact triangle inequality via Minkowski, sharp monotonicity $d_B\le W_q\le W_p\le(|D_1|+|D_2|)^{1/p}d_B$ with exact $N$-bar separation witnesses, & alternating-path $P_{2N+1}$ $W_1$-vs.-$d_B$ stability separation) (165 verified declarations across 3 modules, 7,830 lines, 35/35 clean axioms).
Contribution status
Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.
How results are classifiedA 3-module Lean 4 formalization (7,830 lines, 165 verified declarations, 35/35 clean axioms) establishing the four foundational theorems of Topological Data Analysis & Persistent Homology over arbitrary fields $K$: proves constructive Gabriel / Crawley-Boevey $A_n$ Interval Decomposition via Möbius inclusion–exclusion multiplicities $\mu(b,d)=\dim_K C(b,d)\ge 0$, Krull–Schmidt uniqueness, & complete classification by $\mu$ or rank invariant $\beta^{i,j}$; proves full Bauer–Lesnick Algebraic Stability ($d_B\le d_I$), the Exact Isometry Theorem $d_I(M(D_1),M(D_2))=d_B(D_1,D_2)$ & threshold equivalence, and sublevel-set filtration stability $d_B(D_f,D_g)\le\|f-g\|_\infty$ with exact $P_3$ sharpness; proves the exact $H_0$ Elder-Rule Persistence Isomorphism, Kruskal MST Optimality for arbitrary real weights, & exact Persistence–MST weight identity; and proves all $p$-Wasserstein metric axioms ($1\le p<\infty$, exact triangle inequality via Minkowski), sharp monotonicity $d_B\le W_q\le W_p\le(|D_1|+|D_2|)^{1/p}d_B$ with exact $N$-bar separation witnesses, and the alternating-path $P_{2N+1}$ $W_1$-vs.-$d_B$ stability separation.
- P. Gabriel (1972); A. Zomorodian & G. Carlsson (DCG 2005); D. Cohen-Steiner, H. Edelsbrunner & J. Harer (DCG 2007); F. Chazal et al. (2009); M. Lesnick (FoCM 2015); U. Bauer & M. Lesnick (JoCG 2015): Interval decomposition of persistence modules, algebraic stability, and exact bottleneck–interleaving isometry $d_I=d_B$ — first standalone Mathlib-only Lean 4 proof unifying $A_n$ Möbius decomposition with full Bauer–Lesnick isometry.
- H. Edelsbrunner & J. Harer (AMS 2010); P. Skraba & K. Turner (2020); J. B. Kruskal (1956): Exact $H_0$ Elder-Rule merge-tree persistence isomorphism, Kruskal MST optimality, and $p$-Wasserstein metric/stability separations — proved with explicit $P_3$, $N$-bar, and alternating-path $P_{2N+1}$ witnesses.
IntervalDecomposition.lean, BottleneckInterleavingIsometry.lean, ElderRuleAndWasserstein.lean, 7,830 lines, 165 verified declarations, 35/35 clean axioms) proving FinPersistenceModule.interval_decomposition_theorem, FinPersistenceModule.krull_schmidt_uniqueness, FinPersistenceModule.iso_iff_rankInvariant_eq, algebraic_stability_theorem, isometry_theorem, interleaved_iff_bottleneckDist_le, sublevel_filtration_stability, sublevel_stability_exact_sharpness, FilteredGraph.kruskal_mst_optimal, FilteredGraph.elder_rule_h0_iso, FilteredGraph.elder_persistence_sum_eq_mst_sub_births, wassersteinDist_triangle, wassersteinDist_anti, wasserstein_exact_N_bar_separation, and alternating_path_W1_vs_dB_separation.⊢ Mathematical Constructions & Proof Explorer
Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.
Mathematical Overview & Verification Notes
TL;DR
This standalone Lean 4 / Mathlib4 formalization establishes the four foundational algebraic, metric, and combinatorial theorems of one-parameter persistent homology over an arbitrary field $K$, with non-asymptotic sharpness witnesses:
- Exact Interval Decomposition & Krull–Schmidt Uniqueness on $A_n$ (
IntervalDecomposition.lean): For every finite-dimensional persistence module $V : \mathrm{Fin}\,n \to \mathbf{Vect}_K$ with linear transition maps $v_{i,j}$ ($i \le j$), the Möbius inclusion–exclusion multiplicity$$\mu(b, d) = \beta^{b,d} - \beta^{b-1,d} - \beta^{b,d+1} + \beta^{b-1,d+1} \qquad (\beta^{i,j} = \dim_K \operatorname{im} v_{i,j})$$
equals the dimension of the doubly-filtered birth–death complement subspace (hence $\mu(b, d) \ge 0$), recovers the rank invariant $\beta^{i,j}(V) = \sum_{b \le i,\, j \le d} \mu(b, d)$, and yields a constructive persistence-module isomorphism$$V \;\cong\; \bigoplus_{0 \le b \le d < n} \mathbb{I}[b, d]^{\oplus \mu(b, d)},$$
together with Krull–Schmidt uniqueness and complete classification of isomorphism classes by either $\mu$ or $\beta$. - Algebraic Stability ($d_B \le d_I$), Exact Isometry ($d_I = d_B$), & Sublevel-Set Filtration Stability (
BottleneckInterleavingIsometry.lean): For finite persistence diagrams $D_1, D_2$ of half-open bars $[b, d)$ ($b < d$) and their $\mathbb{R}$-indexed interval direct-sum modules $M(D_1), M(D_2)$ over any field $K$:- Attainment: $d_B(D_1, D_2)$ is attained by a finite optimal partial matching to the diagonal.
- Converse Isometry ($d_I \le d_B$): Any partial $\varepsilon$-matching constructs an explicit $\varepsilon$-interleaving between $M(D_1)$ and $M(D_2)$.
- Algebraic Stability ($d_B \le d_I$): Any $\varepsilon$-interleaving $(\varphi, \psi)$ induces a finite-barcode decomposition of $\operatorname{im}(\varphi)$ on the sorted critical-value grid and Bauer–Lesnick epimorphism/monomorphism induced injections $D_{\mathrm{im}} \hookrightarrow D_1$, $D_{\mathrm{im}} \hookrightarrow D_2$, composing to a partial $\varepsilon$-matching.
- Exact Isometry & Threshold Equivalence: $d_I(M(D_1), M(D_2)) = d_B(D_1, D_2)$ and $\mathrm{Interleaved}_\varepsilon(M(D_1), M(D_2)) \iff d_B(D_1, D_2) \le \varepsilon$.
- Sublevel-Set Filtration Stability & Sharpness: For any finite graph $G$ on $V$ and vertex filtrations $f, g : V \to \mathbb{R}$ whose reduced $0$-th persistent homology modules $\widetilde{H}_0(G_{\le t}; K)$ are realized by diagrams $D_f, D_g$, $d_B(D_f, D_g) \le \|f - g\|_\infty$; on the 3-vertex path $P_3$ with $f_c = (0, 2c, 0)$ and $g_c = (c, c, c)$ ($c > 0$), $d_B = d_I = \|f_c - g_c\|_\infty = c$ with equality.
- Exact $H_0$ Elder Rule, Merge-Tree Persistence Isomorphism & Kruskal MST Correspondence (
ElderRuleAndWasserstein.lean, Part 1): For any connected finite filtered graph $G = (V, \mathrm{birth}, \mathrm{wt})$ with vertex birth times $\mathrm{birth} : V \to \mathbb{R}$ and monotone edge weights $\mathrm{wt} : \mathrm{Fin}\,m \to \mathbb{R}$ ($\max(\mathrm{birth}\,u, \mathrm{birth}\,v) \le \mathrm{wt}\,e$):- Kruskal's incremental component merge defines an exact bijection $\mathrm{youngerRoot} : \mathrm{Kruskal}(G) \xrightarrow{\sim} V \setminus \{r_{\min}\}$ ($|\mathrm{Kruskal}(G)| = |V| - 1$).
- At every filtration level $t \in \mathbb{R}$, the triangular Elder-Rule basis $\{[r_{\min}]_t\} \cup \{[\mathrm{youngerRoot}\,e]_t - [\mathrm{elderRoot}\,e]_t\}$ yields an exact persistence-module isomorphism
$$H_0(G; K) \;\cong\; \mathbb{I}[\mathrm{birth}(r_{\min}), \infty) \;\oplus\; \bigoplus_{e \in \mathrm{Kruskal}(G)} \mathbb{I}[\mathrm{birth}(\mathrm{youngerRoot}\,e), \mathrm{wt}(e)).$$
- Kruskal MST Optimality & Persistence–MST Identity: For arbitrary real edge weights, $\mathrm{wt}(\mathrm{Kruskal}(G)) \le \mathrm{wt}(T)$ for every spanning tree $T$, and the total finite $H_0$ persistence satisfies
$$\sum_{e \in \mathrm{Kruskal}(G)} \bigl(\mathrm{wt}(e) - \mathrm{birth}(\mathrm{youngerRoot}\,e)\bigr) \;=\; \mathrm{wt}(\mathrm{Kruskal}(G)) - \sum_{v \ne r_{\min}} \mathrm{birth}(v)$$
(reducing to exact equality with $\mathrm{wt}(\mathrm{MST})$ when $\mathrm{birth} \equiv 0$).
- Sharp $p$-Wasserstein Persistence Distances & Stability Separations (
ElderRuleAndWasserstein.lean, Parts 2–4): For all $1 \le p \le q < \infty$ and finite diagrams $D_1, D_2$:- Full Metric Axioms: Attainment by a finite optimal partial matching, $W_p \ge 0$, $W_p(D, D) = 0$, $W_p(D_1, D_2) = 0 \iff D_1 \equiv_{\text{multiset}} D_2$, $W_p(D_1, D_2) = W_p(D_2, D_1)$, and the exact triangle inequality $W_p(D_1, D_3) \le W_p(D_1, D_2) + W_p(D_2, D_3)$ via matching composition and Minkowski's inequality (
Real.Lp_add_le). - Sharp Monotonicity & Cardinality Bounds: $d_B(D_1, D_2) \le W_q(D_1, D_2) \le W_p(D_1, D_2) \le (|D_1| + |D_2|)^{1/p}\, d_B(D_1, D_2)$, with exact $N$-bar separation witnesses achieving $d_B = r$, $W_p = N^{1/p} r = N^{1/p} d_B$, and $W_p = N^{1/p - 1/q} W_q$ for all $N \ge 1, r > 0$.
- $W_1$-vs.-$d_B$ Filtered-Complex Separation: On the alternating valley–peak path $P_{2N+1}$ with $|f(v) - 0| = \varepsilon > 0$ at every vertex, the Elder Rule yields exact $N$ positive bars $[-\varepsilon, +\varepsilon)$, separating universal $1$-Lipschitz bottleneck stability ($d_B = \varepsilon = \|f - 0\|_\infty$) from linear $N$-fold Wasserstein growth ($W_1 = N\varepsilon$, $W_p = N^{1/p}\varepsilon$).
- Full Metric Axioms: Attainment by a finite optimal partial matching, $W_p \ge 0$, $W_p(D, D) = 0$, $W_p(D_1, D_2) = 0 \iff D_1 \equiv_{\text{multiset}} D_2$, $W_p(D_1, D_2) = W_p(D_2, D_1)$, and the exact triangle inequality $W_p(D_1, D_3) \le W_p(D_1, D_2) + W_p(D_2, D_3)$ via matching composition and Minkowski's inequality (
Scope notes:
IntervalDecomposition.leantreats finite-dimensional persistence modules indexed by the finite linear posetFin nover an arbitrary field $K$.BottleneckInterleavingIsometry.leanproves exact isometry $d_I = d_B$ for $\mathbb{R}$-indexed persistence modules admitting finite persistence diagrams of finite half-open bars $[b, d)$ ($b < d$), and proves sublevel-set filtration stability for reduced $H_0$ on finite simple graphs.ElderRuleAndWasserstein.leanproves the Elder Rule and Kruskal MST optimality for connected finite filtered graphs with nondecreasing edge weights (any finite graph can be edge-sorted before formingFilteredGraph), and proves the $p$-Wasserstein metric axioms and sharp comparisons on finite diagrams for all real exponents $1 \le p \le q < \infty$ alongside $W_\infty = d_B$.
Prior-Art Comparison (as of November 2026) & Zero-Overlap Receipt
Literature & Formalization Landscape
| Project / Reference | Scope & Proof Method | Difference from This Formalization |
|---|---|---|
Mathlib4 (v4.33.0-rc2) | General linear algebra, SimpleGraph, Finsupp, Real.Lp_add_le; no persistence modules, barcodes, interleaving/bottleneck distance, or Elder Rule | We build all four TDA pillars from scratch directly on Mathlib4 with zero external dependencies |
Paul-Lez/PersistentDecomp (Lean 4) | Abstract algebraic decomposition of pointwise finite-dimensional $\mathbb{R}$-persistence modules (Botnan–Crawley-Boevey) | Does not formalize finite-poset Möbius inclusion–exclusion decomposition, Bauer–Lesnick isometry $d_I = d_B$, Elder Rule/Kruskal MST isomorphism, or $p$-Wasserstein distances/separations |
uda-lab/tda-lib (Lean 4) | Finite persistence modules, Reeb graphs, and Mapper constructions | Does not prove the full Bauer–Lesnick exact isometry $d_I = d_B$ on $\mathbb{R}$-persistence modules, the exact algebraic $H_0$ Elder-Rule persistence isomorphism with Kruskal MST optimality, or the $W_p$ triangle inequality / $P_{2N+1}$ stability separation |
statlean4 (Lean 4) | Statistical persistence stability utilities | Does not unify constructive $A_n$ Möbius interval decomposition, full $d_I = d_B$ isometry, exact $H_0$ Elder Rule/Kruskal MST correspondence, and $W_p$ metric/monotonicity separations |
| Classical TDA Literature (Gabriel 1972; Zomorodian–Carlsson 2005; Cohen-Steiner–Edelsbrunner–Harer 2007; Chazal et al. 2009; Lesnick 2015; Bauer–Lesnick 2015; Skraba–Turner 2020) | Foundational paper proofs | Here all four pillars—with explicit sharpness witnesses ($P_3$, $N$-bar diagrams, alternating path $P_{2N+1}$)—are machine-checked end-to-end in standalone Lean 4 |
Zero-Overlap Audit Against Sibling Formalizations
Audited all sibling directories in /Users/arthurcolle/math_rip/new-results/:
open-algebra-topology: finite abelian homometry fibers and Fourier/Smith normal form.open-algebraic-topology-designs: Heffter arrays, biembeddings, and combinatorial designs.open-quantum-ldpc-homological-codes: binary CSS and hypergraph-product qLDPC codes over $\mathbb{F}_2$.rips-circle-erasures: Vietoris–Rips loop restoration on cycle graphs $C_n$.
Recursive search across all sibling directories confirmed 0% overlap with persistence modules, Möbius interval decomposition, bottleneck/interleaving isometry, Elder Rule merge trees, Kruskal MST persistence identities, or $p$-Wasserstein persistence distances.
Python Verification Summary
Pre-formalization screening script verify_tda_persistence.py (473 lines) verifies every algebraic, metric, and combinatorial claim across randomized and extremal instances under strict warnings:
python3 -W error verify_tda_persistence.py
Observed output (EXIT 0):
ALL CHECKS PASSED: interval_decomp=60, wasserstein_bottleneck=940, elder_mst=700
- Interval Decomposition (60 checks): Exact rational RREF rank invariants $\beta^{i,j}$, Möbius multiplicities $\mu(b, d) \ge 0$, exact reconstruction $\beta^{i,j} = \sum_{b \le i, j \le d} \mu(b, d)$, and Krull–Schmidt invariance under random basis changes over $\mathbb{Q}$.
- Bottleneck / Wasserstein / Stability (940 checks): Exact Hungarian-algorithm optimal matchings for $d_B$ and $W_p$ ($p \in \{1, 1.5, 2, 3, 5\}$), triangle inequality, monotonicity $d_B \le W_q \le W_p \le (|D_1|+|D_2|)^{1/p} d_B$, exact $N$-bar separations, $P_3$ sharpness witness, and $P_{2N+1}$ alternating-path stability separation.
- Elder Rule & Kruskal MST (700 checks): Random connected weighted graphs with heterogeneous vertex birth times, exact Elder-Rule $H_0$ Betti curve matching matrix-rank persistent homology at every threshold, Kruskal MST optimality, and exact identity $\sum (d - b) = \mathrm{wt}(\mathrm{MST}) - \sum_{v \ne r_{\min}} \mathrm{birth}(v)$.
Theorem Inventory
1. IntervalDecomposition.lean (1,169 lines; 40 proved declarations: 8 public theorems, 32 lemmas; 31 defs/types; 6.12s)
| Theorem | Exact Location | Mathematical Statement |
|---|---|---|
FinPersistenceModule.mobiusMultInt_eq_compDim | IntervalDecomposition.lean#L1078 | $\mu_{\mathbb{Z}}(b, d) = \dim_K C(b, d)$ where $C(b, d)$ is the complement of $F_b(b-1, d) + F_b(b, d-1)$ inside $F_b(b, d) = I_{b,b} \cap K_{b,d}$ |
FinPersistenceModule.mobiusMultInt_nonneg | IntervalDecomposition.lean#L1083 | Nonnegativity of Möbius barcode multiplicity: $0 \le \mu_{\mathbb{Z}}(b, d)$ for all $b \le d$ |
FinPersistenceModule.mobiusMult_eq_compDim | IntervalDecomposition.lean#L1088 | Natural-number multiplicity equality $\mu(b, d) = \dim_K C(b, d)$ |
FinPersistenceModule.rankInvariant_eq_sum_mobius | IntervalDecomposition.lean#L1096 | Exact rank-invariant reconstruction $\beta^{i,j}(V) = \sum_{b \le i,\, j \le d} \mu(b, d)$ |
FinPersistenceModule.interval_decomposition_theorem | IntervalDecomposition.lean#L1112 | Full Gabriel / Crawley-Boevey decomposition on $A_n$: constructive isomorphism $V \cong \bigoplus_{b \le d} \mathbb{I}[b, d]^{\oplus \mu(b, d)}$ |
FinPersistenceModule.krull_schmidt_uniqueness | IntervalDecomposition.lean#L1119 | Krull–Schmidt uniqueness: $\mathrm{Barcode}(\mu_1) \cong \mathrm{Barcode}(\mu_2) \implies \forall b \le d,\ \mu_1(b, d) = \mu_2(b, d)$ |
FinPersistenceModule.iso_iff_mobiusMult_eq | IntervalDecomposition.lean#L1130 | Complete classification by barcode multiplicity: $U \cong V \iff \forall b \le d,\ \mu_U(b, d) = \mu_V(b, d)$ |
FinPersistenceModule.iso_iff_rankInvariant_eq | IntervalDecomposition.lean#L1138 | Complete classification by rank invariant: $U \cong V \iff \forall i \le j,\ \beta^{i,j}(U) = \beta^{i,j}(V)$ |
2. BottleneckInterleavingIsometry.lean (3,863 lines; 52 proved declarations: 8 public theorems, 1 private theorem, 43 lemmas; 61 defs/types; 14.04s)
| Theorem | Exact Location | Mathematical Statement |
|---|---|---|
exists_optimal_bottleneck_matching | BottleneckInterleavingIsometry.lean#L488 | Finite attainment of $d_B(D_1, D_2)$ by an optimal partial matching $M$ |
interleavingDist_le_bottleneckDist | BottleneckInterleavingIsometry.lean#L739 | Converse isometry $d_I(M(D_1), M(D_2)) \le d_B(D_1, D_2)$ via explicit $\varepsilon$-interleaving from optimal matching |
algebraic_stability_theorem | BottleneckInterleavingIsometry.lean#L3039 | Algebraic Stability: any $\varepsilon$-interleaving between $M(D_1)$ and $M(D_2)$ implies $d_B(D_1, D_2) \le \varepsilon$ (via grid decomposition of $\operatorname{im}(\varphi)$ and Bauer–Lesnick induced matchings) |
bottleneckDist_le_interleavingDist | BottleneckInterleavingIsometry.lean#L3364 | Distance form of Algebraic Stability: $d_B(D_1, D_2) \le d_I(M(D_1), M(D_2))$ |
isometry_theorem | BottleneckInterleavingIsometry.lean#L3376 | Exact Isometry Theorem: $d_I(M(D_1), M(D_2)) = d_B(D_1, D_2)$ |
interleaved_iff_bottleneckDist_le | BottleneckInterleavingIsometry.lean#L3385 | Threshold equivalence: $\exists\,\varepsilon\text{-interleaving}(M(D_1), M(D_2)) \iff d_B(D_1, D_2) \le \varepsilon$ |
sublevel_filtration_stability | BottleneckInterleavingIsometry.lean#L3535 | Sublevel-set filtration stability for reduced $H_0$ on finite simple graphs: $d_B(D_f, D_g) \le \|f - g\|_\infty$ |
sublevel_stability_exact_sharpness | BottleneckInterleavingIsometry.lean#L3809 | Exact sharpness witness on $P_3$: for all $c > 0$, $\|f_c - g_c\|_\infty = d_B(D_{f_c}, \emptyset) = d_I(\widetilde{H}_0(f_c), \widetilde{H}_0(g_c)) = c$ |
3. ElderRuleAndWasserstein.lean (2,798 lines; 73 proved declarations: 19 public theorems, 54 lemmas; 42 defs/types; 8.29s)
| Theorem | Exact Location | Mathematical Statement |
|---|---|---|
FilteredGraph.kruskal_youngerRoot_bijection | ElderRuleAndWasserstein.lean#L333 | Exact Elder-Rule merge-tree bijection $\mathrm{youngerRoot} : \mathrm{Kruskal}(G) \xrightarrow{\sim} \{v \in V \mid v \ne r_{\min}\}$ |
FilteredGraph.kruskalSet_card | ElderRuleAndWasserstein.lean#L493 | Exact Kruskal tree size $|\mathrm{Kruskal}(G)| = |V| - 1$ |
FilteredGraph.elder_persistence_sum_eq_mst_sub_births | ElderRuleAndWasserstein.lean#L521 | Exact Persistence–MST Weight Identity: $\sum_{e \in \mathrm{Kruskal}} (\mathrm{wt}(e) - \mathrm{birth}(\mathrm{youngerRoot}\,e)) = \mathrm{wt}(\mathrm{Kruskal}) - \sum_{v \ne r_{\min}} \mathrm{birth}(v)$ |
FilteredGraph.elder_persistence_sum_eq_mst_of_zero_birth | ElderRuleAndWasserstein.lean#L548 | Zero-birth specialization: total finite $H_0$ persistence equals exact Kruskal MST weight |
FilteredGraph.kruskal_mst_optimal | ElderRuleAndWasserstein.lean#L807 | Exact Kruskal MST Optimality for arbitrary real edge weights: $\mathrm{wt}(\mathrm{Kruskal}(G)) \le \mathrm{wt}(T)$ for every spanning tree $T$ |
FilteredGraph.elder_rule_h0_iso | ElderRuleAndWasserstein.lean#L1113 | Exact $H_0$ Elder-Rule Persistence Isomorphism: $H_0(G; K) \cong \mathbb{I}[\mathrm{birth}(r_{\min}), \infty) \oplus \bigoplus_{e \in \mathrm{Kruskal}} \mathbb{I}[\mathrm{birth}(\mathrm{youngerRoot}\,e), \mathrm{wt}(e))$ |
exists_optimal_wasserstein_matching | ElderRuleAndWasserstein.lean#L2104 | Finite attainment of $W_p(D_1, D_2)$ by an optimal partial matching |
exists_optimal_bottleneck_matching | ElderRuleAndWasserstein.lean#L2119 | Finite attainment of $W_\infty(D_1, D_2) = d_B(D_1, D_2)$ by an optimal partial matching |
wassersteinDist_nonneg | ElderRuleAndWasserstein.lean#L2148 | Nonnegativity: $0 \le W_p(D_1, D_2)$ |
wassersteinDist_self | ElderRuleAndWasserstein.lean#L2153 | Reflexivity: $W_p(D, D) = 0$ ($p \ge 1$) |
wassersteinDist_eq_zero_iff | ElderRuleAndWasserstein.lean#L2177 | Identity of indiscernibles: $W_p(D_1, D_2) = 0 \iff \exists e : \mathrm{Fin}\,|D_1| \simeq \mathrm{Fin}\,|D_2|,\ \forall i,\ D_1(i) = D_2(e(i))$ ($p \ge 1$) |
wassersteinDist_symm | ElderRuleAndWasserstein.lean#L2279 | Symmetry: $W_p(D_1, D_2) = W_p(D_2, D_1)$ |
wassersteinDist_triangle | ElderRuleAndWasserstein.lean#L2291 | Exact Triangle Inequality: $W_p(D_1, D_3) \le W_p(D_1, D_2) + W_p(D_2, D_3)$ ($p \ge 1$) |
bottleneckDist_le_wassersteinDist | ElderRuleAndWasserstein.lean#L2356 | Monotonicity at $\infty$: $d_B(D_1, D_2) \le W_p(D_1, D_2)$ ($p \ge 1$) |
wassersteinDist_anti | ElderRuleAndWasserstein.lean#L2418 | Monotonicity in exponent: $W_q(D_1, D_2) \le W_p(D_1, D_2)$ ($1 \le p \le q$) |
wassersteinDist_le_card_rpow_mul_bottleneckDist | ElderRuleAndWasserstein.lean#L2450 | Reverse cardinality comparison: $W_p(D_1, D_2) \le (|D_1| + |D_2|)^{1/p}\, d_B(D_1, D_2)$ ($p \ge 1$) |
wasserstein_exact_N_bar_separation | ElderRuleAndWasserstein.lean#L2508 | Exact $N$-bar separation witness ($N \ge 1, r > 0, 1 \le p \le q$): $d_B = r$, $W_p = N^{1/p} r = N^{1/p} d_B$, $W_p = N^{1/p - 1/q} W_q$ |
altPathGraph_elder_bars_exact | ElderRuleAndWasserstein.lean#L2607 | Exact Elder-Rule barcode of alternating path $P_{2N+1}$: all $2N$ edges are Kruskal, with exact $N$ positive bars $[-\varepsilon, +\varepsilon)$ |
alternating_path_W1_vs_dB_separation | ElderRuleAndWasserstein.lean#L2719 | Exact $W_1$-vs.-$d_B$ stability separation on $P_{2N+1}$: $\forall v, |f(v) - 0| = \varepsilon$, $d_B = \varepsilon$, $W_1 = N\varepsilon$, $W_p = N^{1/p}\varepsilon$ |
Standalone Verification, Timings & Hygiene
Verified against Lean v4.33.0-rc2 / Mathlib4 (collatz-coalescence environment):
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence
lake env lean /Users/arthurcolle/math_rip/new-results/open-topological-data-analysis-persistent-homology/IntervalDecomposition.lean
lake env lean /Users/arthurcolle/math_rip/new-results/open-topological-data-analysis-persistent-homology/BottleneckInterleavingIsometry.lean
lake env lean /Users/arthurcolle/math_rip/new-results/open-topological-data-analysis-persistent-homology/ElderRuleAndWasserstein.lean
| File | Lines | Proved Decls (Thm + Lem) | Defs/Types | #print axioms | Compile Time | Errors / Warnings |
|---|---|---|---|---|---|---|
IntervalDecomposition.lean | 1,169 | 40 (8 + 32) | 31 | 8 / 8 clean | 6.12s | 0 / 0 |
BottleneckInterleavingIsometry.lean | 3,863 | 52 (9 + 43) | 61 | 8 / 8 clean | 14.04s | 0 / 0 |
ElderRuleAndWasserstein.lean | 2,798 | 73 (19 + 54) | 42 | 19 / 19 clean | 8.29s | 0 / 0 |
| Total | 7,830 | 165 (36 + 129) | 134 | 35 / 35 clean | 28.46s | 0 / 0 |
Hygiene audit: Zero occurrences of sorry, admit, custom axiom, native_decide, unsafe, partial definitions, opaque, implemented_by, or set_option overrides (maxHeartbeats, maxRecDepth, linter suppressions) in code. Every public theorem (35/35) carries an uncommented #print axioms strictly contained in {propext, Classical.choice, Quot.sound}.
Verbatim #print axioms Output
IntervalDecomposition.lean
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.mobiusMultInt_eq_compDim' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.mobiusMultInt_nonneg' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.mobiusMult_eq_compDim' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.rankInvariant_eq_sum_mobius' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.interval_decomposition_theorem' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.krull_schmidt_uniqueness' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.iso_iff_mobiusMult_eq' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.IntervalDecomposition.FinPersistenceModule.iso_iff_rankInvariant_eq' depends on axioms: [propext,
Classical.choice,
Quot.sound]
BottleneckInterleavingIsometry.lean
'OpenTDAPersistence.BottleneckInterleaving.exists_optimal_bottleneck_matching' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.interleavingDist_le_bottleneckDist' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.algebraic_stability_theorem' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.bottleneckDist_le_interleavingDist' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.isometry_theorem' depends on axioms: [propext, Classical.choice, Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.interleaved_iff_bottleneckDist_le' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.sublevel_filtration_stability' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.BottleneckInterleaving.sublevel_stability_exact_sharpness' depends on axioms: [propext,
Classical.choice,
Quot.sound]
ElderRuleAndWasserstein.lean
'OpenTDAPersistence.ElderRuleWasserstein.FilteredGraph.kruskal_youngerRoot_bijection' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.FilteredGraph.kruskalSet_card' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.FilteredGraph.elder_persistence_sum_eq_mst_sub_births' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.FilteredGraph.elder_persistence_sum_eq_mst_of_zero_birth' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.FilteredGraph.kruskal_mst_optimal' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.FilteredGraph.elder_rule_h0_iso' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.exists_optimal_wasserstein_matching' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.exists_optimal_bottleneck_matching' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_nonneg' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_self' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_eq_zero_iff' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_symm' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_triangle' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.bottleneckDist_le_wassersteinDist' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_anti' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wassersteinDist_le_card_rpow_mul_bottleneckDist' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.wasserstein_exact_N_bar_separation' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.altPathGraph_elder_bars_exact' depends on axioms: [propext,
Classical.choice,
Quot.sound]
'OpenTDAPersistence.ElderRuleWasserstein.alternating_path_W1_vs_dB_separation' depends on axioms: [propext,
Classical.choice,
Quot.sound]