Lemma 7.2: expectation of the Wirtinger gradient
ProvedWirtingerFlow.expected_gradientLet with , let be fixed, and let use the data . In the Gaussian model with samples, and in the coded diffraction model with patterns of admissible law with ,
In expectation, Wirtinger flow is therefore gradient descent on a function whose minimisers are the vectors .
Formalization Note The expectation of the vector is a Bochner integral in . The normalisation is made explicit as in Lemma 7.1.
import Mathlib import Definitions.Def_WirtingerFlow_Basic open MeasureTheory ProbabilityTheory Complex Matrix
namespace WirtingerFlow
theorem expected_gradient {n : ℕ} (x : Sig n) (hx : ‖x‖ = 1) (z : Sig n) :
(∀ m : ℕ, 1 ≤ m →
∫ A, grad (rows A) (meas (rows A) x) z ∂(gaussModel m n) =
z - inner ℂ x z • x + ((2 * (‖z‖ ^ 2 - 1) : ℝ) : ℂ) • z) ∧
(∀ (ν : Measure ℂ) (M : ℝ), IsAdmissible ν M → ∫ d, ‖d‖ ^ 2 ∂ν = 1 →
∀ L : ℕ, 1 ≤ L →
∫ d, grad (cdpVecs d) (meas (cdpVecs d) x) z ∂(cdpModel ν L n) =
z - inner ℂ x z • x + ((2 * (‖z‖ ^ 2 - 1) : ℝ) : ℂ) • z) := by sorry
end WirtingerFlowRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement is a conjunction of two claims about a fixed unit vector and an arbitrary point in .
Setting. Let be a natural number. Let , with the standard Euclidean norm and inner product , which is conjugate-linear in the first slot. The only hypothesis is . This forces , since for the only vector is . The point is arbitrary.
The gradient. For a finite index set of size , sampling vectors in , and data , the gradient at is
Both claims assert that the expectation of over random sampling vectors equals the same vector
where . All expectations are Bochner integrals of -valued functions. By convention such an integral is defined to be if the integrand is not integrable.
Claim 1 (Gaussian model). For every integer :
- Let be independent.
- Each has independent coordinates.
- Each coordinate is , with and independent real Gaussians of mean and variance .
Then, with ,
Claim 2 (coded diffraction model). Let be any measure on and any real number. Assume is admissible with bound , meaning all of the following hold for :
- is a probability measure.
- has the same law as .
- almost surely. This is impossible if , so effectively .
- .
- .
- .
Assume additionally that , so that .
Then the claim holds for every integer , under the following model:
- Draw independent patterns , for .
- All entries are independent with law .
- Index the sampling vectors by pairs with and , so .
- Each sampling vector has entries
The claim is that
In both claims, the data are computed from the same random sampling vectors that appear in the gradient.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.