Markov Processes: Characterization and Convergence 11: Stationary-sequence invariance principlesTextbook
Why stationary dependence matters
Classical central limit theorems begin with independent observations. Many stochastic models instead produce observations whose dependence persists across time: measurements from an equilibrium process, functions of a stationary Markov chain, and noise sequences in time-series models are standard examples. For such data, the variance of a long sum contains covariance terms from every lag, and independence cannot be used to discard them. Chapter 7, Section 3 of Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence (Wiley, 1986), gives a functional central limit theorem under a quantitative mixing condition. The conclusion is stronger than convergence of one normalized sum: the whole partial-sum path converges to Brownian motion.
Stationary sequences and mixing
Fix a probability space (Ω,F,P) and a two-sided real sequence (Yk)k∈Z. Strict stationarity means that shifting every integer index by the same amount leaves the joint law of the entire sequence unchanged. Each Yk is measurable and centered, so E[Yk]=0.
For a nonnegative lag m, let the past be the sigma-algebra generated by all Yk with k≤0, and let the future be generated by all Yk with k≥m. For p≥1, the book's Lp mixing coefficientφp(m) is the supremum, over future events A, of
∥P(A∣past)−P(A)∥p.
Thus φp(m) measures how far events at least m time units in the future remain from being independent of the complete past. The Lean definition constructs both coordinate-generated sigma-algebras explicitly and represents conditional probability as the conditional expectation of an indicator.
Formalization target
For n≥1, define the scaled partial-sum process
Xn(t)=n1k=1∑⌊nt⌋Yk,t≥0.
The Lean sequence uses the index n+1 because Lean's natural numbers begin at zero; this is only a reindexing of the same positive scaling sequence. Suppose there is δ>0 such that every coordinate has a finite (2+δ) moment. Set
p=1+δ2+δ,m=0∑∞φp(m)δ/(1+δ)<∞.
The target is Theorem 3.1: the ordered covariance series converges and
σ2=E[Y12]+2k=2∑∞E[Y1Yk]
is nonnegative, while Xn converges to centered Brownian motion with variance parameter σ2. The variance is allowed to be zero. The covariance sum is encoded as convergence of its ordered partial sums, not as the stronger and unrequested assertion of absolute summability.
What the conclusion provides
The result identifies the macroscopic fluctuation process of a stationary dependent sequence. It supplies both the long-run variance, including every lag covariance, and a Brownian path limit. Consequently, continuous functionals of the accumulated process can be studied through the limiting Brownian motion rather than only through one-time normal approximations.
The formal statement preserves the book's functional interpretation. ConvergesToContinuousGaussian records the complete prelimit path laws, centered Gaussian finite-dimensional laws with covariance σ2min(s,t), and convergence to a continuous limit through a common realization. This avoids weakening the theorem to convergence of a single terminal sum or to separate finite-dimensional marginals. The declaration is a statement-only formalization: the theorem remains an open Lean goal, while the mixing coefficient and partial-sum process are concrete definitions.
Where the difficulty lies
The usual independent-sum argument does not apply because blocks of observations are not independent and their covariance terms need not vanish. Merely showing that dependence becomes small at large lags is insufficient: the decay must interact with the available (2+δ) moment so that the total contribution of distant dependence is summable. A scalar central limit theorem would also leave tightness of the path sequence unresolved. The theorem packages both issues into the summability condition on the precise Lp coefficient and concludes a path-level Brownian limit.
Formalization scope and conventions
The formalization uses a two-sided sequence indexed by Z, matching the source's convenient stationary extension. Stationarity is equality of the laws of the whole shifted and unshifted sequence, which entails every finite-dimensional shift identity without adding Markov or independence assumptions. The probability measure is explicit, and every coordinate has an explicit measurability hypothesis.
stationaryLpMixing uses the past through zero and the future beginning at lag m. Its codomain is the extended nonnegative reals, so an infinite norm or supremum is not silently totalized to an ordinary real. The summability hypothesis is an extended-real infinite sum strictly below infinity. stationaryPartialSums embeds the real sum in one-dimensional Euclidean space so it can reuse the book-wide continuous-Gaussian path-convergence definition. The exact floor, positive indexing, square-root normalization, covariance order, and degenerate zero-variance case are retained. No interpolation, absolute covariance summability, positive-variance assumption, Markov property, or independence condition is introduced.
The expression-essential infrastructure consists of the two definitions introduced here and the compatible book-wide ConvergesToContinuousGaussian definition already staged for the preceding diffusion-limit mission. The latter is imported rather than duplicated under a conflicting name. Useful future work includes proving the theorem from martingale approximation and developing reusable results relating concrete mixing bounds to the required summability hypothesis.
Selected references
Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986, Chapter 7, Section 3, Theorem 3.1, printed pp. 350–351; mixing convention in Section 2, printed pp. 345–346. Wiley DOI
3 thms1 active userReviewed
Captain: mikedeng1
Markov Processes: Characterization and Convergence 10: Martingale and state-dependent diffusion limitsTextbook
Why diffusion limits matter
Many stochastic models are built from small random changes occurring at high frequency. Queue lengths, population counts, particle systems, and numerical schemes may be discrete or have jumps at every finite scale, yet their large-scale behavior is often described by a continuous diffusion. A diffusion approximation replaces the detailed microscopic model by a process whose drift and covariance depend on its current state. This can make asymptotic probabilities and qualitative behavior accessible without claiming that the original model itself has continuous paths.
Chapter 7 of Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, develops general limit theorems for this passage. The retained results in this mission are Theorem 1.4, a martingale functional central limit theorem with deterministic covariance, and Theorem 4.1, a state-dependent diffusion approximation from localized characteristics. They are related limit regimes, but the former is not presented here as a literal specialization of the latter: its covariance may vary deterministically with time, whereas the state-dependent theorem uses time-homogeneous coefficient fields evaluated along the evolving state.
The probabilistic setting
A càdlàg process is right-continuous and has a finite left limit at every positive time. For each index n, the state process Xn and its finite-variation characteristic Bn have càdlàg paths in Rd. A symmetric matrix process An has càdlàg entries and positive-semidefinite increments. The natural filtration records the histories of Xn, Bn, and An jointly.
The centered process Mn=Xn−Bn is required to be a local martingale coordinatewise. Its quadratic characteristic is represented by requiring every product
MniMnj−Anij
to be a local martingale as well. These conditions identify Bn as the approximate drift and An as the approximate covariance accumulation. They do not impose independence of the coordinates or of the prelimit processes.
Localization uses the first time τnr at which either the current value Xn(t) or its left limit Xn(t−) reaches radius r. The jump and characteristic conditions are checked only up to T∧τnr, for each radius r>0 and time horizon T>0. This is essential when coefficients are controlled locally but not globally.
Formalization targets
State-dependent diffusion approximation
Let a(x) be a continuous symmetric positive-semidefinite matrix field and let b(x) be a continuous vector field. For smooth compactly supported f, define
Gf(x)=21i,j∑aij(x)∂i∂jf(x)+i∑bi(x)∂if(x).
Assume the continuous-path martingale problem for this operator is well posed for every initial probability law. The goal states that if the stopped squared jumps of Xn and Bn vanish in expected supremum, the stopped first-power jumps of each Anij vanish, and the stopped characteristics converge in probability to
∫0tbi(Xn(s))dsand∫0taij(Xn(s))ds,
then weak convergence of the initial laws implies convergence of the complete path laws to the unique continuous diffusion law.
Martingale functional central limit theorem
The retained milestone treats vector local martingales with deterministic limiting covariance C(t). It preserves both alternatives in the source: either first-power martingale jumps vanish and An is the actual cross variation, or the jumps of An and the squared jumps of the martingale vanish while MniMnj−Anij is locally martingale. Pointwise convergence in probability of Anij(t) to Cij(t) then yields the centered continuous Gaussian limit with covariance C(min(s,t)).
Significance
The state-dependent theorem packages a common diffusion-limit argument into conditions on observable local characteristics. It separates model-specific work—identifying the drift, covariance, localization, and jump bounds—from the general conclusion that the entire trajectory converges. The martingale theorem records the important deterministic-covariance regime without erasing either of its two source alternatives.
For formalization, the mission provides concrete predicates for càdlàg paths, stopped maximum jumps, localized characteristic discrepancies, the diffusion generator, continuous martingale-problem laws, and Gaussian process convergence. The result is statement-only: the theorem bodies remain open with sorry, while every expression dependency is a concrete definition. No theorem proof, adapter-equivalence proof, or claim of completed formal verification is included.
Where the difficulty lies
Finite-dimensional convergence alone does not control whole trajectories. The central obstacle is simultaneous control of oscillations, jumps, and characteristics after localization. A naive argument that replaces Bn and An by their limiting integrals pointwise misses the uniform stopped discrepancies and does not justify tightness of path laws. Likewise, ignoring the left limit in the exit rule can miss a jump that crosses the localization boundary.
Well-posedness is also substantive. Identifying every subsequential limit with a solution of the martingale problem gives uniqueness only when that problem is well posed for the relevant initial law. The formal statement therefore retains existence and uniqueness for every initial probability law rather than silently assuming a distinguished solution.
Formalization scope
Time is nonnegative and the sequence is indexed from zero rather than one. Expectations of jump suprema take values in R≥0∪{∞}, so no unmentioned integrability assumption is introduced. Matrix positivity is Matrix.PosSemidef, which includes the real symmetric positive-semidefinite condition used by the source. The exit time includes both the current value and the positive-time left limit, and an empty exit set gives infinity.
The diffusion law uses continuous canonical paths, smooth compactly supported tests, and bounded measurable functions of finitely many past states to express the natural-filtration martingale identities. Full process convergence is encoded by a joint realization that preserves every complete prelimit path law and converges almost surely uniformly on each compact interval to a continuous limit. This is the source-reviewed continuous-limit Skorohod representation convention, not merely convergence of finitely many observations.
The two shared definitions EthierKurtz.IsSourceLocalMartingale and EthierKurtz.HasCrossVariation are imported from the earlier book-wide stochastic-calculus package. All other definitions needed to state these two results are included here. Contributions should preserve the localization quantifiers, both central-limit jump alternatives, the full martingale-problem well-posedness hypothesis, and the complete path-law conclusions.
Selected references
Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986, Chapter 7, Sections 1 and 4, Theorems 1.4 and 4.1. Wiley digital edition
10 thms1 active userReviewed
Captain: mikedeng1
Markov Processes: Characterization and Convergence 09: Brownian stochastic equations: existence and uniquenessTextbook
Brownian equations as models of evolving systems
A Brownian stochastic equation describes a state that changes through a deterministic drift and random fluctuations. Such equations are basic models for diffusions and connect probabilistic sample paths with analytic operators. Chapter 5, Section 3 of Stewart Ethier and Thomas Kurtz's Markov Processes: Characterization and Convergence develops this connection in both directions and then separates three questions: whether a solution exists, whether it is unique when driven by fixed noise, and whether all solutions have the same distribution. The mission records four central results from that section as one coherent formalization target. The principal goal is the fixed-driver existence theorem, Theorem 3.11. Theorems 3.3, 3.6, and 3.10 retain the representation, uniqueness, and weak-existence variants without treating one as a consequence of another.
State space, coefficients, and solutions
Fix a dimension d. The state space is the Euclidean space Rd, represented in Lean as EuclideanSpace ℝ (Fin d). A diffusion coefficient
σ:[0,∞)×Rd⟶Rd×d
controls the random fluctuations, and a drift coefficient
b:[0,∞)×Rd⟶Rd
controls the finite-variation part. Given a d-dimensional Brownian motion W and initial state ξ, a solution X satisfies, componentwise,
X(t)=X(0)+∫0tσ(s,X(s))dW(s)+∫0tb(s,X(s))ds.
The formal statement does not postulate an opaque stochastic-integral operator. The predicate HasBrownianItoIntegral uses bounded predictable dyadic step approximations, integrated squared-error convergence in probability, and convergence in probability of the corresponding stochastic sums. SolvesBrownianSDE requires continuous paths, adaptation to the completed natural past of W and ξ, integrability of the drift, and one almost-sure equation holding for every time and coordinate.
A weak solution may choose its probability space, filtration, and Brownian driver. Its Brownian future increments are independent of the entire filtration past, its state process is adapted after completion, and its initial distribution is prescribed. Pathwise uniqueness compares two solutions on the same space with the same filtration and driver. Distribution uniqueness compares solutions that may live on different spaces and asks for equality of their whole coordinate-path laws.
Formalization targets
Theorem 3.3: martingale-problem representation
For locally bounded Borel coefficients, a given continuous solution of the diffusion martingale problem can be lifted to the completed product with an auxiliary Brownian space. On that specific extension there exists a Brownian motion making the lifted original process a weak solution of the stochastic equation. The generator is
This target retains the factor 1/2, the complete drift term, possibly singular diffusion matrices, the given process, and the exact completed product filtration.
Theorem 3.6: uniqueness implication
For locally bounded Borel σ and b and any initial probability law μ, pathwise uniqueness implies uniqueness in distribution. No existence, Lipschitz, ellipticity, or moment assumption is added.
Theorem 3.10: weak existence
When both coefficients are continuous and a constant K satisfies
∥σ(t,x)∥2≤K(1+∥x∥2),x⋅b(t,x)≤K(1+∥x∥2),
there is a weak solution for every initial probability law. The drift hypothesis is one-sided and does not bound ∥b(t,x)∥.
Theorem 3.11: strong existence on fixed noise
The main goal assumes locally bounded Borel coefficients, the preceding one-sided growth condition locally in time, and local Lipschitz control on each bounded state ball. For every Brownian motion W and every independent square-integrable initial variable ξ already given on a probability space, there exists X solving the equation with respect to the completed natural past of W and ξ. The quantifier order preserves the fixed driver and original probability space.
Why these results matter
The representation theorem connects the analytic martingale problem with the pathwise stochastic-integral formulation while preserving a given process on a prescribed extension. The uniqueness theorem explains when the apparently stronger same-noise comparison controls the law of arbitrary weak solutions. The weak-existence theorem supplies solutions under continuity and one-sided growth without local Lipschitz assumptions. The strong-existence theorem supplies a solution driven by noise and initial data that are fixed in advance, under local Lipschitz regularity.
Formalizing the group creates reusable definitions for completed filtrations, Brownian drivers, local Itô integration, weak solutions, pathwise uniqueness, and time-dependent diffusion generators. The source results are classical theorems, and this proposal records their reviewed Lean statements as open proof obligations. It does not claim machine-checked proofs.
Main formalization difficulty
The central difficulty is keeping the probabilistic quantifiers and filtrations exact. Replacing the local stochastic integral by an unconstrained witness would make the equation too weak. Replacing weak existence by existence on a fixed space would make Theorem 3.10 too strong. Conversely, existentially choosing a new driver in Theorem 3.11 would lose its fixed-noise content. The representation theorem also cannot be reduced to equality in law: it must retain the original process through first projection and use the completed product past specified in the source.
Formalization scope
Time is ℝ≥0, states are finite-dimensional real Euclidean spaces, and diffusion matrices use the Frobenius norm. Brownian motion is represented by independent scalar Brownian coordinates with measurable evaluations and continuous paths. Completion adds every subset of an ambient measurable null set. The local Itô relation uses left-endpoint dyadic step functions, interval integrability, and convergence in probability. Equality of path laws is expressed on the coordinate function space; for continuous Euclidean paths this matches the usual continuous-path law.
The main theorem keeps Borel measurability, compact-set local boundedness, one-sided drift growth, squared diffusion growth, local Lipschitz bounds, independence of ξ and W, and the second moment of ξ. The weak theorem keeps continuity and an arbitrary initial law. The representation target keeps compactly supported smooth tests and the exact covariance contraction. These conditions rule out vacuous solution predicates and default-valued integrals. Contributions may prove the four theorem statements or establish reusable lemmas for the concrete integral, completion, martingale, and path-law infrastructure.
Selected references
Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986, Chapter 5, Section 3, Theorems 3.3, 3.6, 3.10, and 3.11. Wiley
16 thms1 active userReviewed
Captain: mikedeng1
Markov Processes: Characterization and Convergence 08: Change of variables for continuous semimartingalesTextbook
Motivation
A continuous stochastic process may combine a finite-variation drift with a local martingale fluctuation. To understand a function of that process, one needs a change-of-variables rule that accounts for both parts and for their quadratic covariation. The ordinary chain rule has no term for covariation. The result here is the time-dependent, multidimensional Itô formula in Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence (Wiley, 1986), Chapter 5, Section 2, Theorem 2.9, printed page 287 (PDF page 296). It applies to arbitrary continuous semimartingales satisfying the stated decomposition; its input is not restricted to a particular stochastic differential equation.
Setting
Time is the nonnegative real half-line and the state has d real coordinates, indexed by Fin d. The sample space Ω has a complete probability measure P and a filtration ℱ. The initial sigma algebra contains every ambient measurable null set. For each coordinate i, V_i is a continuous adapted finite-variation process, zero at time zero; M_i is a continuous adapted local martingale, zero at time zero almost surely. The process X_i has an ℱ₀-measurable initial value and satisfies X_i(t)=X_i(0)+V_i(t)+M_i(t) for all times and samples.
The test function f(t,x) has a continuous first time derivative, continuous first spatial derivatives, and continuous second spatial derivatives. At time zero, the time derivative is taken within the nonnegative-time domain. The notation f_t, f_{x_i}, and f_{x_i x_j} denotes these derivative witnesses. The conclusion supplies processes representing the continuous cross variations and integrals; their existence is part of the theorem. The Stieltjes relations use pathwise left dyadic sums for continuous finite-variation integrators. Martingale integrals and cross variations use convergence in probability of their corresponding dyadic sums. The integral versions are continuous and adapted where the theorem requires those properties.
Formalization targets
Theorem 2.9 — time-dependent multidimensional Itô formula
For every t ≥ 0, outside one null set independent of t, the target is
The goal is EthierKurtz.ito_formula. It retains every term and both coordinate indices in the cross-variation sum. The bracket and integral witnesses are existential conclusions, so the statement does not require their existence as an extra hypothesis on X.
Significance
The formula identifies the effect of a smooth, time-dependent transformation on any process with the stated continuous semimartingale decomposition. In particular, it exposes the second-order correction that distinguishes stochastic change of variables from deterministic calculus. This makes it a general calculus result that can later be applied to diffusion equations, martingale problems, and transformed processes, independently of how the input process was constructed.
The cited theorem is established in the source book. This mission provides a compiled Lean statement and concrete expression dependencies; it does not provide a Lean proof. Formalizing the proof would require the stochastic-integral and covariation infrastructure to support the source's continuous local-martingale setting and version conventions. A solver's result should prove this full statement or develop reusable infrastructure that supports it without changing its hypotheses or conclusion.
Difficulty
The ordinary deterministic chain rule cannot account for the double sum of cross variations. A statement limited to Brownian motion, an absolutely continuous bracket, or a fixed stochastic differential equation would omit cases covered by the source. The local-martingale integral also needs a continuous adapted version with a common almost-sure interpretation over all times; merely obtaining a separate fixed-time limit does not by itself supply that final identity. These requirements make the exact scope of the integral and bracket relations central to the formalization.
Formalization scope
The Lean declaration uses ℝ≥0 for time, Fin d → ℝ for state vectors, Measure Ω for the probability law, and Filtration ℝ≥0 for the filtration. It includes completeness of P, the initial-null-set condition on ℱ 0, continuity and adaptation of V and M, local bounded variation of V, stopping-time localization for M, the full decomposition of X, and continuous derivative witnesses for f. The final almost-everywhere quantifier precedes the universal time quantifier. There is no Brownian driver, global square-integrability requirement, right-continuity assumption on the filtration, or diagonal-only bracket simplification.
Five definitions are expression dependencies: IsSourceLocalMartingale, HasCrossVariation, itoStepSum, HasContinuousStieltjesIntegral, and HasContinuousMartingaleIntegral. Their staged declarations retain the reviewed source definitions under a consistent EthierKurtz namespace. The dyadic-sum definitions do not embed the change-of-variables identity, so the theorem cannot be discharged by unfolding a definition of the desired answer. The mission asks for a proof of the stated result, not a weakened special case. The empty-coordinate case is admitted consistently; no positive-dimensional source case is excluded.
Selected references
Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986 (held reprint 1986/2005), Chapter 5, Section 2, Theorem 2.9, printed p. 287 (PDF p. 296), equations (2.40)–(2.41). Conventions: printed pp. 279–280 and 286 (PDF pp. 288–289 and 295). Cross variation: Chapter 2, equation (6.4), printed p. 79 (PDF p. 88).
Markov Processes: Characterization and Convergence 01: Contraction semigroup generationTextbook
Motivation
Continuous-time Markov processes are often studied through operators that describe how observables evolve. The generation question asks when an operator specified on a domain actually determines a strongly continuous family of contractions. Ethier and Kurtz place this question at the start of Markov Processes: Characterization and Convergence because the resulting semigroup language supports their later treatment of processes and convergence. This mission records the full generation characterization in Chapter 1, Theorem 2.6, and retains the related perturbation result in Theorem 7.1.
Setting
Let (E) be a real Banach space. A linear operator (A) has a linear domain (D(A)\subseteq E), which need not equal (E). A family (T(t)), for nonnegative real (t), consists of bounded linear maps (E\to E). It is a strongly continuous contraction semigroup when (T(0)) is the identity, (T(s+t)=T(s)T(t)), every (T(t)) has norm at most one, and (T(t)x\to x) as (t\downarrow0) for every (x\in E). Its infinitesimal generator has exactly those (x) for which the right-hand difference quotient (t^{-1}(T(t)x-x)) converges, and sends each such (x) to the limit.
An operator is dissipative here when
r∥x∥≤∥rx−Ax∥(x∈D(A),r>0).
The range condition for a positive (r) says every vector in (E) is (rx-Ax) for some (x\in D(A)). Density means that vectors in (D(A)) approximate every vector in (E). These are independent requirements in the formal statement; neither the domain nor the operator is assumed closed or bounded.
For the related perturbation theorem, (A) and (B) may have different domains. Their sum uses the intersection of those domains. Closure is closure of the graph in (E\times E). A graph closure is required to be the graph of a single-valued operator before it can be called a generator.
Formalization targets
Theorem 2.6: generation characterization
The goal is the equivalence
A generates a strongly continuous contraction semigroup⟺D(A)=E,A is dissipative,Ran(rI−A)=E for some r>0.
The left side uses the full infinitesimal-generator domain, rather than agreement with a generator only on a smaller subdomain. The right side includes dissipativity for every positive parameter and full surjectivity for at least one positive parameter.
Theorem 7.1: relatively bounded perturbation
The retained related result assumes that the closure of (A) is single-valued and generates a strongly continuous contraction semigroup, (D(A)\subseteq D(B)), and (B) is dissipative. It further assumes
∥Bx∥≤α∥Ax∥+β∥x∥(x∈D(A)),0≤α<1,β≥0.
It concludes that the closure of (A+B) is single-valued and generates such a semigroup, and that its entire graph equals the sum of the graph closures of (A) and (B). This theorem is a related generation variant within the same mission, not a separate main goal.
Significance
The equivalence turns an existence question about a family of operators into conditions on a single potentially unbounded operator. In particular, it preserves the exact-domain requirement: proving only that a semigroup generator extends (A) would answer a weaker question. The perturbation theorem then identifies circumstances under which an already generating operator remains useful after adding a dissipative term that need not itself be bounded.
The textbook proves both statements. The Lean files supplied here are statements with intentional proof holes; they do not claim machine-checked proofs. A completed formalization would supply proofs of these source results while keeping the domain, range, closure, and relative-bound conditions shown in the statements.
Difficulty
The hypotheses describe a linear map on only part of the Banach space, while the conclusion requires bounded operators on all of (E) at every nonnegative time. Checking a semigroup law on a convenient subspace is insufficient unless the resulting operators and generator have the stated full domains. For perturbations, graph closure can enlarge a domain. An equality of formulas on (D(A)) alone would therefore omit the theorem's graph and domain conclusion.
Formalization scope
Lean uses NormedAddCommGroup E, NormedSpace ℝ E, and CompleteSpace E for the real Banach space; Submodule ℝ E for each domain; D →ₗ[ℝ] E for an operator that need not be bounded; and E →L[ℝ] E for each semigroup operator. Semigroup values at negative real times are unconstrained. The derivative is the right limit through positive times. Graph closure is topological closure in the ambient product, and graph sum requires a common input. The strict relative bound (\alpha<1) and positive resolvent parameter remain explicit.
The reusable definitions are the semigroup predicate, full generator predicate, operator graph, and graph sum. The mission welcomes proofs of the two stated theorems and genuinely source-based supporting lemmas. A model with an empty operator domain, an operator restricted from a larger generator, or a conclusion that drops the graph equality would not satisfy the target.
Selected references
Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986, Chapter 1, Sections 2 and 7, Theorems 2.6 and 7.1. Book record.
Wasserstein Distributionally Robust Optimization V: The Wasserstein Shrinkage Estimator and Robust MMSE EstimationTextbook
Motivation
Minimum mean square error (MMSE) estimation — predicting a signal x from a noisy observation
y by minimizing expected squared prediction error — underlies linear systems theory, linear
regression, Kalman filtering, and multiple-input multiple-output signal processing. Its classical
solution assumes the joint distribution of (x,y) is known exactly; in practice it is estimated
from data, and the estimator inherits sampling error and model risk. Kuhn, Mohajerin Esfahani,
Nguyen & Shafieezadeh-Abadeh's 2019 INFORMS TutORials chapter shows that hedging the MMSE
objective against every distribution in a Wasserstein ball around the empirical distribution
— an infinite-dimensional worst case over an intractable set of measures, a priori — collapses
to a tractable, finite-dimensional convex semidefinite program (Theorem 25, p. 29), building on
the Gelbrich-hull machinery of Section 2.3. This mission formalizes that reduction.
Setting
Fix mx,my∈N and let ξ=(x,y)∈Rmx×Rmy
be a random vector: x the signal to be estimated, y the observation. An estimator is a
measurable function ψ:Rmy→Rmx; write Ψ for the family of
all estimators. The distribution of ξ is only known to lie in a type-2 Wasserstein ball
Bε,2(P^N) centered at an elliptical nominal distribution P^N=Eg(μ^,Σ^) with nominal mean μ^∈Rm (m=mx+my), nominal
covariance Σ^∈S+m, and density generator g. The distributionally robust MMSE
estimation problem is
ψ∈ΨinfQ∈Bε,2(P^N)supEQ[∥x−ψ(y)∥22].(35)
Writing Σ^=(Σ^xxΣ^yxΣ^xyΣ^yy) blockwise, the nonlinear convex SDP
is the finite-dimensional relaxation the chapter builds toward.
Formalization targets
Goal (Theorem 25, distributionally robust MMSE estimator). If Σ^≻0, then the
optimal value of problem (35) equals the optimal value of SDP (36). Moreover, if S⋆ is
optimal in (36) with Syy⋆ invertible, then the affine function
ψ⋆(y)=Sxy⋆(Syy⋆)−1(y−μ^y)+μ^x
attains the outer infimum of (35) — it is a distributionally robust MMSE estimator, exhibited in
closed form from an SDP optimizer.
Significance
Theorem 25 reduces an a priori infinite-dimensional, worst-case functional optimization problem
(an infimum over all measurable estimators of a supremum over all distributions within a
Wasserstein ball) to a finite convex program with one linear matrix inequality, one Loewner-order
lower bound, and one trace/matrix-square-root constraint — solvable in polynomial time, with the
optimal estimator recovered in closed form from the SDP's optimal block matrix. It shows that
robustifying MMSE estimation against distributional ambiguity does not sacrifice tractability:
the resulting estimator remains affine, the same functional form as the classical (non-robust)
best linear unbiased estimator, only with its coefficients drawn from a regularized covariance
estimate rather than the raw sample covariance. Formalizing it fixes, machine-checkably, the exact
shape of that regularization — which SDP constraints are load-bearing (the Loewner lower bound in
particular rules out a numerically unstable near-singular Syy) and which conditions
(Σ^≻0, Syy⋆ invertible) the closed-form estimator formula actually needs.
Difficulty
The paper's own remark (p. 29) names the two nontrivial steps: first, "establishing a minimax
theorem for (35) and exploiting the properties of elliptical distributions" to show the outer
infimum is attained by an affine estimator — a priori (35) ranges over all measurable ψ,
and there is no obvious reason the worst case forces linearity. Second, "combining this structural
insight with Theorem 16" (the SDP-representability result for indefinite quadratic losses under
an elliptical nominal distribution, itself a nontrivial closed-form reduction of an
infinite-dimensional worst-case risk) to convert the now-restricted problem over affine estimators
into the finite SDP (36). Neither step is a routine consequence of the ambiguity-set definitions
alone; each requires structural facts about elliptical distributions and quadratic losses proved
earlier in the chapter.
Formalization scope
The signal-observation space is EuclideanSpace ℝ (Fin mx ⊕ Fin my), with x and y recovered
as the two summand projections; the block matrix S is Matrix (Fin mx ⊕ Fin my) (Fin mx ⊕ Fin my) ℝ, and Matrix.toBlocks₁₁/toBlocks₁₂/toBlocks₂₁/toBlocks₂₂ give its four blocks. The
constraint "Sxy=Syx⊤" is not stated as a separate hypothesis: it follows
automatically once S is symmetric (implied by S.PosSemidef), so encoding the feasible set from
a single symmetric S rather than four independently-quantified blocks makes it structurally
impossible to drop — see pitfall 4 of BRIEF.md. The outer infimum of problem (35) ranges only
over measurableψ (Measurable ψ on the binder), matching the paper's own definition of
Ψ as "the family of all possible measurable estimators" (p. 29) exactly. λ_min(Σ̂) is taken
as a hypothesis parameter
characterized by the two properties that make it the minimum ("≤ every eigenvalue of Σ̂, and
attained by some eigenvalue"), rather than invoking a specific Mathlib min-eigenvalue API by name.
S_{yy}⁻¹ uses the ordinary matrix inverse (junk zero matrix when singular), matching the paper's
literal notation; S^\star_{yy} invertible is stated as an added hypothesis, not present
verbatim on the page, because the paper leaves the formula's well-definedness implicit — disclosed
per pitfall 5 rather than silently assumed away. The paper's own "which is always solvable"
clause is not asserted: Theorem 25 states, as part of itself, that SDP (36) attains its maximum
(an unconditional existence claim for an optimal S⋆); this formalization states only the
conditional consequences of such an S⋆ existing, not that one does — proving or asserting
solvability is out of this mission's scope, so the Lean statement is strictly weaker than Theorem
25's own conclusion on this point, disclosed rather than silently dropped. All risk-style suprema
are EReal-valued and
Integrable-guarded, matching the series' convention. No milestone theorem is included: the
paper's own proof sketch derives (33)'s and by extension (36)'s SDP "via Theorem 16", but Theorem
16 (indefinite quadratic loss and p=2, eq. 23) was itself judged too heavy to state faithfully
in 02-gelbrich's time budget and is not redefined here either — see STATUS.md. Theorem 24 (the
Wasserstein shrinkage estimator, this chapter's originally recommended goal) is out of scope: its
closed-form eigenvalue transformation (eq. 34a/34b) requires transcribing nested square roots from
a rendered PDF page that this session's time budget did not allow verifying to the standard the
brief demands (pitfall 1); the brief's own documented fallback to Theorem 25 was taken instead.
Selected references
Kuhn, D., Mohajerin Esfahani, P., Nguyen, V. A., & Shafieezadeh-Abadeh, S. (2019). Wasserstein
Distributionally Robust Optimization: Theory and Applications in Machine Learning. INFORMS
TutORials in Operations Research. https://doi.org/10.1287/educ.2019.0198
Nguyen, V. A., Shafieezadeh-Abadeh, S., Yue, M.-C., Kuhn, D., & Wiesemann, W. (2021).
Optimistic distributionally robust optimization for nonparametric likelihood approximation.
Advances in Neural Information Processing Systems, 32.
Shafieezadeh-Abadeh, S., Nguyen, V. A., Kuhn, D., & Mohajerin Esfahani, P. (2018). Wasserstein
distributionally robust Kalman filtering. Advances in Neural Information Processing Systems,
31.
Wasserstein Distributionally Robust Optimization II: The Gelbrich Ambiguity Set and Elliptical TractabilityTextbook
Motivation
Distributionally robust optimization (DRO) hedges a decision against every distribution within
some ambiguity set around an estimated (nominal) distribution, rather than trusting the
estimate exactly. When the ambiguity set is a ball of radius ε around the empirical
distribution P^N in the type-p Wasserstein metric, the resulting worst-case risk problem
inherits attractive statistical guarantees (Mohajerin Esfahani & Kuhn 2018) but is, in general, an
optimization problem over an infinite-dimensional space of measures. Kuhn, Mohajerin Esfahani,
Nguyen & Shafieezadeh-Abadeh's 2019 INFORMS TutORials chapter surveys when this problem becomes
computationally tractable. One route — the subject of this mission — discards everything about
the nominal distribution except its mean vector and covariance matrix and replaces the Wasserstein
ball with a set built only from these two moments, the Gelbrich hull. The construction is due
to Gelbrich (1990), who first bounded the Wasserstein distance between two distributions using
only their means and covariances.
Setting
Fix Ξ⊆Rm, a nominal distribution P^N∈P(Ξ), a radius
ε>0 and an exponent p≥1. The type-p Wasserstein distance between two
probability measures Q,Q′ on Rm is
Wp(Q,Q′)=(π∈Π(Q,Q′)inf∫∥ξ−ξ′∥pdπ(ξ,ξ′))1/p,
the infimum over couplings π (probability measures on Rm×Rm with
marginals Q and Q′) of the p-th root of the expected p-th power of Euclidean distance. The
Wasserstein ambiguity set is Bε,p(P^N)={Q∈P(Ξ):Wp(Q,P^N)≤ε}, and the worst-case risk of a loss function ℓ is
Rε,p(P^N,ℓ)=supQ∈Bε,p(P^N)EQ[ℓ(ξ)].
Suppose P^N has mean vector μ^ and covariance matrix Σ^∈S+m (the
positive semidefinite m×m matrices). The mean-covariance uncertainty set is
where Σ1/2 is the positive-semidefinite square root. The Gelbrich hull is
Gε(μ^,Σ^)={Q∈P(Ξ):(EQ[ξ],CovQ[ξ])∈Uε(μ^,Σ^)}: the distributions on Ξ whose own mean and covariance lie
in Uε(μ^,Σ^). An elliptical distributionEg(μ,Σ) has density
f(ξ)=C⋅det(Σ)−1g((ξ−μ)⊤Σ−1(ξ−μ)) for a density
generator g and normalizing constant C; two elliptical distributions "have the same density
generator" when their g coincide (e.g. both Gaussian, both Student-tν for the same ν).
Formalization targets
Goal (Theorem 13, Gelbrich hull). For every p≥2,
Bε,p(P^N)⊆Gε(μ^,Σ^).
This is an outer approximation: every distribution within ε of P^N in
Wasserstein distance has a mean and covariance inside Uε(μ^,Σ^), so
optimizing over the Gelbrich hull instead of the Wasserstein ball can only enlarge the feasible
set, never shrink it below the truth.
Supporting results. Theorem 4 (Gelbrich bound) gives the moment-only lower bound on W2 that
Theorem 13 is built from, with equality for elliptical distributions sharing a generator.
Proposition 1 sharpens the goal's containment to an equality on the mean-covariance projection
itself, under the same two conditions (Ξ=Rm, P^N elliptical). Corollary 1
propagates the goal's set containment to the risk level: Rε,p(P^N,ℓ)≤Rε(μ^,Σ^,ℓ) for every ℓ, where Rε(μ^,Σ^,ℓ)=supQ∈Gε(μ^,Σ^)EQ[ℓ(ξ)] is the Gelbrich risk.
Significance
Theorem 13 is the hinge between an intractable infinite-dimensional worst-case-risk problem and a
tractable one: the paper goes on (Theorem 16, outside this mission's scope) to show that for
quadratic loss functions and elliptical nominal distributions the Gelbrich risk itself equals the
optimal value of a semidefinite program with two linear matrix inequality constraints — and that,
under those same conditions, the Wasserstein worst-case risk, the Gelbrich risk and the SDP value
all coincide. Corollary 1 is what makes the Gelbrich risk usable as a conservative surrogate even
outside that special case: it upper-bounds the true worst-case risk for any loss function and
anyp≥2, at the cost of discarding all but first- and second-order information about the
nominal distribution. Formalizing the goal and Corollary 1 gives the exact scope in which this
moment-relaxation is licensed — the p≥2 restriction and the outer-approximation direction are
both easy to get backwards, and this mission's Lean encoding fixes both irreversibly.
Difficulty
The obvious first argument is to prove containment pointwise: fix Q∈Bε,p(P^N) and show its mean and covariance land in Uε(μ^,Σ^). That reduces
Theorem 13 to Proposition 1's containment half, which in turn reduces to the Gelbrich bound
(Theorem 4) applied to the pair (Q,P^N) — the inequality direction of Theorem 4 suffices
for containment; only the sharper equality direction (needed for Proposition 1's own equality
clause) requires the elliptical hypothesis. The non-obvious step is Theorem 4 itself: bounding
W2(Q,Q′) below by a closed-form expression in the two distributions' first two moments only,
for arbitraryQ,Q′ with those moments, requires an argument that survives every coupling
π — the paper's proof goes through a lower bound on the coupling's cross-covariance term via
the eigenvalues of Σ1/2Σ′Σ1/2, not a direct manipulation of W2's
definition.
Formalization scope
Rm is EuclideanSpace ℝ (Fin m); a "distribution" is a MeasureTheory.Measure on it
constrained by Q Set.univ = 1 (probability) and Q Ξᶜ = 0 (support in Ξ). The Wasserstein
distance is ENNReal-valued (Definition 1's infimum over couplings, matching 01-duality's
convention); the worst-case and Gelbrich risks are EReal-valued suprema restricted to loss
functions integrable under the candidate distribution, avoiding Mathlib's junk value for a
non-integrable Bochner integral. Σ1/2 is the positive-semidefinite matrix square root,
picked by choice from its defining existential and applied in this mission only to matrices
hypothesized (or, per Section 2.3's standing assumption, given) positive semidefinite. Elliptical
distributions (IsElliptical) are represented by the paper's own density formula (a measure
equal to volume.withDensity of C·det(Σ)⁻¹·g((ξ-μ)ᵀΣ⁻¹(ξ-μ)) for some C>0), together with
the mean/covariance facts every theorem in this chunk reads off directly; an earlier draft kept
only the latter, under which "same density generator" held vacuously for any moment-matched
pair — corrected after moderation flagged it (see STATUS.md).
Because 01-duality (Wasserstein distance, ambiguity set, worst-case risk) is not yet a published
mission, this chunk redefines those objects locally in its own namespace rather than importing an
unpublished draft, per the series' definition-reuse policy; a future upload can retire the
duplication once 01-duality is live. A formalization that dropped Theorem 4's "same density
generator" condition from its equality clause, or that stated the goal's containment for all p≥1 rather than p≥2, would be trivializing or simply false — both are explicit hypotheses in
the Lean statements. Matrix.PosSemidef and its Loewner order carry the S+m constraints; no
elliptical-distribution or Gelbrich-hull infrastructure exists elsewhere on the platform, so this
mission's definitions are original contributions reusable by any later extension (Theorem 16/17,
Lemma 1/2's SDP representations) of this series.
Selected references
Kuhn, D., Mohajerin Esfahani, P., Nguyen, V. A., & Shafieezadeh-Abadeh, S. (2019). Wasserstein
Distributionally Robust Optimization: Theory and Applications in Machine Learning. INFORMS
TutORials in Operations Research. https://doi.org/10.1287/educ.2019.0198
Gelbrich, M. (1990). On a formula for the L2 Wasserstein metric between measures on Euclidean
and Hilbert spaces. Mathematische Nachrichten, 147(1), 185–203.
Mohajerin Esfahani, P., & Kuhn, D. (2018). Data-driven distributionally robust optimization
using the Wasserstein metric: performance guarantees and tractable reformulations.
Mathematical Programming, 171(1), 115–166.
High-Dimensional Statistics XIII: A Localized Uniform LawTextbook
Motivation
Every consistency guarantee for an empirical-risk-minimization procedure — the Lasso, kernel
ridge regression, maximum likelihood — ultimately rests on relating an empirical average to
its population expectation, uniformly over the class of candidate functions or parameters
being searched. Chapter 4 established the classical form of this connection: a uniform law of
large numbers, bounding supf∈F∣∥f∥n2−∥f∥22∣ by an absolute quantity
governed by the (unlocalized) complexity of F. Such a bound is often wasteful: it treats a
function with small population norm the same as one with large population norm, when
intuitively the empirical and population norms of a small function should already agree
closely. This mission formalizes the sharper, localized form of this uniform law — the same
localization principle Chapter 13 used for nonparametric least squares, now applied directly
to the empirical-versus-population norm comparison itself, giving relative rather than
absolute control and recovering optimal convergence rates that the unlocalized theory misses.
Setting
Fix a probability distribution P over a covariate space X and n i.i.d. samples
x1,…,xn∼P. For f:X→R, the population norm is
∥f∥22:=∫Xf(x)2P(dx) and the empirical norm is
∥f∥n2:=n1∑i=1nf(xi)2; by linearity of expectation,
E[∥f∥n2]=∥f∥22, so the question is how tightly ∥f∥n2 concentrates
around ∥f∥22, uniformly over a function class F. A class F is star-shaped around
the origin if f∈F,α∈[0,1]⟹αf∈F, and b-uniformly bounded if
∥f∥∞≤b for every f∈F. The relevant complexity measure is the population
localized Rademacher complexity
where ε1,…,εn are i.i.d. Rademacher signs independent of the
samples — note that, unlike Chapter 13's Gaussian complexity for fixed design points, this
expectation integrates out the randomness of the samples themselves, since this chapter treats
{xi} as genuinely random throughout. A critical radiusδn is any positive
solution of Rn(δ;F)≤δ2/b.
Formalization targets
Theorem 14.1 (goal). Given F star-shaped and b-uniformly bounded, and δn
solving the critical inequality, for any t≥δn,
∥f∥n2−∥f∥22≤21∥f∥22+2t2for all f∈F,
with probability at least 1−c1e−c2nt2/b2; and if additionally
nδn2≥c22log(4log(1/δn)),
∥f∥n−∥f∥2≤c0δnfor all f∈F,
with probability at least 1−c1′e−c2′nδn2/b2.
Significance
Theorem 14.1 is the technical engine behind two of the book's other sharp results: Example
14.2's derivation of the optimal n−1/2 rate for bounded quadratic function classes (where
the unlocalized analogue of this theorem only achieves the slower n−1/4 rate), and,
more broadly, every later argument in the book that needs to translate an empirical-norm
guarantee (as produced directly by an M-estimator's optimality, e.g. Chapter 13's nonparametric
least-squares bounds) into a population-norm guarantee, or vice versa. The gap between the
"absolute" uniform law of Chapter 4 and the "relative" one here is exactly the difference
between a bound that is only informative for functions of order-one population norm, and one
that remains sharp arbitrarily close to the origin — which is precisely where a consistent
estimator's error eventually lives. Formalizing the statement produces, for the first time on
the platform, the localized-Rademacher-complexity vocabulary at the population level (as
opposed to Chapter 13's fixed-design Gaussian-complexity version), reusable by any future
mission needing to pass between empirical and population norms.
Difficulty
The naive approach — apply Hoeffding's inequality to ∣∥f∥n2−∥f∥22∣ for a fixed f,
then union-bound (or apply the unlocalized Rademacher-complexity uniform law of Chapter 4)
over F — gives a bound whose complexity term does not shrink as ∥f∥2→0, since it
uses the complexity of all of F regardless of a given function's own size. This is exactly
the sub-optimality Example 14.2 exhibits concretely: the naive bound gives rate n−1/4
where the truth is n−1/2. The fix is not merely technical bookkeeping — it requires a
genuine peeling argument over dyadic norm-scales (exactly as in Chapter 13's proof of Theorem
13.13), applying the localized complexity Rn(δ;F) at the scale δ=∥f∥2
appropriate to each individual f, and controlling the resulting geometric sum of tail
probabilities across scales. A reader's first instinct — bound ∥f∥2 in terms of
∥f∥n and substitute — is circular, since ∥f∥n is itself the random quantity being
controlled.
Formalization scope
The covariate space X carries an arbitrary MeasurableSpace structure (no topology
needed for the statement); the sample sequence and the Rademacher signs are both represented
as families of measurable functions on a shared probability space Ω, with their joint
independence stated as a single IndepFun between the two vector-valued sequences (rather
than building a combined-index iIndepFun), since it is the two sequences — not each pair
of individual variables — whose independence the book invokes. The two conclusions of Theorem
14.1 are stated as a conjunction with the second gated behind its own extra hypothesis, never
collapsed into a single implication, since the book's own statement keeps them syntactically
and logically distinct (the second requires a strictly stronger and additional condition on
top of the first's). The universal constants (c1,c2,c0,c1',c2') are quantified before every
instance object, so they cannot secretly depend on the function class, sample size, or radius.
Every f ∈ F is required measurable (hF_meas, added in revision): the book's own framing
implicitly restricts to measurable, square-integrable f throughout (p. 454), and without this
hypothesis the population norm popNormSq, which appears directly in the goal's conclusion,
could silently take Mathlib's Bochner-integral junk value 0 for a non-measurable,
pointwise-bounded member of a star-shaped, uniformly-bounded F.
The trivializing formalization ruled out here is stating the localization constraint at the
empirical rather than population norm in popRademacherComplexity — this chapter's whole
point (contrast Chapter 13's Gn, correctly localized at the empirical norm since there the
design is fixed) is that Rn(δ;F)'s localization is a population-level object,
precisely because the samples are random here. Welcome future contributions: Corollary 14.3's
covering-number sufficient condition for the empirical version of the critical inequality,
and Theorem 14.20's Lipschitz/strongly-convex cost-function uniform law, both deferred from
this mission (see STATUS.md) as they need substantial additional apparatus (metric entropy
integrals; cost functions and strong convexity) beyond what Theorem 14.1 itself requires.
Selected references
M. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge
University Press, 2019, Chapter 14. https://doi.org/10.1017/9781108627771
V. Koltchinskii, "Local Rademacher complexities and oracle inequalities in risk
minimization," Annals of Statistics, 34(6):2593-2656, 2006. https://doi.org/10.1214/009053606000001019
High-Dimensional Statistics X: Graph Selection Consistency for Gaussian Graphical ModelsTextbook
Motivation
Many high-dimensional data sets — gene-expression profiles, sensor networks, social
interactions — come with no natural ordering of variables, only pairwise dependencies whose
structure is itself the object of interest. A graphical model encodes these dependencies
as an undirected graph: vertices are variables, and edges mark direct (conditional)
dependence. Recovering the graph from samples — graphical model selection — is a
combinatorial problem masquerading as a statistical one: there are 2(2d)
candidate graphs on d vertices, far too many to search directly. For Gaussian data, however,
graph structure is exactly the sparsity pattern of the inverse covariance (precision) matrix,
which turns graph selection into d coupled sparse-regression problems — one per vertex —
each of which the Lasso theory of Chapter 7 already knows how to solve. This mission
formalizes the theorem, due to Meinshausen and Bühlmann (2006), that shows this reduction
actually works: solving d independent Lasso problems and combining the results recovers the
exact graph with high probability, at a sample complexity governed by the same kind of
incoherence condition that governs Lasso support recovery itself.
Setting
An undirected graphical model on a finite vertex set V pairs a graph G=(V,E) with a
random vector X=(Xj)j∈V. Two equivalent structural properties connect X to G
(Theorem 11.8, Hammersley-Clifford): Xfactorizes according to G if its density is
a product of nonnegative functions, one per clique of G, each depending only on the
variables in that clique (Definition 11.1); X is Markov with respect to G if, for
every vertex cutset S separating V into disjoint pieces A and B, the sub-vectors XA
and XB are conditionally independent given XS (Definition 11.5). For a strictly positive
density, these are the same condition.
For a zero-mean d-dimensional Gaussian vector with covariance Σ∗ and precision
matrix Θ∗=(Σ∗)−1, the graph structure is exactly the support of Θ∗:
(j,k)∈E⟺Θjk∗=0. The neighborhoodN(j):={k∣(j,k)∈E} of each
vertex is itself a vertex cutset (separating {j} from everything else), so the conditional
independence Xj⊥XV∖N+(j)∣XN(j) holds, and — by standard Gaussian
conditioning — Xj decomposes as a linear function of XV∖{j} plus independent
Gaussian noise, with regression coefficients supported exactly on N(j). Neighborhood
regression exploits this directly: for each vertex j, solve the Lasso
θ^j∈argθ∈Rd−1min2n1∥Xj−X∖{j}θ∥22+λn∥θ∥1,
read off N^(j):={k∣θ^j,k=0}, and combine the d per-vertex estimates
into a single edge set via the OR rule ((j,k)∈E^OR iff
k∈N^(j) or j∈N^(k)) or the more conservative AND rule (iff both hold).
The relevant incoherence condition, analogous to Chapter 7's, is stated for a positive
definite matrix Γ and subset S: Γ is α-incoherent with respect to
S if maxk∈/S∥ΓkS(ΓSS)−1∥1≤1−α.
Formalization targets
Theorem 11.8 (Hammersley-Clifford). Factorizes G p ↔ IsMarkov G X P for any strictly
positive density p.
Theorem 11.12 (goal — graph selection consistency). Suppose for every j,
Σ∖{j}∗ is α-incoherent with respect to N(j), and
∣∣∣(ΣN(j),N(j)∗)−1∣∣∣∞≤b. With
λn=c0α1(logd/n+δ), the neighborhood-Lasso estimate combined
via either rule satisfies, with probability at least 1−c2e−c3nmin(δ2,1/m):
E^⊆Eand∀(j,k):∣Θjk∗∣≥7bλn⟹(j,k)∈E^.
Significance
Theorem 11.12 is the statistical justification for one of the two standard approaches to
Gaussian graphical model selection (the other being the penalized-likelihood "graphical
Lasso" of §11.2.1). Its significance is computational as much as statistical: rather than
solving one d-dimensional penalized-likelihood problem, neighborhood regression solves d
independent, embarrassingly parallel Lasso problems, each of dimension d−1 — a substantial
practical advantage at scale, with (as this theorem shows) no loss in statistical guarantee.
Formalizing it produces, for the first time on the platform, statement-level infrastructure
for undirected graphical models (Hammersley-Clifford, the Markov property via vertex cutsets,
neighborhood structure) together with the random-design analogue of the Lasso support-recovery
machinery — a genuinely different technical regime from Chapter 7's fixed-design Lasso theory,
since here the "design matrix" X∖{j} is itself Gaussian and statistically
coupled to the response Xj through the very covariance structure being estimated. As with
the other missions in this series, only the statements are formalized here; the proofs
(an extension of the primal-dual witness technique to random design, per the book's own proof
sketch) are left as the draft goal for future proof contributions.
Difficulty
The proof of Theorem 7.21 (Chapter 7's Lasso support-recovery guarantee) is for a
deterministic design matrix, with all randomness confined to the additive noise. Here the
"design" X∖{j} is itself random and Gaussian, and — critically — it is
statistically dependent on the very quantity (N(j), encoded in Θ∗'s support) the
Lasso is trying to recover, since X∖{j}'s own covariance structure is exactly
what the incoherence condition constrains. The naive approach of just conditioning on the
realized design matrix and invoking Theorem 7.21 fails, because the deterministic-design
incoherence condition would then need to hold for the sample covariance Γ=n1X∖{j}TX∖{j}, not the population covariance Σ∖{j}∗
that is actually assumed — and controlling the gap between sample and population incoherence
under the joint (not fixed) randomness of predictors and response is exactly the extra step
the book's proof needs, handled via an extension of the primal-dual witness technique that
tracks both sources of randomness together.
Formalization scope
The vertex set V is an arbitrary finite type; the covariate space for X is ℝ
throughout (all variables jointly Gaussian). The Gaussian design is characterized via its
one-dimensional projections (every linear combination is univariate Gaussian with the matching
variance) rather than via Mathlib's multivariate-Gaussian machinery directly, to keep the
definition self-contained. IsAlphaIncoherent's ambient index set is realized as a subset of
the full vertex type rather than as a literal submatrix, since the book's condition never
references an entry outside it. The theorem states the conclusion jointly for both the
OR-rule and AND-rule estimated edge sets on one shared high-probability event, matching "based
on either rule" literally rather than picking one. The trivializing formalization ruled out
here is treating the neighborhood-Lasso estimate as a fixed-design Lasso problem (silently
dropping the joint randomness of predictors and response) — every design realization in this
formalization is the actual random vector Xdes i ω, not a deterministic parameter, and the
Gaussian design hypothesis (IsIIDGaussianDesign) is stated over the same probability space
Ω as the least-squares residual. Theorem 11.8 (Hammersley–Clifford) is formalized only for the
continuous case — a random vector with a density with respect to Lebesgue measure — matching
what the Gaussian goal (Theorem 11.12) actually needs; the book's own Definition 11.1 also
permits a discrete (counting-measure) density, with the Ising model (Example 11.4) as a worked
instance, which this mission does not cover. Contributions welcome: the graphical Lasso's own
guarantees (Propositions 11.9, 11.10, deferred from this mission — see STATUS.md), and the
proof of Theorem 11.12 itself via the primal-dual witness extension the book sketches.
Selected references
M. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge
University Press, 2019, Chapter 11. https://doi.org/10.1017/9781108627771
N. Meinshausen and P. Bühlmann, "High-dimensional graphs and variable selection with the
Lasso," Annals of Statistics, 34(3):1436-1462, 2006. https://doi.org/10.1214/009053606000000281
J. Hammersley and P. Clifford, "Markov fields on finite graphs and lattices," unpublished
manuscript, 1971.
High-Dimensional Probability XI: Dvoretzky-Milman's TheoremTextbook
Motivation
A striking fact discovered by Dvoretzky in the 1960s (conjectured by Grothendieck, and sharpened
into its modern quantitative form by Milman in 1971) is that every high-dimensional convex body,
however irregular, contains a round slice: a random low-dimensional section (or projection) of
any bounded convex set in Rn is, with high probability, close to a Euclidean ball —
provided the dimension of the slice is small enough relative to a single geometric parameter of
the body. This is remarkable because it holds for every bounded set, arbitrarily irregular; no
special structure is assumed beyond boundedness. This chapter proves the theorem in its Gaussian
form, as a culmination of every geometric and probabilistic tool the book develops: chaining and
Dudley's inequality (Chapter 8), the matrix deviation inequality (Chapter 9), and Gaussian width
and the stable dimension (Chapter 7) all combine into a single closing argument.
Setting
Fix a subset T⊆Rn. For a standard Gaussian vector g∼N(0,In), the
Gaussian width of T is w(T):=Esupx∈T⟨g,x⟩ (Chapter 7), and
the stable dimension of a bounded T is d(T):=w(T)2/diam(T)2 up to an absolute
constant factor (Definition 7.6.2) — a robust substitute for the ordinary linear-algebraic
dimension of T, which can jump discontinuously under a small perturbation of T, unlike d(T).
An m×nGaussian random matrix with i.i.d. N(0,1) entries is a random matrix A each
of whose mn entries is an independent standard normal random variable.
for every m×n Gaussian random matrix A with i.i.d. N(0,1) entries, every bounded
T⊆Rn containing the origin, and every ε∈(0,1), where B is the
Euclidean ball of radius w(T) centered at the origin. The probability 0.99 is the book's own
literal numeral, not a free parameter — this is the theorem the book actually states, not a
family of theorems indexed by a confidence level.
Significance
Dvoretzky-Milman's theorem is one of the foundational results of the local theory of Banach
spaces (asymptotic geometric analysis): it says every n-dimensional normed space contains an
almost-Euclidean subspace of dimension proportional to (a geometric invariant closely related to)
logn in the worst case, and much larger for spaces whose unit ball is already well-behaved
(the stable dimension of the cube [−1,1]n, for instance, is proportional to n itself — Example
11.3.6). This underlies results throughout convex geometry, compressed sensing, and high-dimensional
statistics wherever a random low-dimensional projection needs to be shown to preserve geometric
structure. The book's own framing makes clear why this chapter is placed last: the theorem's proof
is a genuine capstone, invoking Chevet's inequality (itself built from the matrix deviation
inequality of Chapter 9, which is built from chaining, Chapter 8) as its main technical tool.
The theorem and its proof are classical (Milman 1971; this book's specific route via Chevet's
inequality is a standard modern exposition). This mission formalizes the goal theorem's statement
— including its two supporting geometric quantities, Gaussian width and stable dimension, and the
notion of a Gaussian random matrix — as a complete, faithful target for a solver, in the book's own
sub-namespace built for this chapter (no dependency here is reusable from an earlier chunk, since
none of this book series' Chapter 7 or Chapter 9 definitions has yet been published).
Difficulty
The natural first idea — bound conv(AT) directly using concentration of ∥Ax∥2 for
each fixed x∈T — runs into exactly the uniform-supremum obstacle the whole book has been
building tools to overcome: a bound that holds for one x at a time, even with a union bound over
a net of T, does not obviously extend to the full convex hull without first controlling
supx∈T∣⟨Ax,y⟩−w(T)∥y∥2∣ uniformly over bothx∈T and y on the
unit sphere of the target space — a two-parameter supremum. The book's actual route goes through
Chevet's inequality, itself proved using the matrix deviation inequality's own chaining-based
argument, to control this two-sided supremum, and then converts the resulting inequality into the
containment (1−ε)B⊆conv(AT)⊆(1+ε)B via a support-
function duality argument (a convex body is pinned down by its support function, so bounding
supx∈T⟨Ax,y⟩ uniformly over y on the sphere is exactly what is needed).
Formalization scope
A is Ω → Matrix (Fin m) (Fin n) ℝ with an explicit IsGaussianMatrix hypothesis (entries i.i.d.
N(0,1), formalized entrywise with joint independence). conv(AT) is convexHull ℝ of the image
of T under A's mulVec, round-tripped through EuclideanSpace's continuous linear equivalence
with the underlying function type. w(T) reuses this mission series' ExpSup/GaussianWidth
convention (redefined locally, per the drafts-cannot-import-drafts rule, following the same
ProbabilityTheory.stdGaussian-based realization of a standard Gaussian vector as
08-matrix-deviation). The stable dimension d(T) is formalized directly as w(T)2/diam(T)2 rather than via the book's literal (but only asymptotically equivalent, per
Exercise 7.6.1) definition through a squared Gaussian width h(T−T)2 — the goal theorem's own
proof uses only the inequality direction of that equivalence, and the goal's hypothesis already
carries an unpinned absolute constant that absorbs the equivalence constant, so this substitution
preserves the theorem's exact truth content (see StableDimension's own doc-comment and
MODERATION_NOTES.md for the full argument) rather than approximating it.
Ball-center deviation, disclosed. The book's printed theorem statement carries no hypothesis
that T contains the origin; its proof opens by translating T so that it does ("Translating T
if necessary, we can assume that T contains the origin"), and Remark 11.3.4 then confirms the
ball is centered at the origin in that case. This mission states the WLOG-reduced case directly —
adding 0∈T as an explicit hypothesis — rather than also formalizing the translation argument
that recovers the fully general (untranslated) statement. This is disclosed as a genuine narrowing
of the literal printed statement, though not of what the book's own proof actually establishes.
This mission covers Theorem 11.3.3 only, with no milestones: BRIEF.md explicitly instructs that
if the chapter's full proof chain (general matrix deviation inequality, Chevet's inequality, random
projections of sets — Theorems 11.1.5, 11.2.4, 11.3.1) proves too heavy for the session, milestones
should be cut rather than the goal substituted. All three are left out, not approximated, given
this chapter's five from-scratch definitions already needed for the goal's own statement. ExpSup,
GaussianWidth, StableDimension and IsGaussianMatrix are reusable by any later development
needing Gaussian width, the stable dimension, or a Gaussian random matrix. Solvers' contributions
are welcome on the goal theorem itself and, beyond this mission's current scope, on the three
named milestones.
Selected references
A. Dvoretzky, Some results on convex bodies and Banach spaces, Proc. Internat. Sympos. Linear
Spaces (Jerusalem, 1960), 123–160.
V. D. Milman, A new proof of A. Dvoretzky's theorem on cross-sections of convex bodies,
Funkcional. Anal. i Priložen. 5 (1971), 28–37.
R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data
Science, Cambridge University Press, 2018, Chapter 11. https://doi.org/10.1017/9781108231596
Introduction to Stochastic Programming VII: Convergence Rates for Sample Average ApproximationTextbook
Motivation
Most stochastic programs cannot be solved exactly: the expectation defining the objective is an
integral over a continuous or high-dimensional random parameter, and evaluating it exactly is as
hard as the optimization itself. The standard remedy is Monte Carlo: draw a sample of size ν
from the random parameter, replace the true expectation by the sample average, and solve the
resulting finite-dimensional "sample average approximation" (SAA) instead. This only helps if the
SAA's optimal value and optimal solution actually converge to the true problem's as ν → ∞, and
if that convergence is fast enough to be useful with a sample size one can actually draw and solve.
Birge & Louveaux's Chapter 9, §9.5, states the two central asymptotic results that justify this
approach for a general (not necessarily linear, not necessarily two-stage) stochastic program:
a central limit theorem describing the SAA optimal value's fluctuations around the truth
(Theorem 6, after Shapiro [1991]), and an exponential-rate large-deviation bound on how quickly
both the SAA value and the SAA solution concentrate near their true counterparts as the sample
grows (Theorem 7, after Dai, Chen & Birge [2000]). This mission formalizes both statements.
Setting
Fix a feasible set X ⊆ ℝⁿ of first-stage decisions and an outcome space Ξ carrying a
σ-algebra. The book considers the general stochastic program
z* = inf_{x ∈ X} ∫_Ξ g(x,ξ) P(dξ), (5.1)
with g : ℝⁿ × Ξ → ℝ an abstract integrand — no longer specialized to the two-stage recourse cost
Q(x,ξ) of Chapters 3–7, matching the book's own level of generality at this point in §9.5 — and
ξ a random element of (Ξ, 𝓑, P). Given an i.i.d. sample ξ₁, ξ₂, … from P, the sample average
approximation of size ν is
zν = inf_{x ∈ X} (1/ν) Σᵢ₌₁^ν g(x,ξᵢ) . (5.2)
Both z* and zν are attained (an optimal solution x* of (5.1); a random optimal solution
xν(ω) of (5.2) at each sample outcome ω). The two chapter results describe, in different
regimes, how (zν, xν) relates to (z*, x*) as ν → ∞.
Formalized in this mission: X sits in EuclideanSpace ℝ (Fin n); the sample is a sequence
ξ : ℕ → Ω → Ξ on an ambient probability space (Ω, P), independent and identically distributed
(Mathlib's iIndepFun/IdentDistrib); z*, x*, zν, xν are given as hypotheses that pin them
down as the optimal value and an optimal point of (5.1)/(5.2) (a lower bound over X plus
attainment at the named point), rather than computed via sInf/sSup of an image set — Real's
extended-real infimum returns the junk value 0 on an unbounded-below or empty set, which would
silently misstate the theorems if X, g are only assumed as loosely as the book states them.
under the moment hypothesis: there exist a>0, θ₀>0, η : Ξ → ℝ with |g(x,ξ)| ≤ a·η(ξ) for
all x ∈ X, and E[e^{θ·η(ξ)}] < ∞ for every θ ∈ [0,θ₀]. This is the mission's goal because it
is a clean, self-contained existential-constants statement — no algorithm to define, unlike most of
the chapter's other convergence results — and because, like Chunk 03's Theorem 6(a), the book's own
proof cites an external paper (Dai, Chen & Birge [2000], Theorems 3.1–3.2) and gives no in-text
derivation: the statement itself, not a derivation from a preceding numbered result of this book,
is the mission's content.
Milestone — Chapter 9, Theorem 6 (p. 411)
X compact, g(x,·) measurable ∀x∈X, g Lipschitz in x with an L²(μ) envelope a,
x0 the unique minimizer of x ↦ E g(x) over X
⟹ √ν·[zν − E g(x0)] converges in distribution to N(0, Var g(x0))
Included as a milestone (not used in Theorem 7's proof, which the book does not give — see above)
because it is the chapter's other general SAA convergence result, standing on the same setup
(5.1)–(5.2), and because Mathlib's MeasureTheory.Function.ConvergenceInDistribution (the
TendstoInDistribution predicate) plus Probability.Distributions.Gaussian.Real (gaussianReal)
and Mathlib's own i.i.d. central limit theorem
(ProbabilityTheory.tendstoInDistribution_inv_sqrt_mul_sum_sub) supply exactly the vocabulary
needed to state — not prove — a faithful weak-convergence-to-Gaussian conclusion. Chunk 09's
BRIEF.md flagged this as a milestone to attempt "only if your workspace has enough of a
weak-convergence/CLT toolkit in Mathlib to state it faithfully"; the toolkit is present (verified
directly, not assumed from substrate.md, which predates this rev's addition of
ConvergenceInDistribution.lean), so it is included.
Significance
Every practical Monte Carlo solution method for stochastic programming — every discretization,
every scenario-reduction heuristic, every "solve on a sample and hope" approach used throughout
the rest of the book and the wider literature — rests on exactly these two results: that the SAA
converges at all (Theorem 6's CLT gives the asymptotic distribution of the error) and that it
converges fast enough to bound the error at a finite, computable sample size (Theorem 7's
exponential rate). Formalizing them gives Prove2Me a first foothold in convergence-rate theory for
stochastic optimization under sampling, a genre distinct from the concentration-of-measure results
already reachable via Mathlib's sub-Gaussian machinery (Probability/Moments/SubGaussian.lean):
sub-Gaussian concentration bounds a fixed-size sample's deviation from its own mean, not the
rate-in-ν convergence of a nested sequence of optimization problems' values and solutions to a
limiting problem's — the object Theorem 7 is actually about.
Difficulty
Theorem 6 needs a functional/uniform argument over the whole feasible set X (not the plain i.i.d.
CLT at the single point x0) to control the interaction between sampling noise and the
optimization over x; the book states it without proof, citing Shapiro [1991]. Theorem 7's
constants α, β are produced by a large-deviation argument specific to the exponential-moment
condition, again cited rather than derived in the book. Both are left as sorry; the value of this
mission is the faithful statement, matching the difficulty pattern already established for
Chunk 03's Theorem 6(a) (a result the book itself only cites).
Formalization scope
Existential constants left abstract, never sharpened or weakened. Theorem 7's α, β are
∃-bound exactly as the book leaves them (trap 8 of reference/FAITHFULNESS_TRAPS.md: the
existentials sit outside every quantifier they must be uniform over — in particular outside the
∀ ν). No closed form for α, β in terms of a, θ0, ε is invented.
The book's own typo is corrected, and the correction is flagged. The printed (5.8) reads
P[E[zν − z*)] ≥ ε] ≤ αe^{−βν} — an unmatched parenthesis and a stray E[·] around a quantity
that is already deterministic. milestones.yaml/MODERATION_NOTES.md quote the typo verbatim;
the Lean and natural_language_statement use the unambiguous P[|zν − z*| ≥ ε] the surrounding
prose (and every other occurrence of this quantity in the section) plainly intends.
g is left fully abstract, not specialized to the two-stage recourse cost Q(x,ξ) of
Chunks 03–07, matching §9.5's own generality and keeping this mission independent of every other
chunk's namespace (no cross-chunk import, per missions/README.md's "Prior art" column for this
chunk: "none expected").
z*, x*, zν, xν are hypothesis-characterized, not sInf/sSup-defined, to avoid the
real extended-value junk-value trap (trap 5) discussed under Setting above.
Measurability of zν, xν is an added hypothesis (hzSAA_meas/hxSAA_meas/hzSAA_meas in
Theorem 6), not derivable from the other hypotheses since g is abstract; the book is silent on
this technical point, standard for an applied convergence theorem, but Lean's P {ω | …} needs
it for the displayed probability to be the actual measure of the event rather than an outer-measure
value on a possibly non-measurable set.
Convergence in distribution (Theorem 6) is formalized via Mathlib's TendstoInDistribution,
with the limiting Gaussian supplied as an explicit random variable Y on a separate probability
space with HasLaw Y (gaussianReal 0 σ²) P' — the same pattern Mathlib's own CLT
(tendstoInDistribution_inv_sqrt_mul_sum_sub) uses for its own conclusion.
Trivialization risk (this chapter's own, beyond paper.md's book-wide list item 5). A
formalization that quantifies α, β universally, or with an invented closed form, would assert
something the book's proof (cited, not given) does not establish; a formalization of Theorem 7
that used a computable sInf-defined zν on a set that is not shown bounded below would let the
conclusion hold vacuously via the junk value 0, independent of the genuine large-deviation
content — both are excluded by the choices above.
Selected references
Birge, J.R., Louveaux, F. Introduction to Stochastic Programming, 2nd ed., Springer 2011,
Chapter 9, §9.5 (pp. 409–412).
Shapiro, A. "Asymptotic properties of statistical estimators in stochastic programming."
Annals of Statistics 19 (1991), 1463–1466 — proof of Theorem 6 (their Theorem 3.3).
Dai, L., Chen, C.-H., Birge, J.R. "Convergence properties of two-stage stochastic programming."
Journal of Optimization Theory and Applications 106 (2000), 489–509 — proof of Theorem 7
(their Theorems 3.1–3.2).
King, A.J., Rockafellar, R.T. "Asymptotic theory for solutions in statistical estimation and
stochastic programming." Mathematics of Operations Research 18 (1993), 148–162 — the general
theory of §9.5's opening (Theorem 5), the chapter's third general result, not formalized here
(see STATUS.md for why it is out of scope).
Probability Theory and Examples VI: Donsker's TheoremTextbook
Motivation
The central limit theorem says that Sn/n converges to a normal random variable. Donsker's
theorem says something much stronger: the whole rescaled path of the random walk converges to the
whole path of a Brownian motion, as a random element of C[0,1].
The payoff is a machine. Once S(n⋅)/n⇒B(⋅) in C[0,1], every functional
of the path that is continuous — or merely continuous at almost every Brownian path — transfers
automatically. The maximum of the walk converges to the maximum of Brownian motion; the fraction of
time the walk spends above a level converges to the corresponding occupation time; the last zero
before time n converges to the last Brownian zero before time 1, which is how the arcsine law
escapes the simple random walk it was proved for. This is the invariance principle of Erdős and
Kac: the asymptotic behaviour of a functional of Sn should not depend on the step distribution,
as long as the central limit theorem applies.
Chapter 8 of Rick Durrett's Probability: Theory and Examples (Version 5, 2019) proves this by
embedding rather than by the usual tightness argument. Skorokhod's representation theorem puts a
mean-zero, finite-variance random variable inside a Brownian motion as the value at a stopping time;
iterating puts the whole walk inside one Brownian motion at a sequence of stopping times whose gaps
are i.i.d.; and the law of large numbers then forces the embedded walk to be uniformly close to the
Brownian path.
Setting
Let X1,X2,… be i.i.d. with mean 0 and variance 1, and Sm=X1+⋯+Xm. Define
S(u) to be Sm at integer u=m and linear in between, and set
Wn(t)=nS(nt),t∈[0,1],
a random element of C[0,1], the continuous functions on the unit interval with the uniform norm
and its Borel σ-algebra.
On the Brownian side, let B be a Brownian motion, and write B(⋅) for its restriction to
[0,1], again a random element of C[0,1].
Formalization targets
Goal — Theorem 8.1.4, Donsker's theorem
nS(n⋅)⟹B(⋅)in C[0,1],
that is, the laws of Wn on C[0,1] converge weakly to the law of Brownian motion. This is a
statement about measures on a function space, not about finite-dimensional marginals: it is exactly
the extra content over the central limit theorem.
Supporting levels
Theorem 8.1.1, Skorokhod's representation theorem: a mean-zero, square-integrable law is the law
of BT for a stopping time T with ET=EX2; Theorem 8.1.2, the embedding of
the whole walk, giving stopping times T0=0,T1,… with (B(Tn))n distributed as the walk
and with i.i.d. gaps; Theorem 8.1.5, the continuous mapping theorem for almost surely continuous
functionals; and its two workhorse instances, Example 8.1.6 on maxima and Example 8.1.8 on
occupation times of half-lines.
Significance
The results themselves. Donsker's theorem is the reason the arcsine law, the distribution of the
maximum, and the occupation-time law are universal rather than artefacts of the simple random walk
for which they were first computed. It is also the prototype for every later functional limit
theorem — for martingales in Durrett's section 8.2, for stationary sequences in 8.3, for the
empirical process converging to a Brownian bridge in 8.4.
Skorokhod's embedding deserves separate billing. It says any centred law with finite variance sits
inside Brownian motion, which is what makes the path-space comparison possible at all, and it is the
tool behind the law of the iterated logarithm in Durrett's section 8.5. The construction is a
two-point mixture: write the law as a mixture of two-point laws μu,v with mean zero, use the
exit time of (u,v) for each, and the exit-time identity ETa,b=−ab integrates to
EX2.
Formalizing them. Mathlib has the i.i.d. central limit theorem, convergence in distribution for
random elements of an arbitrary topological space (TendstoInDistribution, with the continuous
mapping theorem and Slutsky), Brownian motion as a process with its invariances, and the machinery
of stopping times for filtered spaces. It has no functional limit theorem of any kind, no Wiener
measure on C[0,1], no Skorokhod embedding, and no continuous-time optional stopping. Nothing in
the library relates a random walk to a Brownian path.
Difficulty
The goal is the hardest item in this series, and the embedding route is the reason the mission is
stated the way it is. Durrett's proof: with Xn,m=Xm/n and stopping times τmn
realizing (Sn,1,…,Sn,n) as (B(τ1n),…,B(τnn)), Lemma 8.1.9 says that if
τ⌊ns⌋n→s in probability for each s∈[0,1], then
∥Sn,(n⋅)−B(⋅)∥∞→0 in probability. The hypothesis is the weak law applied to
the i.i.d. gaps of Theorem 8.1.2 after Brownian scaling; the conclusion plus the converging-together
lemma gives the theorem. The work is uniform control of the Brownian path over shrinking time
windows — the modulus of continuity — together with the bookkeeping of the polygonal interpolation.
Skorokhod's theorem needs the two exit-time facts for Brownian motion, Durrett's Theorems 7.5.3 and
7.5.5: BTa,b takes the values a and b with probabilities b/(b−a) and −a/(b−a), and
ETa,b=−ab. Both come from optional stopping applied to Bt and Bt2−t, and
continuous-time optional stopping is itself not in the library. The mixture identity,
is elementary but needs Fubini and the two expressions for c.
Theorem 8.1.5 is the Mann–Wald theorem in the form that allows a discontinuous ψ: Mathlib's
TendstoInDistribution.continuous_comp handles genuinely continuous maps, and the extension to maps
continuous almost everywhere with respect to the limit law is the milestone. Given it, the two
examples are short — the maximum is continuous outright, and the occupation-time functional is
continuous at every path spending no time at the level a, which Fubini shows is almost every
Brownian path.
Formalization scope
C[0,1] is C(Set.Icc (0:ℝ) 1, ℝ), whose compact-open topology is the uniform one because the
domain is compact, with the Borel σ-algebra — Mathlib has no measurable-space instance on a
space of continuous maps, so the mission supplies it, and a BorelSpace instance with it.
The polygonal interpolation is written as a finite sum,
which agrees with Sm at integer m≤n and is linear in between, and is manifestly continuous,
so walkPath is a genuine element of C[0,1] with no side condition. Both properties were proved
in Lean before publishing rather than assumed. Indexing is from zero, so Sm=X0+⋯+Xm−1.
The Brownian limit is brownianPath B, the restriction of the path to [0,1]. Restriction is a
total function: it returns the zero path for a discontinuous argument. That junk branch is never
reached, because every statement assumes every path of B is continuous, not merely almost
every one — one may always modify a Brownian motion on a null set to achieve this, and Durrett's
canonical construction on C[0,∞) has it by definition. Without it there would be no
C[0,1]-valued random variable to speak of.
Weak convergence is Mathlib's TendstoInDistribution, the same predicate mission II used for the
Lindeberg–Feller theorem, instantiated at C[0,1] rather than at R.
Skorokhod's theorem and the embedding of the walk are stated as existence of a probability space
carrying the Brownian motion, a filtration and the stopping times. This is how Durrett states them
— the construction needs an independent pair (U,V) alongside the Brownian motion, and he notes
himself that TU,V is a stopping time only for the enlarged filtration. The filtration is
therefore an explicit family Ft that is increasing, sits inside the ambient σ-field, and
contains σ(Bs:s≤t) — the pastSigma of mission V, which this mission imports as a
reference. The stopping-time property is {T ≤ t} ∈ F_t, stated directly rather than through a
bundled filtration structure.
Theorem 8.1.2's conclusion "Sn=dB(Tn)" is read as equality of the laws of the whole processes:
the push-forward of ω↦(n↦B(Tnω)) equals the law of the partial-sum process
of an i.i.d. sequence with step law μ, taken on the infinite product measure. The gaps are
required to be independent and identically distributed, as the book says.
The counting in Example 8.1.8 is a sum of indicators rather than a filtered cardinality, to keep a
decidability side condition out of the statement, and the limit is the Lebesgue measure of
{t∈[0,1]:Bt>a} as a real number. Example 8.1.6 takes the maximum over 0≤m≤n, which
includes S0=0, and the limit is the supremum of B over [0,1], attained because the path is
continuous on a compact interval.
Existence of a Brownian motion is a hypothesis, not a claim, exactly as in mission V, except in
Theorems 8.1.1 and 8.1.2 where the existence of a suitable space is the content of the statement and
a Brownian motion must be produced; that is Durrett's Theorem 7.1.1, which the library does not yet
have, so those two items subsume it.
Contributions welcome beyond the listed items: Lemma 8.1.9 on its own; Theorem 8.1.3, the CLT
derived from the embedding; Example 8.1.7, the last zero before time n and the arcsine law;
continuous-time optional stopping and the exit identities 7.5.3 and 7.5.5 that Skorokhod's theorem
rests on; the extension to C[0,∞); and the martingale, stationary-sequence and empirical-process
versions of sections 8.2 to 8.4.
Selected references
Rick Durrett, Probability: Theory and Examples, Version 5 (11 January 2019), chapter 8, section
8.1 (pp. 389–395); Theorems 8.1.1, 8.1.2, 8.1.4, 8.1.5, Examples 8.1.6 and 8.1.8. Published as the
5th edition, Cambridge University Press, 2019,
DOI 10.1017/9781108591034
M. D. Donsker, An invariance principle for certain probability limit theorems, Memoirs of the
American Mathematical Society 6 (1951).
A. V. Skorokhod, Studies in the Theory of Random Processes, Addison-Wesley, 1965.
P. Erdős and M. Kac, On certain limit theorems of the theory of probability, Bulletin of the
American Mathematical Society 52 (1946), 292–302.
DOI 10.1090/S0002-9904-1946-08560-2
P. Billingsley, Convergence of Probability Measures, 2nd ed., Wiley, 1999, chapters 2 and 8.
DOI 10.1002/9780470316962
Discriminative Kalman Filter asymptoticsResearch Paper
Motivation
Bayesian filtering estimates an unobserved state from measurements arriving over time. A filter combines what the state dynamics predict with what the newest observation says. In neural decoding, for example, the state may describe an intended movement while the observation contains activity from many recorded neurons. The observation can have many more coordinates than the state and need not follow a linear Gaussian observation model.
The Discriminative Kalman Filter (DKF) uses a Gaussian approximation to the state conditional on the newest observation. It combines that approximation with a Gaussian state transition and a correction for the stationary state distribution. The resulting recursion retains a mean vector and covariance matrix. Burkhart et al. developed this construction and proved an asymptotic justification in Theorem 2 of Appendix B.
The historical starting point is the linear Gaussian filter of Kalman (1960). The 2020 DKF paper changes how observation information enters the update and establishes a corresponding approximation theorem. The present mission concerns formal verification of that published theorem.
Setting
The state space is Rd for a positive finite dimension d. Write ηd(z;m,C) for the ordinary multivariate Gaussian density with mean m and symmetric positive-definite covariance C. Densities and their L1 distances are with respect to Lebesgue measure.
The state model has a matrix A and positive-definite covariance matrices Γ,S satisfying
S=ASA⊤+Γ.
Its stationary density and transition density are
p(z)=ηd(z;0,S),τ(y,z)=ηd(z;Ay,Γ).
For an integrable density s, prediction gives
(τs)(z)=∫τ(y,z)s(y)dy.
The discriminative update combines a previous filtering density s with a density u for the state given the current observation:
∥uτs/p∥1uτs/p.
This expression is a probability density when its nonnegative weight has a finite, strictly positive integral. Dividing by p is part of the standard DKF under consideration.
For Gaussian inputs with parameters (a,V) and (b,U), define
G=AVA⊤+Γ,T=(U−1+G−1−S−1)−1,c=T(U−1b+G−1Aa).
The DKF step returns mean c and covariance T when the precision is invertible and the covariance is positive definite. The recursive filter starts from mean zero and covariance S, using the current observation's functions f and Q as the Gaussian input mean and covariance. These are the updates in equation (2.7) of the paper.
Formalization targets
Fix sequences of probability densities sn,un, indexed by positive integers, whose exact normalized updates
pn=∥unτsn/p∥1unτsn/p
are well defined for every index. Fix Gaussian density sequences sn′,un′, a point b, and a probability measure P. The five assumptions are
Here ⇒ denotes weak convergence, characterized by convergence of expectations of every bounded continuous real function; δb is the unit point mass at b. The measure P need not have a density and may be degenerate.
The main goal is the complete conjunction of Theorem 2's conclusions, with separate milestones for each:
C1:sn′⇒P.
C2:un′⇒δb.
C3: the specific update
pn′=∥un′τsn′/p∥1un′τsn′/p
is a well-defined Gaussian density for all sufficiently large n.
C4:pn′⇒δb.
C5:∥pn−pn′∥1⟶0.
A sixth milestone is Lemma 1 (DKF equation): the normalized Gaussian-input update has the explicit mean and covariance above whenever valid, and the two input weak limits imply its eventual validity and convergence to δb. It includes both the exact equation and the asymptotic assertion from the source.
Significance
In addition to neurodecoding with intracortical brain-computer interfaces, the DKF has also found applications in optimization and sequential data augmentation (see references). The original study was successfully reproduced by Casco-Rodriguez, et al. in ReScience C.
Difficulty
The inverse stationary density can grow in the tails, so small L1 errors in the input densities do not immediately control the error after division and renormalization. Normalizing constants must remain finite and nonzero. The candidate Gaussian covariance must also become positive definite as a conclusion of the assumptions, rather than through an extra validity assumption imposed at every index.
There is a second distinction between convergence to a point mass and approximation in L1. Two sequences may concentrate at the same point while retaining different shapes at shrinking scales. The C5 target therefore requires the full approximation argument, beyond the weak-convergence conclusions.
Formalization scope
Lean represents states as Fin d → ℝ and covariance matrices as real square matrices. The Gaussian density is the standard determinant-and-quadratic-form formula. The definition of Gaussian PDF includes positive-definite covariance and equality of densities almost everywhere. Thus null-set changes do not constrain the theorem artificially.
Probability density validity explicitly includes nonnegativity almost everywhere, integrability and total integral one. The L1 quantity is an extended nonnegative integral. The update's validity explicitly requires measurable weight and a finite, strictly positive normalizer. Total expressions outside that domain supply no assumed probability interpretation; C3 establishes validity on a tail.
All density sequences use positive integer indices. The limit measure is a Mathlib probability measure. Weak convergence is tested against Mathlib bounded continuous functions using the actual measures generated by the densities. The stationary model, standard recursive DKF, exact update and approximate update are defined independently of the theorem conclusions.
The mission addresses deterministic Theorem 2 of Appendix B. The random-sequence extension in Remark 4, conditions implying a Bernstein–von Mises theorem, and induction over filtering time are separate developments. The proof plan follows the appendix through C1–C2, Lemma 1, C3–C4, and the five-term comparison for C5.
Selected references
M. C. Burkhart, D. M. Brandman, B. Franco, L. R. Hochberg and M. T. Harrison, The Discriminative Kalman Filter for Bayesian Filtering with Nonlinear and Nongaussian Observation Models, Neural Computation 32(5), 969–1017, 2020. DOI: 10.1162/neco_a_01275.
R. E. Kalman, A New Approach to Linear Filtering and Prediction Problems, Journal of Basic Engineering 82(1), 35–45, 1960. DOI: 10.1115/1.3662552.
M. C. Burkhart, A Discriminative Approach to Bayesian Filtering with Applications to Human Neural Decoding, Ph.D. dissertation, Brown University, 2019. DOI: 10.26300/nhfp-xv22.
D. M. Brandman, M. C. Burkhart, J. Kelemen, B. Franco, M. T. Harrison and L. R. Hochberg, Robust Closed-Loop Control of a Cursor in a Person with Tetraplegia using Gaussian Process Regression, Neural Computation 30(11), 2986–3008, 2018. DOI: 10.1162/neco_a_01129.
D. M. Brandman, T. Hosman, J. Saab, M. C. Burkhart, B. E. Shanahan, J. G. Ciancibello et al., Rapid calibration of an intracortical brain–computer interface for people with tetraplegia, Journal of Neural Engineering 15(2), 026007, 2018. DOI: 10.1088/1741-2552/aa9ee7.
J. Casco-Rodriguez, C. Kemere and R. G. Baraniuk, [Re] The Discriminative Kalman Filter for Bayesian Filtering with Nonlinear and Non-Gaussian Observation Models, ReScience C 10(1), article 3, 2025. DOI: 10.5281/zenodo.15172014, published PDF.
M. C. Burkhart, Discriminative Bayesian filtering lends momentum to the stochastic Newton method for minimizing log-convex functions, Optimization Letters 17, 657–673, 2023. DOI: 10.1007/s11590-022-01895-5.
Transformer sequence models modulate attention scores by a function of the relative
position between a query and a key: the attention logit between token m and token
n is scaled by a fixed profile f(pm−pn). Realizing this modulation the naive
way means evaluating f once per pair (m,n) and materializing an L×L
adjustment over the whole sequence — quadratic in the sequence length L. Rotary
Position Embedding (RoPE) Su et al. 2021 avoids
this entirely: it rotates the query at position pm and the key at position pnindependently, each by an angle depending only on its own position, so that the
pairwise quantity f(pm−pn) falls out of the dot product of the two separately
rotated vectors — f is never evaluated pairwise, and no L×L matrix is ever
built. This is what lets RoPE stay a linear, per-token preprocessing step compatible
with efficient (sub-quadratic) attention implementations, rather than an O(L2)
modulation. The catch is that RoPE's specific log-linear frequency schedule bakes in
one particular profile: a monotone, decaying f. That schedule is a poor fit
whenever the correlation structure of the data is not monotonically decaying with
distance — the leading example being periodicity: in sequential recommendation,
interactions separated by exactly one day or one week are more correlated than
interactions separated by, say, half a day, and a decaying profile cannot express
that "attention comes back" at the period.
Chen, Ainslie, Choromanski et al., ClockRoPE: Random Fourier Rotations for Temporal
Routine Modeling (arXiv:2607.26369), ask a more
general question first: which attention-modulation profiles f can be realized at
all by this same per-token, pairwise-iteration-free rotation trick — rotate each
token once, on its own, and let the pairwise profile emerge from the dot product —
and by what rotation-frequency schedule? Their answer is a random-features
construction — sample the rotation frequencies from the kernel's own Fourier
transform, rather than fixing them log-linearly — that realizes any continuous,
normalized, positive-definite profile in expectation, with a quantified concentration
rate, all while keeping the exact same per-token rotate-then-dot-product computation
RoPE already uses. ClockRoPE is the periodic instance of this general theory, later
deployed in a production-scale generative-retrieval system.
Setting
Fix an embedding dimension d=2n and group a vector v∈Rd into n
consecutive feature pairsv(j)=(v2j,v2j+1)∈R2 for
j=0,…,n−1. For an angle θ, let
R(θ)=(cosθsinθ−sinθcosθ)
be the 2×2 (Givens) rotation matrix. A real kernel f:R→R is positive definite if for every finite family of points
x1,…,xN∈R and complex coefficients c1,…,cN,
∑i,jcicjf(xi−xj) has nonnegative real part; it is
normalized if f(0)=1. When f is also continuous and Lebesgue-integrable,
its Fourier transform
τ(ξ)=∫Rf(x)e−i2πξxdx
is (by Bochner's theorem) a genuine probability density on R: this is the
distribution the mission's rotation frequencies are sampled from.
Given a query qm∈R2n at position pm, a key kn∈R2n at position pn, and n i.i.d. frequencies ξ0,…,ξn−1∼τ, the Random Fourier Rotation (RFR) estimator is
g^ is exactly the modulated attention logit computed by rotating query/key
feature pairs with per-pair, sampled RoPE frequencies — the same operation standard
RoPE performs, but with ξj drawn from τ instead of fixed by a log-linear
schedule.
Formalization targets
Goal — convergence of the RFR estimator (Proposition 3.2)
for every ϵ>0. This is the mission's central target: it upgrades the mean
identity below into a quantitative, non-asymptotic guarantee that the sampled
estimator is close to the target profile with high probability, at a rate that is
exponential in the embedding dimension d=2n.
Milestone — unbiasedness of the RFR estimator (Proposition 3.1)
The expectation identity that the concentration bound above sharpens; it is the
feasibility half of the claim ("this construction is correct on average") that the
convergence half needs as its starting point.
Milestone — periodic case via Herglotz's theorem (Corollary 3.3)
For a continuous, positive-definite, T-periodic f with f(0)=1 and Fourier
coefficients αk=T1∫0Tf(x)e−i2πkx/Tdx,
αk≥0 for all k∈Z,k=−∞∑∞αk=f(0)=1.
The periodic specialization needed to apply the goal and first milestone with a
discrete frequency distribution over harmonics k/T — the regime ClockRoPE
actually deploys, since daily/weekly routines are periodic rather than merely
decaying.
Significance
The result gives a general recipe — sample, don't hand-design — for turning any
admissible attention-modulation profile into a RoPE-compatible rotation schedule,
with a concentration guarantee that says how many feature pairs are needed before the
sampled schedule reliably approximates the target profile. Crucially, the recipe
changes only which frequencies the per-token rotation uses — it never touches the
computational shape of RoPE itself: each query and key is still rotated once,
independently, by an angle depending only on its own position, and the target
pairwise profile f(pm−pn) is still recovered purely from the dot product of the
two rotated vectors. So realizing an arbitrary positive-definite f this way costs
exactly what realizing RoPE's own log-linear profile costs — linear in the sequence
length, with no pairwise evaluation of f and no L×L matrix ever
materialized — rather than the quadratic cost a direct, per-pair implementation of
an arbitrary modulation function would require. This subsumes standard RoPE's
log-linear schedule as one instance and explains, via the periodic corollary, why a
schedule built from the kernel's own spectrum (rather than an arbitrary log-linear
one) is the right way to encode periodicity: nothing about the construction, or its
efficiency, is specific to decay. The paper reports this translated into measured
gains in a production-scale generative-retrieval system, which is unusual weight of
practical evidence behind a Bochner/Herglotz-style spectral argument.
At the time of writing, none of these three results have a machine-checked proof;
this mission asks for the first formalization of all three, together with the shared
scaffolding (feature-pair extraction, the rotation estimator, and the notion of a
positive-definite kernel) they are stated over.
Difficulty
The natural first attempt at the concentration bound is a direct union bound or a
naive variance argument, but the estimator g^ is a sum of n terms that are
each bounded (each rotated pair lies on a fixed-radius circle) rather than governed
by a variance bound that shrinks with n under a fixed frequency; the source proof
instead applies McDiarmid's bounded-differences inequality, treating each sampled
frequency ξj as one coordinate of the input and bounding the one-coordinate
change in g^ by 2∥qm(j)∥∥kn(j)∥ via the
maximal distance between two points on the unit circle — not by directly bounding a
variance term. Establishing Proposition 3.1 itself already requires care: it
requires justifying that τ, defined purely as an integral transform of f, is
in fact a legitimate probability density (Bochner's theorem), and then a real/complex
bookkeeping argument identifying the real inner product of rotated pairs with the
real part of a product of complex exponentials.
Formalization scope
The mission works over the reals and represents feature pairs as functions
Fin (2 * n) → ℝ sliced into Fin n-indexed pairs, matching the "n feature pairs,
dimension d=2n" convention used throughout; 2×2 rotations are ordinary
Matrix (Fin 2) (Fin 2) ℝ values built with Matrix.mulVec/Matrix.dotProduct, and
expectation over i.i.d. τ-distributed frequencies is formalized as integration
against the product measure MeasureTheory.Measure.pi of n independent copies of
the measure with density τ (MeasureTheory.Measure.withDensity) — this is
mathematically equivalent to, and more directly usable in Lean than, introducing an
abstract probability space with named i.i.d. random variables.
Since a general continuous positive-definite kernel need not have an
integrable Fourier transform (the periodic case in Corollary 3.3 is exactly the
counterexample: its "Fourier transform" is a discrete measure, not a density) — the
goal and first milestone add Integrable f as an explicit hypothesis beyond what the
paper states in prose, so that τ is genuinely a density rather than a junk value.
This is not a strengthening of the target profiles the paper cares about in practice
(Gaussian, Laplace, and the cosine/Gaussian priors used by ClockRoPE itself are all
integrable) and mirrors the paper's own split between the density case (Propositions
3.1–3.2) and the discrete, purely-periodic case (Corollary 3.3). A formalization that
dropped this hypothesis and instead let the Fourier integral silently evaluate to
Lean's junk value (0 for non-integrable integrands) would make the goal statement
possible to "prove" vacuously and must be avoided.
Definitions needed: a positive-definite-kernel predicate, the real-valued Fourier
transform of a kernel, feature-pair extraction, the 2×2 rotation matrix, and
the RFR estimator itself — all reusable by any future mission formalizing RoPE-family
positional encodings (e.g. STRING, nD-RoPE) or other random-Fourier-feature results.
McDiarmid's inequality, if not already in Mathlib in the needed form, is itself a
independently reusable contribution.
Selected references
Yiwen Chen, Joshua Ainslie, Krzysztof Choromanski, Xiang Gao, Su-Lin Wu, Yiping Yuan, Qian Sun, ClockRoPE: Random Fourier Rotations for Temporal Routine Modeling, 2026. arXiv:2607.26369
Jianlin Su, Yu Lu, Shengfeng Pan, Ahmed Murtadha, Bo Wen, Yunfeng Liu, RoFormer: Enhanced Transformer with Rotary Position Embedding, arXiv, 2021. arXiv:2104.09864
Ali Rahimi, Benjamin Recht, Random Features for Large-Scale Kernel Machines, NeurIPS, 2007.
Gustav Herglotz, Über Potenzreihen mit positivem, reellem Teil im Einheitskreis, Berichte über die Verhandlungen der Königlich Sächsischen Gesellschaft der Wissenschaften zu Leipzig, 1911.
Finite Reflection Positivity Methods I: Split Weights and Infrared ModesTextbook
Motivation
Reflection positivity and infrared bounds form a standard finite-volume route
from the geometry of a lattice reflection to quantitative control of long
wavelength fluctuations. In the classical argument, reflection positivity
supplies a Cauchy--Schwarz inequality for reflected observables, while Fourier
diagonalization of the lattice Laplacian identifies the free covariance used
in the infrared comparison. These ingredients underlie rigorous results on
continuous-symmetry lattice systems in Fröhlich, Simon, and Spencer's
development of infrared bounds and spontaneous symmetry breaking
(1976), and the general theory of
reflection positivity developed by Fröhlich, Israel, Lieb, and Simon
(1978). Related technology appears in
Fröhlich and Spencer's treatment of the two-dimensional Abelian spin systems
and Coulomb gas (1981).
The analytic and model-specific theorems are substantial, but their finite
algebraic interface is sharply separable. This mission isolates that interface
so later clock, XY, and Gaussian-domination developments can share one checked
notion of reflection, one spectral covariance convention, and one treatment of
the constant mode.
Setting
Let X be a finite set of configurations on one side of a reflection plane.
A full split configuration is a pair (x,y)∈X×X, and reflection
exchanges its two entries. A plus-half observable is a function F:X→R lifted to X×X through the first coordinate. Its reflected
copy therefore depends on the second coordinate.
A split weight is specified by a finite feature index A, real coefficients
ca, and features ϕa:X→R:
W(x,y)=a∈A∑caϕa(x)ϕa(y).
For a finite family of plus-half observables Fi, the reflected kernel is
Kij=(x,y)∈X×X∑W(x,y)Fi(x)Fj(y).
A real matrix is positive semidefinite here when it is symmetric and its
quadratic form is nonnegative on every real coordinate vector.
The spectral side uses a finite mode set I with a distinguished zero mode
0. An infrared spectrum consists of a function λ:I→R
that is nonnegative and vanishes exactly at 0. For β>0, the free
mode covariance is diagonal, equals zero at the constant mode, and has entry
Gkk=βλk1
away from zero. Covariance domination is tested only on source vectors whose
zero-mode coordinate vanishes. The concrete spectral fixture is the
4×4 periodic square lattice, with tensor-product discrete Fourier modes
and the nearest-neighbor graph Laplacian.
Formalization targets
Finite reflection positivity
The first target identifies the split reflection pairing with the explicit
double sum over the two halves. Under ca≥0, the resulting reflected
kernel must be positive semidefinite:
i,j∑uiKijuj≥0.
Every such kernel must satisfy the two-observable chessboard inequality
Kij2≤KiiKjj.
Typed finite spectrum
For every Torus-4 frequency k and site x, the registered Fourier mode
ψk must satisfy the pointwise eigenvalue equation
(ΔT4ψk)(x)=λkψk(x).
The eigenvalues must be nonnegative and vanish exactly at the constant mode,
and these laws must be packaged as the same spectrum type consumed by the
infrared definitions.
Zero-mode-restricted infrared bound
The diagonal free covariance must be positive semidefinite for β>0.
If an interacting covariance C is quadratically dominated by G on sources
with u0=0, then every nonzero Fourier mode must satisfy
Ckk≤βλk1(k=0).
Two finite counterfixtures are part of the target. They assert that an
arbitrary full-vertex reflected two-point matrix need not be positive
semidefinite, and that domination restricted away from the zero mode need not
extend to full-matrix domination.
Significance
The resulting interface prevents three substitutions that otherwise look
notational but change the theorem. Reflection positivity is tested on
observables supported on one half rather than on an arbitrary matrix indexed
by all vertices. The infrared comparison excludes the constant mode rather
than forcing a fluctuating zero mode below a covariance with zero diagonal.
The graph-Laplacian eigenvalue is connected to the Fourier mode by an explicit
pointwise theorem rather than by assigning a function the name
laplacianEigenvalue.
Several ingredients already have machine-checked Lean proofs in the
LeanProofs repository: the finite matrix Cauchy--Schwarz theorem, the Torus-4
DFT diagonalization and zero-mode theorem, and the diagonal free-covariance
calculation. This mission reorganizes those results around a corrected
consumer boundary and adds the split-half and off-zero adapters. It does not
present the finite statements as new mathematics.
Difficulty
The main difficulty is maintaining the correct domain at each interface. A
reflection of lattice sites does not by itself imply positive semidefiniteness
of a correlation matrix indexed by every site; the tested observables and
their support are part of the assertion. Likewise, a free covariance whose
constant-mode entry is defined to be zero cannot dominate an arbitrary
covariance on all source vectors. Finally, a Fourier multiplier used for a
pseudospectral derivative is not automatically the eigenvalue of the
nearest-neighbor graph Laplacian. The formal statements must keep these three
objects distinct.
Formalization scope
All configuration, feature, observable, and mode types are finite. Kernels,
weights, coefficients, source vectors, and quadratic forms are real. Complex
numbers occur only in the explicit discrete Fourier modes. Reflected pairings
are unnormalized finite sums; no partition function or probability measure is
introduced. The inverse temperature satisfies β>0. The distinguished
zero mode is part of the spectrum interface, and infrared domination is
restricted to source vectors that vanish at that coordinate.
The mission does not assert reflection positivity of a clock or XY Gibbs
measure, nonnegative Fourier coefficients of a physical cross-bond weight,
Gaussian domination, a thermodynamic limit, a Kosterlitz--Thouless transition,
or a universal jump. It also does not identify the Torus-4 graph spectrum with
the Grid3 pseudospectral multiplier from the Fourier--Hodge packet. Those are
separate future missions requiring additional model and analytic input.
The reusable outputs are the split-weight RP interface, the finite
positive-semidefinite kernel API, the typed spectrum object, and the
zero-mode-restricted domination predicate. Contributions should preserve the
explicit half support and zero-mode restrictions; a proof obtained by adding
the desired conclusion as a hypothesis is outside scope.
Selected references
J. Fröhlich, B. Simon, and T. Spencer, Infrared bounds, phase transitions
and continuous symmetry breaking, Communications in Mathematical Physics
50 (1976), 79--95. https://doi.org/10.1007/bf01608557
J. Fröhlich, R. Israel, E. H. Lieb, and B. Simon, Phase transitions and
reflection positivity. I. General theory and long range lattice models,
Communications in Mathematical Physics 62 (1978), 1--34.
https://doi.org/10.1007/bf01940327
J. Fröhlich and T. Spencer, The Kosterlitz--Thouless transition in
two-dimensional Abelian spin systems and the Coulomb gas, Communications in
Mathematical Physics 81 (1981), 527--602.
https://doi.org/10.1007/bf01208273
Capped Base-Stock Policies: A 2.33-ApproximationResearch Paper
A performance guarantee for a simple replenishment rule
When replenishment takes several periods, an inventory decision commits stock before the demand that will consume it is known. Too much stock incurs holding costs; too little loses sales. An optimal decision can depend on the entire pipeline of outstanding orders. A rule with only two adjustable parameters is easier to implement, but its simplicity alone gives no guarantee on the cost it can incur.
Capped base-stock policies combine an inventory-position target with a maximum order quantity. The class was introduced and analyzed by Xin (2021). The present target is the finite-lead-time guarantee in Linwei Xin's Capped Base-Stock Policies: A 2.33-Approximation, specifically the author-supplied manuscript with source label thm-main. A public listing of the paper identifies the July 17, 2026 working paper; the supplied text is the authoritative version for this formalization.
Demand, stock, and delayed orders
Periods are discrete. Demand is a sequence of independent, identically distributed nonnegative real random variables Dt with finite, strictly positive mean μ. The deterministic lead time is an integer L≥1. Holding and lost-sales rates are h>0 and p>0.
At the beginning of period t, It is on-hand inventory and x1,t,…,xL,t are outstanding orders, with x1,t due immediately. That arrival is received, an order qt≥0 is placed, demand is realized, and costs are charged. The new order arrives L periods later. The equations are
Here u+=max{u,0}. Unfilled demand is lost rather than backlogged. With ℓt=(Dt−It−x1,t)+, the period cost is hIt+1+pℓt. Initial inventory and every pipeline coordinate are zero. A nonanticipative policy chooses orders using only information available before the current demand; policies may depend on the entire observed past and on independent private randomization.
For a policy π, its long-run expected average cost is
The capped rule is qt=min{(S−It−∑i=1Lxi,t)+,r} for finite S,r≥0. Write CCBS∗=infS,r≥0C(πS,r). Ordinary base stock is already included by taking r=S; no infinite order cap is required.
The pair (0,0) is feasible. Both horizon constraints are retained. With
κL=1+(L+1)(3L−1)4L2,
the goal is Theorem 1's complete assertion:
CCBS∗≤κLC,CCBS∗≤κLOPT≤37OPT.
The exact rational constant is used; the title's 2.33 is a rounded description. Multiplicative inequalities also make sense when the optimal cost is zero.
Five supporting targets reproduce selected source statements: Proposition 1's lower-certificate bound; Proposition 2's finite-cap cost conclusion; Lemma 2's bound on a consecutive block in the greedy recursion; Proposition 3's ordinary-base-stock cost bound; and Proposition 4's two-branch inequality. The finite-cap and ordinary-base-stock parameters remain exactly (S,r)=((L+1)r+z,r) and S=(L+1)r+2z, respectively. Labels accompany the printed numbering so the supplied source is unambiguous.
What completing the mission establishes
The result gives a uniform cost guarantee for this policy class across all positive holding and penalty rates, every positive integer lead time, and arbitrary nonnegative demand laws with finite positive mean. It bounds the infimum of costs over the policy parameters; it does not by itself provide an algorithm for selecting parameters or assert that the infimum is attained. At L=1 the displayed coefficient is 2, while its uniform upper bound is 7/3.
The manuscript supplies mathematical proofs. This mission asks for checked proofs of their formal statements. Compiling the declarations confirms that they are well formed, not that the claims are proved. A completed development would provide reusable delayed-inventory dynamics, measurable history policies, average-cost optimization objects, finite-horizon demand envelopes, and policy-comparison results.
Where the formal work lies
The pipeline carries consequences of past decisions across multiple demand periods. Nonanticipativity and independence must be stated precisely before expectation and convexity arguments can be used. Also, existence of a stationary distribution alone does not identify its expected cost with a long-run cost from an empty initial system. The manuscript invokes stationary results from prior inventory work, including Xin and Goldberg (2016), and uses stationary CBS quantities in intermediate arguments. Their needed hypotheses and connections to the original objective require proof within a complete development.
The two cost bounds depend on both coordinates of a feasible lower-certificate pair. Losing either horizon constraint changes that certificate. Replacing it with an arbitrary scalar lower bound or assuming the policy comparisons would remove substantive parts of the result.
Formalization scope and conventions
Stock, orders, and demand take arbitrary nonnegative real values. Time is represented from zero in the operational model, corresponding to period one in the manuscript. The formal representation uses a canonical probability model with independent demand coordinates and an independent uniform private seed; measurable time-dependent decision functions use only preceding demands and that seed. Connecting arbitrary standard-Borel randomized controls to this canonical realization is a representation obligation. The zero-start optimum ranges over these general history policies, not only stationary or capped policies.
Expected nonnegative costs, their upper limits, and cost infima are represented in the extended nonnegative reals. Thus a policy with infinite expected cost does not acquire a fictitious zero value through a totalized real integral. The finite-horizon envelope expectations use the original integrable demand law. The greedy lemma uses integer-indexed sequences so subtraction of earlier times has no natural-number truncation; its blocks are nonempty, as required to define their maximum.
Definitions contain no unproved facts. In particular, stationarity, convergence from the empty initial state, lower bounds, and upper policy comparisons are not fields assumed by the model. Contributions to these intermediate obligations and to any of the five source targets support the central theorem.
Linwei Xin, Technical Note—Understanding the Performance of Capped Base-Stock Policies in Lost-Sales Inventory Models, Operations Research 69(1), 61–70, 2021. DOI.
Linwei Xin and David A. Goldberg, Optimality Gap of Constant-Order Policies Decays Exponentially in the Lead Time for Lost Sales Models, Operations Research 64(6), 1556–1565, 2016. DOI.
Coherent Measures of Risk: the axioms, and why Value-at-Risk fails themResearch Paper
Motivation
In 1999 Artzner, Delbaen, Eber and Heath asked what a risk measure ought to satisfy, wrote
down four axioms, and observed that the industry standard of the day -- Value-at-Risk -- fails
one of them. The failing axiom is subadditivity: merging two positions should never require more
capital than holding them apart. VaR can violate it, so under VaR a diversified book can appear
riskier than its parts.
That observation did not stay academic. It is the reason the Basel framework moved its market-risk
capital standard from Value-at-Risk to Expected Shortfall. Few results in mathematical finance
have had a more direct regulatory consequence, and the mathematics is elementary enough to state
completely.
Setting
A position is a payoff X : Fin (n+1) -> R across finitely many equally-weighted states, and a
risk measure rho sends it to the capital that must be added to make it acceptable. Following
Definition 2.4 of the paper, rho is coherent when it is translation-invariant, subadditive,
positively homogeneous and monotone. Nonemptiness of the state space is carried in the index type
so the worst case is always attained; no probability measure is needed for these four axioms,
which is faithful to the paper -- Artzner et al. state T, S, PH and M without reference to one.
Value-at-Risk is defined here at an integer tolerance k rather than a probability level, which
keeps the quantile unambiguous on a finite space: VaR X k is the least capital leaving at most
k states in loss, corresponding to level k/(n+1).
The goal
The mission's goal theorem is the negative result: Value-at-Risk is not subadditive. A witness
is 25 equiprobable states with X losing 100 in state 0 alone and Y losing 100 in state 1
alone. Each has one losing state in twenty-five, so at tolerance k = 1 both have VaR = 0;
their sum loses in two states, exceeding the tolerance, so VaR (X+Y) 1 = 100 > 0 + 0. The
witness was checked numerically before this mission was drafted; what is open is the Lean proof.
The milestones establish the positive contrast on the same footing: worst-case risk, the most
conservative measure, satisfies all four axioms, so the failure is specific to VaR rather than
inherent to risk measurement.
Source
P. Artzner, F. Delbaen, J.-M. Eber and D. Heath, Coherent Measures of Risk, Mathematical
Finance 9 (1999) 203-228. Axioms T, S, PH and M are Definition 2.4; the failure of
subadditivity for VaR and the diversification consequence are discussed in Section 3.
(a) In a tennis match, you are the favorite, and win each point independently with probability q∈(1/2,1). Let n,m be odd positive integers greater than 1. You have the choice between playing a best-of-nm (i.e., you play nm points and whoever wins the majority of points wins the match), or a best-of-n of best-of-m's (i.e., the match is won by winning the majority of n "sets", and each "set" is won by winning the majority of m points). Prove that your probability of winning the match is strictly greater by playing the best-of-nm.
(b) We now consider two generalizations: m1,…,mk are odd positive integers, while n is any positive integer, with all integers being greater than 1. You have the choice between playing a best-of-nm1⋯mk, or a best-of-n of "sets", which are best-of-m1's of "games", …, which are best-of-mk's of "points". In both cases, now that n may be even, it is possible for the players to tie, in which case the match winner is determined by an independent fair coin. Prove again that your probability of winning the match is strictly greater by playing the best-of-nm1⋯mk.
(c) We consider a further generalization where each completed "set" counts toward the match score in an independently random way:
with probability a, the winner gains 1 in the match score, as usual;
with probability b, the set is ignored and does not count toward the match score;
with probability c, the loser gains 1 in the match score;
with a+b+c=1 and a>c, so players are still incentivized to win sets (previously we had a=1, b=c=0). This random scoring rule is applied once per completed set, at the outermost layer only: the games and points inside a set are decided by plain majorities, with no randomness, and only the set's final result is scored. If you choose to play the best-of-nm1⋯mk, then each individual point counts as a set and is subject to the same randomness with probabilities a,b,c. Prove that your probability of winning the match is still strictly greater by playing the best-of-nm1⋯mk (the fair-coin-on-ties convention continues).
(d) Continue from part (c), but change the fair-coin-on-ties convention so that you only win the match if you have a strictly greater match score than your opponent. Assuming b≥1/2, prove that your probability of winning the match is strictly greater by playing the best-of-nm1⋯mk.
Source and connection to Dorner–Hardt
Florian E. Dorner and Moritz Hardt, Don't Label Twice: Quantity Beats Quality when Comparing Binary Classifiers on a Budget, ICML 2024. arXiv:2402.02249 (v3, 8 April 2026).
The paper asks how to spend a fixed budget of noisy crowdworker labels when comparing two binary classifiers: one label each for many data points, or several labels per data point aggregated by majority vote. It proves, via Cramér's theorem, that one label each is asymptotically optimal, and states the finite-sample version as an open conjecture (Section 5, Conjecture 1), still open in the April 2026 revision. Its Section 3 displays the finite-sample inequality for the independent, homogeneous-label case and verifies it numerically over about five billion parameter settings.
Part (d) of this mission with one level of sets is that Section 3 inequality in tennis language. A point is a single crowdworker label being correct (q is the label accuracy); a set is a data point, whose test label is the majority of its m labels; and the scoring rule is what the two classifiers do with that label. Writing p for the worse classifier's accuracy and p+ϵ for the better one's, a set is scored to its winner when the better classifier alone matches the test label, ignored when the two classifiers agree, and scored to its loser when the worse classifier alone matches:
a=(p+ϵ)(1−p),c=p(1−p−ϵ),b=1−a−c,
so that a−c=ϵ>0, and b≥1/2 always holds because two classifiers of accuracy at least 1/2 agree on at least half the data. Substituting into the paper's Proposition 1 recovers its gap-indicator probabilities exactly: Pr(+1)=qϵ+p(1−p−ϵ), Pr(−1)=(1−q)ϵ+p(1−p−ϵ). The paper's inequality also allows n=1 and q=1, which parts (c)–(d) exclude only because the inequality can fail to be strict at b=0 there; for b≥1/2 the same argument covers those edge cases. The paper's Conjecture 1 as literally stated concerns a correlated-error setting (its Section 3.2) and is not claimed here.
Parts (a)–(c) go beyond the paper's setting: arbitrary nesting depth, a fair-coin tie rule, and no constraint on the ignore rate b. The hypothesis b≥1/2 in part (d) cannot be dropped: with one level, (a,b,c)=(0.9,0.1,0), q=0.6, m=3, n=1, the single best-of-3 finishes strictly ahead with probability 0.5832 while three single points do so with probability 0.5761.
Timeline
Feb 2024 — arXiv v1; ICML 2024. Asymptotic theorem via Cramér; finite-sample statement conjectured; ~5·10⁹-configuration numerical sweep.
Oct 2024 — arXiv v2.
Apr 2026 — arXiv v3; conjecture still stated as open.
Aug 2026 — private proof of the Section 3 inequality (strict win, b≥1/2, one level) via exponential tilting of the tie probability.
Sep 2026 — private proof of the fair-coin version with no constraint on b (Bernstein degree elevation and a hypergeometric parity argument), then of the full four-part statement via a pairing lemma for player-symmetric rules. This mission formalizes that proof.
Conventions in the formal statement
"Greater than 1" is read as n≥2 and each mi≥3 odd; the list of set sizes in (b)–(d) is nonempty. Laws are functions Z→R and every probability is a finite sum — no measure theory. The goal theorem is the conjunction of the four parts.
Vector Space Methods II: Gauss–Markov EstimationTextbook
Motivation
Chapter 4 of Luenberger's Optimization by Vector Space Methods (Wiley, 1969) develops linear least-squares estimation as an application of the Hilbert space projection theorem formalized in Mission I of this series. The chapter's centerpiece is the classical Gauss–Markov theorem: among all linear unbiased estimators of an unknown parameter vector from noisy linear measurements, the estimator (W⊤Q−1W)−1W⊤Q−1y has minimum variance — componentwise, not merely in trace. This result is foundational for statistics and econometrics, and its Hilbert-space derivation is the cleanest known.
Setting
Measurements are modeled as y=Wβ+ε, where y is an m-dimensional data vector, W a known m×n matrix (n<m) with linearly independent columns, β an unknown n-dimensional parameter vector, and ε a random m-vector of measurement errors with Eε=0 and covariance E[εε⊤]=Q, positive definite. A linear estimate is β^=Ky for a constant n×m matrix K; it is unbiased when Eβ^=β for every β, which holds iff KW=I. The optimality criterion is the error second moment E∥β^−β∥2, and the book's key observation (p. 85) is that the problem splits into n independent minimum norm problems, one per component, each solvable by the dual approximation theorem of Mission I.
Formally, randomness is carried by an abstract probability space: a measure space (Ω,μ) with μ a probability measure, random vectors as functions Ω→Rm with explicit integrability hypotheses for all first and second moments, and E[⋅]=∫⋅dμ.
Formalization targets
The goal is §4.4 Theorem 1 (Gauss–Markov): with K0=(W⊤Q−1W)−1W⊤Q−1,
K0W=I,E[(K0y−β)i2]≤E[(Ky−β)i2]for every i and every K with KW=I,
with error covariance
E[(K0y−β)(K0y−β)⊤]=(W⊤Q−1W)−1.
Milestones: the deterministic least-squares estimate β^=(W⊤W)−1W⊤y (§4.3 Theorem 1); the book's deterministic reduction — minimize the diagonal entries of KQK⊤ subject to KW=I (p. 85); the minimum-variance estimate β^=E[βy⊤](E[yy⊤])−1y for random β (§4.5 Theorem 1); and the information-form identities RW⊤(WRW⊤+Q)−1=(W⊤Q−1W+R−1)−1W⊤Q−1 and R−RW⊤(WRW⊤+Q)−1WR=(W⊤Q−1W+R−1)−1 (§4.5 Corollary 2).
Significance
The Gauss–Markov theorem justifies weighted least squares as the optimal linear unbiased procedure and is the standard benchmark against which biased and nonlinear estimators are measured. The minimum-variance estimate of §4.5 is the Bayesian counterpart with prior covariance R; the information-form identities connect the two and exhibit Gauss–Markov as the limit R−1→0. Mission III builds the recursive (Kalman) estimator directly on these results.
All results are classical and proved in the source. Mathlib has mature measure-theoretic integration but, to date, no Gauss–Markov theorem and no linear estimation theory; the matrix milestones (trace reduction, information form) are also absent as stated. The probabilistic statements here are deliberately phrased with elementary integrals of products of real-valued components — no Bochner integration of vector-valued maps — so they are approachable with MeasureTheory.integral alone.
Difficulty
The subtlety is bookkeeping, not depth. Unbiasedness must be encoded as the algebraic constraint KW=I (the book proves the equivalence with Eβ^=β for all β); the componentwise variance claim is strictly stronger than the trace claim and requires the per-component minimum norm argument, not a single matrix inequality. Positive definiteness of Q enters through invertibility of W⊤Q−1W, which itself needs the linear independence of the columns of W — dropping either hypothesis makes the goal false. In the probabilistic statements every integral needs an integrability hypothesis; the drafts supply integrability of all pairwise products of components, from which integrability of every derived expression follows.
Formalization scope
Random vectors are plain functions Ω → Fin m → ℝ on a MeasurableSpace Ω with a probability measure μ; second moments are hypotheses of the form ∫ ω, ε ω i * ε ω j ∂μ = Q i j with explicit Integrable assumptions; no independence, Gaussianity, or distributional assumptions are used anywhere. Matrices are Matrix (Fin m) (Fin n) ℝ with Mathlib's Matrix.PosDef, nonconstructive inverse ⁻¹, and mulVec. Norms on parameter space are written as explicit finite sums of squares, avoiding any ambiguity between Euclidean and supremum norms on pi types. The estimators under comparison are strictly linear (β^=Ky, no affine offset), exactly as in the source; §4.5's affine extension (its Problem 6) is out of scope.
Selected references
David G. Luenberger, Optimization by Vector Space Methods, John Wiley & Sons, 1969. Chapter 4, pp. 78–102. ISBN 0-471-55359-X.
A. C. Aitken, On least squares and linear combination of observations, Proc. Roy. Soc. Edinburgh 55 (1935), 42–48 (the weighted-least-squares form of Gauss–Markov).