Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedPipeline-generatedprecheck pass
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.

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=Sk−Sk−1 be +1 with probability p and −1 with probability q=1−p, where 0<p<1 and p≠q. 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.1F2

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

1.2F1

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)≤(1−pN)m→0. F1 gives stopping and this bound gives almost-sure finiteness.

2.1F3F4step 1.1step 1.2∎

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

Remarks

The diagram shows the local transition rule for the stopped walk Sn∧τ at any interior state 1≤k≤N−1, and its two absorbing states separately. It starts at S0=i; at τ it first reaches either 0 or N. The upper-exit event in the Statement is Sτ=N.

k¡1kk+1q=1¡pp0N11Absorbingstatesofthestoppedwalk

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

14 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources