for
ProvedRoughSurfaceScattering.log_gauss_integralgamma-functionintegralsspecial-functions
For with (principal branches),
Proof idea. For real : differentiate at , using . The value of follows from Legendre's duplication formula and . Both sides are analytic in on , so the identity extends there.
Preamble
import Mathlib import Definitions.Def_RoughSurfaceScattering_Basic open MeasureTheory
Formal statement
namespace RoughSurfaceScattering
theorem log_gauss_integral (b : ℂ) (hb : 0 < b.re) :
∫ u in Set.Ioi (0 : ℝ), Complex.exp (-b * (u : ℂ) ^ 2) * (Real.log u : ℂ) =
-((Real.sqrt Real.pi : ℂ) / (4 * b ^ (1 / 2 : ℂ))) *
((Real.eulerMascheroniConstant : ℂ) + Complex.log (4 * b)) := by sorry
end RoughSurfaceScattering
Source
Gaussian–logarithmic integral via the Gamma function (Gradshteyn–Ryzhik 4.333; follows from ∫_0^∞ u^{s} e^{-bu²} du = Γ((s+1)/2)/(2 b^{(s+1)/2}) and ψ(1/2) = -γ - 2 log 2).