Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-6-sol)audited 2026-09-30
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 from harmonicity

Statement

Assume AC (The Axiom of Choice). For every integer N≥1, let EN={0,1,…,N} with the discrete sigma-algebra and define the transition matrix by pN(0,0)=pN(N,N)=1,pN(i,i−1)=pN(i,i+1)=12(1≤i<N), with all other entries zero. Under the deterministic start at i, let Tj:=inf⁡{n≥0:Xn=j}. Then, for every i∈EN, Pi(TN<T0)=iN.

Facts & Assumptions

Given: AC, an integer N≥1, the finite state space EN, the stated transition probabilities, and a deterministic initial state i∈EN.

[A1]

AC is assumed by the canonical path-law construction, conditional-expectation classes and their Markov identities, and the bounded Dirichlet theorem used below. (The Axiom of Choice)

[F1]

A finite state space with its discrete sigma-algebra is at most countable, and every function from it to a discrete measurable space is measurable. (Finite, countably infinite, countable, uncountable, A measurable function between measurable spaces)

[F2]

A Dirac measure is a probability measure, finite nonnegative weighted sums of measures are measures, and the probability-kernel requirements are pointwise row probability and measurability in the starting state. (A Dirac set function is a probability measure, Nonnegative scalar multiples and countable weighted sums of measures are measures, Measure kernel and probability kernel)

[F3]

From a probability kernel and initial law, the canonical path space carries a Markov chain; for the Dirac initial law δi, its law is denoted Pi and satisfies X0=i almost surely. (Canonical Markov chain on path space, Initial distribution of a Markov chain)

[F4]

The transition matrix is pN(x,y)=KN(x,{y}); the hitting time of a set uses n≥0, and its sublevel events are adapted. (Transition matrices and n-step probabilities, Hitting, return, and visit times)

[F5]

Under a deterministic initial state, each finite path cylinder has probability equal to the product of its successive transition probabilities. (Finite-dimensional laws of a Markov chain)

[F6]

For a bounded product-measurable path functional H, the conditional expectation of H(Xn,Xn+1,…) given Fn is the canonical expectation of H from Xn. (Markov property for bounded future path functionals)

[F7]

Conditional expectation is order preserving and preserves constants; its defining event integrals give the expectation identity after multiplication by an indicator measurable at the conditioning time. (Basic algebra and order properties of conditional expectation, Conditional expectation given a sigma algebra)

[F8]

If every deterministic start hits a boundary set almost surely, bounded real boundary data have a unique bounded harmonic extension, equal to the expected boundary payoff. (Bounded Dirichlet problem for hitting probabilities)

Proof

technique · construct the finite absorbing kernel, prove a uniform geometric bound for boundary exit, and apply bounded Dirichlet uniqueness to the linear harmonic function
1.1F1F2F4given

For each x∈EN, define a measure-valued row by KN(x,⋅)={δ0,x=0,δN,x=N,12δx−1+12δx+1,1≤x<N. By [F2], each row is a probability measure; because EN is finite and discrete, the map x↦KN(x,B) is measurable for each B⊆EN. Thus KN is a probability kernel. By [F4], its transition matrix is exactly the one in the Statement, including the zero weights off the listed transitions.

1.2F4given

Define boundary data fN(0)=0, fN(N)=1, and set gN(i)=i/N on EN. The function gN is bounded and agrees with fN on AN. If 1≤i<N, then [F4] and direct arithmetic give PNgN(i)=12gN(i−1)+12gN(i+1)=(i−1)+(i+1)2N=iN=gN(i). Thus gN satisfies the boundary and harmonic equations, with no interior equations required when N=1.

2.1A1F3step 1.1given

For each i∈EN, take the canonical chain with kernel KN and initial law δi, and write its law and expectation as Pi and Ei. By [A1, F3], all these deterministic-start chains exist on the canonical path space and have the stated transition matrix.

2.2F3F5step 1.1given

Define the bounded path functional HN:ENN0→{0,1} by HN(w)=1 exactly when 1≤w0<N and ws=max⁡{w0−s,0}(1≤s≤N), and set HN(w)=0 otherwise. It is measurable because it depends on finitely many coordinates in a finite discrete space. Under Pi, for 1≤i<N, the event HN=1 specifies exactly i left moves, each of probability 1/2, followed by the absorbing self-loop at 0; hence [F5] gives EiHN(X0,X1,…)=2−i. For i=0 or i=N the expectation is zero by the definition of HN. Thus the canonical expectation function is hN(i)={2−i,1≤i<N,0,i∈{0,N}.

3.1F4F6F7step 2.2given

Put AN={0,N} and T=TAN. By [F6], for every m≥0, Ei[HN(Xm,Xm+1,…)∣Fm]=hN(Xm)almost surely. On {T>mN} the state XmN lies in {1,…,N−1}. The event HN(XmN,XmN+1,…)=1 then forces a visit to 0 within the next N steps, so T≤(m+1)N. Therefore [F6, F7] imply Pi(T>(m+1)N)=Ei ⁣[1{T>mN}Ei[1{T>(m+1)N}∣FmN]]≤(1−2−N) Pi(T>mN) for every interior start; here 2−XmN≥2−N on the survival event. Induction gives Pi(T>mN)≤(1−2−N)m. Since {T=∞}⊆{T>mN} for every m and the bound tends to zero, Pi(T<∞)=1. From either boundary state T=0, so every start hits AN almost surely.

4.1A1F8step 1.1step 2.1step 3.1step 1.2given

By [A1, F8] and step 3.1, the hypotheses of the bounded Dirichlet theorem hold for the chain with kernel KN, boundary AN, and data fN. Its expected boundary payoff is the unique bounded solution of those equations. Step 1.2 shows that this solution is gN.

5.1F4F8step 3.1step 4.1given

For a path with T<∞, the endpoints are distinct and T is the first visit to one of them, so fN(XT)=1 exactly when TN<T0. If T=∞, both hitting times are infinite and the theorem's payoff is zero, so the same indicator identity holds. Since T<∞ almost surely by step 3.1, [F8, step 4.1] yield Pi(TN<T0)=Ei[fN(XT)]=gN(i)=iN.

6.1A1F3F4F6F8step 1.1step 2.1step 3.1step 1.2step 4.1step 5.1given∎

The assumption N≥1 makes EN nonempty and 0,N distinct, so an empty state space, a one-state space, or an empty boundary set is inapplicable. For N=1 both states are boundary states and there is no interior equation; for N=2 the single interior equation in step 1.2 applies. At i=0, the time-zero convention gives T0=0 and both sides are zero; at i=N, it gives TN=0<T0 and both sides are one. All unlisted transition weights are zero, and the boundary rows are absorbing. AC is assumed and used through the canonical chain laws, conditional-expectation properties and bounded-future Markov identity, and the Dirichlet theorem. The claim is a hitting-probability identity, not an iff statement.

Source notes

Levin, Peres and Wilmer, §2.1, Proposition 2.1 and the complete proof of (2.1), printed p. 21 (PDF p. 36), sets the fair nearest-neighbor walk on the finite path with absorbing endpoints, derives p0=0, pN=1 and pi=(pi−1+pi+1)/2, then solves for pi=i/N. The source's displayed first-step derivation does not establish a finite exit-time bound before calling the boundary value a hitting probability; step 3.1 supplies that missing justification. Roch, Note 24 §2 Example 24.3 and the complete Theorem 24.4 proof, printed/PDF pp. 3–4, defines hitting-before-another-set as a boundary payoff and derives the first-step equation for bounded nonnegative exit data. It is context only: neither that passage nor its finite-irreducible tail lemma proves the present absorbing, reducible chain's exit bound or its harmonic solution.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

56 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