Section V, pp. 8–9 — S edges of type g₄ and 4S + 3T edges of type g₅
ProvedFarhiQAOA.Cubic.edge_type_countLet be a connected 3-regular graph on vertices with crossed squares and isolated triangles. Classify each edge by the number of common neighbours of and , which is its subgraph type in figure (18). Then
where type means two common neighbours and type means one.
Each crossed square contributes its diagonal as an edge of type and its four sides as edges of type , and each isolated triangle contributes its three edges as edges of type . Together with the edge count this gives the coefficients of (32).
Formalization Note Edges are counted once, as ordered pairs . The hypotheses "connected" and exclude , the paper's special case ("the only case where the analysis below does not apply", p. 8): in all six edges have two common neighbours while .
import Mathlib import Definitions.Def_QAlgorithms_Defs_Adiabatic import Definitions.Def_FarhiQAOA_Cubic_Types
namespace FarhiQAOA.Cubic
open QAlgorithms
/-- Farhi–Goldstone–Gutmann, Section V, pp. 8–9: in a connected 3-regular graph other than `K₄`
(`n ≠ 4`), the edges of subgraph type `g₄` (endpoints with 2 common neighbours) number `S`, and the
edges of type `g₅` (endpoints with 1 common neighbour) number `4S + 3T`. Edges are counted once,
as ordered pairs `u < v`. -/
theorem edge_type_count {n : ℕ} (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]
(h3 : G.IsRegularOfDegree 3) (hconn : G.Connected) (hn4 : n ≠ 4) :
((Finset.univ ×ˢ Finset.univ).filter fun e : Fin n × Fin n =>
e.1 < e.2 ∧ G.Adj e.1 e.2 ∧ commonNbrCount G e.1 e.2 = 2).card = S G ∧
((Finset.univ ×ˢ Finset.univ).filter fun e : Fin n × Fin n =>
e.1 < e.2 ∧ G.Adj e.1 e.2 ∧ commonNbrCount G e.1 e.2 = 1).card = 4 * S G + 3 * T G := by sorry
end FarhiQAOA.Cubic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.