Upper saturation with bounded common loss #
Relative error in a scalar becomes absolute error after upper saturation when the common additive loss is bounded by the saturation scale. There is no upper bound on the true scalar. This is the scalar estimate used by polynomial row outputs and reusable by two-signal outputs; it does not change any row, default or compression state.
Main results #
Cslib.RowCompression.abs_min_add_sub_min_add_le: the capped discrepancy is at most(4 * θ + 5) * εfor relative errorε ≤ 1 / 2and common loss of magnitude at mostθ.
theorem Cslib.RowCompression.abs_min_add_sub_min_add_le {d raw loss ε θ : ℝ} (hθ : 0 < θ) (hε : 0 ≤ ε) (hεsmall : ε ≤ 1 / 2) (hraw : |raw - d| ≤ (1 + d) * ε) (hloss : |loss| ≤ θ) :
A bounded common loss permits upper saturation to turn relative error into absolute error.
The proof is extracted unchanged from PolynomialAtomRows.ClippedError.