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.
Sequential likelihood-ratio tests
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Modes of Convergence for Random Variables
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Sequential Validity and Ville's Inequality
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Stopping Times and Optional Stopping
- Strong Laws of Large Numbers
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Laws and Series of Independent Random Variables
2 · Summary
Objective
For two specified laws and whose restrictions to each finite-time sigma-algebra are equivalent, this page defines a two-boundary sequential likelihood-ratio rule. It proves the terminal type-I and type-II error bounds without assuming the rule stops almost surely. Separately, for IID observations with mutually equivalent one-observation laws, finite absolute log-likelihood means, and strictly negative and positive drift under and , it proves almost-sure termination. The procedure need not terminate outside those drift hypotheses. No expected sample-size bound, Wald optimality result, or exact Wald approximate-boundary formula is asserted.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Sequential likelihood-ratio test
Definition
Assume the Axiom of Choice, which states that every family of nonempty sets has a choice function. Let be a discrete filtration on a common measurable space and let be probability measures on it. Assume that for every , the restrictions and are mutually absolutely continuous: each restriction assigns measure zero to exactly the same events as the other. For each , choose a nonnegative -measurable representative of the likelihood-ratio density Likelihood ratio as a Radon–Nikodym derivative. The filtration and stopping-time conventions are those of Filtration and filtered probability space and Discrete stopping time.
Input thresholds . At times , compute and apply these instructions:
- If , stop and decide .
- Otherwise, if , stop and decide .
- Otherwise continue to the next observation.
The two boundaries are disjoint because . The output time is If , the procedure has no finite terminal decision. It does not itself assert that a crossing occurs.
Finite-sample likelihood ratio for iid observations
Statement
Assume AC. Let be probability measures on a common measurable space and let be random elements of that are IID under each , with one-coordinate law . Suppose , let be a nonnegative representative, and put . For every , is a version of .
Facts & Assumptions
Given: Assume AC. Let be probability measures on ; under each , let be IID with common law on . Assume and let represent .
The Axiom of Choice: every family of nonempty sets has a choice function; AC is the hypothesis used by the supplied Radon–Nikodym likelihood-ratio definition.
Identical distribution and IID families and Independent random elements: IID means mutual independence of the coordinate random elements and a common one-coordinate law.
Independent random elements are characterized by finite rectangle probabilities: for every finite list of distinct coordinates and measurable coordinate sets, the joint rectangle probability is the product of the marginal probabilities.
Measurable rectangles in a product of measurable spaces and The product sigma-algebra and its finite iterates: finite products use the sigma-algebra generated by all-coordinate measurable rectangles.
For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique: products of probability measures exist, have the rectangle product formula, and are unique with that formula.
Law or distribution of a random element and The law of a random element is a probability measure: the law of a random element is its pushforward probability measure.
Pi-systems and Measures agreeing on a generating pi-system are equal under an increasing finite-measure exhaustion from that pi-system: a generating pi-system with a common finite-measure exhaustion determines two measures.
Likelihood ratio as a Radon–Nikodym derivative: under AC, is a nonnegative measurable representative of the Radon–Nikodym density class.
Likelihood-ratio change of measure: if , then for every nonnegative measurable .
The indefinite integral of a nonnegative measurable function is a measure: is a measure for nonnegative measurable .
Tonelli's theorem for nonnegative measurable functions on a sigma-finite product: nonnegative product integrals can be evaluated as iterated integrals.
Monotone convergence for the integral: integrals of increasing nonnegative measurable functions converge to the integral of their pointwise limit.
Continuous functions on Euclidean spaces are Borel measurable: under countable choice, a continuous map between finite-dimensional Euclidean spaces is Borel measurable; AC implies this choice principle.
Composition with a Borel measurable outer map preserves measurability: the composition of measurable maps is measurable.
Proof
By [F8] with , , so is -null and hence -null. Set on ; this preserves its density class and gives a finite nonnegative representative. Now fix and . The vector is measurable into the finite product sigma-algebra because preimages of all-coordinate rectangles are finite intersections of coordinate events, and those rectangles generate that sigma-algebra by [F3]. Its law is a probability measure by [F5]. On every rectangle , [F1] and [F2] give . Repeated application of [F4] constructs with those same rectangle masses. The all-coordinate rectangles form a pi-system by [F3] and [F6], generate the product sigma-algebra, and have a finite exhaustion consisting of the whole space, whose mass is one for both measures. Hence [F6] gives .
Define . Preimages of product rectangles are finite intersections of measurable coordinate preimages, so [F3] makes measurable. The finite multiplication map , , is continuous: the two-coordinate multiplication map is continuous by , and finite products follow by induction. Thus [F12] makes Borel and [F13] makes measurable. By [F9], is a measure. For each rectangle , repeated Tonelli integration, justified by induction on the finite number of factors, gives , where each factor uses [F8]. This is the rectangle formula for by [F4]. The two measures agree on the generating pi-system and both have total mass one, so [F6] gives .
If , then for some product-measurable : the family of such preimages is a sigma-algebra and is exactly the sigma-algebra generated by . The definition of law [F5] gives the integral change-of-variables identity first for indicators and nonnegative simple functions; increasing simple approximation and [F11] extend it to . Thus, using steps 1.1 and 2.1, . This is the Radon–Nikodym characterization of .
Source notes
Wolpert writes the iid likelihood ratio as the product of one-observation density ratios in §1.2, PDF p. 4. Durrett Theorem 2.1.11, printed p. 48, proves the finite iid product-law identity by checking rectangles and using pi-system uniqueness. The density factorization above is proved locally for general one-observation laws with .
Terminal error bounds for a sequential likelihood-ratio test
Statement
Assume AC. Under the hypotheses of Sequential likelihood-ratio test, the boundary rule is a stopping time and, for the specified decisions, These bounds concern terminal errors and do not assume that is finite almost surely.
Facts & Assumptions
Given: Assume AC. Let be probability measures on with a common discrete filtration , equivalent restrictions at each finite , and likelihood-ratio density representatives . Let and let and the terminal decisions be as in the algorithm.
The Axiom of Choice: AC states that every family of nonempty sets has a choice function; the supplied likelihood-ratio and conditional-expectation constructions use AC.
Probability measures and probability spaces: each is a probability measure, so .
Sequential likelihood-ratio test: the rule stops at the first with or , decides at the upper boundary and at the lower.
Likelihood ratio as a Radon–Nikodym derivative: is a nonnegative measurable representative of the finite-time Radon–Nikodym density.
Likelihood-ratio change of measure: if , then on for every nonnegative measurable .
Filtration and filtered probability space and Adapted and integrable stochastic process: is increasing, and an adapted process has each measurable with respect to .
Conditional expectation given a sigma algebra: a conditional-expectation version is integrable, measurable with respect to the conditioning sigma-algebra, and has the same integrals on its events.
Conditional expectation exists by radon nikodym: under AC, conditional-expectation versions exist for integrable random variables and sub-sigma-algebras.
Conditional expectation is unique almost surely: two versions with the same event integrals agree almost surely.
Conditional expectation as an ae class and Martingale submartingale and supermartingale: the martingale condition is the almost-sure conditional-expectation identity at each adjacent time.
Nonnegative test supermartingales: for a singleton null family, a nonnegative adapted integrable martingale with initial expectation at most one is a test supermartingale.
Ville's inequality for nonnegative test supermartingales: for such a process and , .
Discrete stopping time: is a stopping time when for each .
Proof
Each is nonnegative by [F3] and -measurable by [F2]. Applying [F4] with gives for every , so is -null. Define where and otherwise. This modification on an -measurable null set preserves the density class. Thus is a real-valued nonnegative adapted process with , and each has the same density event integrals as .
For , , because each is -measurable and the filtration is increasing; . Hence [F12] makes a stopping time.
Fix and . Since , [F4] applied to the density representatives and gives . By [F7], choose a version of . Its defining event-integral identities [F6] show that and are versions of that conditional expectation; [F8] makes them equal almost surely. Thus is a nonnegative -martingale by [F9].
For each , step 1.1 and equivalence of the restrictions give . Moreover, [F4] gives , so equivalence gives . Thus is null under both laws. Define the real nonnegative where and set it to on . It is -measurable, and off . Applying [F4] with density and for gives , so is integrable with mean one.
For and , step 2.2 at times and gives . Existence [F7], the defining conditional-expectation identity [F6], and uniqueness [F8] identify almost surely. Thus is a nonnegative -martingale by [F9].
By steps 1.1 and 2.1, is a real nonnegative martingale under with ; by [F10] it is a nonnegative test supermartingale for the singleton null . By steps 2.2 and 3.1, is a real nonnegative test supermartingale for . Applying [F11] gives and .
The measurable set is null under both laws by countable subadditivity. Outside , simultaneously for every , and . Hence the terminal event is contained in , and the terminal event is contained in . These terminal events are measurable countable unions of intersected with the corresponding boundary events. Since , step 4.1 proves both terminal-error inequalities.
Source notes
Wolpert §1.2, PDF p. 4, gives the iid likelihood-ratio process and exact martingale maximal-inequality error control. His commonly quoted Wald boundary formulas and expected sample-size expressions are approximate and are not used here. Howard et al., Lemma 1 and its proof (PDF pp. 15 and 45), prove the nonnegative-supermartingale crossing bound through bounded stopping and a limiting argument. The local proof uses the published Ville supplier and does not apply optional stopping at the possibly unbounded .
Iid drift conditions imply almost-sure test termination
Statement
Assume AC. Let be IID under each of two probability measures , with one-coordinate law , and suppose and are equivalent. Choose a finite strictly positive representative and set . If then for every the algorithm Sequential likelihood-ratio test, with and , satisfies
Facts & Assumptions
Given: Assume AC. Under , the observations are IID with common law , the one-observation laws are equivalent, and the log likelihood increment is integrable under both laws with strictly negative mean and strictly positive mean. The algorithm uses fixed .
The Axiom of Choice: AC states that every family of nonempty sets has a choice function and is assumed by the local Radon–Nikodym convention.
Identical distribution and IID families: IID means mutual independence together with a common one-coordinate law.
Measurable coordinatewise functions preserve independence: applying the same measurable real function to IID observations preserves independence; the resulting variables have the common pushforward law.
Kolmogorov iid l1 strong law: for IID integrable real variables, their sample mean converges almost surely to the expectation.
Law or distribution of a random element: is the pushforward law of one observation under .
Likelihood ratio as a Radon–Nikodym derivative and Likelihood-ratio change of measure: an absolutely continuous probability law has a nonnegative RN density, finite almost surely; its integral over a set is the probability of that set under the changed law.
Finite-sample likelihood ratio for iid observations: under IID observations, the finite-time density process is .
Sequential likelihood-ratio test: the procedure stops upon crossing above or below, and otherwise continues.
Continuous functions on Euclidean spaces are Borel measurable: under countable choice, a continuous map from to is Borel measurable for . This corollary does not itself cover ; step 1.1 verifies measurability on that subspace directly.
Composition with a Borel measurable outer map preserves measurability: composing a measurable map with a Borel map gives a measurable map.
Change of variables for expectation: if has law and is measurable, then and, when these are finite, .
Proof
Let be any nonnegative RN representative of with respect to . Since , the set where is -null and hence -null. On the change-of-measure identity [F5] gives ; equivalence then makes -null too. Replacing by on these common null sets yields a finite strictly positive measurable representative of the same density class. Its range lies in , so it is measurable into that subspace with its Borel sigma-algebra . Although the logarithm is continuous on this subspace, [F8] only covers Euclidean domains. For every open , is open in and therefore Borel there; since open sets generate , is Borel measurable. Thus [F9] makes real-valued and measurable.
For each , the variables are IID under : measurability gives the same pushforward law for all coordinates, and [F2] preserves their independence. The change-of-variables identity [F10] gives and . Thus [F3] gives almost surely under .
Put . By [F6], is a version of the finite-time density, so the algorithm's chosen representative equals -almost surely by uniqueness of Radon–Nikodym derivatives. The representative is finite and strictly positive -almost surely; equivalence of gives the same under . Thus is finite and strictly positive -almost surely, and for , implies exactly when . The finite-time restrictions are therefore equivalent, so also -almost surely. Intersecting these probability-one events over countably many gives one event under each law on which the equalities hold for every . Positivity of there yields .
Under , steps 1.2 and 2.1 give , hence . Since is finite, some finite satisfies , so the lower boundary has been crossed and the algorithm has .
Under , steps 1.2 and 2.1 give , hence . Since is finite, some finite satisfies , so the upper boundary has been crossed and . This proves almost-sure termination under both laws, without a claim about .
Source notes
Wolpert §1.2, PDF p. 4, writes the iid log likelihood as a sum of iid increments. Durrett Theorem 2.4.1, printed pp. 76–78, proves the L1 strong law by truncation. The local proof uses the actual published Kolmogorov iid L1 strong-law supplier; no finite-variance strengthening is assumed.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Robert L. Wolpert, Introduction to Martingales, STA 711 course notes, §1.2, PDF pp. 4–5
- Robert L. Wolpert, Introduction to Martingales, STA 711 course notes, §1.2, PDF p. 4
- Rick Durrett, Probability: Theory and Examples, 5th ed., §2.1.2, Theorem 2.1.11, printed p. 48
- Steven R. Howard, Aaditya Ramdas, Jon McAuliffe and Jasjeet Sekhon, Time-uniform Chernoff bounds via nonnegative supermartingales, Probability Surveys 17 (2020), Lemma 1 and proof, PDF pp. 15 and 45
- Rick Durrett, Probability: Theory and Examples, 5th ed., §2.4, Theorem 2.4.1 and proof, printed pp. 76–78