Alphabeta Math
Session-authored (Fable 5 assisted)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

11 results · all verified · 7 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

The Residue Theorem and the Evaluation of Real Integrals — Examples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The integral of 1 / (1 + x^2) over the real line is pi

Example

dx1+x2=π.

Facts & Assumptions

Given: The rational function R(z)=1/(1+z2).

[L1]

A rational function with no real poles and a two-degree denominator gap is evaluated by the residues of its upper-half-plane poles (Rational improper integrals without real poles are upper-half-plane residue sums).

Verification

technique · computation
1.1

The only pole of R in the upper half-plane is i, and it is simple with Res(R,i)=limzizi(zi)(z+i)=12i.

givenalgebra
2.1

Applying [L1] gives dx1+x2=2πi12i=π.

step 1.1L1
ExampleConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The integral of 1 / (1 + x^4) over the real line is pi over sqrt(2)

Example

dx1+x4=π2.

Facts & Assumptions

Given: The rational function R(z)=1/(1+z4).

[L1]

The rational residue theorem evaluates the real integral by the upper-half-plane residues (Rational improper integrals without real poles are upper-half-plane residue sums).

Verification

technique · computation
1.1

The poles of R in the upper half-plane are a1=eiπ/4 and a2=e3iπ/4, and they are simple. Since (z4+1)=4z3, Res(R,aj)=14aj3(j=1,2).

givenalgebra
2.1

Their sum is 14(e3iπ/4+e9iπ/4)=14(e3iπ/4+eiπ/4)=i22.

step 1.1algebra
3.1

Therefore [L1] gives dx1+x4=2πi(i22)=π2.

step 2.1L1
ExampleConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The integral of cos x / (1 + x^2) over the real line is pi / e

Example

cosx1+x2dx=πe.

Facts & Assumptions

Given: The rational function R(z)=1/(1+z2).

[L1]

For λ>0, the Fourier integral of eiλxR(x) is the residue sum of eiλzR(z) in the upper half-plane (Rational Fourier integrals are evaluated by residues and Jordan's lemma).

Verification

technique · computation
1.1

Apply [L1] with λ=1. The only upper-half-plane pole is i, and Res ⁣(eiz1+z2,i)=eii2i=e12i.

givenL1algebra
2.1

Hence eix1+x2dx=2πie12i=πe. The value is real, so taking real parts yields cosx1+x2dx=πe.

step 1.1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-27Open item page →

The whole-line principal value of sin x / x is pi, so the half-line integral is pi / 2

Example

The principal value identity

PV ⁣sinxxdx=π

implies the classical half-line formula

0sinxxdx=π2.

Facts & Assumptions

Given: The rational function R(z)=1/z with an upper indentation at the origin.

[L1]

The residue theorem applies to the upper semicircle contour with a small upper indentation at the simple pole 0 (The residue theorem for a null-homologous cycle, Standard semicircle, rectangle, keyhole, indentation, and sector contours).

[L2]

The upper indentation contributes iπ times the residue (An indented arc around a simple singularity contributes the expected residue fraction).

[L3]

Principal value on the whole line is the symmetric truncation from Cauchy principal values at a finite singularity and on the real line.

[L4]

A twice-differentiable function with nonnegative second derivative is convex (A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative).

Verification

technique · computation
1.1

On the upper semicircle z=Teit one has eiz=eTsint. Convexity of sint on [0,π/2] gives sint2t/π there, and symmetry gives the corresponding bound on the other half. Hence γT+eizzdz0πeTsintdtπT, so the outer arc tends to 0.

L4algebra
2.1

Apply [L1] to the upper contour of radius T with an upper indentation of radius ε at 0. The contour encloses no pole, while the residue of eiz/z at 0 is 1. Therefore the sum of the two punctured straight integrals, the indentation, and the outer arc is 0. Letting ε0 in this coupled symmetric truncation, then T, [L2] and step 1.1 give limTlimε0(Tεeixxdx+εTeixxdx)=iπ.

L1L2step 1.1algebra
3.1

The imaginary integrand sinx/x has the removable value 1 at 0 and is locally integrable on the real line, so the imaginary part of step 2.1 is exactly the whole-line principal value in [L3]. Hence PV ⁣sinxxdx=π. Since sinx/x is even, the symmetric principal value is twice the half-line integral, so 0sinxxdx=π2.

step 2.1L3
ExampleConstruction: Literature-sourcedVerification: AI-generatedprecheck passaudited 2026-08-27Open item page →

The integral of 1 / (a + cos theta) over [0, 2 pi]

Example

For a real parameter a with a>1, 02πdθa+cosθ=2πsgn(a)a21. In particular, for a>1 the value is 2π/a21.

Facts & Assumptions

Given: A real number a with a>1.

[L1]

The unit-circle substitution converts the trigonometric integral into a contour integral on z=1 (Trigonometric integrals become contour integrals by the unit-circle substitution).

Verification

technique · computation
1.1

By [L1], 02πdθa+cosθ=z=12dzi(z2+2az+1). The quadratic factors as z2+2az+1=(zz+)(zz),z±=a±a21.

L1algebra
2.1

Since z+z=1, exactly one root lies inside the unit circle. It is z+=a+sgn(a)a21. The residue there is 2i(z+z)=sgn(a)ia21. Therefore 02πdθa+cosθ=2πisgn(a)ia21=2πsgn(a)a21.

step 1.1algebra
ExampleConstruction: Literature-sourcedVerification: AI-generatedprecheck passaudited 2026-08-27Open item page →

The integral of x^(alpha-1) / (1 + x) over (0, infinity) is pi / sin(pi alpha)

Example

For 0<α<1, 0xα11+xdx=πsin(πα).

Facts & Assumptions

Given: The keyhole integrand f(z)=zα1/(1+z) with 0<α<1.

[L1]

If the rational factor has no pole on [0,), the Mellin integral converges, and the inner and outer keyhole circles vanish, then (1e2πiα)0xα1R(x)dx=2πiRes(zα1R(z),a) for the branch with Argz(0,2π) (Keyhole contours evaluate Mellin-type rational integrals).

Verification

technique · computation
1.1

The factor R(z)=1/(1+z) has no pole on [0,). Since 0<Reα<1, the absolute value of the real integrand is O(xReα1) near 0 and O(xReα2) at infinity, so the improper integral converges. On the inner keyhole circle the arc integral is O(εReα), and on the outer circle it is O(RReα1); both tend to 0. Thus every hypothesis of [L1] holds.

L1givenalgebra
1.2

The only pole away from the positive real axis is the simple pole at 1. On the chosen branch, (1)α1=eiπ(α1)=eiπα, so Res(f,1)=eiπα.

givenalgebra
2.1

Applying [L1] using step 1.1 and substituting the residue from step 1.2 gives (1e2πiα)0xα11+xdx=2πieiπα. Since 1e2πiα=2ieiπαsin(πα), division yields 0xα11+xdx=πsin(πα).

L1step 1.1step 1.2algebra
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

A rectangle contour evaluates the Gaussian cosine integral

Example

For every real b, 0ex2cos(2bx)dx=π2eb2.

Facts & Assumptions

Given: A real number b and the entire function F(z)=ez2e2ibz.

[L1]

An entire function has zero integral on every rectangle contour (The residue theorem for a null-homologous cycle).

[L2]

The Gaussian integral is ex2dx=π (The Gaussian integral ex2dx=π).

Verification

technique · computation
1.1

Integrate F around the rectangle with vertices [given, L1] T,T,T+ib,T+ib. Since F is entire, makes the total integral 0. The vertical sides vanish as T because F(x+iy)=ex2+y22by and therefore decays like eT2 there.

L1
2.1

The top horizontal side is traversed from T+ib to T+ib and therefore contributes eb2TTex2dx. Hence step 1.1 gives TTex2e2ibxdx=eb2TTex2dx+o(1).

step 1.1algebra
3.1

Letting T and using [L2] yields ex2e2ibxdx=eb2π. Taking real parts and then using the evenness of ex2cos(2bx) gives the half-line formula.

step 2.1L2
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The residue theorem gives the Basel sum

Example

The residue computation of The Basel sum is pi squared over six by a residue computation gives n=11n2=π26.

Facts & Assumptions

Given: The bilateral residue identity from The Basel sum is pi squared over six by a residue computation.

Verification

technique · direct
1.1

The corollary already proves that 2n=11n2=π23.

given
2.1

Dividing by 2 yields the usual one-sided Basel sum n=11n2=π26.

step 1.1
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-27Open item page →

The sine integral converges conditionally but not absolutely

Statement refuted

Refuted claim: if 0sinxxdx converges, then 0sinxxdx must also converge.

Facts & Assumptions

Given: The function f(x)=sinx/x on (0,).

[L1]

Dirichlet's test makes 1sinx/xdx converge (Dirichlet's test for improper integrals).

[L2]

A uniform positive amount of absolute mass on infinitely many disjoint tails forces divergence of the absolute integral (Uniform oscillatory tail mass forces failure of absolute convergence).

Counterexample

technique · direct
1.1

By, the oscillatory integral of sinx/x converges on [1,), [L1] so the half-line sine integral is conditionally convergent.

L1
1.2

On each interval [L2, algebra] Ik=[kπ+π/6, kπ+5π/6] one has sinx1/2, while x(k+1)π. Therefore Iksinxxdx122π/3(k+1)π=13(k+1). The lower bounds have divergent harmonic sum, so implies 1sinx/xdx=.

L2
2.1

Thus sinx/x gives a convergent improper integral whose absolute-value integral diverges.

step 1.1step 1.2
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The function 1 / z makes the large-semicircle shortcut fail

Statement refuted

Refuted claim: the pointwise decay of 1/z along larger and larger upper semicircles is enough to force the arc integral to vanish.

Facts & Assumptions

Given: The function f(z)=1/z and the upper semicircles γR+(t)=Reit.

Counterexample

technique · computation
1.1

On the upper semicircle γR+(t)=Reit one has γR+dzz=0πiReitReitdt=iπ.

givenalgebra
2.1

So the arc integral is constant, not vanishing, even though 1/(Reit) is pointwise O(R1) on the arc. This is the concrete witness behind FALSE: pointwise decay alone makes every large semicircle integral vanish.

step 1.1
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

Treating a double pole as simple gives the wrong answer

Statement refuted

Refuted claim: the simple-pole residue rule can be used unchanged at a pole of order two.

Facts & Assumptions

Given: The function f(z)=ez/(z1)2.

[L1]

A simple pole has residue limza(za)f(z) (At a simple pole the residue is the limit of (z-a)f(z)).

[L2]

A pole of order 2 has residue ddz((za)2f(z))z=a (Residue formula for a pole of order m).

Counterexample

technique · computation
1.1

The point a=1 is a pole of order 2 of f, and [L2] gives the correct residue Res(f,1)=ddz(ez)z=1=e.

L2algebra
2.1

If one incorrectly applies the simple-pole rule from [L1], one obtains limz1(z1)ez(z1)2=limz1ezz1, which does not exist as a finite complex number. So the simple-pole rule does not recover the residue at a double pole.

L1step 1.1

Sources