Consider the meromorphic function
Close the contour with a large semicircle in the upper half-plane, indenting above the three real pole . The large-arc integral vanishes by Jordan's lemma, while the upper-half-plane indentation rule gives
The three residue are
Their sum is , so the residue theorem yields
The real part of the integrand is an odd function, so its full-line principal value is zero. Its imaginary part,
is an even function. Taking imaginary parts and halving the full-line integral therefore gives
Expand the exponent in the Inverse Gaussian distribution with unit shape parameter:
Consequently its probability density function can be written as
where
Indeed, . This is the canonical form of a one-parameter exponential family, and its natural parameter is therefore
Here the natural statistic is . The exponential-family derivative identities give
and
Thus
For the given effective enumeration of partial computable functions, the diagonal halting set is
A many-one reduction is a total computable function such that
The S-m-n theorem states that for every there is a total computable function satisfying
whenever either side is defined.
Suppose first that is recursively enumerable. Choose a program that halts exactly on inputs in , and let index a two-variable program that, on , ignores and runs that program on . By the S-m-n theorem,
is total computable and indexes the unary function
Therefore
Thus .
Conversely, suppose through a total computable . On input , compute and simulate machine on its own code. This procedure halts exactly when , equivalently exactly when . Hence is recursively enumerable. We have proved the many-one completeness of the halting problem:
Finally, use the stated fact that and define
Then , so . The total computable map satisfies
and therefore . This is a distinct representative of the halting many-one degree.

There are unlisted articles, also show them or only show them.