Relative error of symmetric rounding is at most
ProvedMetodosNumericos.sym_relative_errorFor and , symmetric rounding to digits satisfies . This is Proposição 2.4.3, the bound on the relative error committed at each operation of a -digit arithmetic; the inequality is stated non-strictly because equality occurs when the discarded tail is exactly half a unit in the last retained place.
import Mathlib import Definitions.Def_MetodosNumericos_errosDefs
namespace MetodosNumericos
theorem sym_relative_error (t : ℕ) (ht : 1 ≤ t) (x : ℝ) (hx : 0 < x) :
|x - symRound t x| / |symRound t x| ≤ (1 / 2 : ℝ) * (10 : ℝ) ^ (1 - (t : ℤ)) := by sorry
end MetodosNumericosRead-back
What the Lean code literally says, in plain math · self-authored-by-drafting-agent (non-blind)
Disclosure: this read-back is not blind. It was written by the same agent that drafted the Lean statement, at the explicit instruction of the mission's human owner, and not by an independent auditor with fresh context.
For a natural number with and a real with , write
The statement asserts
a non-strict inequality with the exponent an integer. Division is total: were zero, the left-hand side would be by convention. Nothing is asserted for or for .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.