Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Computational Geometry

13 missions · 5 completed

Missions

Open8Completed5All13
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Rounding of Polytopes in the Real Number Model of Computation: Barycentric Coordinate Descent Finds a (1+ε)n-Rounding Ellipsoid of m Points in O(n(1/ε + ln n + ln ln m)) IterationsResearch Paper

Motivation

Many algorithms for convex bodies need the body to be well rounded: sandwiched between two concentric ellipsoids whose size ratio is controlled by the dimension. The ellipsoid method, volume and integration algorithms, and preconditioning for linear programming use such roundings. For a polytope given by its vertices a1,…,am∈Rna_1,\dots,a_m \in \mathbb{R}^na1​,…,am​∈Rn, John's theorem guarantees an ellipsoid EEE with

n−1E⊆conv⁡{a1,…,am}⊆E,n^{-1}E \subseteq \operatorname{conv}\{a_1,\dots,a_m\} \subseteq E,n−1E⊆conv{a1​,…,am​}⊆E,

the minimum-volume circumscribed (Löwner–John) ellipsoid scaled about its centre; for centrally symmetric sets the factor improves to n\sqrt nn​. The associated D-optimal design problem is a convex optimization problem. Khachiyan (1996) uses this connection to obtain a finite approximation algorithm.

Khachiyan shows that barycentric coordinate descent (BCD) computes a (1+ε)n(1+\varepsilon)n(1+ε)n-rounding in O(mn2(ε−1+ln⁡n+ln⁡ln⁡m))O(mn^2(\varepsilon^{-1} + \ln n + \ln\ln m))O(mn2(ε−1+lnn+lnlnm)) arithmetic operations. For fixed dimension and tolerance, this is linear in the number of points; the iteration bound depends on that number only through ln⁡ln⁡m\ln\ln mlnlnm. Khachiyan (1996)

The paper builds on the Kiefer–Wolfowitz optimality conditions (1960). Later work revisits the method's complexity and variants; see Todd and Yıldırım (2007).

Setting

Let a1,…,am∈Rna_1,\dots,a_m \in \mathbb{R}^na1​,…,am​∈Rn and let SSS be the unit simplex of weights p≥0p \ge 0p≥0, ∑ipi=1\sum_i p_i = 1∑i​pi​=1. For p∈Sp \in Sp∈S write

A(p)=∑i=1mpi aiaiT,F(p)=ln⁡det⁡A(p),wj(p)=ajTA(p)−1aj,A(p) = \sum_{i=1}^m p_i\, a_i a_i^{\mathsf T}, \qquad F(p) = \ln\det A(p), \qquad w_j(p) = a_j^{\mathsf T}A(p)^{-1}a_j ,A(p)=i=1∑m​pi​ai​aiT​,F(p)=lndetA(p),wj​(p)=ajT​A(p)−1aj​,

and let SF={p∈S∣det⁡A(p)>0}S_F = \{p \in S \mid \det A(p) > 0\}SF​={p∈S∣detA(p)>0}. Maximizing FFF over SSS is the D-optimal design problem (2.3); F∗F^*F∗ is its optimal value. A point p∈SFp \in S_Fp∈SF​ satisfies the ε\varepsilonε-relaxed optimality conditions (2.10) if wj(p)≤(1+ε)nw_j(p) \le (1+\varepsilon)nwj​(p)≤(1+ε)n for every jjj; the accuracy ε(p)=max⁡jwj(p)/n−1\varepsilon(p) = \max_j w_j(p)/n - 1ε(p)=maxj​wj​(p)/n−1 is the least such ε\varepsilonε.

The BCD method starts at p0=(1/m,…,1/m)p_0 = (1/m,\dots,1/m)p0​=(1/m,…,1/m) and repeats

pk+1=(1−τ) pk+τ er,τ=ε(pk)wr(pk)−1,p_{k+1} = (1-\tau)\,p_k + \tau\, e_r, \qquad \tau = \frac{\varepsilon(p_k)}{w_r(p_k) - 1},pk+1​=(1−τ)pk​+τer​,τ=wr​(pk​)−1ε(pk​)​,

where rrr is an index with largest wr(pk)w_r(p_k)wr​(pk​) and ere_rer​ is the rrrth vertex of SSS: it moves weight towards the worst-covered point by the exact line-search step.

For a centrally symmetric set (A=−A\mathcal A = -\mathcal AA=−A) the ellipsoid Ep={x∣xTA(p)−1x≤1}E_p = \{x \mid x^{\mathsf T}A(p)^{-1}x \le 1\}Ep​={x∣xTA(p)−1x≤1} is the candidate rounding. For a general set the method runs on the lift A′={±(aj;1)}⊂Rn+1\mathcal A' = \{\pm(a_j;1)\} \subset \mathbb{R}^{n+1}A′={±(aj​;1)}⊂Rn+1, and the rounding ellipsoid EEE is the intersection of 1+(1+ε)n Ep′\sqrt{1 + (1+\varepsilon)n}\,E'_p1+(1+ε)n​Ep′​ with the hyperplane {y=1}\{y = 1\}{y=1}, where Ep′E'_pEp′​ is the ellipsoid (3.4) of the block matrix with blocks ∑jpjajajT\sum_j p_j a_j a_j^{\mathsf T}∑j​pj​aj​ajT​, ∑jpjaj\sum_j p_j a_j∑j​pj​aj​ and 111, and pjp_jpj​ aggregates the weights of ±(aj;1)\pm(a_j;1)±(aj​;1).

Formalization targets

Goal: Theorem 2 (p. 317)

There is a universal constant CCC such that for every n≥1n \ge 1n≥1, every A={a1,…,am}\mathcal A = \{a_1,\dots,a_m\}A={a1​,…,am​} with affine hull Rn\mathbb{R}^nRn, every ε>0\varepsilon > 0ε>0 and every BCD run on A′\mathcal A'A′, some iterate pkp_kpk​ with

k≤C(n+1)(1ε+ln⁡(n+1)+ln⁡ln⁡(2m))k \le C(n+1)\Big(\frac1\varepsilon + \ln(n+1) + \ln\ln(2m)\Big)k≤C(n+1)(ε1​+ln(n+1)+lnln(2m))

meets the stopping test with ε′=nn+1ε\varepsilon' = \frac{n}{n+1}\varepsilonε′=n+1n​ε and yields an ellipsoid EEE with

[(1+ε)n]−1E⊆conv⁡(A)⊆E,[(1+\varepsilon)n]^{-1}E \subseteq \operatorname{conv}(\mathcal A) \subseteq E,[(1+ε)n]−1E⊆conv(A)⊆E,

the shrinking taken about the centre of EEE.

The centrally symmetric case: Theorem 1 (p. 314)

For centrally symmetric full-dimensional A\mathcal AA, n≥2n \ge 2n≥2: within C n(ε−1+ln⁡n+ln⁡ln⁡m)C\,n(\varepsilon^{-1} + \ln n + \ln\ln m)Cn(ε−1+lnn+lnlnm) iterations,

Epk⊆conv⁡(A)⊆(1+ε)n  Epk.E_{p_k} \subseteq \operatorname{conv}(\mathcal A) \subseteq \sqrt{(1+\varepsilon)n}\;E_{p_k}.Epk​​⊆conv(A)⊆(1+ε)n​Epk​​.

Milestones

Lemma 1 (∑jpjwj(p)=n\sum_j p_j w_j(p) = n∑j​pj​wj​(p)=n), existence of a maximizer, the line identity (2.6), the Kiefer–Wolfowitz conditions (2.9), Lemma 2(i)–(ii) (relaxed optimality gives value and rounding guarantees), Lemma 3 (the per-step increase and the gap bound), the three steps (2.25), (2.27) and the halving bound of the proof of Lemma 4, Lemma 4 (the iteration bound), the rank-one update of A(pk)−1A(p_k)^{-1}A(pk​)−1, Theorem 1, and Lemma 5 (from the lift back to A\mathcal AA). Three further items complete §4: Lemma 2(iii), the slicing property (4.1) and Theorem 3 (approximating the Löwner ellipsoid to relative volume accuracy ε\varepsilonε).

Significance

The result gives a rounding of a vertex-described polytope at nearly the cost of reading the input, using only rank-one updates; the same iteration approximates the minimum-volume enclosing ellipsoid, a basic primitive in statistics (D-optimal design, outlier detection), computational geometry (core sets) and convex optimization (initialization of interior-point and ellipsoid methods). The doubly logarithmic dependence on mmm is what makes the method practical for large point sets, and the analysis is the template for the later Frank–Wolfe-type analyses of minimum-volume ellipsoid algorithms.

The results are proved in the paper; none of them has a machine-checked proof. The platform has the Löwner–John ellipsoid itself (existence, uniqueness, John's nnn-rounding) and the concavity of ln⁡det⁡\ln\detlndet, but no algorithmic statement about it. This mission produces a verified iteration bound for a concrete method, together with the D-optimal design identities (Lemma 1, (2.6), (2.9)) and the rank-one update, which are reusable for any later formalization of optimal design or of Frank–Wolfe methods on the simplex.

Difficulty

The accuracy εk\varepsilon_kεk​ need not decrease at every step, so a bound based on per-step improvement in εk\varepsilon_kεk​ fails. The determinant objective and the geometric rounding condition are different quantities: controlling one must be shown to control the other, including the inner inclusion of the ellipsoid. For a general set, the lift changes the dimension and the relevant ellipsoid is a slice at y=1y=1y=1; the inner inclusion for this slice needs a separate geometric justification.

Formalization scope

Points are vectors Fin n → ℝ; A\mathcal AA is the range of a family a : Fin m → Fin n → ℝ (repetitions allowed). The definitions take any finite index, so they apply both to A\mathcal AA and to the lift, indexed by Fin m ⊕ Fin m. SSS is Mathlib's stdSimplex. FFF uses Real.log, which returns 000 rather than −∞-\infty−∞ on singular matrices, so every comparison of values of FFF is restricted to SFS_FSF​ and F∗F^*F∗ is the supremum over SFS_FSF​. Ellipsoids are the published LinearOptimization.ellipsoid; scaled ellipsoids about the origin use the pointwise scalar multiple, and shrinking a non-centred ellipsoid is the homothety about its centre.

Standing assumptions are hypotheses: in §2, central symmetry (2.1), full dimension (2.2) and n≥2n \ge 2n≥2 (p. 309); in §3, full dimension (3.1) and n≥1n \ge 1n≥1. Items that do not need them drop them. The BCD run is a predicate on sequences that allows any maximizing index at every step, with no tolerance parameter; the tolerance enters only through the stopping test.

Each O(⋅)O(\cdot)O(⋅) is a universal constant C>0C > 0C>0 quantified before the dimension, the points, ε\varepsilonε and the run. The paper counts arithmetic operations; the formal statements bound the index of an iterate meeting the stopping test, and the O(nm)O(nm)O(nm) cost per iteration and the O(mn2)O(mn^2)O(mn2) initialization are not formalized. The goal's bound is stated in the lifted parameters (n+1,2m)(n+1, 2m)(n+1,2m), which agrees with the page's up to the constant and stays positive at n=1n = 1n=1.

The goal assumes nothing about the run beyond its definition: the stopping test, the positive definiteness of A(pk)A(p_k)A(pk​), the rounding inclusions and the iteration bound are all conclusions. A statement in which the constant may depend on the instance, or in which a shrunken ellipsoid is scaled about the origin, would be a different, trivial or false, theorem.

Contributions welcome: the determinant and inverse identities ((2.6), Lemma 1, the rank-one update) are self-contained linear algebra; Lemma 2 needs the KKT characterisation of the minimum-volume ellipsoid; Lemma 5 is finite-dimensional convex geometry.

Selected references

  • L. G. Khachiyan, Rounding of polytopes in the real number model of computation, Mathematics of Operations Research 21(2):307–320, 1996. https://doi.org/10.1287/moor.21.2.307
  • J. Kiefer, J. Wolfowitz, The equivalence of two extremum problems, Canadian Journal of Mathematics 12:363–366, 1960. https://doi.org/10.4153/CJM-1960-030-4
  • L. G. Khachiyan, M. J. Todd, On the complexity of approximating the maximal inscribed ellipsoid for a polytope, Mathematical Programming 61:137–159, 1993. https://doi.org/10.1007/BF01582144
  • M. J. Todd, E. A. Yıldırım, On Khachiyan's algorithm for the computation of minimum-volume enclosing ellipsoids, Discrete Applied Mathematics 155:1731–1744, 2007. https://doi.org/10.1016/j.dam.2007.02.013
21 thms4 active usersReviewed
🏆Completed
CombinatoricsDiscrete GeometryGraph Theory·Captain: mikedeng1

A Combinatorial Theorem in Plane Geometry: Every n-Triangulation Can Be Partitioned into at Most ⌊n/3⌋ FansResearch Paper

Motivation

In a conversation reported by Chvátal, Victor Klee asked for the smallest number f(n)f(n)f(n) such that every region bounded by a simple closed nnn-gon is dominated by f(n)f(n)f(n) points: every point of the region sees one of them along a segment inside the region. In the picturesque language that gave the problem its name, f(n)f(n)f(n) is the number of guards needed to watch any art gallery with nnn walls. A comb-shaped polygon (Figure 1 of the paper) shows f(n)≥⌊n/3⌋f(n) \ge \lfloor n/3 \rfloorf(n)≥⌊n/3⌋.

V. Chvátal's three-page note (J. Combin. Theory Ser. B 18 (1975) 39–41) proves the matching upper bound by reducing it to a purely combinatorial statement about triangulated polygons: every such triangulation splits into at most ⌊n/3⌋\lfloor n/3\rfloor⌊n/3⌋ fans, and a fan is watched by a single guard. The combinatorial theorem is the result this mission formalizes.

Timeline.

  • 1973: Klee poses the question to Chvátal (the paper reports the conversation; the year is O'Rourke's).
  • 1975: Chvátal proves f(n)=⌊n/3⌋f(n) = \lfloor n/3\rfloorf(n)=⌊n/3⌋ via the fan partition theorem, by induction on nnn with a four-case analysis.
  • 1978: S. Fisk gives the short proof by 3-colouring the vertices of the triangulation (J. Combin. Theory Ser. B 24 (1978) 374); the smallest colour class is a set of at most ⌊n/3⌋\lfloor n/3\rfloor⌊n/3⌋ vertices meeting every triangle.
  • 1987 onwards: J. O'Rourke's monograph Art Gallery Theorems and Algorithms (Oxford University Press, 1987) makes the theorem the starting point of a large literature on guarding problems.

Setting

An nnn-triangulation (p. 39) is a planar graph GGG with nnn vertices such that one face is bounded by an nnn-gon and every other face by a triangle. Its vertices are labelled 0,1,…,n−10, 1, \dots, n-10,1,…,n−1 in their cyclic order around the nnn-gon, and indices are taken mod nnn; the sides of the nnn-gon are the pairs {a,a+1}\{a, a+1\}{a,a+1}. Every other edge of GGG is inner; it is a diagonal {a,b}\{a, b\}{a,b} of the nnn-gon. Two diagonals cross when their endpoints are distinct and alternate around the polygon.

Combinatorially, an nnn-triangulation requires n≥3n\ge 3n≥3 and is the same thing as a set DDD of diagonals that pairwise do not cross and is maximal with this property. Its triangles are the 3-element vertex sets all of whose pairs are edges of GGG; there are n−2n - 2n−2 of them, and they are the bounded faces.

Two triangles are adjacent when they share an edge. A set FFF of triangles is dual-connected when any two of its members are joined by a chain of adjacent members; such an FFF is a sub-polygon of GGG, a kkk-triangulation with k=∣F∣+2k = |F| + 2k=∣F∣+2, whose inner edges are the edges shared by two of its triangles. Following the paper, a kkk-triangulation is a fan if one of its vertices, the centre, meets all k−3k-3k−3 of its inner edges. A partition of GGG into fans is a family of fans, pairwise disjoint as sets of triangles, covering all triangles of GGG. Fans may share vertices and edges.

Formalization targets

Goal: Chvátal's theorem (p. 39)

For every n≥3n \ge 3n≥3 and every nnn-triangulation GGG there is a partition of GGG into mmm fans with

m≤⌊n3⌋.m \le \left\lfloor \frac{n}{3} \right\rfloor .m≤⌊3n​⌋.

Milestones (the claims of the proof, pp. 40–41, in attack order)

  1. Base case. Every nnn-triangulation with 3≤n≤53 \le n \le 53≤n≤5 is a fan.
  2. Least span. For n≥6n \ge 6n≥6, let kkk be the least integer with k≥4k \ge 4k≥4 such that GGG has an inner edge {j,j+k}\{j, j+k\}{j,j+k}. Then k≤6k \le 6k≤6.
  3. The cut. An inner edge {j,j+k}\{j, j+k\}{j,j+k} with 2≤k≤n−22 \le k \le n-22≤k≤n−2 cuts GGG into a (k+1)(k+1)(k+1)-triangulation G1G_1G1​ on j,…,j+kj, \dots, j+kj,…,j+k and an (n−k+1)(n-k+1)(n−k+1)-triangulation G2G_2G2​ on j+k,…,jj+k, \dots, jj+k,…,j, whose triangles together are those of GGG.
  4. The four cases. If 4≤k≤64 \le k \le 64≤k≤6 and every inner edge {a,b}\{a,b\}{a,b} of G1G_1G1​ (relabelled 0,…,k0,\dots,k0,…,k, a<ba<ba<b) has b−a≤3b - a \le 3b−a≤3, then G1G_1G1​ is a fan or one of three explicit configurations (cases (2)–(4) of the paper), up to the mirror image i↦k−ii \mapsto k - ii↦k−i.
  5. Tightness. For every n≥3n \ge 3n≥3 some nnn-triangulation admits no partition into fewer than ⌊n/3⌋\lfloor n/3\rfloor⌊n/3⌋ fans:
∀n≥3 ∃G ∀P:∣P∣≥⌊n/3⌋.\forall n\ge 3\ \exists G\ \forall P:\quad |P| \ge \lfloor n/3\rfloor .∀n≥3 ∃G ∀P:∣P∣≥⌊n/3⌋.

The goal's only constant is the paper's ⌊n/3⌋\lfloor n/3 \rfloor⌊n/3⌋, which milestone 5 shows is best possible.

Significance

The result. The fan partition is a strengthening of the guard bound: the centres of the fans form a set of at most ⌊n/3⌋\lfloor n/3\rfloor⌊n/3⌋ vertices meeting every triangle, but the partition also says that the triangles split into star-shaped pieces, each visible from one vertex. With the existence of triangulations of simple polygons it yields f(n)≤⌊n/3⌋f(n) \le \lfloor n/3 \rfloorf(n)≤⌊n/3⌋, the art gallery theorem; with Figure 1 it gives f(n)=⌊n/3⌋f(n) = \lfloor n/3\rfloorf(n)=⌊n/3⌋.

Formalizing it. The theorem has been proved since 1975, and the platform already has Fisk's consequence: ProofsInTheBook.Chapter36.chapter36 and chapter36_artgallery_combinatorial (Proofs from THE BOOK, Chapter 36) prove that an inductively built family of triangles has a hitting set of at most n/3n/3n/3 vertices, and ProofsInTheBook.PolygonGeometryDischarge.artGallery_strict_of_residue proves a geometric guard bound conditional on two assumed inputs. Neither states the fan partition, which is strictly stronger than a hitting set, and neither uses the cyclic labelling of a triangulated polygon. This mission asks for a machine-checked proof of Chvátal's own theorem and of the claims of his proof, on a reusable encoding of triangulated polygons (cyclic labels, non-crossing diagonals, triangles, cutting along a diagonal) that other results on polygon triangulations can build on.

Difficulty

The induction itself is short on paper; the work is in what the paper calls easy. Cutting GGG along a diagonal and relabelling each piece cyclically must be shown to produce triangulations again, with the triangles split exactly between the two pieces; this is a statement about non-crossing chords that has no counterpart in Mathlib. The case analysis "it is easy to verify that we have one of the following four cases" is an enumeration of all triangulations of a 5-, 6- or 7-gon whose diagonals have span at most 3, and its exhaustiveness (including the mirror images of (2) and (4)) is precisely what the four inductive constructions rely on. The constructions then enlarge one fan of a smaller triangulation, so the induction must be carried out for partitions of arbitrary triangulations, with fans that share edges.

Formalization scope

  • Encoding of "planar graph". Mathlib has no planar embeddings. An nnn-triangulation is encoded as the labelled nnn-cycle on Fin n (vertex iii is the paper's i+1i+1i+1) plus a finset D : Finset (Sym2 (Fin n)) of diagonals that pairwise do not cross and is maximal. Maximality is binding: without it the empty set would "triangulate" every polygon and the goal would hold vacuously.
  • Triangles are the 3-element vertex sets whose pairs are all edges; in a triangulated polygon every 3-cycle bounds an inner face.
  • "Partitioned into fans" means a finset of fans, pairwise disjoint as sets of triangles, covering all triangles. A fan must be nonempty, dual-connected, and have a centre on all of its inner edges (edges shared by two of its triangles). Dropping dual-connectedness would turn the goal into Fisk's hitting-set bound; dropping the centre would let the whole triangulation be one "fan". Both clauses are stated.
  • "[n/3]" is the floor, n / 3 in ℕ. The goal assumes only n≥3n \ge 3n≥3.
  • "The least k≥4k \ge 4k≥4 such that GGG has an edge (j,j+k)(j, j+k)(j,j+k)" is read over inner edges, with the minimality stated explicitly; read over all edges, a side of span n−1n-1n−1 would make the claim trivial for n=6,7n = 6, 7n=6,7.
  • "Cuts GGG into" is stated for every inner edge of span 2≤k≤n−22 \le k \le n-22≤k≤n−2 (the paper's 4≤k≤64 \le k \le 64≤k≤6 is a special case), as the pulled-back diagonal sets being triangulations and the triangles splitting between the pieces.
  • "Mirror image" is the relabelling i↦k−ii \mapsto k - ii↦k−i of G1G_1G1​ (Fin.rev); the four cases are an explicit disjunction on the diagonal set of G1G_1G1​. The minimality of kkk enters as the hypothesis that inner edges of G1G_1G1​ have span at most 3.
  • "Cannot be improved" is stated combinatorially, for the theorem itself; the paper argues it through Figure 1.
  • Not formalized: Klee's function f(n)f(n)f(n), Figure 1's lower bound and the corollary f(n)≤⌊n/3⌋f(n) \le \lfloor n/3\rfloorf(n)≤⌊n/3⌋ (p. 41). They need simple polygons in the plane, their interiors, visibility and the existence of triangulations, none of which is available unconditionally.

All definitions are in one file, ChvatalArtGallery.FanPartition.Triangulation; the triangle and cut machinery is reusable for any result on triangulated polygons. Proofs of the milestones, general lemmas on non-crossing diagonal sets (the count ∣D∣=n−3|D| = n-3∣D∣=n−3, existence of ears, the dual tree), and alternative proofs of the goal are all welcome.

Selected references

  • V. Chvátal, A combinatorial theorem in plane geometry, J. Combin. Theory Ser. B 18 (1975) 39–41. https://doi.org/10.1016/0095-8956(75)90061-1
  • S. Fisk, A short proof of Chvátal's watchman theorem, J. Combin. Theory Ser. B 24 (1978) 374. https://doi.org/10.1016/0095-8956(78)90059-X
  • J. O'Rourke, Art Gallery Theorems and Algorithms, Oxford University Press, 1987. https://www.science.smith.edu/~jorourke/books/ArtGalleryTheorems/
  • M. Aigner, G. M. Ziegler, Proofs from THE BOOK, Springer, Chapter "How to guard a museum". https://doi.org/10.1007/978-3-662-57265-8
7 thms3 active usersReviewed
🏆Completed
CombinatoricsDiscrete GeometryOperations Research·Captain: mikedeng1

A Polynomial Time Algorithm for Counting Integral Points in Polyhedra When the Dimension is Fixed: The Lattice-Point Count of an Integral Simplex Is a Short Signed Sum over Primitive ConesResearch Paper

Counting lattice points in fixed dimension

How many integral points does a polytope contain? The question arises in integer programming, where it measures the size of a feasible set, in combinatorics, where many enumeration problems are lattice-point counts in a polytope (contingency tables, magic squares, flows), in the representation theory of Lie groups, and in the analysis of loop nests in compilers. Counting is #P-hard when the dimension is part of the input, so the natural question is whether the count can be computed in polynomial time when the dimension ddd is fixed.

Timeline:

  • 1899. In dimension 222, Pick's formula leads to a polynomial algorithm.
  • 1983. Lenstra shows that integer feasibility is decidable in polynomial time for fixed ddd (Lenstra 1983). Deciding whether a lattice point exists does not count them.
  • 1988, 1992. Brion proves that the exponential sum over the lattice points of a rational polytope is the sum of the exponential sums of its vertex cones.
  • 1991. Dyer gives polynomial algorithms in dimensions 333 and 444, based on Dedekind sums (Dyer 1991).
  • 1994. Barvinok proves that for every fixed ddd the number of lattice points of an integral simplex, and hence of a rational polyhedron, can be computed in polynomial time (Barvinok 1994). The algorithm was later implemented (LattE, barvinok) and is the standard method.

Setting

Points of Rd\mathbb{R}^dRd have real coordinates and ⟨c,x⟩=∑lclxl\langle c,x\rangle=\sum_l c_lx_l⟨c,x⟩=∑l​cl​xl​. For integral vectors u1,…,uk∈Zdu_1,\dots,u_k\in\mathbb{Z}^du1​,…,uk​∈Zd, the rational cone they generate is co⁡{u1,…,uk}={∑iλiui:λi≥0}\operatorname{co}\{u_1,\dots,u_k\}=\{\sum_i\lambda_iu_i:\lambda_i\ge0\}co{u1​,…,uk​}={∑i​λi​ui​:λi​≥0}. The generators are simple if they are linearly independent, and primitive if moreover they form a basis of the lattice Zd∩Lin⁡{u1,…,uk}\mathbb{Z}^d\cap\operatorname{Lin}\{u_1,\dots,u_k\}Zd∩Lin{u1​,…,uk​}.

The index Ind⁡K\operatorname{Ind}KIndK of the cone given by simple generators is the number of integral points in the semi-open parallelepiped Π={∑iαiui:0≤αi<1}\Pi=\{\sum_i\alpha_iu_i:0\le\alpha_i<1\}Π={∑i​αi​ui​:0≤αi​<1}. It equals 111 exactly for primitive generators.

The exponential sum of KKK is σ(K;c)=∑x∈K∩Zde⟨c,x⟩\sigma(K;c)=\sum_{x\in K\cap\mathbb{Z}^d}e^{\langle c,x\rangle}σ(K;c)=∑x∈K∩Zd​e⟨c,x⟩. Where it converges it has the closed form

σ(K;c)=(∑x∈Π∩Zde⟨c,x⟩)∏i=1k11−e⟨c,ui⟩,\sigma(K;c)=\Bigl(\sum_{x\in\Pi\cap\mathbb{Z}^d}e^{\langle c,x\rangle}\Bigr)\prod_{i=1}^k\frac{1}{1-e^{\langle c,u_i\rangle}},σ(K;c)=(x∈Π∩Zd∑​e⟨c,x⟩)i=1∏k​1−e⟨c,ui​⟩1​,

and this closed form defines σ\sigmaσ at every regular point, i.e. every ccc with ⟨c,ui⟩≠0\langle c,u_i\rangle\ne0⟨c,ui​⟩=0 for all iii.

An integral simplex is Δ=conv⁡{v1,…,vk+1}\Delta=\operatorname{conv}\{v_1,\dots,v_{k+1}\}Δ=conv{v1​,…,vk+1​} with affinely independent vj∈Zdv_j\in\mathbb{Z}^dvj​∈Zd. Its supporting cone at a vertex vvv is Kv={u:v+δu∈Δ for all sufficiently small δ>0}K_v=\{u:v+\delta u\in\Delta\text{ for all sufficiently small }\delta>0\}Kv​={u:v+δu∈Δ for all sufficiently small δ>0}. A signed decomposition K=∑iεiKiK=\sum_i\varepsilon_iK_iK=∑i​εi​Ki​ with integers εi\varepsilon_iεi​ means χK=∑iεiχKi\chi_K=\sum_i\varepsilon_i\chi_{K_i}χK​=∑i​εi​χKi​​ on all of Rd\mathbb{R}^dRd. The constant term of the Laurent expansion of fff at t=0t=0t=0 is the coefficient of t0t^0t0 in the expansion of fff around its pole at 000.

Formalization targets

Goal: the short signed formula (Theorem 1.2, mathematical content)

For d≥2d\ge2d≥2 and every integral simplex Δ⊆Rd\Delta\subseteq\mathbb{R}^dΔ⊆Rd there are, for each vertex vjv_jvj​, primitive cones Kj,iK_{j,i}Kj,i​ and integers εj,i\varepsilon_{j,i}εj,i​ with Kvj=∑iεj,iKj,iK_{v_j}=\sum_i\varepsilon_{j,i}K_{j,i}Kvj​​=∑i​εj,i​Kj,i​ and at most (2d)Tj(2^d)^{T_j}(2d)Tj​ terms. Here TjT_jTj​ is the smallest integer

Tj≥−log⁡log⁡1.9+log⁡log⁡Ind⁡jlog⁡d−log⁡(d−1),T_j\ge\frac{-\log\log1.9+\log\log\operatorname{Ind}_j}{\log d-\log(d-1)},Tj​≥logd−log(d−1)−loglog1.9+loglogIndj​​,

and Ind⁡j\operatorname{Ind}_jIndj​ is the index of the edge vectors at vjv_jvj​. Moreover, for every ccc orthogonal to no generator of any Kj,iK_{j,i}Kj,i​,

#(Δ∩Zd)=∑j∑iεj,i R(Kj,i,vj,c),\#(\Delta\cap\mathbb{Z}^d)=\sum_j\sum_i\varepsilon_{j,i}\,R(K_{j,i},v_j,c),#(Δ∩Zd)=j∑​i∑​εj,i​R(Kj,i​,vj​,c),

where R(K,v,c)R(K,v,c)R(K,v,c) is the constant term at t=0t=0t=0 of t↦et⟨c,v⟩σ(K;tc)t\mapsto e^{t\langle c,v\rangle}\sigma(K;tc)t↦et⟨c,v⟩σ(K;tc).

Milestones

  1. Proposition 2.4 with Remark 2.5: the closed form of σ\sigmaσ for simple cones.
  2. Proposition 4.1: for primitive cones, σ(K;c)=∏i(1−e⟨c,ui⟩)−1\sigma(K;c)=\prod_i(1-e^{\langle c,u_i\rangle})^{-1}σ(K;c)=∏i​(1−e⟨c,ui​⟩)−1.
  3. Proposition 2.7 (Brion), for integral simplices.
  4. Corollary 4.2: R(K,v,c)=Qk(x;y)∏ixi−1R(K,v,c)=Q_k(x;y)\prod_ix_i^{-1}R(K,v,c)=Qk​(x;y)∏i​xi−1​ with deg⁡Qk≤k\deg Q_k\le kdegQk​≤k.
  5. Primitive generators iff Ind⁡K=1\operatorname{Ind}K=1IndK=1 (§5).
  6. Lemma 5.2: a short lattice vector www with Ind⁡Kj≤(Ind⁡K)(d−1)/d\operatorname{Ind}K_j\le(\operatorname{Ind}K)^{(d-1)/d}IndKj​≤(IndK)(d−1)/d.
  7. Lemma 5.3: at most 2d2^d2d cones of smaller index, with signs ±1\pm1±1.
  8. Theorem 5.4: decomposition into at most (2d)T(2^d)^T(2d)T primitive cones.
  9. The display in the proof of Theorem 5.4: (2d)T≤C1(d)(log⁡Ind⁡K)C2(d)(2^d)^T\le C_1(d)(\log\operatorname{Ind}K)^{C_2(d)}(2d)T≤C1​(d)(logIndK)C2​(d).
  10. Lemma 6.1: some c(t)=(1,t,…,td−1)c(t)=(1,t,\dots,t^{d-1})c(t)=(1,t,…,td−1), t∈{0,…,m(d−1)}t\in\{0,\dots,m(d-1)\}t∈{0,…,m(d−1)}, is orthogonal to none of mmm nonzero vectors.

Significance

The goal is the reason Barvinok's algorithm is polynomial. For fixed ddd, the number of terms is bounded by a polynomial in log⁡Ind⁡K\log\operatorname{Ind}KlogIndK, which is polynomial in the input size. Each term is an explicit rational function of inner products (Corollary 4.2). The identity therefore turns lattice-point counting into the evaluation of a short sum. Its consequences include polynomial-time counting for rational polyhedra in fixed dimension, polynomial-time computation of Ehrhart quasi-polynomials, and the theory of short rational generating functions (Barvinok–Woods), which underlies algorithms for parametric integer programming.

The result is proved and classical. As far as known it has not been machine-checked: Mathlib has convex cones, Minkowski's convex body theorem and lattices, but no signed cone decompositions, no generating functions of cones and no Brion identity. The mission produces a formal account of the algorithm's correctness and of the size of its output. Its milestones are statements of independent use: the closed form of cone generating functions, Brion's identity for simplices, and the index-reduction lemma.

Difficulty

The obvious approach is to triangulate the supporting cones into unimodular (primitive) cones. This fails: a cone of index Ind⁡K\operatorname{Ind}KIndK may need about Ind⁡K\operatorname{Ind}KIndK unimodular cones in any triangulation, which is exponential in the input size. The step that makes the count small is signed decomposition. Signed decomposition uses cones that are not contained in KKK, combined with signs ±1\pm1±1, and controls the index through the geometry of numbers rather than through a subdivision of KKK. The second difficulty is that c=0c=0c=0, where the exponential sum equals the count, is a singular point of every σ(Ki;⋅)\sigma(K_i;\cdot)σ(Ki​;⋅). The count is recovered as a constant term of a Laurent expansion, so every identity has to be valid as an identity of meromorphic functions on regular points, and not only where the series converge.

Formalization scope

  • Points of Rd\mathbb{R}^dRd are Fin d → ℝ, integral vectors Fin d → ℤ used through their real cast, and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ is dotProduct. A cone is given by its generator list, because index, parallelepiped and the closed form of σ\sigmaσ depend on the generators. Logarithms are natural, and ∣u∣|u|∣u∣ is the sup norm.
  • Theorem 1.2 is represented by its mathematical content. The paper's statement is "there exists a polynomial time algorithm". No machine model is formalized. The goal is the identity proved on p. 778, with the count of the proof of Theorem 5.4 (p. 777). The algorithmic clauses of Lemmas 5.2, 5.3, 6.1 and Theorem 5.4 are each replaced by the existence statement of the object the algorithm constructs. Lemma 5.3(c), whose constant is unquantified, is omitted.
  • Over R\mathbb{R}R. The paper uses c∈Cdc\in\mathbb{C}^dc∈Cd only to speak of meromorphic functions. Here ccc is real, σ\sigmaσ is defined by its closed form, and regularity means ⟨c,ui⟩≠0\langle c,u_i\rangle\ne0⟨c,ui​⟩=0 for every generator. The constant term is a predicate: tNf(t)t^Nf(t)tNf(t) agrees near 000 with a real-analytic function whose NNN-th Taylor coefficient is the value.
  • Added hypotheses. These are d≥2d\ge2d≥2 wherever TTT appears, k≥1k\ge1k≥1 in Lemma 5.2, d≥1d\ge1d≥1 in Lemma 5.3, ui≠0u_i\ne0ui​=0 in Lemma 6.1, and Ind⁡K≥2\operatorname{Ind}K\ge2IndK≥2 in the display bound. T=0T=0T=0 when the index is 111. Brion's identity is stated for integral simplices, the only case the proof uses.
  • Trivializations ruled out. σ\sigmaσ is never an infinite sum, which would take a junk value off its convergence region. "Primitive" means a lattice basis and not mere linear independence; with the weaker notion the decomposition is trivial. Decompositions hold for every x∈Rdx\in\mathbb{R}^dx∈Rd, not only on Zd\mathbb{Z}^dZd. The halfspace of Lemma 5.2 is linear, since an affine one would make it vacuous.
  • Infrastructure. A complete development needs generating functions of simplicial cones, Brion's theorem for simplices, the identity theorem for rational functions in ec1,…,ecde^{c_1},\dots,e^{c_d}ec1​,…,ecd​, Minkowski's theorem on a sublattice, and inclusion–exclusion for triangulations. Each is reusable beyond this mission, and contributions of any of these pieces are welcome.

Selected references

  • A. I. Barvinok, A polynomial time algorithm for counting integral points in polyhedra when the dimension is fixed, Mathematics of Operations Research 19(4), 1994, 769–779. https://doi.org/10.1287/moor.19.4.769
  • M. Brion, Points entiers dans les polyèdres convexes, Annales scientifiques de l'École Normale Supérieure 21(4), 1988, 653–663. https://doi.org/10.24033/asens.1572
  • M. Dyer, On counting lattice points in polyhedra, SIAM Journal on Computing 20(4), 1991, 695–707. https://doi.org/10.1137/0220044
  • H. W. Lenstra Jr., Integer programming with a fixed number of variables, Mathematics of Operations Research 8(4), 1983, 538–548. https://doi.org/10.1287/moor.8.4.538
  • R. P. Stanley, Enumerative Combinatorics, Vol. 1, Wadsworth & Brooks/Cole, 1986, §4.6. https://doi.org/10.1007/978-1-4615-9763-6
  • A. Barvinok, K. Woods, Short rational generating functions for lattice point problems, Journal of the AMS 16(4), 2003, 957–979. https://doi.org/10.1090/S0894-0347-03-00428-4
16 thms3 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: wurtle

Generalization of Hinging PlanesResearch Paper

A continuous piecewise linear (CPWL) function is one assembled from finitely many flat pieces glued along flat seams. Every ReLU network computes such a function, and every such function is computed by some ReLU network. Questions about how deep a network must be are therefore questions about the internal structure of CPWL functions.

In 1993 Breiman built such functions from hinges: maxima of two affine maps. Sums of hinges approximate anything, but from two dimensions up they fail to represent most CPWL functions exactly. Wang and Sun (2005) widened the maxima, proving that every CPWL function on ℝⁿ is a signed sum of maxima of at most n+1 affine maps. Twenty years on it remains the workhorse structural fact, reducing any question about a network to a question about a single max gate and underpinning every known upper bound on the depth of exact representation.

That includes the newest one: at STOC 2026, Bakaev et al disproved the short standing conjecture that ⌈log₂(n+1)⌉ hidden layers are necessary, showing ⌈log₃(n−1)⌉+1 suffice. In this mission we deliver a machine-checked proof of the Wang and Sun theorem so future formalizations of network expressivity can invoke it rather than reprove it. Note that we take as given the lattice representation of Tarela and Martínez, independently proved by Ovchinnikov, which writes any CPWL function as a max of mins of its affine pieces. That is the one external ingredient the argument consumes, and our definition of CPWL builds it in.

3 thms3 active users
🏆Completed
Algebraic TopologyMachine LearningProbability·Captain: mikedeng1

Persistence-Based Clustering in Riemannian Manifolds: With High Probability the Algorithm Returns as Many Clusters as the Density Has d₂-Prominent PeaksResearch Paper

Motivation

Mode-seeking clustering groups data points by the peak of an underlying probability density that they "flow up" to. Methods of this kind (mean-shift, graph-based hill climbing) are widely used, but their output depends heavily on noise: a density estimated from finitely many samples has many spurious local maxima, and each of them becomes a cluster. Chazal, Guibas, Oudot and Skraba (INRIA RR-6968, 2009; journal version J. ACM 60(6), 2013, doi:10.1145/2535927) combine graph-based hill climbing with topological persistence. Persistence measures how prominent each peak is, and peaks of low prominence are merged into their neighbours. The paper's main guarantee says when this algorithm recovers the right number of clusters from random samples. It holds on Riemannian manifolds that may be non-compact, and the clustering method is now known as ToMATo.

Setting

Let X\mathbb XX be an mmm-dimensional Riemannian manifold, possibly with boundary, with geodesic distance dXd_{\mathbb X}dX​ and mmm-dimensional Hausdorff measure Hm\mathcal H^mHm. The strong convexity radius ϱc(X)\varrho_c(\mathbb X)ϱc​(X) is the infimum over xxx of the largest rrr such that any two points of the closed ball BX(x,r)B_{\mathbb X}(x,r)BX​(x,r) are joined by a unique shortest path, and that path stays in the ball. Let f:X→Rf:\mathbb X\to\mathbb Rf:X→R be a probability density with respect to Hm\mathcal H^mHm that is ccc-Lipschitz, and write Fα=f−1([α,+∞))\mathbb F^\alpha=f^{-1}([\alpha,+\infty))Fα=f−1([α,+∞)) for its superlevel sets.

Persistence diagram. As α\alphaα decreases from +∞+\infty+∞ to −∞-\infty−∞, path components of Fα\mathbb F^\alphaFα are born at peaks of fff and die when they merge into an older component. The 0-th persistence diagram D0fD_0fD0​f records each component as a point (px,py)(p_x,p_y)(px​,py​) of the extended plane R‾2\overline{\mathbb R}^2R2, with birth pxp_xpx​ and death py≤pxp_y\le p_xpy​≤px​; a component that never dies has py=−∞p_y=-\inftypy​=−∞. The prominence of the peak is px−pyp_x-p_ypx​−py​. The diagonal is added with infinite multiplicity. fff is tame when this structure is of finite type. For d2>d1≥0d_2>d_1\ge0d2​>d1​≥0, D0fD_0fD0​f is (d1,d2)(d_1,d_2)(d1​,d2​)-separated when every off-diagonal point either has prominence <d1<d_1<d1​ (noise), or has prominence ≥d2\ge d_2≥d2​ and birth >d2>d_2>d2​ (signal).

Algorithm. The input is nnn sample points x1,…,xnx_1,\dots,x_nx1​,…,xn​, the values f(xi)f(x_i)f(xi​), the matrix of distances dX(xi,xj)d_{\mathbb X}(x_i,x_j)dX​(xi​,xj​) and parameters δ,τ\delta,\tauδ,τ. The Rips graph RδR_\deltaRδ​ joins two points at distance ≤δ\le\delta≤δ. The algorithm processes the points by decreasing fff and keeps a union-find structure whose entries are rooted at their highest point. When a point is processed, every neighbouring entry whose root is less than τ\tauτ higher than the point is merged into the point's entry. The point's own entry is then merged into the neighbouring entry with the highest root, if its own root is less than τ\tauτ higher than the point. The output is the set of final entries whose root has value ≥τ\ge\tau≥τ.

Sampling quantities. Nr(A)\mathcal N_r(A)Nr​(A) is the least number of closed geodesic balls of radius rrr covering AAA, and Vr(A)=inf⁡x∈AHm(BX(x,r))\mathcal V_r(A)=\inf_{x\in A}\mathcal H^m(B_{\mathbb X}(x,r))Vr​(A)=infx∈A​Hm(BX​(x,r)).

Formalization targets

Goal: Theorem 4.8 (p. 22)

Assume ϱc(X)>0\varrho_c(\mathbb X)>0ϱc​(X)>0, fff is a tame ccc-Lipschitz density, D0fD_0fD0​f is (d1,d2)(d_1,d_2)(d1​,d2​)-separated, 0<δ<min⁡{ϱc(X),d2−d15c}0<\delta<\min\{\varrho_c(\mathbb X),\frac{d_2-d_1}{5c}\}0<δ<min{ϱc​(X),5cd2​−d1​​} and τ∈(d1+2cδ, d2−3cδ)\tau\in(d_1+2c\delta,\,d_2-3c\delta)τ∈(d1​+2cδ,d2​−3cδ). Then for nnn i.i.d. samples from fff,

Pr⁡[#clusters≠#{peaks of prominence≥d2}]≤Nδ/8(Fcδ) e−n34cδ Vδ/8(Fcδ).\Pr\big[\#\text{clusters}\ne\#\{\text{peaks of prominence}\ge d_2\}\big]\le\mathcal N_{\delta/8}(\mathbb F^{c\delta})\,e^{-n\frac34c\delta\,\mathcal V_{\delta/8}(\mathbb F^{c\delta})}.Pr[#clusters=#{peaks of prominence≥d2​}]≤Nδ/8​(Fcδ)e−n43​cδVδ/8​(Fcδ).

Milestones

  1. Lemma 4.3 (p. 17): for ε>0\varepsilon>0ε>0 and α>cε\alpha>c\varepsilonα>cε, the sample is a geodesic ε\varepsilonε-sample of Fα\mathbb F^\alphaFα except with probability at most Nε/2(Fα)e−n(α−cε)Vε/2(Fα)\mathcal N_{\varepsilon/2}(\mathbb F^\alpha)e^{-n(\alpha-c\varepsilon)\mathcal V_{\varepsilon/2}(\mathbb F^\alpha)}Nε/2​(Fα)e−n(α−cε)Vε/2​(Fα).
  2. Theorem 4.5 (p. 19): if a finite LLL is a geodesic δ/4\delta/4δ/4-sample of Fα\mathbb F^\alphaFα, there is a multi-bijection between D0fD_0fD0​f and the diagram D0Rδf(L)D_0\mathcal R^f_\delta(L)D0​Rδf​(L) of the upper-star Rips filtration. Above α\alphaα it moves points by at most cδc\deltacδ, and in the lower-right quadrant it moves births by at most cδc\deltacδ.
  3. Noise image (proof of Thm 4.8, p. 22): the noise points are sent into Δd1+2cδN∪Λd1+2cδW\Delta^N_{d_1+2c\delta}\cup\Lambda^W_{d_1+2c\delta}Δd1​+2cδN​∪Λd1​+2cδW​.
  4. Signal image (pp. 22–23): the signal points are sent outside that region.
  5. Partition and count (p. 23): for τ\tauτ in the range, D0Rδf(L)D_0\mathcal R^f_\delta(L)D0​Rδf​(L) has exactly as many points in ΔτS∩ΛτE\Delta^S_\tau\cap\Lambda^E_\tauΔτS​∩ΛτE​ as D0fD_0fD0​f has peaks of prominence ≥d2\ge d_2≥d2​; for the tame D0fD_0fD0​f both counts are finite.
  6. Algorithm output (p. 23, with §3): for τ>0\tau>0τ>0 the algorithm returns exactly one cluster per point qqq of the Rips diagram with qx−qy≥τq_x-q_y\ge\tauqx​−qy​≥τ and qx≥τq_x\ge\tauqx​≥τ.

Significance

The theorem gives a sample-complexity guarantee for a practical clustering algorithm, with an explicit failure probability. It needs neither compactness of the manifold nor a density bounded away from zero; dense sampling of one superlevel set is enough. The separation hypothesis is a signal-to-noise condition, and it tells the user which range of τ\tauτ recovers the true number of clusters.

On the formalization side, the paper's results are proved on paper, but nothing about them is machine-checked. Of the steps, the paper proves Lemma 4.3 and the region analysis. Theorem 4.5 rests on the Rips-filtration analysis of Chazal–Guibas–Oudot–Skraba, SODA 2009, the interleaving and stability results of Chazal et al., SoCG 2009, and the paper's Lemma 4.6. The algorithm-output step (milestone 6) is asserted in the paper, not proved. The mission therefore asks for formal proofs of all six steps. A by-product is the first library of 0-dimensional persistence diagrams, multi-bijections and Rips filtrations on the platform.

Difficulty

The probabilistic step is a union bound over a minimal cover, but it has a gap. Covering balls need not be centred in Fα\mathbb F^\alphaFα, while V\mathcal VV is an infimum over balls centred in Fα\mathbb F^\alphaFα, so the comparison between the two is not justified on a general manifold. Theorem 4.5 is the hardest step. The obvious route, a bottleneck stability theorem, does not apply, because the sample covers only one superlevel set and not X\mathbb XX. This is why the conclusion distinguishes the quadrant above α\alphaα, where both coordinates are controlled, from the quadrant below, where only births are. Milestone 6 is a correctness proof for a union-find procedure with ties: entries are not path components, because prominent entries stay separate after their components meet.

Formalization scope

  • Manifold. X\mathbb XX is a metric space carrying Mathlib's Riemannian manifold structure (IsRiemannianManifold, a ModelWithCorners for the boundary), so dXd_{\mathbb X}dX​ is dist.
  • Measures and probability. Hm\mathcal H^mHm is Mathlib's unnormalized Hausdorff measure of dimension dim⁡E\dim EdimE; the statements are invariant under rescaling it. Samples are product measures on Fin n → X. "With probability at least 1−B1-B1−B" is an upper bound B∈[0,∞]B\in[0,\infty]B∈[0,∞] on the outer measure of the failure event. e−aVe^{-aV}e−aV uses e−∞=0e^{-\infty}=0e−∞=0 and 0⋅∞=00\cdot\infty=00⋅∞=0.
  • Convexity radius. It is computed in [0,+∞][0,+\infty][0,+∞], with shortest paths as isometric embeddings of [0,d(y,y′)][0,d(y,y')][0,d(y,y′)].
  • Diagrams. A diagram's multiplicities are computed from the rank function of the filtration, so they are not free data.
  • Tameness is pinned in a 0-dimensional form: finitely many path components at each level, finitely many critical values, and empty superlevel sets at high levels.
  • Multi-bijections are bijections between copies of points, the diagonal contributing countably many copies of each of its points.
  • Separation is imposed on off-diagonal points only. On the diagonal the literal definition is unsatisfiable when d1=0d_1=0d1​=0.
  • Algorithm. It runs Procedures 1–2 with an explicit union-find state, over every processing order compatible with the sort. The upper star of a point is its set of neighbours processed earlier.
  • Added hypotheses. c>0c>0c>0 in Theorem 4.8 and milestones 3–5 (the paper divides by ccc), and τ>0\tau>0τ>0 in milestone 6.

No formalization in which the number of clusters is defined as a count of diagram points, or in which the diagram is a free parameter, is acceptable: either one empties the goal. The running-time and memory claims of §3, the basin approximation of Theorem 4.9 and the Morse-theoretic material of §2.3 are out of scope. Lemma 4.3 is stated as printed, with covering balls centred anywhere, and its proof gap is an open risk that Theorem 4.8 inherits.

Contributions are welcome on every milestone. The persistence-diagram layer (rank functions, multiplicities, multi-bijections) and the union-find correctness proof are reusable beyond this mission.

Selected references

  • F. Chazal, L. J. Guibas, S. Y. Oudot, P. Skraba, Persistence-Based Clustering in Riemannian Manifolds, INRIA Research Report RR-6968, 2009. https://inria.hal.science/inria-00389390
  • F. Chazal, L. J. Guibas, S. Y. Oudot, P. Skraba, Persistence-Based Clustering in Riemannian Manifolds, Journal of the ACM 60(6), 2013. https://doi.org/10.1145/2535927
  • F. Chazal, D. Cohen-Steiner, M. Glisse, L. J. Guibas, S. Y. Oudot, Proximity of Persistence Modules and their Diagrams, Proc. 25th ACM Symposium on Computational Geometry, 2009. https://doi.org/10.1145/1542362.1542407
  • D. Cohen-Steiner, H. Edelsbrunner, J. Harer, Stability of Persistence Diagrams, Discrete & Computational Geometry 37, 2007. https://doi.org/10.1007/s00454-006-1276-5
  • F. Chazal, L. J. Guibas, S. Y. Oudot, P. Skraba, Analysis of Scalar Fields over Point Cloud Data, SODA 2009. https://doi.org/10.1137/1.9781611973068.112
41 thms2 active usersReviewed

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me