# Range of a planar random walk before its first return: tail, window law with constant pi, and point bounds (partial answer to MO 499047)

iis:2611.00508 · by devsingh-lab · https://isitsolved.com/journal/db3d12556895

**Abstract.** MathOverflow question 499047 asks for the distribution of R, the number of distinct sites other than the origin visited by simple random walk on the square lattice before it first returns to the origin, and in particular for an upper bound on P(R = n). We prove: P(R >= n) ~ pi/log n; for every window length h with h = o(n) and h log n / n -> infinity, P(n <= R < n + h) ~ pi h / (n log^2 n); the point bounds n^(-1-eta) <= P(R = n) <= C n^(-1/4) / log^3 n for every eta > 0 and large n; and local regularity P(R = n + j)/P(R = n) -> 1 for |j| = o(n^(1/4)/sqrt(log n)). The asymptotic of a single point probability, conjecturally pi/(n log^2 n), remains open, so this is a partial answer. The proofs combine the local first-return law with the Bass-Chen-Rosen concentration of the range. Written proof, refereed by AI reviewers and supported by exact enumeration and Monte Carlo; not formalised in Lean and not yet read by a human specialist. The two lower-bound notes are detailed sketches.

# Range of a planar random walk before its first return

**Results.** $\Pr(R\ge n)\sim\pi/\log n$; $\Pr(n\le R<n+h)\sim\pi h/(n\log^2 n)$ when $h=o(n)$ and $h\log n/n\to\infty$; $n^{-1-\eta}\le\Pr(R=n)\le Cn^{-1/4}/\log^3 n$ eventually. **Open:** the asymptotic of $\Pr(R=n)$. Written proof, not machine-checked.


A partial answer to [MathOverflow question 499047](https://mathoverflow.net/questions/499047).

Joshua Meisel asks for the point probabilities of the range $R$ of the first excursion of simple symmetric random walk on the square lattice. He specifically asks for an upper bound. Here $R$ counts distinct sites other than the origin; including the origin shifts the answer by one. [Question and discussion](https://mathoverflow.net/questions/499047/distribution-of-the-range-of-a-2d-random-walk-excursion)

**Result for a window.** If $h=h(n)$ is a positive integer, $h/n\to0$ and $h\log n/n\to\infty$, then
$$
 \Pr(n\le R<n+h)\sim\frac{\pi h}{n(\log n)^2}.
$$
**Pointwise bounds.** For every $\eta>0$, $p_n\ge n^{-1-\eta}$ eventually. [Annular lower bound](https://github.com/DevSingh05/mo-499047-excursion-range/blob/main/near-linear-floor.md) · [Adjacent-rank ratio limit](https://github.com/DevSingh05/mo-499047-excursion-range/blob/main/polynomial-floor.md). The upper estimate is $\Pr(R=n)=O(n^{-1/4}/(\log n)^3)$. The sharp asymptotic for a single integer remains open in this analysis. The window result gives the constant $\pi$ for the averaged point mass on the specified scales. All logarithms are natural.

## Proof

This section proves the tail comparison (1) and the window formula on the smaller range $h\log n/(n\log\log n)\to\infty$. The full range in the statement and the point bound $O(1/\log^3 n)$ follow once (2) below sharpens the error in (1); the bound $O(n^{-1/4}/\log^3 n)$ needs the detour construction after that.

Let $S_0=0$, $T=\min\{t\ge1:S_t=0\}$, and $D_t=|\{S_0,\ldots,S_t\}|-1$. Then $D_t$ increases weakly with $t$ and $D_T=R$. Write $\mu_t=\mathbb ED_t$.

We use the classical square-lattice local first-return law $\Pr(T=2m)\sim\pi/[m(\log m)^2]$, with zero probability at odd times. It implies $\Pr(T>t)\sim\pi/\log t$ by summation. Our other input is Bass, Chen and Rosen's Theorem 5.4: for constants $c,C>0$ and $t\ge3$,
$$
 \Pr(|D_t-\mu_t|\ge u\,t/\log^2 t)\le Ce^{-cu}\qquad(u\ge0).
$$
Their deterministic-time range counts $S_1,\ldots,S_t$ and differs from ours by at most one; centering thus changes the difference by at most two, absorbed into $C$. Their generation hypothesis holds since the unit lattice steps generate $\mathbb Z^2$. [First-return law: Flajolet and Sedgewick, *Analytic Combinatorics* (Cambridge, 2009), singularity analysis of lattice walks](https://algo.inria.fr/flajolet/Publications/book.pdf) · [Bass, Chen and Rosen, Theorem 5.4](https://web.math.utk.edu/~xchen3/rangedev19.pdf)

**Period two.** The theorem statements of Bass, Chen and Rosen do not assume aperiodicity, but an auxiliary estimate in their derivation uses strong aperiodicity, and simple random walk has period two. To avoid relying on that step for a periodic walk, apply their theorems to the two-step walk. The even-time positions $S_0,S_2,\ldots$ form a walk on the even sublattice, which is a copy of $\mathbb Z^2$; its step has finite support, generates the sublattice and is zero with probability $1/4$, so it is strongly aperiodic. The odd-time positions are $S_1$ plus an independent copy of the same walk and stay on the odd sublattice. The two sublattices are disjoint, so the range up to time $t$ is the sum of two ranges of the two-step walk over about $t/2$ steps, and the mean $\mu_t$ splits the same way. The two parts share increments and are not independent, but only a union bound is needed: applying Theorem 5.4 to each part with $u/2$ gives the displayed bound with new constants. In the same way the intersection of the ranges of two independent simple walks is a union of at most two intersections of two-step walk ranges, with starting displacements fixed by the first steps; Theorem 5.3 is uniform in the starting displacement, so it applies after conditioning on those steps. Every later use of the two theorems is meant in this form.

**Invert the mean range.** By reversing the first $t$ increments, the event that the site at time $t$ is new has probability $\Pr(T>t)$. Thus $\mu_t-\mu_{t-1}=\Pr(T>t)$, and summation gives $\mu_t\sim\pi t/\log t$. Put $k=k(n)=\min\{t:\mu_t\ge n\}$. Then $0\le\mu_k-n\le1$ and $k\sim n\log n/\pi$.

**Compare the two random thresholds.** Fix a sufficiently large constant $A$, let $w=\lceil A k\log\log k/\log k\rceil$ and $t_\pm=k\pm w$. The mean increments on this interval are uniformly $(\pi+o(1))/\log k$. Hence $n-\mu_{t_-}$ and $\mu_{t_+}-n$ are each $(\pi+o(1))w/\log k$. The concentration inequality at these two deterministic times gives
$$
 \Pr(D_{t_-}\ge n)+\Pr(D_{t_+}<n)=O((\log k)^{-5})
$$
by increasing $A$ once. Outside these events, $T\le t_-$ forces $R<n$, and $T\ge t_+$ forces $R\ge n$. The probability that $T$ is in $[t_-,t_+]$ is $O(w/(k\log^2 k))$ by the local return law. Consequently
$$
 \Pr(R\ge n)=\Pr(T\ge k(n))
       +O\!\left(\frac{\log\log n}{(\log n)^3}\right). \tag{1}
$$
This comparison requires no independence between range and return time.

**Take a difference of tails.** Put $k'=k(n+h)$. For $h=o(n)$, $k'/k\to1$. The overshoots in the inverse mean are bounded by one, and the increments between $k$ and $k'$ are uniformly $(\pi+o(1))/\log k$. Therefore $k'-k\sim h\log k/\pi$ whenever $h\to\infty$. Summing the return law over even times in $[k,k')$ yields
$$
 \Pr(k\le T<k')\sim\frac{\pi(k'-k)}{k\log^2 k}
                 \sim\frac{\pi h}{n\log^2 n}.
$$
The errors from (1) at both endpoints are $O(\log\log n/\log^3 n)$. They are little-oh of this expression when $h\log n/(n\log\log n)\to\infty$, which proves the window formula on that range. For $h=1$ the same mean-increment argument gives $k'-k=O(\log k)$, hence $\Pr(k\le T<k')=O(1/(k\log k))$, and subtracting (1) at consecutive levels gives $\Pr(R=n)=O(\log\log n/\log^3 n)$. The next section removes the $\log\log n$ and extends the window formula to every $h$ with $h\log n/n\to\infty$.

## Concentration conditional on the first return

There are absolute constants $c,C>0$ such that for all sufficiently large even $t$ and all $u\ge0$
$$
 \Pr\big(|R-\mu_t|\ge u\,t/\log^2 t\mid T=t\big)\le C e^{-cu}. \tag{2}
$$
Here $\mu_t$ is the *unconditional* mean. The return event is rare enough that simply dividing an unconditional deviation probability by $\Pr(T=t)$ would lose the estimate.

**Cutting the closed path.** Reserve the first and last $b=\lfloor\sqrt t\rfloor$ steps. Partition the remaining increments into four contiguous blocks whose lengths differ by at most one. Write $A_j$ for the sites visited by block $j$, including both endpoints. For one specified block, or two specified blocks, choose a different full block as a seam. On closure of the walk the path can be read cyclically beginning just after the seam. In this representation the observed blocks and all their mutual intersections are determined up to common translation by increments outside the seam. Conditional on those increments, the probability of closure is at most $C/t$ by the planar heat-kernel upper bound for the displacement of the seam.

On $\{T=t\}$, the first reserved segment avoids a return to its starting point, and the last reserved segment, read backwards from time $t$, also avoids a return to its starting point. Each restriction depends only on its own segment and has probability $\Pr(T>b)$. When taking an upper bound retain just these two restrictions and closure. For a one-block deviation, the block increments are independent of the reserved segments. Theorem 5.4 of Bass, Chen and Rosen thus gives
$$
 \Pr\big(T=t,\; \big||A_j|-\mathbb E|A_j|\big|\ge u\,t/\log^2 t\big)
 \le (C/t)\Pr(T>b)^2 e^{-cu}.
$$

For an intersection, order the two observed blocks along the path cut at the seam. Anchor the earlier block at its final site and read its increments backwards; anchor the later one at its initial site. The displacement between anchors is determined by the intervening increments and hence independent of both observed blocks. Conditional on every increment outside the two observed blocks and the seam, the two block ranges relative to their anchors have the laws of independent simple walks. The starting displacement can take any value. Theorem 5.3 of Bass, Chen and Rosen, with two walks, gives a uniform exponential bound for their intersection at scale $t/\log^2 t$ for *all* starting displacements. One may extend the shorter walk by independent increments and absorb the inclusion of its starting point into the constants. The seam closure bound and the same two reserved-segment restrictions now give
$$
 \Pr(T=t,\; |A_i\cap A_j|\ge u\,t/\log^2 t)
 \le (C/t)\Pr(T>b)^2 e^{-cu}.
$$
In this computation only the relative placement reconstructed along the cut path is used before imposing closure; on closure it equals the true relative placement. Dividing either bound by the even-time first-return probability costs only a constant, since $\Pr(T=t)\asymp 1/(t\log^2 t)$ and $\Pr(T>b)\asymp 1/\log t$. [Bass, Chen and Rosen, Theorems 5.3 and 5.4](https://web.math.utk.edu/~xchen3/rangedev19.pdf)

**Recovering the full range.** The difference between $D_t$ and $\sum_j |A_j|$ is bounded in absolute value by $2b+3+\sum_{i<j}|A_i\cap A_j|$. Unconditionally the expected value of each intersection is $O(t/\log^2 t)$ by the same two-walk estimate, anchoring the blocks in ordinary chronological order. Hence $|\mu_t-\sum_j\mathbb E|A_j||=O(t/\log^2 t)$. The finite union bound for the four individual deviations and six intersections proves (2).

**Application to the time comparison.** With $k=k(n)$ as before, the probability that the events $\{R\ge n\}$ and $\{T\ge k\}$ differ is $O(1/\log^3 k)$. For $T<k/2$ or $T>2k$ the exceptional probability is $O(k^{-c})$: use monotonicity of $D_t$ and unconditional concentration at $\lfloor k/2\rfloor$ and $2k$, whose expected ranges differ from $n$ by order $k/\log k$. For $k/2\le t\le2k$, reversal and the bounded overshoot in the inverse mean give $|\mu_t-n|\ge c|t-k|/\log k-1$. Applying (2) to the appropriate one-sided deviation (using the trivial probability bound within the bounded overshoot) and then summing the local first-return masses bounds the exceptional probability by
$$
 \frac{C}{k\log^2 k}
 \sum_{k/2\le t\le 2k}\exp\big(-c|t-k|\log k/k\big)
 =O(1/\log^3 k).
$$
Thus (1) holds with the improved error $O(1/\log^3 n)$. Subtraction at consecutive levels gives the point upper bound $O(1/\log^3 n)$, and subtraction at levels $n,n+h$ gives the displayed window law whenever $n/\log n=o(h)$ and $h=o(n)$. This conditioning argument still requires an average over many levels to recover the conjectured leading constant.

## A polynomial upper bound by adding or removing two-step excursions

Write $p_n=\Pr(R=n)$. Then
$$
 p_n=O\!\left(\frac{1}{n^{1/4}\log^3 n}\right).
$$
An excursion of range $n$ has order $\sqrt n$ available boundary edges even in the most compact possible shape. The following construction turns a positive fraction of those edges into independent changes of one unit of range.

**Disjoint pairs.** Fix one of the four lattice directions $d$ and one residue class of $y$ modulo $2\mathbb Z^2$. Use the ordered pairs $(y,z)=(y,y+d)$ with $y$ in that class, omitting pairs incident to the origin. These pairs have disjoint endpoints. For a finite first-return path, call a pair available when the path visits $y$ and either (i) never visits $z$, or (ii) visits $z$ exactly once, in a segment $y,z,y$ immediately following the first arrival at $y$. In case (i) insert this segment at that arrival, and in case (ii) erase it. The operation preserves first return, is its own inverse, and adds or subtracts exactly one distinct non-origin site. Operations at different pairs commute: they do not change the first arrival at another anchor, the presence of its tip, or an existing removable segment there. In particular they preserve the set of available pairs.

The resulting equivalence classes are finite cubes. Each has a unique base path with all removable segments erased. If the cube has $M$ available pairs, a path with exactly $j$ inserted segments has probability $16^{-j}$ times the base path probability, since its length is greater by $2j$. Thus conditional on the cube, $R$ has the law $r+\mathrm{Bin}(M,1/17)$, where $r$ is its base range. No independence of moves at overlapping boundary edges is assumed.

**Number of available pairs.** If a path has range $n$, its visited set including the origin contains $n+1$ sites. If it meets $a$ columns and $b$ rows then $ab\ge n+1$. The top and bottom sites in each column and the extreme sites in each row furnish at least $2a+2b\ge4\sqrt{n+1}$ directed edges to unvisited sites. At most four have anchor zero. Distributing them among the 16 fixed choices of direction and residue class shows that for some choice $M\ge c\sqrt n$ with an absolute $c>0$ for large $n$. We sum bounds over these 16 choices, keeping the event $M\ge c\sqrt n$ inside each cube decomposition.

**Local averaging.** If $B\sim\mathrm{Bin}(M,1/17)$, $1\le h\le\sqrt M$, and $j$ is an integer, then
$$
 \Pr(B=j)\le (C/h)\Pr(|B-j|\le h)
$$
for an absolute $C$. Indeed, if the mode is at distance at least $h$, take $h$ consecutive steps toward it and use unimodality. Otherwise the binomial masses within $2\sqrt M$ of the mode are comparable up to a constant for sufficiently large $M$: the successive ratio $(M-i)/(16(i+1))$ there has logarithm $O(M^{-1/2})$. Finitely many smaller $M$ are absorbed in $C$.

Take $h=\lfloor\sqrt c\,n^{1/4}\rfloor$. For each of the 16 choices apply the inequality to the cubes with $M\ge c\sqrt n$ and sum over those cubes. Every range-$n$ path belongs to the large-$M$ event for at least one choice, so
$$
 p_n\le(16C/h)\Pr(n-h\le R\le n+h).
$$
The sharpened time comparison after (2) bounds the last probability by $O(h/(n\log^2 n)+1/\log^3 n)$: the mean-inverse thresholds differ by $O((h+1)\log n)$ and the even-time first-return masses between them are $O(1/(n\log^3 n))$ each. This proves the polynomial upper bound. The counting argument handles each integer $n$ separately. It does not identify the conjectured single-integer asymptotic.

## Adjacent ranks and a subsequence with the sharp constant

The disjoint detours give a two-sided comparison as well. For fixed $A>0$, large $n$, and $|d|\le n^{1/4}/\sqrt{\log n}$,
$$
 |p_{n+d}-p_n|\le C_A |d|\,n^{-1/4}\sqrt{\log n}\,(p_{n+d}+p_n)+O_A(n^{-A}). \tag{3}
$$
The additive error matters: relative smoothness at an exceptionally small atom does not follow from this inequality alone.

**Random matching.** Independently of the walk, put independent continuous uniform labels and independent fair orientations on the undirected edges of the square lattice. Keep an edge if its label is the smallest among it and the six other edges sharing an endpoint. This is a matching. Remove edges incident to the origin. With the matching fixed, the available-detour cubes and their conditional binomial laws are as above.

For a fixed path of range $m$, use its boundary edges pointing from a visited anchor to an unvisited tip, omitting the origin. By bounded degree, a greedy selection keeps at least a constant fraction of these edges with disjoint sets of seven labels used in the matching test: each test overlaps only a bounded number of other tests. The selected tests and their orientation coins are independent. Each edge passes its test and points outward with probability $1/14$. There were at least $4\sqrt{m+1}-4$ boundary edges to begin with, so the binomial lower-tail bound gives
$$
 \Pr_{\rm matching}(M<c_0\sqrt m\mid\text{path})\le \exp(-c_1\sqrt m)
$$
for absolute positive constants and large $m$. This estimate holds for every individual path, including exceptional shapes.

**Comparing two atoms.** Work under the independent product law of path and matching, conditioning first on the matching and then on a cube. Its range is $r+B$ with $B\sim\mathrm{Bin}(M,q)$ and $q=1/17$. For either rank $m=n,n+d$, the joint probability of that rank and $M<(c_0/2)\sqrt n$ is exponentially small by the preceding pathwise estimate. On the other cubes, set $j=n-r$. If neither $j$ nor $j+d$ lies within $D\sqrt{M\log n}$ of $Mq$, their binomial probabilities are both $O(n^{-A})$ by Hoeffding's inequality for sufficiently large fixed $D=D(A)$. Otherwise both lie within $2D\sqrt{M\log n}$, hence strictly inside the support for large $n$. Throughout the segment between them, the logarithm of the successive-mass ratio $(M-i)/(16(i+1))$ has absolute value $O_A(\sqrt{\log n/M})$. The total absolute log-ratio is $O_A(|d|n^{-1/4}\sqrt{\log n})$. Using $|a-b|/(a+b)\le|\log(a/b)|/2$ for $a,b>0$ gives (3) after averaging. All errors stated per cube are integrated with the cube's probability weight.

**Consequence at individual ranks.** Let $H=o(n)$ with $H\log n/n\to\infty$, and put $v_n=\pi/(n\log^2 n)$. In *every* interval $[n,n+H)$ there is an index $m$ satisfying $p_m/v_n\to1$ as $n\to\infty$. Indeed, the average $\bar p$ on that interval is $(1+o(1))v_n$ by the window theorem. Some atom equals the average, or some adjacent pair straddles it. In the latter case (3) with $|d|=1$ and $A=3$ shows the larger atom is at most $(1+o(1))$ times the smaller plus $o(v_n)$. Both must be asymptotic to $v_n$. Moreover, for this $m$ and every $u=o(n^{1/4}/\sqrt{\log n})$, (3) gives $p_{m+j}/v_n\to1$ uniformly for $|j|\le u$. Thus the conjectured constant is attained on growing runs of consecutive ranks. The argument does not establish it at every large rank.

## Moving the starting point away from the target

Let $q_n(x)$ be the probability for a walk started at $x\ne0$ of visiting exactly $n$ distinct sites (including $x$) before its first hit on $0$. Set $q_n(0)=0$ for $n\ge1$. Then $p_n=q_n(e)$ for a neighbor $e$ of zero. There is also an exact spatial interpretation. Start an unrestricted walk at zero and list its distinct sites in discovery order, listing zero first. Then $q_n(x)$ is the probability that entry $n+1$ equals $-x$: translate the walk started at $x$ by $-x$. By reflection the sign is immaterial. In particular $\sum_x q_n(x)=1$ for each $n$.

**Erasing a small visited set.** Suppose a deterministic set $A$ of $s$ non-origin sites is already counted when the walk starts at $x$. Let $q_n^A(x)$ denote the probability that the union of $A$ and the subsequent non-origin range has size $n$. Uniformly in $x,A$, for fixed $B>0$ and $s=o(n^{1/4}/\sqrt{\log n})$,
$$
 q_n^A(x)=(1+O_B(s n^{-1/4}\sqrt{\log n}))q_n(x)+O_B(n^{-B}). \tag{4}
$$
To prove this, draw the independent oriented matching used for (3). Omit pairs incident to $0$, to $x$, or to sites in $A$. A path contributing to either atom has bare range between $n-s$ and $n$. At most $4(s+2)$ directed boundary edges are lost, so the pathwise exponentially small probability of having fewer than $c\sqrt n$ available pairs still holds. In each cube, the two range counts are $r+J$ and $r+d+J$ with the *same* binomial $J$ and $0\le d\le s$. Indeed all inserted tips are outside $A$ and the bare base range is fixed; $d$ counts the sites of $A$ absent from that base. The central-binomial ratio calculation and the two tail estimates in (3) therefore apply to both atoms on that cube, with $|d|\le s$. Average over cubes and absorb the resulting $o(1)q_n^A(x)$ term. The cube-dependent shift causes no loss, since it is fixed within each cube.

**Spatial reduction for the sharp constant.** Fix $0<\alpha<1/8$, put $r=n^\alpha$, and run the walk from $e$ until it hits zero or first exits the Euclidean disk $|x|<r$. Write $\omega_r$ for the exit-site distribution conditional on exiting first. The simple-walk potential kernel $a$ vanishes at zero, has $a(e)=1$, is harmonic off zero, and is $(2/\pi)\log |x|+O(1)$ at infinity. Optional stopping gives exit-before-hit probability $(\pi/(2\log r))(1+O(1/\log r))$ since every exit site has radius in $[r,r+1]$. [Lawler and Limic, §4.4](https://www.math.uchicago.edu/~lawler/srwbook.pdf)

The disk contains $O(r^2)=o(n^{1/4}/\sqrt{\log n})$ sites. A range of size $n$ cannot be accumulated without exiting. Conditional on the stopped prefix, use the strong Markov property and (4) to erase all the sites visited before exit. For any fixed $B$ this yields
$$
 p_n=\frac{\pi}{2\log r}(1+o(1))
       \sum_x\omega_r(x)q_n(x)+O_B(n^{-B}).
$$
Consequently the sharp law is equivalent, for this fixed $\alpha$, to the spatially averaged discovery-site estimate
$$
 \sum_x\omega_r(x)q_n(x)\sim\frac{2\alpha}{n\log n}.
$$
This equivalence concerns one prescribed rank $n$ throughout. It removes the singular starting point next to the target, but a local spatial estimate on the exit circle is still required.

## Spatial profile at one prescribed rank

Let $a(x)$ be the planar potential kernel, normalized by $a(e)=1$ for a unit neighbor. For each fixed $0<\beta<1/8$, the [all-ranks lower bound](https://github.com/DevSingh05/mo-499047-excursion-range/blob/main/near-linear-floor.md) and (4) imply
$$
 \sup_{0<|x|\le n^\beta}\left|\frac{q_n(x)}{a(x)p_n}-1\right|\longrightarrow0. \tag{5}
$$
The result determines the spatial profile near the start up to the unknown normalization $p_n$.

Choose $\beta<\alpha<1/8$, $r=n^\alpha$, and write $\tau$ for exit from the disk of radius $r$. For an attainable exit site $y$ let $h_y(x)=\Pr_x(S_\tau=y)$. Positivity, the interior Harnack inequality and the interior difference estimate for a harmonic function on a lattice ball give $h_y(x)/h_y(0)=1+O(|x|/r)$ for $|x|\le r/4$, uniformly in $y$. Indeed on the inner half-disk Harnack bounds the function by a constant times $h_y(0)$, and each unit difference on the inner quarter is at most $C h_y(0)/r$. [Lawler and Limic, §6.3](https://www.math.uchicago.edu/~lawler/srwbook.pdf)

Write $H_0$ for first hitting zero. By the strong Markov property at $H_0$,
$$
 \Pr_x(S_\tau=y,\tau<H_0)
 =h_y(0)\{\Pr_x(\tau<H_0)+O(|x|/r)\}.
$$
Stopping the harmonic function $a$ at $H_0\wedge\tau$ gives $\Pr_x(\tau<H_0)=(\pi a(x)/(2\log r))(1+O(1/\log r))$. The potential kernel has a positive lower bound on nonzero lattice sites by positivity and its logarithmic growth. Hence $O(|x|/r)$ is little-oh of the escape probability uniformly for $0<|x|\le n^\beta$. The killed exit measure equals $h_y(0)\,\pi a(x)/(2\log r)$ up to a uniform relative error tending to zero.

For every starting point in this region, erase the previously visited disk prefix by (4); its size is at most $O(r^2)$. Taking $B=4$ in (4) gives
$$
 q_n(x)=(1+o(1))a(x) C_n+O(n^{-4}),\qquad
 C_n=\frac{\pi}{2\log r}\sum_y h_y(0)q_n(y).
$$
All errors are uniform in $x$. Using $x=e$ and $p_n\ge n^{-2}$ eventually gives $C_n\sim p_n$. Substitution proves (5).

### An exact equation for the unknown normalization

Let $\sigma_j$ be the first time the $j$th distinct *non-origin* site is discovered on the unrestricted walk from zero. Define
$$
 b_j(x)=\Pr_0(\sigma_{j+1}<T,\ S_{\sigma_{j+1}}=x),\qquad j\ge0.
$$
This measure is supported away from zero and $b_0$ assigns mass $1/4$ to each neighbor. For $n\ge1$,
$$
 q_n(x)=\mathbb E_0\sum_{1\le t<T}\mathbf1_{\{D_t=n,\ S_t=x\}} .
$$
For $x\ne0$, reverse each finite path counted on the right. This gives exactly the paths from $x$ stopped on first hitting zero with $n$ nonzero sites, preserving the weight $4^{-t}$. Both sides vanish at zero. Since $\sum_x q_n(x)=1$ by the discovery-order identity, the expected time spent at each rank during one excursion is exactly one step, without conditioning on reaching that rank.

With $P$ the one-step averaging operator and $I$ the identity, conservation on this portion of the path gives the exact finite-support equation
$$
 (P-I)q_n=b_n-b_{n-1}+p_n\,\mathbf1_{\{0\}}.
$$
Indeed the rank-$n$ portion is entered at the $n$th discovery, with location law $b_{n-1}$ including its survival probability. Its next-step measure $Pq_n$ counts the same internal visits except for the entrance, plus the exit at the next discovery (law $b_n$) or at zero (mass $p_n$). Taking the second spatial moment and using $(P-I)|x|^2=1$ gives $\sum_x |x|^2 b_n(x)=n+1$ by induction. Taking the potential-kernel moment, using $(P-I)a=\mathbf1_{\{0\}}$ and $q_n(0)=a(0)=0$, likewise yields $\sum_x a(x)b_n(x)=1$ exactly. These equations constrain the profile at each rank; solving its normalization requires more control over the variation of $b_n$ with rank.

## Generating function near one

Let $G_R(z)=\mathbb E z^R$, $\varepsilon\downarrow0$ and $L=\log(1/\varepsilon)$. Then
$$
1-G_R(1-\varepsilon)=
\frac{\pi}{L+\log L+\log(8/\pi)}+o(L^{-2}).
$$
In particular the coefficient of the leading $1/L$ term is $\pi$. Equation (1) also gives $\Pr(R\ge n)\sim\pi/\log n$.

**Proof.** Let $E$ be an independent exponential variable of mean one, let $\lambda=-\log(1-\varepsilon)$, and put $N=\lceil E/\lambda\rceil$. Then $\Pr(R\ge N)=1-G_R(1-\varepsilon)$. Set $\delta=\pi\varepsilon/L$ and $M=\lceil E/\delta\rceil$, so $\Pr(T\ge M)=1-\mathbb E e^{-\delta T}$. We show these probabilities differ by $o(L^{-2})$.

Restrict to $L^{-4}\le E\le4\log L$; the complementary probability is $O(L^{-4})$. Uniformly there, $\log N=L+O(\log L)$, and the inverse-mean estimate $k(n)\sim n\log n/\pi$ gives $k(N)/M=1+o(1)$. Both thresholds tend to infinity uniformly. Conditioning on $E$, equation (1) costs $O(\log L/L^3)$. For the time threshold change from $k(N)$ to $M$, the local return bound is $O(1/(M L^2))$ per integer uniformly between these thresholds, and there are $o(M)$ integers between them, including rounding. Integrating proves the comparison.

Finally let $U(z)=\sum_{j\ge0}\Pr(S_j=0)z^j$. First-return renewal gives $1-\mathbb E z^T=1/U(z)$. For the square lattice, transforming $(x,y)$ to $(x+y,x-y)$ gives two independent one-dimensional walks, hence $\Pr(S_{2m}=0)=\binom{2m}{m}^2/16^m$. Consequently $U(z)=2K(z)/\pi$, with elliptic modulus $z$. The classical expansion $K(z)=\log(4/\sqrt{1-z^2})+o(1)$ gives $\pi U(e^{-\delta})=\log(8/\delta)+o(1)$. Substitution of $\delta=\pi\varepsilon/L$ proves the formula including its constant. [Elliptic expansion, DLMF §19.12](https://dlmf.nist.gov/19.12)

The real-axis generating function averages over nearby indices. To see the unresolved step for an individual coefficient, suppose one could prove eventual monotonic decrease of $p_n=\Pr(R=n)$. Apply the window formula above on both sides of $n$, with $h=\lfloor n/\sqrt{\log n}\rfloor$. Forwards and backwards window averages would sandwich $p_n$ between quantities both asymptotic to $\pi/(n\log^2 n)$. Eventual monotonicity is an additional hypothesis; no proof of it is supplied here.

## Exact point probabilities and the monotonicity obstruction

By rotational symmetry condition on the first step being $e=(1,0)$. For a finite connected set $A$ of non-origin sites containing $e$, let $F(A)$ be the probability of reaching the origin before stepping outside $A\cup\{0\}$. If $H_A$ is the nearest-neighbor adjacency matrix restricted to $A$ and $b_A(x)$ is the indicator that $x$ neighbors the origin, then
$$
F(A)=[(4I-H_A)^{-1}b_A](https://github.com/DevSingh05/mo-499047-excursion-range/blob/main/e).
$$
This is the finite Dirichlet equation with boundary value one at the origin and zero elsewhere. The inverse exists since from every site there is a positive probability of exiting the finite region in bounded time.

Every excursion counted by $F(A)$ has a unique connected non-origin range $B\subseteq A$ containing $e$. Compute its exact probability by subtracting the probabilities of all strict such subsets from $F(A)$. Summing these exact masses over the connected rooted sets of size $n$ yields $p_n$. This finite formula applies at every $n$; its computational cost grows exponentially.

| Non-origin sites $n$ | Distinct candidate sets | Exact $p_n$ |
|---|---:|---:|
| 1 | 1 | $1/4$ |
| 2 | 3 | $1/20$ |
| 3 | 12 | $3/56$ |
| 4 | 47 | $13399/456456$ |
| 5 | 185 | $197526193/7881169296$ |

In particular $p_3-p_2=1/280>0$. This disproves global monotonicity and leaves eventual monotonicity undecided. The enumeration is exact and enforces the first-return condition throughout. Run `python3 tools/random-walk/exact_range.py 6` from the repository root. [Reproduction code](https://github.com/DevSingh05/mo-499047-excursion-range/blob/main/../../tools/random-walk/exact_range.py)

## Status and prior art

This is a **partial answer**. The asymptotic of a single point probability $\Pr(R=n)$ is still open; what is proved is the tail, the window average with the constant $\pi$, an upper and a lower bound for each point, and local regularity.

How far it has been checked: the main text was refereed twice by independent AI reviewers briefed to find errors, with the cited theorems read in the linked sources; small enumerations and Monte Carlo runs agree with the formulas. The two lower-bound notes are detailed proof sketches: the geometry and the bookkeeping were checked line by line, but the invariance-principle transfers are standard steps that are not written out. Nothing here is formalised in Lean, and it has not been read by a human specialist.

Prior work: a comment in the MathOverflow thread already suggests the scale $1/(n\log^2 n)$ for the point mass, without proof. The deterministic-time concentration (Bass, Chen and Rosen) and the first-return law are established results that we use. Den Hollander's thesis treats related Green functions and the first-return time (Appendix C), which counts steps and not sites: [thesis](https://www.ilorentz.org/IL-publications/dissertations/sources/DenHollander_1985.pdf). Den Hollander and Weiss, *On the range of a constrained random walk*, J. Appl. Probab. 25 (1988), 451–463, compute the mean and bound the variance of the range of a walk conditioned to be at a given site at a given time; that is the setting of (2) for any return, not the first one, and we read only its abstract. We found no earlier derivation of the results above. If there is one, please open an issue and we will credit it.

Produced with AI assistants: Codex (OpenAI) found and wrote the proofs; Claude (Anthropic) refereed them and fixed wording.

