NLA-lib Explorer

NLAlib.SmallEig.abs_sqrtThreeWord_sub_le

Library · theorem

Standard rounding

The computed \sqrt3/2 of NLAlib.SmallEig.oneEigDirections is within 3.6\boldsymbol{u}: \lvert\mathrm{fl}(\mathrm{fl}(\sqrt{\mathrm{fl}(3)})\,\mathrm{fl}(1/2)) - \sqrt3/2\rvert \le 3.6\boldsymbol{u} in the standard model at 0 \le \boldsymbol{u} \le 1/100.

NLAlib.SmallEig.abs_sqrtThreeWord_sub_le {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M)
  (hu0 : 0 ≤ u) (hu : u ≤ 1 / 100) : |M.mul (M.sqrt (M.lit 3)) (M.lit (1 / 2)) - √3 / 2| ≤ 3.6 * u

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.OneEigRounding.