A coordinated effort to formalize the mathematics of operations research in Lean 4.
Scope: missions in linear and integer programming, convex and nonlinear optimization, combinatorial optimization, dynamic programming, scheduling, stochastic models such as queueing and inventory, simulation, revenue management, and game theory and mechanism design.
Convex Polytopes IX: Simplex sections through prescribed pointsTextbook
A polytope can be represented not only by vertices or supporting inequalities, but also as a section of a simplex in a higher-dimensional space. Perles's prescribed-point theorem strengthens this representation: the cutting flat can be required to pass through an interior point selected in advance. This is Theorem 5.1.10 in Branko Grünbaum's Convex Polytopes…
Convex Polytopes IX: Realization of cube skeletons by cubical polytopesTextbook
The face structure of a cube is unusually regular: its vertices, edges, and higher dimensional faces are indexed by choices of fixed and free coordinates. A natural realization question asks how much of this structure can survive in a polytope of lower dimension. In §4.9 of Convex Polytopes, Grünbaum reports the Joswig–Ziegler construction of neighborly…
Convex Polytopes VIII: Facet growth of binary polytopesTextbook
A polytope may be described by its vertices or by its facets. These descriptions can differ sharply in size even when every vertex has only binary coordinates. Grünbaum's account of 0/1-polytopes in §4.9 records a result of Bárány and Pór: the maximal number of facets grows superexponentially with dimension. The result is an existence statement about the…
Convex hulls are often defined using arbitrary finite convex combinations. In finite dimensional geometry, Carathéodory's theorem gives a uniform bound on how many points are needed to represent any one point of the hull. This is the finite representation result stated in Branko Grünbaum's Convex Polytopes, second edition (2003), §2.3, Theorem 2.3.5,…
Foundations of Machine Learning XIII: The Johnson-Lindenstrauss LemmaTextbook
High-dimensional data is often computationally expensive to work with and hard to visualize.
The Johnson-Lindenstrauss lemma answers a striking question in this setting: can any finite
set of points, no matter how high-dimensional the ambient space, be squeezed into a space of
dimension depending only on the number of points (logarithmically) and the…
Support Vector Machines VII: Consistency of Support Vector Machines for RegressionTextbook
Chapter 9 asks whether the support vector machine — a regularized empirical risk minimizer
fD,λ over an RKHS H — is a statistically consistent estimator for regression: does
RL,P(fD,λn)→RL,P∗ as the sample size n→∞, for a suitable
regularization schedule λn→0? The chapter's main theorem (Theorem 9.1) answers…
Stochastic Orders VIII: Closure of the Convexity Orders Under Random SumsTextbook
Chapters III and IV formalize what it means for one random variable to be "more spread out" or
"larger and more spread out" than another. Chapter VIII asks a different kind of question: if the
number of terms in a sum of i.i.d. random variables is itself random, and one count is larger
than another in one of these orders, does the resulting random sum…
High-Dimensional Probability X: Exact Sparse RecoveryTextbook
Compressed sensing asks a question that looks impossible at first: can a signal x∈Rn
be reconstructed exactly from far fewer than n linear measurements y=Ax∈Rm, m≪n? Classical linear algebra says no — an underdetermined system has infinitely many solutions.
But if x is known in advance to be sparse (most of its coordinates are…
Supermodularity and Complementarity VI: The Core of a Convex GameTextbook
A cooperative game with side payments models a set of economic agents who can form
coalitions and split the proceeds. The central question is stability: is there a way to split
the total payoff among all the players so that no subset of them would do better by breaking
away and acting on its own? The set of such stable splits is the core, introduced by…
High-Dimensional Statistics IV: Dudley's Entropy Integral BoundTextbook
Many of the central questions of high-dimensional statistics reduce to bounding the expected
supremum of a stochastic process: the maximum correlation of noise with a family of candidate
signals, the operator norm of a random matrix, the uniform deviation of an empirical process from
its mean. Whenever the index set of the process is infinite or…
High-Dimensional Probability VII: Slepian's Inequality for Gaussian ProcessesTextbook
A Gaussian process is a family (Xt)t∈T of jointly Gaussian real random variables
indexed by an arbitrary set T — not necessarily time. The canonical example is Xt=⟨g,t⟩ for t ranging over a subset T⊆Rn and g a standard
Gaussian vector in Rn; this single family already encodes questions as varied as the…
Supermodularity and Complementarity III: Assortative Matching under SupermodularityTextbook
Which workers end up at which firms, and does higher quality always land at the more
productive employer? This is the question of assortative matching: whether an efficient
assignment pairs the best workers with the best firms, the second-best with the second-best,
and so on down the line. The question has a long history in labor economics. Becker [1973]…
Introduction to Stochastic Programming V: The Integer L-Shaped MethodTextbook
Two-stage stochastic programs with recourse are already hard to optimize when the recourse
problem is a linear program: Chapters 4–6 of this series show how the L-shaped method exploits
the recourse function's convexity and polyhedrality to converge finitely by cutting planes.
Adding integrality restrictions destroys both properties. Birge and Louveaux open…
Introduction to Stochastic Programming IV: Nested Decomposition for Multistage ProgramsTextbook
Sequential planning problems — inventory replenishment, hydro-thermal power scheduling,
asset-liability management — routinely span more than two decision epochs, with
information about the future revealed gradually as each period unfolds. A two-stage
recourse model (decide now, observe once, recourse once) is too coarse for these: it
either collapses the…
Introduction to Online Convex Optimization XI: Boosting via Online Convex OptimizationTextbook
A "rule of thumb" classifier — a single pixel's brightness distinguishing handwritten "0" from
"1" — is trivial to produce and barely better than a coin flip. A rule that gets every example
right is, in general, far harder. Boosting asks whether many weak, easy-to-produce rules can be
combined into one strong, hard-to-produce rule, and Chapter 11 answers it…
Introduction to Stochastic Networks II: Kolmogorov's Criterion for ReversibilityTextbook
A Markov process is reversible when, in equilibrium, transitions from x to y occur at the
same average rate as transitions from y to x. Algebraically this is the detailed balance
condition π(x)q(x,y)=π(y)q(y,x), and it is the single most useful structural property a
network process can have: it replaces a global linear system by one equation per pair of…
Introduction to Online Convex Optimization II: Convergence Rates for Well-Conditioned Convex OptimizationTextbook
Convex optimization — minimizing a convex function over a convex set — is the offline
problem that online convex optimization (OCO) generalizes: an OCO algorithm run against a
single, fixed cost function repeated every round is exactly an algorithm for this classical
problem. Its convergence theory, developed over decades and surveyed comprehensively in…
Stochastic Networks VIII: Flow Level Models and the Stability of alpha-Fair AllocationsTextbook
Chapter 7 of Frank Kelly and Elena Yudovina's Stochastic Networks (Cambridge University Press,
2014) studies a network with a fixed set of users, and shows that a decentralized rate control
converges to a fair allocation. Chapter 8 asks the question one time scale up. Files finish and
their flows leave; new files arrive and new flows appear. The number of…
Stochastic Networks VII: Internet Congestion Control and the Primal AlgorithmTextbook
When a file is transferred over the Internet, no part of the network decides how fast it should
go. The machines inside the network forward packets; when a resource is heavily loaded it drops or
marks one; the destination reports that to the source; and the source slows down, then gradually
speeds up again until the next signal. This end-to-end cycle of…
Stochastic Networks V: Random Access and the Critical Rate of Backoff SchemesTextbook
When many stations share one broadcast channel, something has to decide who transmits. A token
passed around the stations works when there are few of them and none is silent for long, but it
scales badly and breaks if the token is lost. The alternative is to let stations transmit
whenever they like and use randomness to recover from the resulting…
Stochastic Networks I: Erlang's Formula for a Single LinkTextbook
In the early twentieth century Agner Krarup Erlang worked for the Copenhagen Telephone
Company and faced a sizing question that every shared-resource operator still faces: how
many parallel circuits must a telephone link carry so that an arriving call is almost never
turned away? The answer he published — the Erlang loss formula — is still the standard…
High-Dimensional Probability II: Concentration Inequalities for Sums of Independent Random VariablesTextbook
The central limit theorem tells us that a normalized sum of independent random variables
converges in distribution to a Gaussian. For applications — bounding the failure
probability of a randomized algorithm, controlling the error of a Monte Carlo estimator,
proving a generalization bound in learning theory — a limiting distribution is not enough:
what is…
High-Dimensional Probability I: Approximate Carathéodory's TheoremTextbook
Many arguments in high-dimensional geometry, statistics and computer science need to
approximate a point of a convex set by an average of a handful of extreme points, rather than
represent it exactly. The classical Carathéodory theorem (1907) answers the exact question:
every point of the convex hull of a set T⊆Rn is a convex combination…
Supermodularity and Complementarity I: Lattices and the Tarski-Zhou Fixed Point TheoremTextbook
Many results in economics and operations research reduce to a single question: does a
system of interacting, mutually reinforcing choices settle at an equilibrium? A firm
choosing input levels that are complements, a Cournot duopoly whose best responses move
together, a matching market where agents' preferences reinforce assortative pairings —
each is a…
Foundations of Reinforcement Learning II: Contextual Bandits and Inverse Gap WeightingTextbook
Decision-making problems rarely present the same fixed choice twice. A doctor prescribing a
treatment sees each patient's medical history and symptoms before deciding; a website choosing
which article to show sees the visitor's profile first. The multi-armed bandit model —
where the learner repeatedly picks from a fixed set of arms with no side information…