Theorem (natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt).Chebyshev fixed-batch Frobenius query lower bound, integer sizes: let k \ge 1, m, r and q be natural numbers and n = k + (r + 1)m, with 0 < \varepsilon \le \varepsilon_r and m = \lfloor k/(16\varepsilon(r+1)^3) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in at most r batches (the products of a batch are chosen before any response of that batch is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric positive semidefinite \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > \frac{k}{C_r\,\varepsilon} \,. Here <!-- value chebyshevQueryFactor r --> C_r = 12544(r+1)^3 and <!-- value chebyshevAccuracyBound r --> \varepsilon_r = 1/(25088(r+1)^3(r+2)). No printed source.
Headline
Notes
C_r is chebyshevQueryFactor r (chebyshevQueryFactor_le) and \varepsilon_r is chebyshevAccuracyBound r (le_chebyshevAccuracyBound). The n coordinates are indexed by Fin k ⊕ (Fin (r + 1) × Fin m): a head of k coordinates and r + 1 tail levels of m each. General form, with finite index types in place of k and m: div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt. The hard spectrum has its head at 1+1/(8(r+1)^2) and Chebyshev tail levels in [1/2,1] (chebyshevLevelSpectrum). The dependence on the batch count is polynomial; its optimal exponent is not asserted. Asymptotic form: exists_forall_natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt.
Lean statement and details
NLAlib.natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt.{u_3}
{k m r q : ℕ} {ε : ℝ} (hk : 0 < k) (hε : 0 < ε) (hεr : ε ≤ chebyshevAccuracyBound r)
(hm : m = ⌊↑k / (16 * ε * (↑r + 1) ^ 3)⌋₊) {S : Type u_3} [MeasurableSpace S]
{alg :
S →
QueryAlgorithm (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k) ℝ ×
Matrix (Fin k) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < r)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ),
A.PosSemidef →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) :
↑k / (chebyshevQueryFactor r * ε) < ↑q
Theorem (div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt).Chebyshev fixed-batch Frobenius query lower bound: for every natural r, positive target rank, 0<\varepsilon at most <!-- value chebyshevAccuracyBound r --> 1/(25088(r+1)^3(r+2)) \,, and \lvert m\rvert=\lfloor \lvert k\rvert/(16\varepsilon(r+1)^3)\rfloor, every measurable randomized algorithm using at most r batches and attaining squared relative Frobenius error 1+\varepsilon with probability at least 1/2 on every PSD input of dimension \lvert k\rvert+(r+1)\lvert m\rvert uses <!-- value chebyshevQueryFactor r --> q>\frac{\lvert k\rvert}{12544(r+1)^3\varepsilon} queries. No printed source.
General form: sizes are index types
Notes
the hard spectrum has its head at 1+1/(8(r+1)^2) and Chebyshev tail levels in [1/2,1] (chebyshevLevelSpectrum). The dependence on the batch count is polynomial; its optimal exponent is not asserted. The integer-size form is natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt
Lean statement and details
NLAlib.div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt.{u_1,
u_2, u_3}
{k : Type u_1} {m : Type u_2} [Fintype k] [Fintype m] [Nonempty k] {r : ℕ} {ε : ℝ} {q : ℕ}
(hε : 0 < ε) (hεr : ε ≤ chebyshevAccuracyBound r)
(hm : Fintype.card m = ⌊↑(Fintype.card k) / (16 * ε * (↑r + 1) ^ 3)⌋₊) {S : Type u_3}
[MeasurableSpace S]
{alg :
S →
QueryAlgorithm (k ⊕ Fin (r + 1) × m → ℝ) (k ⊕ Fin (r + 1) × m → ℝ) q
(Matrix (k ⊕ Fin (r + 1) × m) k ℝ × Matrix k (k ⊕ Fin (r + 1) × m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < r)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (k ⊕ Fin (r + 1) × m) (k ⊕ Fin (r + 1) × m) ℝ),
A.PosSemidef →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A (Fintype.card k)) ^ 2}) :
↑(Fintype.card k) / (chebyshevQueryFactor r * ε) < ↑q
Theorem (div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt).Fixed-batch Frobenius query lower bound: for every natural r, positive target rank, 0<\varepsilon at most <!-- value equispacedAccuracyBound r --> 1/(512\cdot4^{r+1}(r+1)(r+2)^2) \,, and \lvert m\rvert=\lfloor \lvert k\rvert/(\varepsilon(r+1)(r+2))\rfloor, every measurable randomized algorithm using at most r batches and attaining squared relative Frobenius error 1+\varepsilon with probability at least 1/2 on every PSD input of dimension \lvert k\rvert+(r+1)\lvert m\rvert. The query lower bound is <!-- value equispacedQueryFactor r --> q>\frac{\lvert k\rvert}{256\cdot4^{r+1}(r+1)(r+2)\varepsilon} \,. Constants are conservative; for r \ge 3 the Chebyshev bound div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt has the smaller query factor. No printed source.
General form: sizes are index types
Lean statement and details
NLAlib.div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt.{u_1, u_2, u_3}
{k : Type u_1} {m : Type u_2} [Fintype k] [Fintype m] [Nonempty k] {r : ℕ} {ε : ℝ} {q : ℕ}
(hε : 0 < ε) (hεr : ε ≤ equispacedAccuracyBound r)
(hm : Fintype.card m = ⌊↑(Fintype.card k) / (ε * (↑r + 1) * (↑r + 2))⌋₊) {S : Type u_3}
[MeasurableSpace S]
{alg :
S →
QueryAlgorithm (k ⊕ Fin (r + 1) × m → ℝ) (k ⊕ Fin (r + 1) × m → ℝ) q
(Matrix (k ⊕ Fin (r + 1) × m) k ℝ × Matrix k (k ⊕ Fin (r + 1) × m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < r)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (k ⊕ Fin (r + 1) × m) (k ⊕ Fin (r + 1) × m) ℝ),
A.PosSemidef →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A (Fintype.card k)) ^ 2}) :
↑(Fintype.card k) / (equispacedQueryFactor r * ε) < ↑q
Theorem (exists_forall_natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt).\Omega(k/(\varepsilon(r+1)^3)) matrix–vector products are necessary for fixed-batch Frobenius low-rank approximation: there are absolute constants c, \varepsilon_0 > 0 such that the following holds for all natural numbers k \ge 1, m, r and q and n = k + (r + 1)m, with 0 < \varepsilon \le \varepsilon_0/((r+1)^3(r+2)) and m = \lfloor k/(16\varepsilon(r+1)^3) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in at most r batches (the products of a batch are chosen before any response of that batch is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric positive semidefinite \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > c\,\frac{k}{\varepsilon(r+1)^3} \,. The dependence on the batch count r stays in the thresholds. No printed source.
Notes
the asymptotic form of natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt, proved from it with c = 1/12544 and \varepsilon_0 = 1/25088, the constants in the values of chebyshevQueryFactor r, <!-- value chebyshevQueryFactor r -->12544(r+1)^3, and chebyshevAccuracyBound r, <!-- value chebyshevAccuracyBound r -->1/(25088(r+1)^3(r+2)). NLAlib.natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt
Lean statement and details
NLAlib.exists_forall_natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt :
∃ c ε₀,
0 < c ∧
0 < ε₀ ∧
∀ {S : Type} [inst : MeasurableSpace S] (k m r q : ℕ) (ε : ℝ)
(alg :
S →
QueryAlgorithm (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k) ℝ ×
Matrix (Fin k) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ))
(pass : S → ℕ → ℕ) (ρ : Measure S) [IsProbabilityMeasure ρ],
0 < k →
0 < ε →
ε ≤ ε₀ / ((↑r + 1) ^ 3 * (↑r + 2)) →
m = ⌊↑k / (16 * ε * (↑r + 1) ^ 3)⌋₊ →
QueryAlgorithm.IsMeasurableFamily alg →
(∀ (s : S), (alg s).IsPassStructured (pass s)) →
(∀ (s : S), ∀ i < q, pass s i < r) →
(∀
(A :
Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ),
A.PosSemidef →
1 / 2 ≤
ρ.real
{s |
frobNorm
(A -
((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^
2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) →
c * (↑k / (ε * (↑r + 1) ^ 3)) < ↑q
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.