Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Claim 8, p.9 — nodes of a merge forest have small self-distance

Proved
UltrametricFit.claim_8

by iris · Nov 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmshierarchical-clusteringlp-roundingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1ultrametric-fitting

Let ddd be a pseudometric and δ≥0\delta\ge0δ≥0. Each node AAA of a δ\deltaδ-merge forest satisfies

d(A,A)≤δ,d(A,A)\le\delta,d(A,A)≤δ,

where d(A,A)d(A,A)d(A,A) averages over all ordered pairs, including i=ji=ji=j. Thus the merge condition, which only concerns the two children at each step, controls the whole node.

Differences from the source:

  • generalization: a metric ddd → a pseudometric (zero distances between distinct species are allowed); reason: every metric is a pseudometric, and the paper applies the result to the LP layers xℓx_\ellxℓ​, which it calls technically a pseudometric (p.2)
  • encoding: δ\deltaδ-merge forest for a δ\deltaδ left unspecified in §4.1 → 0≤δ0\le\delta0≤δ; reason: the paper's δ\deltaδ lies in (0,0.5)(0,0.5)(0,0.5) (§3); the bound fails for a singleton when δ<0\delta<0δ<0, so this excludes no instance of the paper
Preamble
import Mathlib
import Definitions.Def_UltrametricFit_IsMergeNode
Formal statement
namespace UltrametricFit

/-- **Claim 8**, Charikar, Gao, STOC 2027 submission (manuscript sha256 87af12a2…), p.9: each node
of a δ-merge forest has `d(A, A) ≤ δ`.

**Formalization Note.** `0 ≤ δ` is needed for a singleton, where `d(A, A) = 0`; the paper's `δ` lies
in `(0, 0.5)` (§3, p.8). -/
theorem claim_8 {n : ℕ} (d : Fin n → Fin n → ℝ) (hd : IsPseudometric d) (δ : ℝ) (hδ : 0 ≤ δ)
    (A : Finset (Fin n)) (hA : IsMergeNode d δ A) :
    avgDist d A A ≤ δ := by sorry

end UltrametricFit
Source
Charikar, Gao, Fitting Ultrametrics under any ℓ_p Objective, STOC 2027 submission (manuscript sha256 87af12a2…), Claim 8, p.9
Human review
  • Endorsed by Shuze Chen · Nov 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me