Stochastic finite arms
Start with bookkeeping, add concentration, then compare ETC and optimism.
A student-first route
You do not need to read thousands of declarations in source order. Begin with the deterministic language, learn the probability interfaces, then follow one algorithm route from assumptions to a compiled endpoint.
The same finite-sum and probability leaves recur across algorithms. Pick a question, follow its short dependency route, and return to the complete map when you need a neighboring technique.
Start with bookkeeping, add concentration, then compare ETC and optimism.
Build the probability interface before moving from optimism to confidence ellipsoids.
Use the common probability layer, then follow posterior sampling and its information route.
Move from importance weighting in EXP3 to regularized FTRL and Tsallis geometry.
Reuse probability and optimism interfaces before entering Bellman recursion and UCBVI.
Bundle mathematical data with invariant proofs, such as a finite model and its best-arm certificate.
Supply ambient facts such as measurable spaces, finite types, probability measures, and nonempty action sets.
Conditional distributions and kernel identities are usually equal almost everywhere, not pointwise.
Algorithm-specific theorems should reuse general finite-sum, measure, concentration, and optimization leaves.
Formalized textbook map
The main spine is Lattimore and Szepesvári's Bandit Algorithms. OFUL, Tsallis-INF, and UCBVI add their original papers. Online-edition pages are shown on every chapter card; the source pages themselves explain the exact algorithms and full assumptions.
Reader. Start here if you know basic probability or machine learning but are new to this Lean library.
Reader. Read after Foundations; familiarity with conditional expectation helps but is not required.
Reader. The shortest end-to-end stochastic-bandit route in the repository.
Reader. Read ETC first if confidence-event arguments are new to you.
Reader. Read the Probability layer and UCB chapter before this linear-bandit route.
Reader. Best read after the Probability layer.
Reader. Read Foundations first; later sections use the Probability layer heavily.
Reader. This is one of the longest routes; read EXP3 and the Probability layer first.
Reader. Read Foundations, Probability, UCB, and the OFUL stopping-time material first.
Reader. Read this chapter to contribute a new route or understand what is deliberately not claimed.
Canonical source sequence
This Bandit Book group preserves the exact textbook order and page mapping for Chapters 13–17. Status is per chapter and per Lean declaration.
Theorem 13.1 compiles through Chapter 15 with c=1/54. Chapter 13 also compiles fixed-class minimax-optimality, the canonical iid Gaussian empirical-mean law, midpoint error events, the Chernoff companion, and both exact Mills-ratio bounds of Eq. (13.4) rescaled to the printed Eq. (13.1). The broader 1-subgaussian class with gaps in [0,1] now has a compiled fixed-horizon MOSS upper bound and constant-factor near-minimax theorem. The frozen main-text contract is complete: PR #105, authoritative-main checks, Pages deployment and live desktop/mobile acceptance pass for b38630c. Notes and Exercises remain optional and unformalized.
Chapter 14 Compiled Foundations of Information Theory 160–169 print · 195–206 PDFThe frozen required body is compiled: Huffman optimality, exact-real arithmetic block coding and converse, finite/partition/common-density KL, the source affinity/overlap route, and Gaussian testing. Independent review, PR #106, main run 33959196451, Pages and live desktop/mobile acceptance passed. The singleton and uniform-code qualifications below are part of the accepted boundary; optional Notes/Exercises are not claimed complete.
Chapter 15 Compiled Minimax Lower Bounds 170–176 print · 207–214 PDFThe frozen required body (§15.1–15.2) is compiled: Lemma 15.1 and Theorem 15.2 use one arbitrary randomized HistoryAlgorithm, the canonical finite-history law, exact unit-Gaussian construction and 1/27 constant, with worst-case and minimax consequences. Optional Exercise 15.7 remains partial: measurable-map KL contraction reuses Chapter 14's trim API, and the fixed-horizon observation corollary compiles; stopped-history information and F_tau factorization remain open. Notes and other exercises are outside the required-body completion contract.
Chapter 16 Compiled Instance-Dependent Lower Bounds 177–184 print · 215–223 PDFDefinition 16.1, Theorem 16.2, Lemma 16.3, and Theorem 16.4 compile with the source quantifiers, information branches, constants, and positive-part placement.
Chapter 17 Compiled High-Probability Lower Bounds 185–190 print · 224–230 PDFAll Chapter 17 body endpoints pass the full Lean/Tests/harness gate, including same-policy hard-law coupling and deterministic matrix extraction; integrated into main via PR #101. Approved corrections: Claim 17.6 uses T_i ≤ n/2; Theorem 17.4 uses 0 < δ ≤ 1/32 with c=1/160, C=64 and a strict CDF tail. This is corrected-chapter closure, not a proof of the unchanged printed statements or every optional exercise.