Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 5, p. 13 — x̃ is feasible for the metric relaxation (LP-P)

Proved
LPCommunity.LPFail.xTilde_feasible

by mikedeng1 · Oct 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

community-detectiongraph-distancelinear-programmingmetric-polytopep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let G=(V,E)G=(V,E)G=(V,E) be a connected graph on n≥5n\ge 5n≥5 nodes and let

x~ij=ρG(i,j)+c(G)2ρavg(G)+2c(G)(1−1n)\tilde x_{ij}=\frac{\rho_G(i,j)+c(G)}{2\rho_{\mathrm{avg}}(G)+2c(G)(1-\frac1n)}x~ij​=2ρavg​(G)+2c(G)(1−n1​)ρG​(i,j)+c(G)​

be the point of the proof of Theorem 5. Then x~\tilde xx~ is a feasible point of (LP-P): it satisfies the triangle inequalities (1), the inequalities (2) x~ij+x~ik+x~jk≤2\tilde x_{ij}+\tilde x_{ik}+\tilde x_{jk}\le 2x~ij​+x~ik​+x~jk​≤2 for i<j<ki<j<ki<j<k, and the equality ∑i<jx~ij=n2/4\sum_{i<j}\tilde x_{ij}=n^2/4∑i<j​x~ij​=n2/4 (3).

This is the feasibility half of the proof of Theorem 5: it makes the objective value at x~\tilde xx~ an upper bound on the optimal value of (LP-P).

Formalization Note Feasibility includes symmetry and zero diagonal of the array encoding x~\tilde xx~ (see the Setting).

Preamble
import Mathlib
import Definitions.Def_LPCommunity_LPFail_Setting
import Definitions.Def_LPCommunity_LPFail_XTilde

open Finset
open scoped Classical ENNReal
Formal statement
namespace LPCommunity.LPFail
theorem xTilde_feasible {n : ℕ} (G : SimpleGraph (Fin n)) (hconn : G.Connected) (hn : 5 ≤ n) :
    LPCommunity.LPRecovery.LPFeasible n (xTilde G) := by sorry
end LPCommunity.LPFail
Source
Del Pia, Khajavirad, Kunisky, Linear Programming and Community Detection, arXiv:2006.03213v2, p. 13, §3.2, proof of Theorem 5 ("Thus in either case x̃ satisfies inequalities (2), implying x̃ is feasible.")
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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