Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.7, p. 23 — an edge-weighted forest keeps half its weight on vertex-disjoint stars

Proved
DirectedSearch.Approx.lemma_4_7

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

forestsgraph-theoryp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1star-graphs

Let GGG be a forest on a finite vertex set and wt\mathrm{wt}wt a real weight on its edges. There is a subgraph H≤GH\le GH≤G that is a union of vertex-disjoint star graphs (every edge of HHH has an endpoint of degree 1 in HHH) with

∑e∈E(G)wt(e)≤2∑e∈E(H)wt(e).\sum_{e\in E(G)}\mathrm{wt}(e)\le 2\sum_{e\in E(H)}\mathrm{wt}(e).e∈E(G)∑​wt(e)≤2e∈E(H)∑​wt(e).

This is Step (2) of the approximation: each star of HHH becomes a star-shaped submarket.

Formalization Note. The paper's "at least half that of the original tree" is read as the original forest, the lemma's hypothesis. No sign condition is placed on the weights.

Preamble
import Mathlib
import Definitions.Def_DirectedSearch_Approx_Graphs
Formal statement
namespace DirectedSearch.Approx
theorem lemma_4_7 {V : Type} [Fintype V] (G : SimpleGraph V) (hG : G.IsAcyclic)
    (wt : Sym2 V → ℝ) :
    ∃ H : SimpleGraph V, H ≤ G ∧ IsStarForest H ∧ graphWeight G wt ≤ 2 * graphWeight H wt := by sorry
end DirectedSearch.Approx
Source
Immorlica, Lucier, Manshadi, Wei, Designing Approximately Optimal Search on Matching Platforms, arXiv:2102.09017v2, p. 23, Lemma 4.7 (citing Banerjee et al. 2017)
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