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.

Stopping Times and Optional Stopping — Examples

1 · Prerequisites

2 · Summary

First exit, biased and symmetric gambler's ruin, a truncated Bernoulli waiting time, and a likelihood-ratio martingale show how the stopping and optional-sampling hypotheses are checked in practice. Every displayed probability or expectation is calculated, including the biased exponential martingale and Wald tail sum.

Three counterexamples isolate distinct failures. A last exit depends on a future toss and is not stopping. The simple-walk time to hit 1 is almost surely finite but has infinite mean, so its stopped expectation changes. A nested-set martingale has an integrable stopping time of mean 2 but unbounded increments and again changes expectation. Together they show why an explicit passage-to-the-limit hypothesis is indispensable.

3 · Logical flowchart

4 · Definitions, theorems and proofs

ExampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

First exit time from an interval

Statement

If X is an adapted real process and a<b, then τ=inf{n0:Xn(a,b)} is a stopping time. It may equal infinity, and no integrability conclusion follows from the stopping-time property alone.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

Proof

1.1

The exit target (,a][b,) is Borel, so F1 applies. Explicitly, {τn}=k=0n({Xka}{Xkb})Fn.

F1
2.1

If a path remains in (a,b) forever, the defining set of indices is empty and τ=. Thus the result asserts neither almost-sure finiteness nor integrability and leaves the cemetery convention relevant.

step 1.1
ExampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Gambler's ruin probability for a biased walk

Statement

Assume AC. Let N and i be integers with 0<i<N, set S0=i, and let the independent increments ξk=SkSk1 be +1 with probability p and 1 with probability q=1p, where 0<p<1 and pq. Use the natural filtration Fn=σ(ξ1,,ξn), with F0 trivial. For τ=inf{n:Sn{0,N}}, P(Sτ=N)=1(q/p)i1(q/p)N.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F2]
[F3]

Optional stopping with a dominating integrable variable applies to its bounded stopped values.

[F4]

The Axiom of Choice is inherited from conditional expectation and optional stopping.

Proof

1.1

Put r=q/p, so r>0 and r1. Independence of the next increment and pr+q/r=q+p=1 give E[rSn+1Fn]=rSn(pr+q/r)=rSn. Thus rSn is a martingale.

F2
1.2

The same block argument as for symmetric ruin works because an all-up block of N increments has positive probability pN: conditional on survival, it forces exit. Hence P(τ>mN)(1pN)m0. F1 gives stopping and this bound gives almost-sure finiteness.

F1
2.1

Before exit, Sτn[0,N], so rSτn is bounded by max(1,rN). F3 gives ri=ErSτ=1P(Sτ=0)+rNP(Sτ=N). Writing the first probability as one minus the second and solving yields (ri1)/(rN1), equal to the displayed formula. AC has exactly the role in F4.

F3F4step 1.1step 1.2
ExampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Expected duration of simple gambler's ruin

Statement

Assume AC. A simple symmetric random walk started at i{1,,N1} and stopped on first hitting 0 or N has expected duration i(Ni). From the midpoint of an even interval, the mean duration is N2/4.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F1]

Expected duration of symmetric gambler's ruin gives the general duration formula.

[F2]

The Axiom of Choice states AC, assumed here because F1 requires it.

Proof

1.1

Apply F1 to obtain Eτ=i(Ni).

F1
2.1

If N is even and i=N/2, direct substitution gives Eτ=(N/2)(NN/2)=N2/4. This calculation illustrates that almost-sure exit can have a quadratic mean duration. AC has exactly the inherited role in F2.

F2step 1.1
ExampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Wald's equation for a bounded stopping time

Statement

Let NN with N1, let Xk be iid Bernoulli(p), 0<p1, and use the natural filtration Fn=σ(X1,,Xn) (with F0 trivial). Set τ=min(inf{k1:Xk=1},N). Then Eτ=1(1p)Np,Ek=1τXk=1(1p)N=pEτ.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F1]

Wald first equation under integrable stopping applies because τ is a stopping time for the natural filtration and τN.

Proof

1.1

For every n, the event {τn} is determined by X1,,Xn, so τ is a stopping time for the stated filtration; it is bounded by N. The event {τk} for 1kN says the first k1 trials failed, so it has probability (1p)k1. The tail sum therefore gives Eτ=k=1N(1p)k1=1(1p)Np, including p=1, when the geometric sum is 1.

F1
2.1

The stopped sum is exactly the indicator that at least one of the first N trials succeeds: after the first success the sum stops, while if all fail it is zero. Its expectation is 1(1p)N. Since EX1=p, F1 also gives it as pEτ, agreeing with step 1.1. The argument is choice-free.

F1step 1.1
ExampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Stopping a likelihood-ratio martingale

Statement

Assume AC. Let NN0, let (Fn)0nN be a filtration on a probability space (Ω,FN,P), and let Q be a probability measure on FN with QP. Let Ln=EP[dQ/dPFn],0nN. For every stopping time τN, Lτ is nonnegative, Fτ-measurable, and EPLτ=1. Moreover Q(A)=EP[1ALτ](AFτ).

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F2]

Conditional expectation process is a martingale makes Ln a nonnegative martingale.

[F3]

Optional sampling for bounded stopping times gives conditional and unconditional identities at τ.

[F5]

The Axiom of Choice is used exactly for Radon–Nikodym and conditional-expectation existence.

Proof

1.1

F1 and conditional positivity make every Ln nonnegative; F2 makes the process a martingale. F4 makes Lτ Fτ-measurable. Applying F3 between τ and deterministic N gives Lτ=EP[LNFτ],EPLτ=EPLN=Q(Ω)=1.

F1F2F3F4
2.1

For AFτ, the defining conditional-expectation identity in step 1.1 gives EP[1ALτ]=EP[1ALN]=Q(A), where the final equality is the Radon–Nikodym identity and AFτFN. AC has precisely the role in F5.

F1F3F5step 1.1
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

A last exit time need not be a stopping time

Statement

A last-visit time generally is not a stopping time. For two independent fair coin tosses X1,X2 and Fn=σ(X1,,Xn), let ρ=max({k{1,2}:Xk=1}{0}). Then ρ is not a stopping time.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F1]

Discrete stopping time requires {ρ1}F1.

[F2]

Independent random elements makes the second toss independent of F1=σ(X1).

Counterexample

1.1

The last success occurs no later than time 1 exactly when the second toss fails. Hence {ρ1}={X2=0}. This event has probability 1/2.

F1
2.1

If it belonged to F1, F2 would make it independent of itself, because it is also an event determined by X2. That would give 1/2=P(A)=P(A)2=1/4, impossible. Thus {ρ1}F1, violating F1. The counterexample is finite and choice-free.

F1F2step 1.1
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Optional stopping fails for an unbounded simple-random-walk hitting time

Statement

Assume AC. For simple symmetric random walk S0=0 and τ=inf{n0:Sn=1}, define Sτ=0 on {τ=}. Then τ is almost surely finite, but Sτ=1 almost surely and ESτ=10=ES0.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F1]

Gambler's ruin hitting probability from optional stopping computes finite-interval hitting probabilities.

[F2]
[F3]

The Axiom of Choice is inherited from F1 and the martingale interface.

Counterexample

1.1

For a1, let Ea be the event that the walk hits 1 before a. Translating the symmetric ruin interval to {0,a+1} with starting point a, F1 gives P(Ea)=aa+1. The Ea increase, and their union is {τ<}: a path that reaches 1 has a finite minimum before that time and therefore belongs to some Ea. Continuity from below gives P(τ<)=1.

F1
2.1

By definition, Sτ=1 on this probability-one event, whereas S0=0. Thus their expectations differ. This explicitly shows that almost-sure finiteness alone cannot justify passing from τn to τ in bounded optional sampling, as F2 warns. AC has exactly the inherited role in F3.

F2F3step 1.1
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Almost-surely finite stopping does not imply integrable stopping

Statement

Assume AC. The first time τ that a simple symmetric random walk started at zero hits 1 is almost surely finite but satisfies Eτ=.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F1]

Optional stopping fails for an unbounded simple-random-walk hitting time proves τ< almost surely and computes Sτ=1, S0=0.

[F2]
[F3]

The Axiom of Choice is inherited from the martingale results.

Proof

1.1

F1 proves that τ< almost surely. Suppose for contradiction that Eτ<.

F1assume-contra
2.1

The walk is a martingale and SnSn1=1, so F2 would imply ESτ=ES0. But F1 computes the two sides as 1 and 0. This contradiction proves Eτ=. AC has exactly the inherited role in F3.

F1F2F3step 1.1discharge-contradiction
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedjudge pass (gpt-5.6-terra)audited 2026-09-14Open item page →

Integrable stopping time alone does not suffice for arbitrary martingale increments

Statement

Assume AC. There is a martingale M and an integrable stopping time τ such that Mτ is integrable but EMτEM0. Thus Eτ< is insufficient when martingale increments are unbounded.

Facts & Assumptions

Given: The hypotheses, objects, and conventions in the Statement.

[F1]

Martingale submartingale and supermartingale gives the event-integral test used to verify the process locally.

[F2]
[F4]

Optional stopping requires a passage-to-the-limit hypothesis identifies the missing bounded-increment/dominating mechanism.

[F5]

The Axiom of Choice is inherited from the martingale conditional-expectation interface.

Counterexample

1.1

On ([0,1],B,λ) put An=(0,2n], F0 trivial, Fn=σ(A1,,An), M0=1, and Mn=2n1An for n1. On the atom An, Mn+1 equals 2n+1 on a half-measure subatom and zero on the other half, so its conditional average is 2n; off An both variables vanish. Thus F1 proves directly that M is a nonnegative martingale with EMn=1.

F1F3
1.2

Let τ=inf{n1:Mn=0}. For n1, {τ>n}=AnFn, so F2 makes τ a stopping time. Its tail sum is Eτ=n0P(τ>n)=1+n12n=2.

F2F3
2.1

The intersection of the An is empty, so every path eventually leaves and Mτ=0. Hence Mτ is integrable but EMτ=01=EM0. On AnAn+1 the next increment has magnitude 2n, so no deterministic increment bound exists; this is exactly the missing hypothesis flagged by F4. The proof reconstructs its martingale locally and does not depend on a B-page supplier. AC has only the role in F5.

F4F5step 1.1step 1.2

5 · Examples, counterexamples and false statements

None yet.

Sources