Documentation

CslibFrontier.Computability.LogSpaceDerandomization.RowCompression.ClippedError

Recovering coordinate bounds from small clipped errors #

Below one, the maximum of the clipped relative first-channel error and clipped absolute second-channel error bounds both original errors. This shared fact is used by the static polynomial comparison and by the adjacent-prefix sentinel estimates.

Main results #

theorem Cslib.RowCompression.abs_sub_le_of_clippedError_le {d v ε : ℝ} {w : Fin 2 → ℝ} (hd : 0 ≤ d) (hε : ε < 1) (he : clippedError d v w ≤ ε) :
|w 0 - d| ≤ (1 + d) * ε ∧ |w 1 - v| ≤ ε

Below one, clipping discards no information. The first target may be arbitrarily large.