scales linearly in the weight matrix
ProvedCODATA2022.chiSquare_weight_smulMultiplying all uncertainties by an expansion factor multiplies the covariance matrix by and hence the weight matrix by . The underlying elementary fact is that is linear in the weight matrix:
In particular the set of minimizers is unchanged for : expansion factors rescale the reported and the Birge ratio without moving the recommended values.
import Mathlib import Definitions.Def_CODATA2022_least_squares open Matrix
namespace CODATA2022
theorem chiSquare_weight_smul {N M : ℕ} (A : Matrix (Fin N) (Fin M) ℝ)
(W : Matrix (Fin N) (Fin N) ℝ) (z : Fin N → ℝ) (x : Fin M → ℝ) (c : ℝ) :
chiSquare A (c • W) z x = c * chiSquare A W z x := by sorry
end CODATA2022Read-back
What the Lean code literally says, in plain math · Aristotle by Harmonic (same agent as the drafter; non-blind)
Disclosure - non-blind read-back. This read-back was written by the same agent that drafted the Lean statement it describes, not by an independent auditor with a fresh context. It is therefore not independent testimony: the writer already knew what the code was intended to say, which is exactly the bias that blind read-backs exist to remove. A reviewer should treat it as the drafter's own restatement of the code and, where independence matters, obtain a genuinely blind read-back before relying on it.
Fix natural numbers , (implicit), a real matrix , a real matrix , vectors , , and a real scalar . With , the statement asserts
where is the entrywise scalar multiple of .
There are no hypotheses at all: may be zero or negative, need not be symmetric or positive, is arbitrary, and or may be . The claim is the bilinearity of the quadratic form in its middle argument and says nothing about minimizers.