Vietoris–Rips Loop Restoration on $C_n$
Exact existence threshold $n \ge 2k+2$, endpoint enumerations $3^k - 3k$ and $\binom{k+1}{2}$, and complete proof of the open Interior Conjecture $\max |S| = 2(n - 2k)$ across $2k+2 \le n \le 3k$.
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 classifiedWhen $2k < n \le 3k$, the Vietoris–Rips complex $\mathrm{VR}_k(C_n)$ of the $n$-cycle has trivial first homology $H_1 = 0$, yet erasing a subset $D$ of vertices can restore the circle loop. Building on the Adamaszek–Adams winding-fraction classification, we prove the exact existence threshold $n \ge 2k+2$, exact endpoint counts $3^k - 3k$ and $\binom{k+1}{2}$, and resolve the open Interior Conjecture: every loop-restoring survivor set $S = C_n \setminus D$ obeys $|S| \le 2(n - 2k)$, equivalently $|D| \ge 4k - n$.
- M. Adamaszek & H. Adams (2017, Advances in Mathematics 311): Classified the homotopy types of Vietoris–Rips complexes $\operatorname{VR}_r(S^1)$ and $\operatorname{VR}_r(C_n)$ via winding fractions (establishing the $H_1 = 0$ threshold $2k < n \le 3k$).
- M. Adamaszek, H. Adams & F. Frick (2018); M. Moy (2023): Vietoris–Rips metric thickenings and persistent homology of circles and discrete cycles.
- L. Vietoris (1927) & J.-C. Hausmann (1995): Foundations of Vietoris–Rips complexes and topological loop reconstruction.
⊢ 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
Complete, zero-sorry, zero-warning Lean 4 formalization of the Exact Existence Threshold, Endpoint Enumerations, and Full Interior Extremal Theorem (Conjecture 2.4 — PROVED!) for Vietoris–Rips loop restoration on the cycle $C_n = \mathbb{Z}/n\mathbb{Z}$ across the entire $H_1 = 0$ regime $2k < n \le 3k$.
All theorems are verified under Lean v4.33.0-rc2 reusing the Mathlib cache in /Users/arthurcolle/math_rip/new-results/collatz-coalescence, with zero sorry, zero custom axioms, and zero native_decide.
Background & Motivation
In topological data analysis (TDA) and metric geometry, the Vietoris–Rips complex $\mathrm{VR}(X; k)$ of a finite metric space $(X, d)$ at scale $k$ is the clique complex on $X$ whose edges join pairs of points at distance $\le k$. When $X = C_n = \mathbb{Z}/n\mathbb{Z}$ is the discrete $n$-cycle with graph-distance metric, Adamaszek and Adams (2017) determined the homotopy types of $\mathrm{VR}(C_n; k)$ across all scales:
- For $n > 3k$, $\mathrm{VR}(C_n; k) \simeq S^1$ carries a nontrivial 1-dimensional homology loop ($H_1 \neq 0$).
- At the transition $2k < n \le 3k$, wrapping triangles $\{a, b, c\}$ (triples whose three clockwise arcs all have length $\le k$) appear and fill in the 1-cycle, collapsing $H_1(\mathrm{VR}(C_n; k)) = 0$ (indeed $\mathrm{VR}(C_n; k) \simeq S^2$ at $n = 3k$, or higher odd/even spheres depending on $n/k$).
A counterintuitive phenomenon in robustness of persistent homology is erasure-induced loop reappearance: deleting a carefully chosen subset $D \subset C_n$ of vertices can destroy all wrapping triangles while preserving connectivity around the circle (no consecutive gap $> k$), thereby restoring a genuine $H_1 \neq 0$ loop in the subcomplex $\mathrm{VR}(C_n \setminus D; k)$! Prior work focused on the boundary case $n = 3k - 1$; here we resolve the complete extremal and enumerative theory across the entire $H_1 = 0$ regime $2k < n \le 3k$ — including proving the open interior extremal conjecture $\max |S| = 2(n - 2k)$ (equivalently $\min |D| = 4k - n$), where the fractional LP relaxation gives $2n/3 > 2(n - 2k)$ and therefore fails to certify the sharp integer optimum.
Mathematical Summary
Fix threshold $k \ge 2$ (or $k \ge 3$ at the upper endpoint) and $2k < n \le 3k$. A survivor subset $S \subseteq \mathbb{Z}/n\mathbb{Z}$ (with erasure complement $D = C_n \setminus S$) is loop-restoring (ValidS n k S) iff:
- $|S| \ge 3$,
NoLargeGap n k S: every vertex has a survivor within clockwise steps $1, \dots, k$ (equivalently, $D$ contains no $k$ consecutive vertices, and every consecutive clockwise gap of $S$ is $\le k$), andNoWrappingTriangle n k S: $S$ contains no triple $(a, b, c)$ with all three clockwise gaps in $[1, k]$.
Summary of Formalized Theorems
| File | Theorem | Mathematical Result |
|---|---|---|
Core.lean | noLargeGap_iff_no_consec_erased, noLargeGap_iff_step_le_k, card_ge_three_of_noLargeGap, nonempty_opposite_of_valid | Equivalence of all gap characterizations and the Key Nonempty-Opposite Lemma: for any valid $S$ with $2k < n$ and any $u \in S$, there exists $v \in S$ in the open opposite arc $(u + k, u - k)$ (i.e. $k < \operatorname{cwDist}(u, v) < n - k$). |
Threshold.lean | no_valid_at_two_k_plus_one, explicitSurvivor_valid, explicitSurvivor_card, explicitErasure_card, exact_existence_threshold | Theorem 2.1 (Exact Existence Threshold): For $k \ge 2$, no valid $S$ exists at $n = 2k + 1$. For every $2k + 2 \le n \le 3k$, the explicit two-block set $S = \{0, \dots, m - 1\} \cup \{k + 1, \dots, k + m\}$ ($m = n - 2k$) is valid with $|S| = 2(n - 2k)$ and $|D| = 4k - n$. Hence a valid $S$ exists iff $n \ge 2k + 2$. |
UpperEndpoint.lean | erasure_card_ge_k, survivor_card_le_two_k, upper_endpoint_count | Theorem 2.2 (Upper Endpoint $n = 3k$): Every valid $S$ satisfies $|D| \ge k$ (equivalently $|S| \le 2k$) via the $k$ disjoint wrapping triangles $\{i, i + k, i + 2k\}$. For $k \ge 3$, the exact count of labeled minimum erasure sets $D$ of size $k$ is $3^k - 3k$. |
LowerEndpoint.lean | centrally_symmetric_of_valid, card_le_four_of_valid, card_eq_four_of_valid, valid_iff_two_antipodal_pairs, lower_endpoint_count, lower_endpoint_erasure_count | Theorem 2.3 (Lower Endpoint $n = 2k + 2$): For $k \ge 2$, every valid $S$ is centrally symmetric ($u \in S \Rightarrow u + (k + 1) \in S$), satisfies $|S| = 4$ (three antipodal pairs force a wrapping triangle $\{a, c, b'\}$), is precisely a union of two distinct antipodal pairs, and the exact count of valid (optimal) sets is $\binom{k + 1}{2}$. |
InteriorConjecture.lean | exists_distant_erased_pair, reduction_step, interior_upper_bound_strong, interior_survivor_upper_bound, interior_erasure_lower_bound | Conjecture 2.4 (PROVED — Full Interior Extremal Bound): For ALL $k \ge 1$ and ALL $2k + 2 \le n \le 3k$, every valid $S$ satisfies $|S| \le 2(n - 2k)$ (equivalently $|D| \ge 4k - n$). Together with Theorem 2.1, this establishes the exact optimum $\max |S| = 2(n - 2k)$ and $\min |D| = 4k - n$ across the entire regime $2k + 2 \le n \le 3k$. |
Proof Idea for Conjecture 2.4 (InteriorConjecture.lean)
We prove the strictly stronger theorem (interior_upper_bound_strong): any $S \subseteq \mathbb{Z}/n\mathbb{Z}$ ($2k < n \le 3k$) satisfying only NoWrappingTriangle n k S and NonemptyOpposite n k S obeys $|S| \le 2(n - 2k)$.
The proof proceeds by opposite-pair deletion induction on $k$, preserving $m = n - 2k$:
- Base case ($n = 3k$): The $k$ disjoint wrapping triangles $\{i, i + k, i + 2k\}$ force $|D| \ge k$, hence $|S| \le 2k = 2(3k - 2k)$.
- Distant Erased Pair Lemma ($2k < n < 3k$): The erasure set $D = C_n \setminus S$ must contain two vertices $d_1, d_2 \in D$ at circular distance $\ge k$ ($k \le \operatorname{cwDist}(d_1, d_2) \le n - k$):
- Otherwise, for every $d \in D$, $d + k \in S$.
- If $D$ contains a $(k - 1)$-wrapping triangle $(d_1, d_2, d_3)$, its $+k$ translate $(d_1 + k, d_2 + k, d_3 + k) \subseteq S$ is a $k$-wrapping triangle in $S$, contradiction.
- Otherwise, $D$ is contained in a single closed arc $[u, u + k - 1]$, so every vertex at clockwise distance $\ge k$ from $u$ lies in $S$. Applying
NonemptyOppositeto $w = u + (n - k) \in S$ produces $v \in S$ with $1 \le \operatorname{cwDist}(u, v) \le n - 2k - 1$, and then $\{v, v + k, v + 2k\} \subseteq S$ is a wrapping triangle, contradiction.
- Contraction $(n, k) \mapsto (n - 2, k - 1)$: Rotate so $d_1 = 0$ and $d_2 = q \in [k, n - k]$, and contract $\{0, q\}$ out of $C_n$ via $\varphi(x) = x - 1$ ($1 \le x < q$) and $\varphi(x) = x - 2$ ($q < x < n$). Pointwise, for all $x, y \notin \{0, q\}$, the contracted clockwise distance $d' = \operatorname{cwDist}_{n-2}(\varphi(x), \varphi(y))$ and original distance $d = \operatorname{cwDist}_n(x, y)$ satisfy:
$$d' \le d, \qquad (d' \le k - 1 \implies d \le k), \qquad (k + 1 \le d \implies k \le d').$$
Hence $S' = \varphi(S_0) \subseteq \mathbb{Z}/(n - 2)\mathbb{Z}$ preserves $|S'| = |S|$,NoWrappingTriangle (n - 2) (k - 1) S', andNonemptyOpposite (n - 2) (k - 1) S', while leaving $n - 2k$ unchanged. Induction on $k$ completes the proof.
Verification Commands
Compile each file standalone using the prebuilt Mathlib cache in collatz-coalescence:
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence
lake env lean /Users/arthurcolle/math_rip/new-results/rips-circle-erasures/Core.lean
lake env lean /Users/arthurcolle/math_rip/new-results/rips-circle-erasures/Threshold.lean
lake env lean /Users/arthurcolle/math_rip/new-results/rips-circle-erasures/UpperEndpoint.lean
lake env lean /Users/arthurcolle/math_rip/new-results/rips-circle-erasures/LowerEndpoint.lean
lake env lean /Users/arthurcolle/math_rip/new-results/rips-circle-erasures/InteriorConjecture.lean
Axiom Audit
Every named theorem prints only the three standard Lean/Mathlib axioms [propext, Classical.choice, Quot.sound], with zero sorryAx, zero native_decide, zero custom axioms, and zero compiler warnings:
Core.lean:RipsCircleErasures.noLargeGap_iff_no_consec_erased:[propext, Classical.choice, Quot.sound]RipsCircleErasures.noLargeGap_iff_step_le_k:[propext, Classical.choice, Quot.sound]RipsCircleErasures.card_ge_three_of_noLargeGap:[propext, Classical.choice, Quot.sound]RipsCircleErasures.nonempty_opposite_of_valid:[propext, Classical.choice, Quot.sound]
Threshold.lean:RipsCircleErasures.Threshold.no_valid_at_two_k_plus_one:[propext, Classical.choice, Quot.sound]RipsCircleErasures.Threshold.explicitSurvivor_valid:[propext, Classical.choice, Quot.sound]RipsCircleErasures.Threshold.explicitSurvivor_card:[propext, Classical.choice, Quot.sound]RipsCircleErasures.Threshold.explicitErasure_card:[propext, Classical.choice, Quot.sound]RipsCircleErasures.Threshold.exact_existence_threshold:[propext, Classical.choice, Quot.sound]
UpperEndpoint.lean:RipsCircleErasures.UpperEndpoint.erasure_card_ge_k:[propext, Classical.choice, Quot.sound]RipsCircleErasures.UpperEndpoint.survivor_card_le_two_k:[propext, Classical.choice, Quot.sound]RipsCircleErasures.UpperEndpoint.upper_endpoint_count:[propext, Classical.choice, Quot.sound]
LowerEndpoint.lean:RipsCircleErasures.LowerEndpoint.centrally_symmetric_of_valid:[propext, Classical.choice, Quot.sound]RipsCircleErasures.LowerEndpoint.card_le_four_of_valid:[propext, Classical.choice, Quot.sound]RipsCircleErasures.LowerEndpoint.card_eq_four_of_valid:[propext, Classical.choice, Quot.sound]RipsCircleErasures.LowerEndpoint.valid_iff_two_antipodal_pairs:[propext, Classical.choice, Quot.sound]RipsCircleErasures.LowerEndpoint.lower_endpoint_count:[propext, Classical.choice, Quot.sound]RipsCircleErasures.LowerEndpoint.lower_endpoint_erasure_count:[propext, Classical.choice, Quot.sound]
InteriorConjecture.lean:RipsCircleErasures.InteriorConjecture.exists_distant_erased_pair:[propext, Classical.choice, Quot.sound]RipsCircleErasures.InteriorConjecture.reduction_step:[propext, Classical.choice, Quot.sound]RipsCircleErasures.InteriorConjecture.interior_upper_bound_strong:[propext, Classical.choice, Quot.sound]RipsCircleErasures.InteriorConjecture.interior_survivor_upper_bound:[propext, Classical.choice, Quot.sound]RipsCircleErasures.InteriorConjecture.interior_erasure_lower_bound:[propext, Classical.choice, Quot.sound]