NLA-lib Explorer

NLAlib.integral_norm_sub_sketchAndProjectIterate_succ_sq_of_hasLaw_iidSequence

Library · theorem

The one-step identity in expectation: for a consistent system \mathbf{A}\mathbf{x}_\star = \mathbf{b} and independent sketches \mathbf{S}_0, \mathbf{S}_1, \ldots, each with the pro\mathbf{b}a\mathbf{b}ility law \nu, the iterates \mathbf{x}_q = \mathsf{sketchAndProjectIterate}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}_0, q) satisfy, with \mathbf{Z} = (\mathbf{S}\mathbf{A})^{+}\mathbf{S}\mathbf{A} for \mathbf{S} \sim \nu, \mathbb{E}\|\mathbf{x}_\star - \mathbf{x}_{q+1}\|^2 = \mathbb{E}\|\mathbf{x}_\star - \mathbf{x}_q\|^2 - \mathbb{E}\operatorname{Re}\langle \mathbf{x}_\star - \mathbf{x}_q, \mathbb{E}_{\nu}[\mathbf{Z}](\mathbf{x}_\star - \mathbf{x}_q)\rangle\,. [GowerRichtarik2015, proof of Theorem 4.6].

NLAlib.integral_norm_sub_sketchAndProjectIterate_succ_sq_of_hasLaw_iidSequence.{u_1, u_2, u_3, u_4,
    u_5}
  {𝕜 : Type u_1} [RCLike 𝕜] {k : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype k] [Fintype m]
  [Fintype n] {Ω : Type u_5} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [DecidableEq n]
  {ν : Measure (Matrix k m 𝕜)} [IsProbabilityMeasure ν] {S : Ω → ℕ → Matrix k m 𝕜}
  (hS : HasLaw S (iidSequence ν) μ) {A : Matrix m n 𝕜} {b : m → 𝕜} {xs : n → 𝕜} (hxs : A *ᵥ xs = b)
  (x₀ : n → 𝕜) (q : ℕ) :
  ∫ (ω : Ω), ‖WithLp.toLp 2 (xs - sketchAndProjectIterate A (S ω) b x₀ (q + 1))‖ ^ 2 ∂μ =
    ∫ (ω : Ω), ‖WithLp.toLp 2 (xs - sketchAndProjectIterate A (S ω) b x₀ q)‖ ^ 2 ∂μ -
      ∫ (ω : Ω),
        RCLike.re
          (quadForm (∫ (T : Matrix k m 𝕜), rangeProjector (T * A)ᴴ ∂ν)
            (xs - sketchAndProjectIterate A (S ω) b x₀ q)) ∂μ

Full source on GitHub

Import NLAlib.Regression.SketchAndProject.