NLA-lib Explorer

NLAlib.QueryAlgorithm.gramDecode_history_gramSimulation

Library · theorem

The Gram simulation reproduces the history: after 2 * i rounds of alg.gramSimulation k against twoSidedMulVec X, the first components of the odd responses are the first i responses of alg against \mathbf{X}\mathbf{X}^{\mathsf{H}}. Holds for every i.

NLAlib.QueryAlgorithm.gramDecode_history_gramSimulation.{u_3, u_4, u_5, u_6} {β : Type u_3} {q : ℕ}
  {𝕜 : Type u_4} {d : Type u_5} {k : Type u_6} [RCLike 𝕜] [Fintype d] [Fintype k]
  (alg : QueryAlgorithm (d → 𝕜) (d → 𝕜) q β) (X : Matrix d k 𝕜) (i : ℕ) :
  QueryAlgorithm.gramDecode
      ((QueryAlgorithm.gramSimulation k alg).history (twoSidedMulVec X) (2 * i)) =
    alg.history (X * Xᴴ).mulVec i

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.Basic.