Propagation of absolute errors under addition and subtraction
ProvedMetodosNumericos.error_propagation_add_subfloating-pointnumerical-analysis
With and , the errors of the sum and the difference are and . These are items 1 and 2 of §2.5.1.
Preamble
import Mathlib
Formal statement
namespace MetodosNumericos
theorem error_propagation_add_sub (x y xt yt : ℝ) :
(x + y) - (xt + yt) = (x - xt) + (y - yt) ∧
(x - y) - (xt - yt) = (x - xt) - (y - yt) := by sorry
end MetodosNumericosSource
S. R. Freitas, Métodos Numéricos (UFMS, 2000), Cap. 2, §2.5.1 items 1–2, p. 25.
Read-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 arbitrary reals , , , , with no hypotheses whatever, the statement asserts the conjunction of two identities:
Nothing requires or to be approximations of and in any quantitative sense; they are arbitrary reals.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.