Knowledge Base / Long form

Deep Dives

Textbook chapters that begin with a picture you can hold and climb through precise mathematics to reusable Lean proof architecture.

Start with a mental model Work through the mathematics Finish with formal architecture
Knowledge Base

Deep Dives are the durable textbook layer of the project. Each chapter starts from first principles, gives the reader a physical and geometric mental model, derives the mathematics without hidden steps, and then explains how that mathematics is represented and proved in Lean.

Reading paths and prerequisites make the climb explicit. A newcomer can take the full route; a specialist can jump to the theorem, implementation choice, or proof boundary they need without losing context.

Textbook chapters44 available
Guided long form
Finite measure theory, conditional expectation, ergodicity, almost-everywhere convergence, normalized Bochner integrals, and intermediate Lean theorem reading Open working note

Ergodic Birkhoff Limits and Normalized Space Averages

A textbook derivation of why an ergodic Birkhoff time average converges almost everywhere to the correctly normalized space average on every finite nonzero measure space.

150 to 220 minutes NonlinearDynamics.Random.RandomCocycles.ErgodicBirkhoffLimit
Read the chapter
Subadditive processes, finite measure theory, Birkhoff sums, interval packing, signed inequalities, and intermediate Lean theorem reading Open working note

Finite Bad-Block Measure Bounds Before Kingman Lower Liminf

A textbook derivation of how finite centered bad blocks, orbit visit counts, greedy interval packing, and a negative-threshold limit produce a measure ratio before any lower-liminf theorem.

190 to 280 minutes NonlinearDynamics.Random.RandomCocycles.SubadditiveBadBlockMeasure
Read the chapter
Subadditive processes, finite bad-block estimates, null measurable sets, extended nonnegative real measure, filter convergence, and intermediate Lean theorem reading Open working note

From Finite Centered Bad-Block Bounds to All-Positive-Length Control

A textbook passage from uniformly controlled finite centered bad-block sets to the event with one bad witness at any positive length, with the extended-measure limit, finite-target real projection, cocycle …

180 to 260 minutes NonlinearDynamics.Random.RandomCocycles.SubadditiveAllLengthBadBlockMeasure
Read the chapter
Subadditive processes, countably generated events, null measurable sets, measure preservation, finite-measure ergodicity, probability normalization, and intermediate Lean theorem reading Open working note

Rational-Slack Lower-Deviation Events and Ergodic Null Selection

Start with an exact two-state probability ledger in which one zero-mass state has a durable rational lower deviation, then climb through arbitrarily-late witnesses, threshold-relaxed preimages, almost-invariance, the …

300 to 420 minutes, including the runnable Lean worksheet NonlinearDynamics.Random.RandomCocycles.SubadditiveLowerDeviation
Read the chapter
Subadditive processes, ergodic theory, limsup, finite phase averaging, real Bochner integration, and intermediate Lean theorem reading Open working note

Subadditive Upper Limsup Bounds Before Kingman Convergence

Start with an exact two-state subadditive ledger whose block-two integral bound is sharp, then climb through centering, phase averaging, ordinary-map Birkhoff convergence, the eventual-lower-bound hypothesis for real …

225 to 325 minutes, including the runnable Lean worksheet NonlinearDynamics.Random.RandomCocycles.SubadditiveUpperLimsup
Read the chapter
Advanced measure-theoretic dynamics, subadditive processes, filters and real liminf, ergodic theory, random matrix cocycles, and intermediate Lean theorem engineering Open working note

The Guarded Real-Liminf Bridge to Log-Positive Kingman Convergence

A concept-first ascent from rational lower-deviation events through totalized real liminf, a two-margin null cover, centered Birkhoff transfer, and the final almost-everywhere convergence of normalized log-positive …

380 to 560 minutes NonlinearDynamics.Random.RandomCocycles.SubadditiveKingman
Read the chapter
Measure theory, filters and limits, finite orbit sums, quasi-measure-preserving dynamics, pre-ergodicity, quasi-ergodicity, and integrable subadditive-process interfaces Open working note

Birkhoff Convergence Events Before the Pointwise Ergodic Theorem

Start with a two-state orbit whose averages converge to one and a bounded deterministic orbit whose averages oscillate, then climb through finite measurability, prefix invariance, convergence events, and conditional …

160 to 220 minutes, including the runnable Lean worksheet NonlinearDynamics.Random.RandomCocycles.BirkhoffConvergence
Read the chapter
Finite measure theory, pointwise and L1 convergence, invariant sigma-algebras, conditional expectation, uniform integrability, and intermediate Lean theorem reading Open working note

Birkhoff Limits, Invariant Sigma-Algebras, and Conditional Expectation

A textbook derivation of the finite-measure pointwise Birkhoff theorem with its limit identified as conditional expectation onto the exact invariant sigma-algebra.

230 to 340 minutes NonlinearDynamics.Random.RandomCocycles.PointwiseBirkhoffLimit
Read the chapter
Natural-number quotient and remainder, powered function iterates, finite Birkhoff sums, integrability, shifted subadditivity, and discrete matrix cocycles Open working note

Finite Block Decomposition for Subadditive Processes

Cut an exact eleven-step process into two four-step blocks and a three-step remainder in both temporal orientations, then climb to the checked finite Birkhoff-sum bounds and their precise boundary assumptions.

110 to 145 minutes NonlinearDynamics.Random.RandomCocycles.SubadditiveFiniteBlocks
Read the chapter
Finite orbit sums, measurable functions and sets, integrability, set integrals, measure-preserving transformations, and elementary real inequalities Open working note

Finite Maximal Ergodic Inequalities: From Orbit Maxima to Threshold Events

A textbook construction of the finite Hopf maximal ergodic lemma: running maxima of orbit sums, the strict time-zero boundary, positive-maximizer peeling, measure-preserving integral cancellation, centered …

200 to 280 minutes NonlinearDynamics.Random.RandomCocycles.FiniteHopfMaximal
Read the chapter
Finite sets, half-open intervals, strong induction, shifted subadditivity, positive-horizon nonpositivity, orbit-majorant centering, and one-sided matrix cocycles Open working note

Finite Ordered Interval Packing for Nonpositive Subadditive Processes

A textbook construction of gap-coded ordered half-open interval packings, a leftmost greedy cover of marked starts, exact coverage-to-cardinality bounds, and finite favorable-cost estimates for positive-horizon …

190 to 260 minutes NonlinearDynamics.Random.RandomCocycles.SubadditiveIntervalPacking
Read the chapter
Begins with exact integer orbit sums; climbs through finite Birkhoff sums, shifted subadditivity, quotient and remainder bookkeeping, positive-horizon nonpositivity, centering, and matrix cocycles Open working note

Finite Phase Averaging for Nonpositive Subadditive Processes

Start with ten negative orbit weights, compute three residue-phase totals exactly, and then climb to Lean's boundary-retaining and nonpositive phase-averaging inequalities.

140 to 190 minutes, including the runnable Lean worksheet NonlinearDynamics.Random.RandomCocycles.SubadditivePhaseAveraging
Read the chapter
From finite weighted sums to measure-preserving pullbacks, Bochner integrability, and finite cocycle domination Open working note

Finite-Horizon Log-Positive Cocycle Integrability

Compute an exact four-state positive-log ledger, use a geometric expanding tail to exhibit nonintegrability, and then follow the checked Lean proof from one explicit generator hypothesis to every fixed finite horizon.

100 to 130 minutes NonlinearDynamics.Random.RandomCocycles.LogPlusIntegrability
Read the chapter
Exact two-by-two arithmetic through measurable cocycle observables and extended-real subadditivity Open working note

Finite-Time Norm and Extended-Log-Norm Observables for Matrix Cocycles

Follow one positive two-step cocycle product and one exact collapse through the row-sum norm, real positive logarithm, extended logarithm, and finite normalization without confusing their codomains or zero policies.

110 to 140 minutes NonlinearDynamics.Random.RandomCocycles.NormObservables
Read the chapter
Finite Birkhoff sums and averages, measurable and null-measurable sets, integrability, measure preservation, extended nonnegative real measure, filter convergence, and elementary real inequalities Open working note

From Finite Maximal Bounds to an Infinite Weak Estimate

A textbook passage from strict finite Birkhoff-average exceedance events to an infinite-horizon weak maximal estimate: positive-time witnesses, the exact increasing union, ordinary and null measurability, …

170 to 250 minutes NonlinearDynamics.Random.RandomCocycles.InfiniteHopfMaximal
Read the chapter
Finite-dimensional Hermitian perturbation, Borel spectrum maps, and measurable spectral observables Open working note

Hermitian Spectral Perturbation, Continuity, and Measurability

An exact two-by-two perturbation opens a textbook climb from a Frobenius Weyl bound to continuous ordered eigenvalues, measurable finite spectral observables, and a carefully typed Gaussian ensemble pushforward equality.

120 to 150 minutes NonlinearDynamics.Random.RandomMatrices.HermitianSpectrumContinuity
Read the chapter
Finite cocycle observables, Bochner integration, measure-preserving pullbacks, subadditive sequences, and deterministic limits Open working note

Integrated Log-Positive Cocycle Growth and Its Deterministic Fekete Limit

Compute a two-state cocycle exactly, integrate its finite log-positive values, and then climb declaration by declaration to the checked deterministic Fekete limit without turning it into a samplewise exponent.

105 to 140 minutes NonlinearDynamics.Random.RandomCocycles.IntegratedLogPlusGrowth
Read the chapter
Measure-preserving dynamics, real L² spaces, continuous linear maps, Hilbert-space orthogonal projection, simple functions, almost-everywhere representatives, convergence in measure, and maximal inequalities Open working note

Mean Is Not Pointwise: Koopman Geometry, Coboundaries, and the Missing Maximal Step

Start with a two-state probability system you can calculate by hand and in Lean, then climb to the real L² Koopman operator, fixed-space projection, mean convergence, a dense pointwise-good core, and the maximal argument …

225 to 330 minutes, including the runnable Lean worksheet NonlinearDynamics.Random.RandomCocycles.KoopmanL2Mean
Read the chapter
From a finite orbit ledger to shifted subadditivity, Birkhoff sums, measure-preserving pullbacks, integrable centered families, and a finite normalized split Open working note

Orbit-Majorant Centering for Subadditive Processes

Compute an exact three-state orbit ledger, subtract its additive one-step majorant, catch a wrong shift that makes six less than or equal to three, and then follow the checked Lean interfaces for nonpositivity, …

110 to 145 minutes NonlinearDynamics.Random.RandomCocycles.SubadditiveCentering
Read the chapter
Measure-preserving dynamics, real Lebesgue L1 and L2 spaces, almost-everywhere equivalence classes, weak maximal inequalities, Cauchy sequences, finite measure, and elementary Lean theorem reading Open working note

Pointwise Birkhoff from Maximal Control and Dense Good Functions

A textbook proof of full-sequence almost-everywhere convergence for real integrable Birkhoff averages on finite measure-preserving systems, built from weak maximal control, a dense L2 pointwise-good core, Cauchy …

280 to 400 minutes NonlinearDynamics.Random.RandomCocycles.PointwiseBirkhoff
Read the chapter
Begins with exact two-point arithmetic; climbs through probability measures, measure-preserving dynamics, ergodicity, invariant events and observables, integrability, subadditive processes, and deterministic Fekete rates Open working note

Probability Normalization and Ergodic Rigidity Before Kingman

Start with two weighted points and separate probability normalization, ergodic invariant rigidity, and finite-horizon integrability numerically before reading the exact Lean interfaces.

120 to 165 minutes, including the runnable Lean worksheet NonlinearDynamics.Random.RandomCocycles.ProbabilityErgodicBase
Read the chapter