Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section II, (6) and p. 4 — the expected satisfied count is m/2 + Σᵢ ½dᵢ⟨Z_aZ_bZ_c⟩

Proved
QAOAE3Lin2.General.eq_6_sum

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

max-e3lin2p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1qaoa

Let an instance of Max E3LIN2 with mmm equations be given, with signs di∈{±1}d_i\in\{\pm1\}di​∈{±1}, and let ∣γ,β⟩|\gamma,\beta\rangle∣γ,β⟩ be the level-one QAOA state. For all real γ,β\gamma,\betaγ,β, the expected number of satisfied equations when ∣γ,β⟩|\gamma,\beta\rangle∣γ,β⟩ is measured is

∑x∣⟨x∣γ,β⟩∣2C(x)=m2+∑i=1m12di ⟨γ,β∣ZaiZbiZci∣γ,β⟩,\sum_x|\langle x|\gamma,\beta\rangle|^2C(x)=\frac m2+\sum_{i=1}^m\tfrac12d_i\,\langle\gamma,\beta|Z_{a_i}Z_{b_i}Z_{c_i}|\gamma,\beta\rangle ,x∑​∣⟨x∣γ,β⟩∣2C(x)=2m​+i=1∑m​21​di​⟨γ,β∣Zai​​Zbi​​Zci​​∣γ,β⟩,

where (ai,bi,ci)(a_i,b_i,c_i)(ai​,bi​,ci​) is the triple of equation iii.

This is the operator identity C=m2+12∑dabcZaZbZcC=\tfrac m2+\tfrac12\sum d_{abc}Z_aZ_bZ_cC=2m​+21​∑dabc​Za​Zb​Zc​ of (5)–(6) taken in expectation. It reduces the analysis to one clause at a time.

Formalization Note. No hypothesis on the instance is needed. The right side uses that the state is a unit vector.

Preamble
import Mathlib
import Definitions.Def_QAOAE3Lin2_General_Setting
Formal statement
namespace QAOAE3Lin2.General

theorem eq_6_sum {n m : ℕ} (tri : Fin m → Fin n × Fin n × Fin n) (rhs : Fin m → Bool)
    (γ β : ℝ) :
    expSat tri rhs γ β = (m : ℝ) / 2 + ∑ i, (1 / 2) * sgn rhs i * corr tri rhs i γ β := by sorry

end QAOAE3Lin2.General
Source
Farhi, Goldstone, Gutmann, A Quantum Approximate Optimization Algorithm Applied to a Bounded Occurrence Constraint Problem, arXiv:1412.6062v2, pp. 3–4, Section II, (5)–(6) and p. 4, after (7)
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