Documentation

Lightlike.Asymptotics.GammaBoundsTests

Trust checks for the uniform bounds on 1/Γ and Γ #

Known value: Re f(i) = −π/2 and Re f(−i) = −π/2.

Known value: the reflection formula at w = 0 gives Γ(½) Γ(½) = π, the square of Mathlib's value Γ(½) = √π.

Wrong input fails: without the term π |Im w|, the reflection of the Stirling exponent would be Re f(−w) = −Re f(w), which is false at w = i.

Non-vacuity of norm_inv_Gamma_half_add_le and norm_Gamma_half_add_le at w = 2i: ‖1/Γ(½ + 2i)‖ ≤ exp(3/8 + π) and ‖Γ(½ + 2i)‖ ≤ √(2π) exp(3/8 − π).

Junk value: Lean's log 0 = 0 gives f(0) = 0, which is also the limit of w log w − w at 0.

Junk value: Mathlib's Γ(−n) = 0 gives 1/Γ(−n) = 0, the true value of the entire function 1/Γ.