Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section II, (18) and (23), p. 5 — at p = 1 an edge term of a 3-regular graph is f_g4, f_g5 or f_g6

Proved
FarhiQAOA.Cubic.edge_term_subgraph_type

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

3-regular-graphlight-conemaxcutp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1qaoa

Let GGG be a 3-regular graph on nnn vertices and ⟨jk⟩\langle jk\rangle⟨jk⟩ an edge of GGG. For p=1p=1p=1 and angles γ,β∈R\gamma,\beta\in\mathbb Rγ,β∈R, write

ejk(γ,β)=⟨γ,β∣ C⟨jk⟩ ∣γ,β⟩e_{jk}(\gamma,\beta) = \langle\gamma,\beta|\,C_{\langle jk\rangle}\,|\gamma,\beta\rangleejk​(γ,β)=⟨γ,β∣C⟨jk⟩​∣γ,β⟩

for the term of ⟨jk⟩\langle jk\rangle⟨jk⟩ in the edge sum (13) of F1F_1F1​. Let λ\lambdaλ be the number of common neighbours of jjj and kkk. Then

  1. if λ=2\lambda = 2λ=2, ejk(γ,β)=fg4(γ,β)e_{jk}(\gamma,\beta) = f_{g_4}(\gamma,\beta)ejk​(γ,β)=fg4​​(γ,β);
  2. if λ=1\lambda = 1λ=1, ejk(γ,β)=fg5(γ,β)e_{jk}(\gamma,\beta) = f_{g_5}(\gamma,\beta)ejk​(γ,β)=fg5​​(γ,β);
  3. if λ=0\lambda = 0λ=0, ejk(γ,β)=fg6(γ,β)e_{jk}(\gamma,\beta) = f_{g_6}(\gamma,\beta)ejk​(γ,β)=fg6​​(γ,β).

This is the case p=1p=1p=1, degree 3, of the paper's observation that each edge term depends only on the isomorphism type of the subgraph g(j,k)g(j,k)g(j,k) formed by the qubits within distance ppp of the edge ((16), (23)): "if two edges ⟨jk⟩\langle jk\rangle⟨jk⟩ and ⟨j′k′⟩\langle j'k'\rangle⟨j′k′⟩ give rise to isomorphic subgraphs, then the corresponding functions of (γ,β)(\boldsymbol\gamma,\boldsymbol\beta)(γ,β) are the same". Figure (18) lists the three types that occur, and they are told apart by λ\lambdaλ. This reduction of an nnn-qubit expectation to a fixed-size one is what makes the analysis of §V possible.

Formalization Note The common-neighbour count is how the three pictures of (18) are distinguished; it is a description of the figure, not an added hypothesis. Neither connectivity nor n≠4n\neq 4n=4 is assumed: the statement holds for K4K_4K4​, where every edge has two common neighbours.

Preamble
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Adiabatic
import Definitions.Def_FarhiQAOA_Cubic_Types
Formal statement
namespace FarhiQAOA.Cubic

open QAlgorithms

/-- Farhi–Goldstone–Gutmann, Section II, p. 5, figure (18) and (23): in a 3-regular graph, for
`p = 1` the term of an edge `⟨jk⟩` in the edge sum (13) depends only on the subgraph type of the edge:
it equals `f_{g₄}`, `f_{g₅}` or `f_{g₆}` according as `j` and `k` have 2, 1 or 0 common neighbours. -/
theorem edge_term_subgraph_type {n : ℕ} (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]
    (h3 : G.IsRegularOfDegree 3) (j k : Fin n) (hjk : G.Adj j k) (γ β : ℝ) :
    (commonNbrCount G j k = 2 → edgeTerm1 G γ β j k = fg4 γ β) ∧
      (commonNbrCount G j k = 1 → edgeTerm1 G γ β j k = fg5 γ β) ∧
      (commonNbrCount G j k = 0 → edgeTerm1 G γ β j k = fg6 γ β) := by sorry

end FarhiQAOA.Cubic
Source
Farhi, Goldstone, Gutmann, A Quantum Approximate Optimization Algorithm, arXiv:1411.4028v1, p. 5, Section II, figure (18), (23) and the sentence after (23)
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