Selberg's integral, the case
OpenKeatingSnaith.selberg_morris_oneThis is the variant of Selberg's integral used throughout Chapter 2 of the source, in the case , that the chapter actually needs.
Let and let be real numbers subject to
- ,
- ,
- .
These are the conditions (2.1.3) of the source at ; the third is exactly what makes the integral converge. Then
where the complex powers are taken with the principal branch (legitimate since has real part ).
This evaluation is the analytic engine of the whole chapter: each CUE average computed in the mission is brought into this shape by a change of variables and then read off from the right-hand side. It is of independent interest as the first Selberg-type integral available in a formal library.
import Definitions.Def_keating_snaith_cue
namespace KeatingSnaith
open Finset MeasureTheory Filter Topology
open scoped Real
/-- Selberg–Morris integral, the `γ = 1` case (thesis eq. (2.1.2)–(2.1.3)). -/
theorem selberg_morris_one (N : ℕ) (hN : 1 ≤ N) (a b : ℝ)
(ha : (N : ℝ) - 1 < a) (hb : (N : ℝ) - 1 < b)
(hab : 2 * ((N : ℝ) - 1) < a + b - 1) :
∫ x : Fin N → ℝ,
((∏ p ∈ Finset.univ.filter (fun p : Fin N × Fin N => p.1 < p.2),
(x p.1 - x p.2) ^ 2 : ℝ) : ℂ) *
∏ n, ((1 + x n * Complex.I) ^ (-a : ℂ) * (1 - x n * Complex.I) ^ (-b : ℂ))
= (((2 * Real.pi) ^ N / (2 : ℝ) ^ ((a + b) * N - N * ((N : ℝ) - 1) - N) *
∏ j ∈ Finset.range N,
Real.Gamma (2 + j) * Real.Gamma (a + b - N - j) /
(Real.Gamma 2 * Real.Gamma (a - j) * Real.Gamma (b - j)) : ℝ) : ℂ) := by
sorry
end KeatingSnaithRead-back
What the Lean code literally says, in plain math · Aristotle by Harmonic (self-authored, non-blind)
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the mission owner; it was not written blind by an independent auditor. It therefore reports only what the author of the statement reads in it, and cannot serve the usual purpose of catching the author's own misreading of the author's own code. Reviewers should treat it as author's commentary rather than independent evidence of faithfulness, and should commission a blind read-back from a separate auditor where independent assurance is required.
Fix a natural number and real numbers and (the source's and ). The hypotheses are: ; ; ; and . These are simultaneously satisfiable — for example , — so the statement is not vacuous.
Under those hypotheses the claim is an equality of complex numbers. On the left is the integral over all of (Lebesgue measure, unrestricted) of the complex-valued function
where the first product runs over ordered index pairs and is a real number coerced into , and the powers , are complex powers with the principal branch, the exponents being the negatives of and coerced to complex numbers. If this function fails to be integrable, the left side is by the integral's convention, and the statement then asserts that the right side is as well.
On the right is a real number, coerced into , namely
with the real Gamma function, coerced to a real number in each argument, and the power of a real exponentiation with a possibly negative real exponent. The product index runs over , i.e. factors. Note that the arguments and can be non-positive for large under the stated hypotheses only if or fails to exceed , which the hypotheses exclude; the argument is positive for all precisely because . Real at a non-positive integer would be the junk value ; no such case arises here.