§4.3, (13) — the acceptance test (8) as integer comparisons
ProvedKelnerLinSolve.test_eq_13bit-complexitylinear-systemsnumerical-linear-algebrap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1
Let , and let with integers and (). Put and . Then
The test therefore uses only the exact reconstructed fractions and integer arithmetic, never products with the floating-point data.
Differences from the source:
- generalization: R and S powers of two → any natural numbers R, S; reason: the equivalence holds for all of them and specializes
- encoding: 2^E 8n² → the product 2^E · 8 · n²; reason: the page's juxtaposition is a product
Preamble
import Mathlib import Definitions.Def_KelnerLinSolve_kappa2
Formal statement
namespace KelnerLinSolve
/-- **§4.3, the acceptance test as integer comparisons, Equation (13)**, Kelner, *Solving Linear
Systems in Õ(mn log(κ/ε)) Bit Operations*, STOC 2027 submission (sha256 d1af55cb…), p.14. "The test
uses only the exact reconstructed fractions, not products with the original floating-point data. If
`zᵢ = aᵢ/gᵢ` with `gᵢ > 0`, it is equivalent to the `n` integer comparisons
`2^E 8n²(R|aᵢ| + gᵢ) ≤ Sgᵢ (1 ≤ i ≤ n)`. (13)"
With `y = Rz` and `ε = 2^{−E}`, the test (8) `8n²(‖y‖_∞ + 1) ≤ εS` holds if and only if all `n`
comparisons (13) hold, for every representation `zᵢ = aᵢ/gᵢ` with integers `aᵢ` and `gᵢ > 0`.
**Formalization Note.** `2^E 8n²` is the product `2^E · 8 · n²`. `R` and `S` are any natural numbers
(on the page they are powers of two). -/
theorem test_eq_13 {n : ℕ} (E R S : ℕ) (a g : Fin n → ℤ) (hg : ∀ i, 0 < g i) :
let y : Fin n → ℝ := fun i => (R : ℝ) * ((a i : ℝ) / (g i : ℝ))
(8 * (n : ℝ) ^ 2 * (infNorm y + 1) ≤ (2 : ℝ) ^ (-(E : ℤ)) * S ↔
∀ i, (2 : ℤ) ^ E * 8 * (n : ℤ) ^ 2 * ((R : ℤ) * |a i| + g i) ≤ (S : ℤ) * g i) := by sorry
end KelnerLinSolve
Source
Kelner, Solving Linear Systems in Õ(mn log(κ/ε)) Bit Operations, STOC 2027 submission (sha256 d1af55cb…), §4.3, p.14, Equation (13)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.