I would first collapse the duration noises as in part (c), then use self-normalized importance sampling on the two shared parameters. Draw independent , give each the importance weight , and returnThis is likelihood weighting: the observations affect the weights rather than forcing repeated simulation of twenty latent inequalities. Integrating out both the constraints' auxiliary randomness and the future Boolean query is Rao-Blackwellization; at fixed parameters it removes randomness without changing the relevant conditional expectations.
The weights and weighted queries lie in , and the evidence is positive. The strong law of large numbers therefore makes the numerator and denominator averages converge to their corresponding integrals, proving almost sure convergence of their ratio to part (d). The finite- ratio is generally biased; the assertion concerns consistency rather than a finite-sample unbiased estimator. Use logarithms of importance weights to avoid numerical underflow:
def weighted_answer(n, rng):
if n <= 0:
raise ValueError("n must be positive")
samples = []
for _ in range(n):
mu = rng.uniform(0.0, 60.0)
sigma = rng.uniform(1.0, 20.0)
samples.append((journey_loglik(mu, sigma),
math.exp(5.0 * normal_logcdf((mu - 30.0) / sigma))))
offset = max(logw for logw, h in samples)
if not math.isfinite(offset):
raise ArithmeticError("all weights underflowed")
scaled = [(math.exp(logw - offset), h) for logw, h in samples]
den = math.fsum(w for w, h in scaled)
answer = math.fsum(w * h for w, h in scaled) / den
ess = den * den / math.fsum(w * w for w, h in scaled)
return answer, essThe returned effective sample size of importance sampling is a concentration diagnostic, not a proof of accuracy. Repeat runs and inspect the weights. If the prior is much broader than the posterior, improve the proposal with the corresponding importance sampling density correction, or use the Metropolis–Hastings algorithm targeting . Because this particular collapsed problem is only two-dimensional, deterministic numerical integration is also an excellent independent accuracy check; it was used for the figure and numerical illustration. Straight rejection of the original traces is correct but wastes most proposals here.
Represent the simple random walk by , where the increments are independent and identically distributed and satisfy , . They are integrable and have expectation , so the strong law of large numbers givesIf , this nonzero drift implies that eventually leaves every fixed finite interval and tends to the appropriate infinity. Hence it visits zero only finitely many times almost surely, so zero is a transient state. By translation of the starting state, every state is transient: the chain is transient for . This also covers the deterministic endpoint cases , without assuming Markov chain irreducibility at those endpoints.
The strong law of large numbers says that, for real independent and identically distributed random variables with ,The assertion is almost sure convergence of the entire sequence of sample means. Finite first absolute moment suffices; a finite variance is not required.
Put and . The Markov property and the state-independent transition probabilities show that, conditional on the whole previous history, is with probability and with probability . Multiplying these conditional probabilities for any finite step sequence proves that the are independent and identically distributed random variables, withBecause , the strong law of large numbers givesIn particular, almost surely. This stronger pathwise consequence will determine both eventual crossings and the asymptotic first-passage times.
First identify the recurrence type, rather than infer an occupation limit from a one-time probability. At time , return to zero requires exactly upward steps. The binomial distribution giveswhere the last step is Stirling's approximation. At all other positive times the return probability is zero. Hence . The recurrence criterion by return probabilities proves the recurrent property; by the irreducible Markov chain property established in (i), every state is recurrent. The equivalence of positive recurrence and existence of a stationary distribution for an irreducible Markov chain on a countable state space, together with (iii), makes this chain null recurrent.
For completeness, the zero occupation proportion follows directly by treating returns as a renewal process. Let be successive strictly positive return-cycle lengths to zero. The Strong Markov property makes them independent and identically distributed, the recurrent property makes them finite almost surely, and the null recurrent property gives . For each positive integer , the strong law of large numbers applied to givesTake a common event of probability one for these countably many . By the monotone convergence theorem, the right side increases to infinity. Thus the number of completed return cycles by time , divided by , tends to zero. Counting the initial visit changes this ratio by at most . Consequently,The walk visits zero infinitely often, but the asymptotic fraction of time spent there is zero.
The strong law of large numbers states that, for independent and identically distributed random variables with ,Thus, outside an event of probability zero, the sample mean converges to the common expected value.
Taking logarithms of the product givesBy part (d)(i), in probability distribution, where has the exponential distribution of rate one. Thus and . The strong law of large numbers givesIf , choose . Eventually , so . If , choose ; eventually . ThereforeIn particular, the second range cannot have almost sure convergence to zero. This is the almost-sure growth rate of independent products. At the logarithmic limit is zero, which by itself decides neither behavior; that boundary case is not requested.
For unknown normalization constants, use self-normalized importance sampling with :Under the same support condition, and . Moreover , by Cauchy-Schwarz inequality and the supplied . The strong law of large numbers applies to numerator and denominator sample averages. Their ratio tends almost surely, hence in probability, to . If a finite sample happens to give zero denominator, it can be assigned an arbitrary value; this does not affect the eventual almost sure limit. The ratio estimator is generally biased at finite .
Generate independent and identically distributed random variables with probability density function , evaluate for each draw, and return the Monte Carlo estimatorLinearity of expectation makes this an unbiased estimator: . Independence and the specified variance give . Its Monte Carlo standard error is therefore , and the strong law of large numbers gives convergence to almost surely.
Use the same acceptance indicator functions and set , . The rejection sampling estimator based on these proposals is the mean over the accepted observations:For , any fixed convention, such as zero, is harmless asymptotically. The are independent and identically distributed random variables with Bernoulli distribution and success probability , so the strong law of large numbers gives almost surely. In particular eventually almost surely. The exact identitythen holds whenever . Wherever , it follows thatA qualification is missing from the printed claim: the quotient must be defined eventually. A convenient sufficient assumption is and . Indeed, another application of the strong law of large numbers gives , ensuring that is eventually nonzero. This proves the stated quotient limit under that assumption.
As printed, the assertion is false as a universally defined quotient. For example, makes both estimates zero for every . Even excluding that example is insufficient: take to be the uniform distribution on , , and for and otherwise. Then is a simple symmetric random walk, which returns to zero infinitely often almost surely, leaving the quotient undefined infinitely often.
With integrability but no assumption , the exact multiplicative identity remains valid, and both estimates converge to almost surely. In particular almost surely. One may alternatively define the quotient's removable cases as ; that explicitly extended quantity always converges to one. These are valid repairs of the source's unrestricted statement.
planar Brownian motion is recurrence of planar Brownian motion when, almost surely, it returns to every nonempty open neighborhood infinitely often, at arbitrarily large times. This does not mean that it hits each specified point; a prescribed point is polar for planar Brownian motion.
recurrence of planar Brownian motion and continuity imply that all the circle-hitting times in the question are finite. Starting on radius , it eventually visits the exterior of radius and must cross that circle; it later visits the interior of radius and must cross back. Each duration is strictly positive by path continuity, because the two radii are separated.
At , the Strong Markov property restarts Brownian motion at its current point on the inner circle. rotational invariance of Brownian motion makes the law of the subsequent first exit time from the radius- disk independent of that starting angle. Its conditional distribution given the past is therefore the same fixed law at every cycle, proving that the are independent and identically distributed.
To prove divergence of the conformal clock for any nonconstant entire , choose a point with . By continuity, there exist such that throughout the closed disk . Use the same recurrence of planar Brownian motion circle cycles centered at , with radii . On each segment from the inner circle to the outer circle, the path remains in that disk, givingThe durations are positive iid variables. If their mean has not been computed, apply the strong law of large numbers to the bounded iid variables : their mean is strictly positive, so their sum, and hence , diverges almost surely. ThereforeCentering the disks at a noncritical point avoids an unjustified positive lower bound on around the original origin.
Write . Harmonicity and Itô's formula make continuous local martingales. The Cauchy-Riemann equations give equal brackets and zero mutual bracket. Consequently Lévy's characterization of Brownian motion after time change of a continuous process makes a planar Brownian motion started at , with no finite clock lifetime because the clock just proved is unbounded. The clock is strictly increasing: otherwise would vanish along a nonconstant path interval, contradicting its isolated zeros.
For the notation in the source, is interpreted as the conformal scale . If it instead means the sum of the squared magnitudes of both complex coordinate derivatives, it is , and the resulting runs at half the usual Brownian speed. This convention does not change divergence of the integral. The mechanism is recurrent disk occupation makes an entire conformal clock infinite.
For positive times the transformed process is centered and jointly Gaussian, andIts paths are continuous away from zero. To verify continuity at zero, we need almost surely as . The strong law of large numbers applied to the independent increments gives . On the unit interval after , the Doob L2 maximal inequality givesThe Borel-Cantelli first lemma, first for each positive rational , shows that these between-integer fluctuations divided by tend to zero. Hence for all real , and as .
The Gaussian-process characterization of Brownian motion now proves is standard Brownian motion, with respect to its natural filtration. This is time inversion of Brownian motion; the transformed process need not be adapted to the original forward filtration.
A general-purpose high-dimensional choice is Monte Carlo integration. Draw independent vectors uniformly from the unit cube and evaluate . The cube has volume , so its integral is the expected value of . The iterative estimator isThe integrand is continuous on a compact set, hence bounded with finite variance. The strong law of large numbers gives almost sure convergence, and the square root of the mean squared error is exactly , where . Thus the standard stochastic accuracy rate is ; the dimension affects the variance and evaluation cost, not this exponent.
There is also an important structure-specific improvement here: is a separable integrand. The Fubini theorem reduces the requested value exactly toOne can therefore replace high-dimensional sampling by one-dimensional composite Simpson's rule calculations. For each factor use even , , andthen iterate and form the sum of the products. These smooth factors give deterministic discretization error for fixed centres. Thus Monte Carlo integration is a valid generic answer, while exploiting separability is the more efficient specialized alternative; a large dimension alone does not force a tensor-product grid.
For a cumulative distribution function , let , . Right continuity gives exactly when , including at atoms. Thus applying to independent uniform variables constructs an independent sample with distribution function . Its empirical distribution function is , where is the uniform-sample empirical distribution function. Consequently . For the uniform sample, monotonicity and a grid of mesh bound the last supremum by the largest error at grid points plus . The strong law of large numbers on the countable union of all such grids proves the almost-sure limit. This construction proves the theorem for distributions with atoms as well as continuous distributions.
Take independent random variables equal to and with probability each, and otherwise equal to one. Their first absolute deviations are , so in L1 convergence. The same triangle-inequality argument gives convergence in of their arithmetic averages to one. For , however, .
The exceptional jumps occur infinitely often almost surely by the Borel-Cantelli second lemma, since . If the arithmetic averages converged to any finite value along a sample path, then would tend to zero. At each exceptional jump its magnitude is at least one. Thus the averages have no finite almost sure limit. Independence and convergence of first-moment averages do not alone give a strong law of large numbers.
With channel feedback, resend each message bit through a binary erasure channel until a non-erased copy arrives, then move to the next bit. The channel decoder deletes erasure symbols, giving the message without error whenever transmission completes. For , the waiting times have an independent and identically distributed geometric distribution with expectation , so every finite message completes almost surely. The strong law of large numbers gives forward code rate , matching channel capacity. At , transmission never completes. Independent erasure indicators, rather than independent message bits, are the essential hypothesis.
Short-time Gaussian spin-bath decoherence 2026-10-07
For initially equatorial spins and uniform couplings on , expand . The strong law of large numbers then gives . On the scale , the total fourth-order remainder tends to zero, giving the Gaussian coherence envelope. This approximation concerns early times and does not remove finite spin-bath coherence recurrence.
Stationary workload supremum 2026-10-14
For independent and identically distributed arrivals with finite mean below service , the strong law of large numbers makes the net cumulative input tend to minus infinity, so the supremum is finite almost surely. Applying the same formula to the past input gives a stationary solution of the Lindley recursion. This representation turns queue workload overflow into an event involving some lookback horizon.
Strong law for adjacent products Created 2026-10-05 Updated 2026-10-06
For independent and identically distributed random variables with and , the sample mean of tends to almost surely. Split into odd and even indexed products; each subsequence consists of independent and identically distributed random variables that are integrable random variables. Apply the strong law of large numbers separately.
Strong law for Poisson arrival times 2026-10-14
For a homogeneous Poisson process of rate , almost surely: unit-time increments are independent Poisson variables and the strong law of large numbers applies, then monotonicity fills the intervals between integers. At its th point , simplicity gives . Consequently . Rate and mean interarrival time are reciprocals.