Let be the distance to the closed set . Continuity gives
Every variable in the countable infimum is -measurable by adaptedness, so the event belongs to . Hence is a stopping time.
Every evaluation map is continuous in the uniform metric, so . Conversely, for ,
with the harmless restriction to for which . Thus every open ball belongs to . Separability makes every open set a countable union of balls, so and equality follows.
Choose . At dyadic level , Markov inequality and a union bound give
uniformly in . Summing over shows that, outside a set of probability at most , all dyadic increments obey this bound. Chaining dyadic approximations and using continuity gives
for all . Since , the paths then lie in the stated compact Hölder set by the Arzelà-Ascoli theorem. Taking large proves tightness.
A family of probability measures on a metric space is tight when for every there is a compact set such that .
Differentiability gives at zero. By the characteristic function of a sum of independent variables,
the characteristic function of the constant . The Lévy continuity theorem yields , and convergence in distribution to a constant is equivalent to convergence in probability.
Independence makes the joint law of the product of its marginal laws. Weak convergence of both marginals implies convergence of these product measures to the product law of independent copies . The addition map is continuous, so the continuous mapping theorem gives .
Set , , and . Then is a martingale with bounded increments and conditional variance at most . On , localization and the martingale convergence theorem make converge, so the integer-valued increasing sequence is finite. On , applying martingale convergence to
and Kronecker lemma gives . Hence and . This is the Conditional Borel-Cantelli lemma, and proves the two events equal almost surely.
Let be a fair Bernoulli variable measurable at time zero and let be an independent simple symmetric random walk. Then is a martingale with increments bounded by one. On it converges to zero, while on the recurrence of the simple symmetric random walk gives limsup and liminf . Thus .
For each integer , stop on first crossing below . Bounded increments ensure the stopped martingale is bounded below by ; after adding it is a nonnegative supermartingale and therefore converges. Thus on the event that is bounded below, it converges finitely. Applying the same argument to shows that boundedness above also forces convergence. Outside the finite-limit event the path is therefore unbounded in both directions, so its limsup is and its liminf is . Hence .
Let and choose the stated strictly convex differentiable with . Conditional Jensen inequality gives . Since , both sides have the same expectation, so equality holds almost surely. Strictness of the supporting-line inequality on then forces almost surely.
The conditional Jensen inequality states that for an integrable and convex , whenever the terms are integrable,
For differentiable , the supporting-line inequality with gives the result after conditional expectation. Approximation by supporting affine functions proves the general convex case.
Put . Expanding and using gives
If , the right side is zero. Therefore almost surely.
Conditional expectation is the orthogonal projection from onto . The difference is orthogonal to every -measurable square-integrable variable, including . The Pythagorean theorem in an inner-product space applied to
gives the identity.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact