NLAlib.HutchPlusPlus.measureReal_not_accepts_le_of_hasLaw_gaussianMatrix
Library · theorem
Gaussian matrix laws and independence give the existing explicit Hutch++ tail bound for the actual stored output, with all same-run resource and word guarantees retained. The positive sketch width and embedding dimension are numerical assumptions; the word certificate itself admits rank deficiency and unrestricted sketch width. No execution-success hypothesis or unknown reference failure estimate is supplied. [MeyerMuscoMuscoWoodruff2021, Theorem 4 and §5, Algorithm 3].
NLAlib.HutchPlusPlus.measureReal_not_accepts_le_of_hasLaw_gaussianMatrix (dataLength : ℕ → ℕ → ℕ)
(matrix : (m n : ℕ) → List ℝ → Matrix (Fin m) (Fin n) ℝ)
(work workspace : Ops.ExactLinear.Operation → List ℕ → ℕ) (w stream : ℕ)
(algorithm :
Ops.Algorithm
(Ops.ExactLinear.model (HutchPlusPlus.Certification.problem dataLength) dataLength matrix work
workspace)
(HutchPlusPlus.Certification.specification dataLength matrix work workspace w stream))
{d : Fin 3 → ℕ} (hProbes : 0 < d 2) (hSketch : 0 < d 1)
(input : (HutchPlusPlus.Certification.problem dataLength).Input d)
(I : Ops.Interp Ops.ExactLinear.Operation Ops.CmpTst ℝ)
(hI :
(Ops.ExactLinear.model (HutchPlusPlus.Certification.problem dataLength) dataLength matrix work
workspace).contracts
d input I)
{Omega : Type} [MeasurableSpace Omega] (P : Measure Omega)
(S : Omega → Matrix (Fin (d 0)) (Fin (d 1)) ℝ) (G : Omega → Matrix (Fin (d 0)) (Fin (d 2)) ℝ)
(hS : HasLaw S (gaussianMatrix (Fin (d 0)) (Fin (d 1))) P)
(hG : HasLaw G (gaussianMatrix (Fin (d 0)) (Fin (d 2))) P) (hSG : S ⟂ᵢ[P] G) {rank : ℕ}
{delta tolerance : ℝ} (hDelta : 0 < delta)
(hSize : subgaussianEmbeddingDim 1 rank (1 / 2) (delta / 2) ≤ ↑(d 1))
(hTolerance : 0 ≤ tolerance) :
P.real
{omega |
¬(HutchPlusPlus.Certification.specification dataLength matrix work workspace w
stream).Accepts
algorithm.program I (Ops.ExactLinear.resources work workspace)
(HutchPlusPlus.packedSampleTape stream (S omega) (G omega)) d input fun c m ↦
(HutchPlusPlus.Certification.specification dataLength matrix work workspace w
stream).good
d input (HutchPlusPlus.packedSampleTape stream (S omega) (G omega)) c m ∧
HutchPlusPlus.StoresApproxTrace (matrix (d 0) (d 0) ↑(↑input).1) tolerance (1, 0) m} ≤
delta +
2 *
rexp
(-(hansonWrightConstant *
min
(↑(d 2) * tolerance ^ 2 /
(subgaussianRangeFinderFactor 1 *
frobNorm
(matrix (d 0) (d 0) ↑(↑input).1 -
truncatedSVD (matrix (d 0) (d 0) ↑(↑input).1) rank) ^
2))
(↑(d 2) * tolerance /
(√(subgaussianRangeFinderFactor 1) *
frobNorm
(matrix (d 0) (d 0) ↑(↑input).1 -
truncatedSVD (matrix (d 0) (d 0) ↑(↑input).1) rank)))))Import NLAlib.Estimation.Trace.HutchPlusPlus.Probability.