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.

✓ 1 result · all verified · 1 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; all 1 also cleared it.

Sequential likelihood-ratio tests — Examples

1 · Prerequisites

2 · Summary

Example scope

The Bernoulli example uses success probabilities 1/4 under H0 and 3/4 under H1, with both thresholds equal to 1/4. It computes the exact terminal error probabilities, each 1/10, and verifies almost-sure stopping from the log-likelihood drift conditions and directly from the independent two-observation blocks.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

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

Exact Bernoulli crossings in a sequential likelihood-ratio test

Example

Assume AC. Consider IID observations Xi∈{0,1}. Under H0, let P0(Xi=1)=1/4; under H1, let P1(Xi=1)=3/4. Use the procedure Sequential likelihood-ratio test with α=β=1/4. A type-I error means deciding H1 when P0 governs the observations; a type-II error means deciding H0 when P1 governs them. The terminal type-I and type-II error probabilities are each 1/10, and the test stops almost surely under either law.

Facts & Assumptions

Given: A common measurable space (Ω,F) carrying the {0,1}-valued observations, the Bernoulli laws and thresholds in the Example, AC, and the sequential likelihood-ratio procedure. For applying the procedure, use F0={∅,Ω} and Ft=σ(X1,…,Xt) for t≥1. Compute both terminal error probabilities and verify almost-sure stopping.

[A1]

The Axiom of Choice: AC states that every family of nonempty sets has a choice function.

[F1]

Identical distribution and IID families: IID observations are mutually independent and share a common law under each hypothesis.

[F2]

Sequential likelihood-ratio test: the procedure requires mutually equivalent restrictions on every Ft, including t=0; the upper boundary is 1/α and decides H1, while the lower boundary is β and decides H0.

[F3]

Finite-sample likelihood ratio for iid observations: for IID observations, Lt=∏i=1tdQ1/dQ0(Xi) is the finite-time likelihood-ratio density.

[F4]

Terminal error bounds for a sequential likelihood-ratio test: the two terminal error probabilities are bounded by α and β.

[F5]

Iid drift conditions imply almost-sure test termination: finite absolute log-likelihood means and strict negative/positive drifts imply almost-sure termination under P0 and P1.

Verification

1.1givenconstruct

The one-observation likelihood ratio is λ(1)=(3/4)/(1/4)=3 and λ(0)=(1/4)/(3/4)=1/3. Both laws give positive mass to both outcomes, so they are equivalent.

2.1F1F2F3step 1.1givenalgebra

For t≥1, set Gt=∏i=1tλ(Xi) and choose the algorithm's representatives to be Lt=Gt, with L0=1. By [F3], Gt is a version of the finite-time density. It is finite and strictly positive because each factor is either 3 or 1/3, so for every A∈Ft, P1(A)=∫AGt dP0 implies P1(A)=0 exactly when P0(A)=0. At t=0, both restrictions to the trivial sigma-algebra assign zero to ∅ and one to Ω, so they are equivalent and L0=1 is their density. The algorithm's finite-time equivalence hypotheses therefore hold for every t≥0. Also, each nonempty atom of Ft is a fiber for a binary word and has positive P0-probability by [F1]; consequently any other Ft-measurable density representative agrees with Gt everywhere, since it agrees P0-almost surely.

3.1A1givenF5step 1.1step 2.1algebra

The log increment is Z(1)=log⁡3 and Z(0)=−log⁡3. Hence EQ0∣Z∣=EQ1∣Z∣=log⁡3<∞, EQ0Z=−(1/2)log⁡3<0, and EQ1Z=(1/2)log⁡3>0. The hypotheses of [F5] hold by steps 1.1 and 2.1, so its general termination theorem gives almost-sure stopping under both laws.

3.2step 1.1step 2.1algebra

Put St=∑i=1tXi. By step 2.1 and the values in step 1.1, Lt=∏i=1tλ(Xi)=3St(1/3)t−St=32St−t.

4.1F2step 3.2algebra

The boundaries are 4 and 1/4. Starting a two-observation block at L=1, the first observation gives L=3 or 1/3, both strictly between the boundaries. A repeated outcome in the second observation gives L=9 for 11 or L=1/9 for 00, crossing the upper or lower boundary; a mixed pair multiplies by 1 and returns to L=1. Induction over successive disjoint pairs shows that the procedure stops at the first pair with equal outcomes.

5.1F1step 4.1algebra

Under either hypothesis, a pair is mixed with probability 2(1/4)(3/4)=3/8. The disjoint pairs are independent by [F1], so the probability that the first k pairs are all mixed is (3/8)k→0. Thus the pair calculation also verifies almost-sure stopping.

5.2F1step 4.1algebra

Under P0, each disjoint pair is 11 with probability 1/16, 00 with probability 9/16, and mixed with probability 3/8. The event of a type-I error is that the first pair that is not mixed is 11, so P0(type-I error)=∑k=1∞(3/8)k−1(1/16)=(1/16)/(1−3/8)=1/10. Under P1, the probability of 00 is 1/16 and of a mixed pair is again 3/8, so the event of a type-II error gives the same geometric sum and probability 1/10.

6.1A1F4step 2.1step 5.2algebra∎

Since 1/10≤1/4=α=β, these exact terminal errors satisfy both bounds in [F4]; the hypotheses for that theorem's procedure hold by step 2.1.