Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 — a matching M and a forest F with Σ_v max_{e∼v} w_e = Σ_{e∈M} w_e + Σ_{e∈F} w_e

Proved
QMaxCutBeyond.TwoQubit.lemma_2

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

forestmatchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-max-cut

Let G=(V,E,w)G=(V,E,w)G=(V,E,w) be a graph with nonnegative weights. There are edge subsets M,F⊆EM,F\subseteq EM,F⊆E such that MMM is a matching, FFF is a forest (the graph on VVV with edge set FFF has no cycle), and

∑v∈Vmax⁡e∼vwe=∑e∈Mwe+∑e∈Fwe.\sum_{v\in V}\max_{e\sim v}w_e=\sum_{e\in M}w_e+\sum_{e\in F}w_e .v∈V∑​e∼vmax​we​=e∈M∑​we​+e∈F∑​we​.

The lemma refines the naive bound ∑vmax⁡e∼vwe≤2W\sum_v\max_{e\sim v}w_e\le2W∑v​maxe∼v​we​≤2W; it is what lets the two entangled and classical candidate states of eqs. (25)–(26) beat 1/21/21/2.

Formalization Note Only existence is stated; the paper's "we may efficiently compute" is not formalized. An isolated vertex contributes 000 to the left-hand side.

Preamble
import Mathlib
import Definitions.Def_QMaxCutBeyond_TwoQubit_Setting
Formal statement
namespace QMaxCutBeyond.TwoQubit

/-- Lemma 2, p. 10 (existence part): there are edge subsets `M, F ⊆ E` with `M` a matching and
`F` a forest such that `Σ_{v∈V} max_{e∼v} w_e = Σ_{e∈M} w_e + Σ_{e∈F} w_e`. -/
theorem lemma_2 {n : ℕ} (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]
    (w : Sym2 (Fin n) → ℝ) (hw : ∀ e, 0 ≤ w e) :
    ∃ M F : Finset (Sym2 (Fin n)), M ⊆ G.edgeFinset ∧ F ⊆ G.edgeFinset ∧
      IsEdgeMatching M ∧ (SimpleGraph.fromEdgeSet (F : Set (Sym2 (Fin n)))).IsAcyclic ∧
      ∑ v, maxIncident G w v = ∑ e ∈ M, w e + ∑ e ∈ F, w e := by sorry

end QMaxCutBeyond.TwoQubit
Source
Anshu, Gosset & Morenz, Beyond product state approximations for a quantum analogue of Max Cut, arXiv:2003.14394v1, p. 10, Lemma 2
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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