Alphabeta Math
Pipeline-generated
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.

UMP Tests — Examples

1 · Prerequisites

2 · Summary

The binomial example computes the exact boundary randomization for a discrete one-sided test. The normal example compares the upper and lower most powerful tests against opposite alternatives, making the two-sided nonexistence witness concrete.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A randomized UMP test for a binomial model

Example

Assume AC. Let X=(X1,X2,X3)∈{0,1}3 have mass function Pp(X=x)=pT(x)(1−p)3−T(x) for 0<p<1, where T(x)=x1+x2+x3. For H0:p≤12 against H1:p>12, the randomized test with rejection function ϕ(x)=1{T(x)>2}+131{T(x)=2} is UMP of level α=14.

Verification

Given: The finite experiment and hypotheses in the statement.

[F1] In a family with MLR in T, the upper boundary-randomized threshold test calibrated at p0 is UMP for p≤p0 versus p>p0. (The Karlin–Rubin theorem for one-sided tests)

[F2] A randomized test is a binary-action probability kernel; its test function is a measurable rejection probability in [0,1]. (Randomized tests)

[F3] MLR means the likelihood ratio for every larger parameter is nondecreasing in T, including the extended-ratio support convention. (Families with a monotone likelihood ratio)

[F4] The size of a test is the supremum of its null rejection probabilities, and level α means that size is at most α. (Test size and power)

[F5] A probability kernel assigns a probability measure to each observation and has measurable event-evaluation functions. (Measure kernel and probability kernel)

1.1givenalgebra

The sample space has eight points, and ∑x∈{0,1}3pT(x)(1−p)3−T(x)=(p+(1−p))3=1, so the masses define a probability law; the statistic T is measurable on the finite power-set space.

1.2givenF3algebra

For 0<p1<p2<1, the likelihood ratio is p2T(x)(1−p2)3−T(x)p1T(x)(1−p1)3−T(x)=(1−p21−p1)3(p2(1−p1)p1(1−p2))T(x). The second base exceeds one since p2(1−p1)−p1(1−p2)=p2−p1>0, so the ratio increases with T and [F3] applies.

1.3givenF2F5algebraconstruct

At p0=1/2, each point has mass 1/8, with one point at T=3 and three at T=2; hence P1/2(T>2)=1/8 and P1/2(T=2)=3/8. The threshold c=2,γ=1/3 therefore has endpoint-null rejection probability 1/8+(1/3)(3/8)=1/4. Define K(x,B)=ϕ(x)1{1∈B}+(1−ϕ(x))1{0∈B} for B⊆{0,1}. The two weights are nonnegative and sum to one, and the formula is countably additive because each point belongs to at most one event in a disjoint sequence, so each section is a probability measure. Every event evaluation is measurable because the sample space is finite with its full sigma-algebra. Thus [F5] gives a probability kernel and [F2] makes it a randomized test with rejection function ϕ.

2.1F1F4step 1.2step 1.3∎

By step 1.2 the family has MLR in T, and step 1.3 calibrates the upper boundary-randomized threshold at p0=1/2 to α=1/4. The Karlin–Rubin result [F1] therefore makes this test UMP of level 1/4 for H0:p≤1/2 versus H1:p>1/2, with size and level interpreted by [F4].

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Opposed most powerful tests for two normal alternatives

Example

Assume AC and let X∼N(θ,1). For the simple null H0:θ=0 and alternatives θ∈{−1,1}, consider the level-1/2 randomized tests with rejection functions ϕ+(x)=1{x>0},ϕ−(x)=1{x<0}. The upper-tail test favors θ=1, while the lower-tail test favors θ=−1; their powers at the opposite alternative are strictly below 1/2.

Verification

Given: AC and the normal experiment in the statement.

[F1] For the two-sided normal-location problem, no UMP level-α test exists for any 0<α<1. (A two-sided normal alternative need not have a UMP test)

[F2] N(0,1) has the even positive density φ(u)=e−u2/2/2π, and N(θ,1) is the law of θ+Z for Z∼N(0,1). (Standard normal and normal laws)

[F3] Assuming countable choice, L(R) is a sigma-algebra and λ is a measure, so (R,L(R),λ) is a measure space. (Assuming countable choice, L(Rn) is a sigma-algebra containing every elementary set and λn is a complete measure extending elementary volume, Measure spaces)

[F4] Countable choice implies that a singleton is Lebesgue null, so a law with a Lebesgue density has no atom at zero. (The Axiom of Countable Choice (ACω), A box with a degenerate side is Lebesgue null, and so is every coordinate hyperplane in Rn)

[A1] AC states that every family of nonempty sets has a choice function. (The Axiom of Choice)

[F5] A randomized test is a binary-action probability kernel; its test function is a measurable rejection probability in [0,1]. (Randomized tests)

[F7] Power is Eθψ and level α means the null rejection probability is at most α. (Test size and power)

[F8] A law with density f integrates a nonnegative function g as ∫gf dλ. (The measure with density f relative to μ, Integrating against a density agrees with integrating the product)

[F9] The nonnegative integral is monotone and homogeneous for nonnegative scalars. (Monotonicity and nonnegative homogeneity of the nonnegative integral)

[F11] The Borel sigma-algebra on R contains open rays, so both threshold indicators are measurable. (The Borel sigma-algebra of a topological space)

[F12] A probability measure has total mass one and is countably additive on disjoint measurable sets. (Probability measures and probability spaces, Measures on sigma-algebras)

[F13] For a measurable self-map, measurability means inverse images of measurable sets are measurable; it preserves measure when every measurable set and its inverse image have equal measure. (A measurable function between measurable spaces, Measure-preserving transformations and systems)

[F14] Under countable choice, every Borel subset of R is Lebesgue measurable. (Assuming countable choice, every Borel subset of Rn is Lebesgue measurable)

[F15] A measure-preserving measurable map preserves the integral of every nonnegative measurable function. (Integral invariance under measure-preserving maps)

[F16] Products, sums, differences, and scalar multiples of measurable functions are measurable whenever the operations are defined. (Arithmetic and lattice operations preserve measurability whenever they are defined)

[F17] Integrable real functions form a vector space and the integral is linear on it. (Integrable real and complex functions, and their integrals, The Lebesgue integral is linear on L1(μ))

[F18] Translation τθ(u)=u+θ is a measurable measure-preserving map of Lebesgue measure, by translation invariance. (Lebesgue outer measure, Lebesgue measurability and Lebesgue measure are unchanged by translation, Measure-preserving transformations and systems)

[F20] A probability kernel assigns a probability measure to each observation and has measurable event-evaluation functions. (Measure kernel and probability kernel)

1.1A1F2F3F8F13F14F15F16F18algebra

Apply AC [A1] to the values in any sequence of nonempty sets and compose the choice function with that sequence; this supplies the countable-choice hypothesis in [F3], [F4], [F14], and [F18]–[F19]. For every Borel set B and θ∈R, the pushforward definition [F2] gives Pθ(B)=∫1B(u+θ)φ(u) dλ(u). Apply [F15] to τθ and the nonnegative measurable function h(x)=1B(x)φ(x−θ); [F14], continuity of φ, and [F16] give its measurability, and h(u+θ)=1B(u+θ)φ(u). Hence Pθ(B)=∫Bφ(x−θ) dλ(x), so pθ(x)=φ(x−θ) is a density and [F8] gives Eθg=∫gpθ dλ for every nonnegative measurable test function g.

2.1F4F5F7F8F11F12F13F14F15F16F19F20step 1.1algebraconstruct

Let ρ(u)=−u and h(u)=φ(u)1(0,∞)(u). By [F14] and [F16], h is nonnegative and Lebesgue measurable; by evenness, h∘ρ=φ1(−∞,0). The map ρ is measurable and measure-preserving by [F19], so [F15] gives equal integrals of these two functions. By [F8], P0(X>0)=P0(X<0). The singleton at zero is null by [F4] and step 1.1, while [F12] gives total mass one; therefore both probabilities equal 1/2. The indicators are measurable by [F11]. For B⊆{0,1}, define K±(x,B)=ϕ±(x)1{1∈B}+(1−ϕ±(x))1{0∈B}. The two weights are nonnegative and sum to one, and the formula is countably additive because each point belongs to at most one event in a disjoint sequence; each event evaluation is measurable by [F16]. Thus [F20] gives probability kernels with test functions ϕ±, hence randomized tests by [F5] and level-1/2 tests by [F7].

3.1F7F8F9F16F17step 1.1step 2.1algebra

Let ψ be any level-1/2 test for the simple null θ=0, put D=ϕ+−ψ, and set p0=φ and p1(x)=φ(x−1) as in step 1.1. The ratio p1(x)/p0(x)=ex−1/2 is strictly increasing, and with k=e−1/2 the product D(x)(p1(x)−kp0(x)) is nonnegative: above zero both factors are nonnegative, below zero both are nonpositive, and at zero the second factor vanishes. By [F16] the product is measurable. Since ∣D∣≤1, p0,p1 are integrable with integral one, and ∣Dpi∣≤pi, we have Dp0,Dp1∈L1(λ); then [F17] gives D(p1−kp0)=Dp1−kDp0∈L1(λ) and yields E1ϕ+−E1ψ−k(E0ϕ+−E0ψ)=∫D(p1−kp0) dλ≥0. Step 2.1 gives E0ϕ+=1/2, and level gives E0ψ≤1/2, so k>0 implies E1ϕ+≥E1ψ. Thus ϕ+ is most powerful against θ=1.

3.2F7F8F9F16F17step 1.1step 2.1algebra

For the same arbitrary level-1/2 test ψ, put D=ϕ−−ψ and p−1(x)=φ(x+1). Then p−1(x)/p0(x)=e−x−1/2 is strictly decreasing. With k=e−1/2, D(x)(p−1(x)−kp0(x))≥0: below zero both factors are nonnegative, above zero both are nonpositive, and at zero the second factor vanishes. The factors are measurable by [F16]. The bounds ∣D∣≤1 and ∫pi dλ=1 give Dp−1,Dp0∈L1(λ) by [F8]–[F9], so [F17] gives D(p−1−kp0)=Dp−1−kDp0∈L1(λ). Linearity yields E−1ϕ−−E−1ψ−k(E0ϕ−−E0ψ)=∫D(p−1−kp0) dλ≥0. Since [F7] and step 2.1 give E0ϕ−=1/2≥E0ψ, this proves E−1ϕ−≥E−1ψ. Thus ϕ− is most powerful against θ=−1.

3.3F2F4F6F7F8F9F10F12step 2.1algebra

Let I=∫[0,1]φ dλ. On [0,1], φ(u)≥e−1/2/2π>0, so [F9]–[F10] give I≥e−1/2λ([0,1])/2π>0 using [F6]. By [F8], this is P(0<Z<1) since the endpoints are null by [F4]. By [F12] and step 2.1, P(Z<1)=P(Z<0)+P(0<Z<1)=12+I, and symmetry with the null endpoints [F4] gives P(Z>−1)=P(Z<1) and P(Z<−1)=P(Z>1)=1−P(Z<1)=12−I. Thus for X=1+Z, E1ϕ+=12+I and E1ϕ−=12−I; reflection gives E−1ϕ−=12+I and E−1ϕ+=12−I. These expectations are powers by [F7], so the two most powerful tests just proved have strict power reversal at the opposite alternatives.

4.1F1step 3.1step 3.2step 3.3∎

By [F1] at α=1/2, no test maximizes power at both alternatives; step 3.3 exhibits the strict reversal for the two most powerful tests established in steps 3.1–3.2.

Sources