def qExp (q x : ℝ) : ℝ := if q = 1 then Real.exp x else (max 0 (1 + (1 - q) * x)) ^ (1 / (1 - q))
thesis/CESProofs/Potential/Defs.lean:32
Core definitions for the Lean formalization of Paper 2: