dyadic_sector_S
def
Given a natural number s and a real number t, let A = 2^s and B = A^2. The function dyadic_sector_S s t is defined by setting the integer j = ⌊Real.log (t * (B - 1)) / Real.log B⌋ and returning A^j / (A - 1) + (t - B^j / (B - 1)) * A^(-j).
Statement
noncomputable def dyadic_sector_S (s : ℕ) (t : ℝ) : ℝ
- Defined in
- arXiv:2611.07003; OP-1787
- Verified
- 17 Nov 2026
- Axioms
- none listed
- Used by 1
- dyadic_sector_S_knotFor every natural number s >= 1 with A = (2 : ℝ)^s and B = A^2, and for every integer j, dyadic_sector_S s (B ^ j / (B - 1)) = A ^ j / (A…
Read back from the Lean
A function dyadic_sector_S that takes a natural number s and a real number t, and returns the real number given by:
Let A = (2 : ℝ)^s and B = A^2.
Let j = ⌊ln(t * (B - 1)) / ln(B)⌋ as an integer.
The returned value is:
A^j / (A - 1) + (t - B^j / (B - 1)) * A^(-j)
where powers by j and -j are integer powers of real numbers.
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
/-- Piecewise linear geometric sector amplitude function S(t) for dyadic phase envelopes. -/ noncomputable def dyadic_sector_S (s : ℕ) (t : ℝ) : ℝ := let A : ℝ := (2 : ℝ) ^ s let B : ℝ := A ^ 2 let j : ℤ := ⌊Real.log (t * (B - 1)) / Real.log B⌋ A ^ j / (A - 1) + (t - B ^ j / (B - 1)) * A ^ (-j)