Number of dyadic blocks
DefinitionLL_Decomp1543a_JnFor natural and real , define , where is the natural-number floor, truncated at zero.
Definition code
import Mathlib open Real Finset ArithmeticFunction namespace LL_Decomp1543a noncomputable def Jn (N : ℕ) (U V : ℝ) : ℕ := ⌊Real.log (N / (U * V)) / Real.log 2⌋₊ + 1 end LL_Decomp1543a
Read-back
What the Lean code literally says, in plain math · claude-haiku
For and , is the natural number
where is cast to a real number, is the real natural logarithm, and is the floor of for and for . No hypotheses are imposed. Real division by gives , and , so gives . For , means , so the signs of and are irrelevant. Hence, for , exactly when , and for exactly when . The value is always at least .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.