Real Iterated Base-2 Logarithm #
This module defines the real iterated base-2 logarithm iterLogReal k x, clamped to 0 once an
iterate falls into (-∞, 1], and develops its monotonicity, antitone-in-depth, and Nat.twoTower
/ Nat.logStar comparison API.
Main definitions #
Cslib.Analysis.SpecialFunctions.iterLogReal:k-fold base-2 logarithm onℝ, returning0after an iterate reaches≤ 1.
Main results #
Cslib.Analysis.SpecialFunctions.iterLogReal_mono:iterLogReal kis monotone onℝ.Cslib.Analysis.SpecialFunctions.iterLogReal_anti:iterLogReal k xis antitone inkfor0 ≤ x.Cslib.Analysis.SpecialFunctions.iterLogReal_twoTower_add: exact evaluationiterLogReal k (Nat.twoTower (k + m)) = Nat.twoTower m.Cslib.Analysis.SpecialFunctions.twoTower_lt_iterLogReal_of_logStar: strict lower bound relatingNat.logStartoiterLogReal.
Iterated base-2 real logarithm log₂^(k)(x), clamped to 0 once an iterate reaches ≤ 1.
Step equation for iterLogReal on its natural domain 1 < iterLogReal k x.
Step equation when iterLogReal k x ≤ 1: all further iterates vanish.
Every positive iterate (k ≥ 1) is nonnegative.
Positive iterLogReal (k + 1) x forces 1 < iterLogReal k x.
For iterLogReal (k + 1) x > 0, 2 ^ iterLogReal (k + 1) x = iterLogReal k x.
iterLogReal k is unconditionally monotone in x.
Strict monotonicity of iterLogReal k when the lower argument keeps 0 < iterLogReal k x.
Applying Real.logb 2 once on 1 < x shifts iterLogReal.
Base-2 iterated logarithm of a tower of twos:
iterLogReal k (Nat.twoTower (k + m)) = Nat.twoTower m.
If Nat.twoTower (k + m) ≤ ℓ, then Nat.twoTower m ≤ iterLogReal k ℓ.
If k + m + 1 ≤ Nat.logStar ℓ, then Nat.twoTower m < iterLogReal k ℓ.
If 1 ≤ iterLogReal (k + 1) x, then 2 ≤ iterLogReal k x.
iterLogReal (k + 1) x ≤ iterLogReal k x whenever 0 ≤ iterLogReal k x.
iterLogReal k x is antitone in k for 0 ≤ x.
If 1 ≤ iterLogReal k x, then 1 ≤ iterLogReal j x for all j ≤ k.