Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedPipeline-generatedjudge pass (gpt-5.6-terra)audited 2026-09-14
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=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

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