Theorem 5.6 — an SDP sufficient condition for integer solutions of a feasibility SDP by robust rounding
ProvedRobustSDP.Structured.theorem_5_6Let with symmetric , and consider the feasibility problem (32): find an integer vector with . For write
put and , and let be the set of block-diagonal matrices with .
Suppose satisfies, for some , and ,
Then every integer vector closest to in the maximum norm, i.e. with for all , satisfies
so it solves (32).
The theorem applies the structured robustness analysis of Section 3.2 to error-in-variables problems: robustness of against perturbations of of size in each coordinate turns an SDP-feasible point into an integer solution by rounding. The integer feasibility problem itself is NP-hard in general.
Formalization Note The block structure is indexed by the sigma type ; is expressed through Mathlib's blockDiagonal' of a family of blocks. The hypothesis is kept as on the page; the conclusion does not depend on it. The paper's definition of writes "", a slip for . The maximum norm is Mathlib's sup norm on Fin m → ℝ; and are Matrix.PosDef and Matrix.PosSemidef. The printed -terms are consistent here ( is square and skew-symmetric), so no correction is needed.
import Mathlib import Definitions.Def_RobustSDP_Structured_Model open Matrix open scoped Matrix.Norms.L2Operator
namespace RobustSDP.Structured
/-- Theorem 5.6, p. 48 (§5.8, error-in-variables RSDPs). Let `F(x) = F₀ + ∑ xᵢFᵢ` with symmetric
`n × n` coefficients, and for `i = 1, …, m` write `Fᵢ = 2 LᵢRᵢ` with `Lᵢ, Rᵢᵀ ∈ ℝ^{n×rᵢ}`,
`rᵢ = rank Fᵢ`; put `L = [L₁ … L_m]`, `R = [R₁; …; R_m]` and let `𝒮` be the block-diagonal
matrices `diag(S₁, …, S_m)`, `Sᵢ ∈ ℝ^{rᵢ×rᵢ}`. If `x_feas` satisfies, for some `λ ≥ 0`,
`S = Sᵀ ∈ 𝒮` and `G = −Gᵀ ∈ 𝒮`,
`[[F(x_feas) − λI − LSLᵀ, (1/2)Rᵀ + LG], [(1/2)R − GLᵀ, S]] ≻ 0`,
then every integer vector `z` closest to `x_feas` in the maximum norm satisfies `F(z) ⪰ 0`
(is feasible for (32)). -/
theorem theorem_5_6 {m n : ℕ} (Fs : Fin (m + 1) → Matrix (Fin n) (Fin n) ℝ)
(hFs : ∀ i, (Fs i).IsSymm) (r : Fin m → ℕ)
(Ls : (i : Fin m) → Matrix (Fin n) (Fin (r i)) ℝ)
(Rs : (i : Fin m) → Matrix (Fin (r i)) (Fin n) ℝ)
(hFLR : ∀ i : Fin m, Fs i.succ = (2 : ℝ) • (Ls i * Rs i))
(hrank : ∀ i : Fin m, (Fs i.succ).rank = r i)
(xfeas : Fin m → ℝ) (lam : ℝ) (hlam : 0 ≤ lam)
(Sb Gb : (i : Fin m) → Matrix (Fin (r i)) (Fin (r i)) ℝ)
(hS : (blockDiagonal' Sb).IsSymm) (hG : (blockDiagonal' Gb)ᵀ = -blockDiagonal' Gb)
(hLMI : (fromBlocks
(affineMap Fs xfeas - lam • (1 : Matrix (Fin n) (Fin n) ℝ) -
blockRow Ls * blockDiagonal' Sb * (blockRow Ls)ᵀ)
((1 / 2 : ℝ) • (blockCol Rs)ᵀ + blockRow Ls * blockDiagonal' Gb)
((1 / 2 : ℝ) • blockCol Rs - blockDiagonal' Gb * (blockRow Ls)ᵀ)
(blockDiagonal' Sb)).PosDef) :
∀ z : Fin m → ℤ,
(∀ z' : Fin m → ℤ,
‖(fun i => (z i : ℝ)) - xfeas‖ ≤ ‖(fun i => (z' i : ℝ)) - xfeas‖) →
(affineMap Fs (fun i => (z i : ℝ))).PosSemidef := by sorry
end RobustSDP.Structured
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Take the following data:
- ;
- matrices , each assumed symmetric;
- sizes ;
- for each , matrices and .
Assume that for each :
The rank is over . No such assumption is made about .
Let be the block row and the block column, where .
Take further:
- a point ;
- a real ;
- for each , matrices .
Form the block-diagonal matrices and , which are zero off the diagonal blocks. Assume:
- is symmetric, ;
- is skew-symmetric, ;
- with , the following matrix is positive definite (symmetric, with for all nonzero ):
Conclusion. Let be any integer vector that is closest to in the maximum norm. That is, for every ,
Then is positive semidefinite (symmetric with nonnegative quadratic form). This applies to every such nearest integer vector when there are ties. The number does not appear in the conclusion.
Degenerate cases.
- : is the empty vector and the nearest-point condition is automatic. , , and are empty, so the hypothesis reduces to . The conclusion is then .
- : every matrix involved is empty, so the conclusion holds trivially.
- : the rank condition forces , and block contributes nothing to , , or .
- Consistency of the factorisation: with inner dimension is always possible for suitable and . The factorisation and rank hypotheses are therefore mutually consistent, but they tie the given , to the .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.