The renormalization-group flow of the decay exponent #
The paper's β-function is β(γ) = −(1 − γ²)/2. Its formula tables also state the potential
V(γ) = γ − γ³/3 with β = −V'; the two are inconsistent by a factor 2.
Main results #
logistic_beta: withx = (1 − γ)/2,x (1 − x) = (1 − γ²)/4(logistic ODE ↔β).deriv_V,neg_deriv_V_ne_beta: forV(γ) = γ − γ³/3,V' = 1 − γ², and−V'(γ) ≠ β(γ)forγ ∉ {−1, 1}(the factor-2 finding).deriv_V_correct,neg_deriv_V_correct: the corrected potentialγ/2 − γ³/6has−V' = −(1 − γ²)/2 = β.trajectory_sign_inversion: negating a trajectory flips the sign of the velocity.rg_flow_tanh:γ(t) = tanh (t/2 + c)solvesγ' = (1 − γ²)/2.
Related #
Mathlib has Real.hasDerivAt_sinh, Real.hasDerivAt_cosh and Real.tanh_eq_sinh_div_cosh; at
the pinned commit it has no derivative lemma for Real.tanh, so rg_flow_tanh uses the quotient
rule. Current Mathlib has none either (checked with Loogle and LeanSearch, October 2026);
physlib has one, prepared for Mathlib, in
Physlib/Mathematics/ForMathlib/Trigonometry/Tanh.lean.
References #
- C. Marín, Predicting How Transformers Attend (2026), §19, §23 of the formula toolkit,
Zenodo 19826343. Ported from
Taf/RGFlow.leanandTaf/ScalingLawIdentities.leanof karlesmarin/lean-taf (Lean v4.30.0-rc2).