Goemans–Williamson random-hyperplane rounding for MAX-DICUT #
This module formalizes the MAX-DICUT extension of Goemans–Williamson random-hyperplane rounding
[GoemansWilliamson1995, Section 7.3], reusing hyperplaneSide, signVector, and the Gaussian
expectation framework from CslibFrontier.Algorithms.Lean.MaxCut.GoemansWilliamson, together with
Real.goemansWilliamsonDicutConstant (β > 0.79607) and
Real.goemansWilliamsonDicutConstant_mul_add_cos_le from
CslibFrontier.Foundations.Analysis.SpecialFunctions.GoemansWilliamsonDicut.
Note on source typo: in display (Q'') of [GoemansWilliamson1995, Section 7.3, p. 1138], the
d_{ijk} term is misprinted as 1 - y_i y_j + y_i y_k + y_j y_k; the surrounding prose on p. 1138,
relaxation (P''), and Lemmas 7.3.1–7.3.2 on p. 1139 all use 1 + y_i y_j + y_i y_k + y_j y_k,
which is the definition formalized here.
Main definitions #
Cslib.Algorithms.Lean.MaxDicut.tripleCutValue,Cslib.Algorithms.Lean.MaxDicut.tripleSdpValue: the three-variable quadratic program(Q'')and its semidefinite relaxation(P'')(normalized by1 / 4).Cslib.Algorithms.Lean.MaxDicut.dicutValue,Cslib.Algorithms.Lean.MaxDicut.dicutSdpValue: the weighted directed-cut objective and its homogeneousOption Vsemidefinite relaxation.Cslib.Algorithms.Lean.MaxDicut.dicutHyperplaneSet,Cslib.Algorithms.Lean.MaxDicut.liftDicutSet: random-hyperplane rounding and±uvector lift for a directed cutS : V → Bool.Cslib.Algorithms.Lean.MaxDicut.IsBalancedDigraph: weighted outdegree equals weighted indegree at every vertex.
Main results #
integral_hyperplaneSide_all_eq,integral_hyperplaneSide_ne_and_eq: [GoemansWilliamson1995, Lemma 7.3.1] triple agreement/disagreement probabilities understdGaussian.goemansWilliamsonDicutConstant_mul_add_inner_le: vector form of [GoemansWilliamson1995, Lemma 7.3.2] via the spherical-triangle angle inequalities.goemansWilliamsonDicutConstant_mul_tripleSdpValue_le_integral:(P'')rounding guarantee.goemansWilliamsonDicutConstant_mul_dicutSdpValue_le_integral,goemansWilliamsonDicutConstant_mul_sub_le_integral,goemansWilliamsonDicutConstant_mul_dicutValue_le_integral: the(β, ε)and exact-optimum guarantees for weighted MAX-DICUT withβ > 0.79607.two_mul_dicutValue_eq_cutValue_of_isBalancedDigraph,two_mul_dicutSdpValue_eq_sdpValue_of_isBalancedDigraph,goemansWilliamsonConstant_mul_sub_le_integral_of_isBalancedDigraph: the improved(α, ε)guarantee (α > 0.87856) on balanced (Eulerian) directed graphs.
Limitations #
As with CslibFrontier.Algorithms.Lean.MaxCut.GoemansWilliamson, this analyzes rounding of a given
vector solution under Mathlib's exact stdGaussian; polynomial-time SDP solving and
finite-precision sampling are not formalized.
References #
Lemma 7.3.1 & vector form of Lemma 7.3.2 #
Triangle inequalities for three unit vectors place
(arccos ⟪u, w⟫, arccos ⟪u, z⟫, arccos ⟪w, z⟫) in Real.DicutAngleSet.
Vector form of Lemma 7.3.2. For any unit vectors u, w, z,
(β / 4) · (1 + ⟪u, w⟫ + ⟪u, z⟫ + ⟪w, z⟫) ≤
1 - (arccos ⟪u, w⟫ + arccos ⟪u, z⟫ + arccos ⟪w, z⟫) / (2π).
Negated-first variant of Lemma 7.3.2:
(β / 4) · (1 - ⟪u, w⟫ - ⟪u, z⟫ + ⟪w, z⟫) ≤
1 - (arccos ⟪-u, w⟫ + arccos ⟪-u, z⟫ + arccos ⟪w, z⟫) / (2π).
Goemans–Williamson, Lemma 7.3.1. Probability that a standard Gaussian hyperplane keeps three unit vectors on the same side.
Goemans–Williamson, Lemma 7.3.1 (opposite-first variant). Probability that a standard
Gaussian hyperplane puts v i on the opposite side from both v j and v k.
Three-variable quadratic program (Q'') and relaxation (P'') #
Objective of the quadratic program (Q'') [GoemansWilliamson1995, Section 7.3], normalized by
1 / 4: c e pays when side i ≠ side j = side k, and d e pays when side i = side j = side k.
Objective of the semidefinite relaxation (P'') [GoemansWilliamson1995, Section 7.3],
normalized by 1 / 4.
At a cut's ±u vector solution, tripleSdpValue equals tripleCutValue.
If unit vectors v are within ε of optimal for tripleSdpValue, every Boolean cut has value
at most tripleSdpValue triples c d v + ε.
tripleCutValue along a random hyperplane is integrable under any finite measure.
Goemans–Williamson (P'') rounding bound. For nonnegative weights c and d and unit
vectors v, the expected tripleCutValue under random-hyperplane rounding is at least
β * tripleSdpValue triples c d v [GoemansWilliamson1995, Section 7.3].
The (β, ε) guarantee for (Q'').
Optimal unit vectors exist for tripleSdpValue in every nontrivial finite-dimensional F.
Weighted MAX-DICUT #
The weight of the directed cut S : V → Bool (true on vertices in S) for directed arcs
ends : ι → V × V with weights w: sums w e over arcs with tail in S and head outside S.
Semidefinite relaxation objective of weighted MAX-DICUT at unit vectors v : Option V → F
using truth-anchor none : Option V [GoemansWilliamson1995, Section 7.3]:
∑ e, w e * (1 + ⟪v (some u), v none⟫ - ⟪v (some w), v none⟫ - ⟪v (some u), v (some w)⟫) / 4.
Directed cut produced by random-hyperplane rounding: vertex x lies in S iff
hyperplaneSide v r (some x) = hyperplaneSide v r none [GoemansWilliamson1995, Section 7.3].
Homogeneous ±u vector lift of a directed cut S : V → Bool.
At liftDicutSet u S (for ‖u‖ = 1), dicutSdpValue equals dicutValue.
The directed-cut value under random-hyperplane rounding is integrable.
Goemans–Williamson MAX-DICUT relaxation bound. For nonnegative arc weights w and unit
vectors v : Option V → F, the expected directed-cut weight under random-hyperplane rounding is at
least β * dicutSdpValue ends w v [GoemansWilliamson1995, Section 7.3], with β > 0.79607.
Goemans–Williamson MAX-DICUT ε-optimal guarantee. If v are within ε of optimal for
dicutSdpValue, then for every directed cut S, the expected rounded weight is at least
β * (dicutValue ends w S - ε) [GoemansWilliamson1995, Section 7.3].
Goemans–Williamson MAX-DICUT exact-optimum guarantee.
Some hyperplane induces a directed cut achieving the (β, ε) MAX-DICUT guarantee against
every cut S.
Optimal unit vectors exist for dicutSdpValue in every nontrivial finite-dimensional F.
Balanced (Eulerian) directed graphs achieve α > 0.87856 #
A weighted directed graph is balanced (Eulerian) when every vertex has equal weighted outdegree
and weighted indegree, equivalently ∑ e, w e * φ (ends e).1 = ∑ e, w e * φ (ends e).2 for every
potential φ : V → ℝ [GoemansWilliamson1995, Section 7.3, p. 1138].
Equal weighted outdegree and indegree at every vertex implies IsBalancedDigraph.
On a balanced digraph, 2 * dicutValue ends w S = cutValue ends w S.
On a balanced digraph, 2 * dicutSdpValue ends w v equals the MAX-CUT relaxation value of
v ∘ some.
Goemans–Williamson balanced MAX-DICUT guarantee. When w is balanced (equal weighted
outdegree and indegree at every vertex), random-hyperplane rounding achieves ratio α > 0.87856
[GoemansWilliamson1995, Section 7.3, p. 1138].