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.
Introduction to Linear Optimization II: Existence and Optimality of Extreme PointsTextbook
Where should one look for the optimum of a linear programming problem? Chapter 1 of Bertsimas–Tsitsiklis suggests that optima "tend to occur at corners" of the feasible polyhedron; §§2.5–2.6 turn this intuition into theorems. Not every polyhedron has a corner — a halfspace in Rn (n>1) has none — and the exact dividing line is the presence of an…
Bandit Algorithms XII: Follow-the-Regularised-Leader and Mirror DescentTextbook
Beneath Exp3, Exp4 and their relatives lies one algorithm: minimize past losses plus a convex regularizer. Chapters 26–28 of Lattimore–Szepesvári develop this unifying view. For a Legendre potential F with Bregman divergence DF, both mirror descent and follow-the-regularised-leader satisfy the master bound …
Bandit Algorithms VIII: Contextual Bandits and Exp4Textbook
Real decisions come with context: a news site chooses an article for a particular user. Competing with the single best arm is then meaningless; the right benchmark is the best mapping from contexts to arms, or more generally the best of M expert policies. Chapter 18 of Lattimore–Szepesvári formalizes this via Exp4 — exponential weighting over experts, fed…
Single-Server Queueing Convergence via Forward CouplingTextbook
Formalize sample-path stability for a continuous-time, unit-rate, infinite-buffer single-server queue. Starting from cumulative arriving service work, define the reflected transient workload, the workload constructed from the infinite past, long-run offered load, and two-time stationarity. Prove that subcritical load forces finite-time coupling and…
Formalize sample-path Little's Law for deterministic continuous-time queueing trajectories, decomposed into area, sojourn, arrival-rate, boundary, and squeeze lemmas.
Exponential lower bounds for Cunningham’s ruleResearch Paper
A local improvement algorithm can reach an optimum without coming close to doing so quickly. A pivot rule chooses the next neighboring solution of a linear program. Cunningham’s rule uses a fixed cyclic order and remembers the last variable selected. It resumes its scan from that variable, choosing the first eligible entering variable. Avis and Friedmann…
Cost-aware Bayesian Optimization via the Pandora's Box Gittins IndexResearch Paper
Formal verification complete: all 12 mission targets, including Theorem 2, are Proved. These results apply to the formalized independent-box model described below. Paper: Cost-aware Bayesian Optimization via the Pandora's Box Gittins Index, NeurIPS 2024. The formalization follows Theorem 2 and Appendix B.5 of the paper.
Estimation of Treatment Effects Under Nonstationarity via the Truncated Policy Gradient EstimatorResearch Paper
Randomized experiments (A/B tests) on ride-sharing marketplaces, recommendation systems and digital-health services assign each arriving user to treatment or control. The assignment changes the system state seen by later users, so observations are not independent: this is temporal interference, or carryover. The difference-in-means estimator ignores it, and…
A Polynomial-Time Algorithm for Three-Machine Unit-Job SchedulingResearch Paper
A set of unit-length jobs with precedence constraints is to be run on a fixed number of identical machines so that all jobs finish as early as possible. For two machines this was solved in 1969–1972; for a number of machines given as part of the input the problem is NP-complete (Ullman, 1975). Whether the problem is polynomial-time solvable for three machine…
Optimization Methods for Large-Scale Machine Learning: Stochastic Gradient ConvergenceResearch Paper
Training a machine-learning model often means choosing a vector of parameters to minimize an average loss. Evaluating the full gradient can require processing an entire dataset. A stochastic-gradient method instead updates the parameters using a random direction obtained from a smaller amount of information. Its computational appeal raises a mathematical…
Free Energy Principle I: the variational free-energy boundResearch Paper
The free energy principle (FEP) proposes that a self-organizing system — a brain, an organism, an agent — persists by minimizing one quantity: the variational free energy of its sensory states under an internal generative model. Introduced by Karl Friston as a principle of brain function [Friston 2006] and stated in its unified form [Friston 2010], the…
SCAFFOLD: Convergence with Client SamplingResearch Paper
Federated optimization trains one model using objectives held by many
clients. Performing several local updates between communication rounds saves
communication, but clients with different objectives can move in different
directions. SCAFFOLD maintains a correction for each client to address this
disagreement, including when only some clients participate.…
A Field Guide to Federated Optimization: Convex FedAvg ConvergenceResearch Paper
Federated optimization studies learning when data and computation are spread
across clients. Communicating after every stochastic gradient step can be costly,
so clients often take several steps before averaging their models. The difficulty
is that different clients can optimize different objective functions. Their models
then move apart between…
Primal-Dual Online Algorithms III: Set-Cover Approximation via CertificatesTextbook
Set cover is the standard worked example of the primal-dual method, and Chapter 2 of Buchbinder's thesis uses it that way: it is where the machinery of §2.1 is first turned on a concrete NP-hard problem. Two analyses appear. The greedy algorithm, analysed by dual fitting, buys the set with the best cost-per-newly-covered-element ratio and charges the price…
An online algorithm must commit to decisions before it knows the rest of its input, and it is judged by competitive analysis: the ratio between its cost and the cost of an optimal solution computed with full knowledge of the input. A recurring obstacle in this area is that each problem seems to need its own ad hoc potential-function argument. Buchbinder's…
Capped Base-Stock Policies: A 2.33-ApproximationResearch Paper
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…
Coherent Measures of Risk: the axioms, and why Value-at-Risk fails themResearch Paper
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…
(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…
Vector Space Methods IV: Hahn–Banach and Minimum Norm DualityTextbook
Chapter 5 of Luenberger's Optimization by Vector Space Methods (Wiley, 1969) carries the minimum norm theory of Chapter 3 (Mission I of this series) from Hilbert space to arbitrary real normed spaces. The inner product is gone, so orthogonal projection is no longer available; its role is taken over by the Hahn–Banach theorem, in two classical forms. The…
Vector Space Methods II: Gauss–Markov EstimationTextbook
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…
Vector Space Methods I: Minimum Norm Problems in Hilbert SpaceTextbook
Luenberger's Optimization by Vector Space Methods (Wiley, 1969) organizes a large part of optimization theory around a single geometric idea: minimum norm problems in inner product spaces, solved by orthogonal projection. Chapter 3 is the technical heart of that program. Its projection theorem and normal equations underlie least-squares data fitting,…