stein_residual
def
Given a real number Y, the normalized residual stein_residual Y is defined as stein_number_count (Y ^ 4) / Y - (4 / Real.pi ^ 2) * Real.log Y.
Statement
noncomputable def stein_residual (Y : ℝ) : ℝ
- Defined in
- arXiv:2611.05898
- Verified
- 05 Nov 2026
- Axioms
- none listed
- Built on 1
- stein_number_countGiven a real number X, the counting function stein_number_count X is defined as the real number of natural numbers n in Finset.Ioc 0 ⌊X⌋₊…
Read back from the Lean
stein_residual is a definition of a function from ℝ to ℝ that maps a real number Y to stein_number_count (Y ^ 4) / Y - (4 / Real.pi ^ 2) * Real.log Y.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The normalized residual R(Y) for the Stein number counting function. -/ noncomputable def stein_residual (Y : ℝ) : ℝ := stein_number_count (Y ^ 4) / Y - (4 / Real.pi ^ 2) * Real.log Y