NLA-lib Explorer

NLAlib.HutchPlusPlus.Certification.claim

Library · def

The randomized claim of the Hutch++ certificate ([MeyerMuscoMuscoWoodruff2021, Theorem 4]). The tape is the packing of two independent standard Gaussian matrices, the sketch of d 1 columns and the d 2 probes, on the stream stream. For a sketch of positive width at least the subgaussian embedding dimension of the rank at failure probability delta / 2, the counted run stores a trace estimate within tolerance of the trace, except with probability at most delta plus the Hanson–Wright tail of the residual of rank rank.

NLAlib.HutchPlusPlus.Certification.claim (dataLength : ℕ → ℕ → ℕ)
  (matrix : (m n : ℕ) → List ℝ → Matrix (Fin m) (Fin n) ℝ)
  (work workspace : Ops.ExactLinear.Operation → List ℕ → ℕ) (w stream : ℕ)
  (hWorkspace : ∀ (o : Ops.ExactLinear.Operation) (d : List ℕ), workspace o d ≤ w) (rank : ℕ)
  (delta tolerance : ℝ) (hDelta : 0 < delta) (hTolerance : 0 ≤ tolerance) :
  Ops.RandomizedClaim
    (HutchPlusPlus.Certification.algorithm dataLength matrix work workspace w hWorkspace stream)

Full source on GitHub

Import NLAlib.Estimation.Trace.HutchPlusPlus.Probability.