Let be a unit-speed geodesic, let be a smooth variation with fixed endpoints, and let
be its variation vector field. Then . If is its component normal to , the second variation of Riemannian arc length is
Here is the covariant derivative along , is the Riemann curvature tensor, and is the Riemannian index form. Fixed endpoints remove the boundary term. The normal projection removes a tangential change of parametrization, which does not change length to second order.
The pointwise inequality implies
Every -Cauchy sequence is therefore -Cauchy. Since is geodesically complete, the Hopf-Rinow theorem makes a complete metric space, so in for some .
On a coordinate neighbourhood with compact closure around , smooth positive-definite Riemannian metrics are uniformly equivalent. Thus there is such that
there. For all sufficiently large , a short -geodesic from to stays in this neighbourhood, and hence
Thus is complete. Another application of Hopf-Rinow shows that is geodesically complete.
The metric is geodesically complete when every maximal affinely parametrized geodesic is defined on all of ; equivalently, is defined on every for every .
The Hopf-Rinow theorem says that for a connected Riemannian manifold, the following are equivalent: geodesic completeness; completeness of the Riemannian distance ; compactness of every closed bounded subset; and the existence, between every two points, of a length-minimizing geodesic. It is enough in the exponential-map formulation that be defined on all of for one point .
Choose
where is a normal radius at . Take piecewise smooth curves from to such that . Each first leaves the normal ball at a point . The Gauss lemma gives . The geodesic sphere
is compact, because the tangent-space sphere is compact and is defined on it. After taking a convergent subsequence, let .
The part of after has length at least , so continuity of the Riemannian distance gives
The triangle inequality gives the reverse inequality. Therefore
For a connected Riemannian manifold , its Riemannian distance is
where the infimum is over the piecewise smooth curves from to . Connectedness of a smooth manifold implies path connectedness, so this set of curves is nonempty.
The Gauss lemma says that the differential of preserves the radial inner product: for ,
Consequently radial geodesics from are orthogonal to the images of tangent vectors to spheres centred at the origin in . In a sufficiently small normal neighbourhood of , this implies
every competing curve has length at least the total variation of its radial coordinate, and the radial geodesic has that length.
The axioms , symmetry, and the triangle inequality follow directly from length and concatenation. Certainly . If , choose a normal ball that does not contain . Every curve from to first meets its boundary, and its initial part has length at least by the Gauss lemma. Hence . Thus if and only if .
Write to mean . For each , exactly one of the red-neighbour set and the blue-neighbour set belongs to . Applying the ultrafilter dichotomy once more to
shows that exactly one of
holds. They cannot both hold because the two outer sets are complementary; the diagonal causes no problem because a nonprincipal ultrafilter contains no singleton.
Assume the red statement and put . Choose . Recursively choose
outside the finitely many previously chosen points. Every set in this finite intersection belongs to , so a choice is always possible. Then is infinite and all of its edges are red.
The cofinite subsets of form a proper filter. By Zorn lemma, it extends to an ultrafilter . Since contains every cofinite set, it cannot contain a finite set, so it is nonprincipal.
Define the Stone-Čech compactification of the natural numbers to be the set of ultrafilters on , with basic sets
Since , these sets are clopen. If , choose ; then and are disjoint neighbourhoods, proving Hausdorffness. For compactness, a family of basic closed sets with the finite-intersection property corresponds to a family of subsets of with the finite-intersection property. Extend that family to an ultrafilter; the resulting point belongs to every closed set. The Alexander subbase theorem now proves compactness.
The Hindman theorem states that every finite colouring of admits an infinite sequence for which every nonempty finite sum of distinct terms has one colour. Let be an additive idempotent, and choose a colour class . Put
Idempotence gives , and whenever . Having selected with all finite sums in , choose
This finite intersection belongs to and is nonempty. Induction keeps every finite sum in , proving Hindman's theorem.
Restrict the given finite edge-colouring to the positive integers inside . The infinite Ramsey theorem gives an infinite monochromatic subset; listing it in increasing order produces
Apply the same theorem separately to the negative integers. If the selected indices satisfy , then
forms a monochromatic set with . The two monochromatic colours need not agree.
The Canonical Ramsey theorem says that for every map , with no restriction on the colour set , there are an infinite set and such that, for increasing tuples from ,
To prove it, define an equivalence relation on by equality of colours. Two ordered pairs of -sets have one of finitely many intersection-order types. Successively apply the infinite Ramsey theorem to obtain an infinite on which, for each type, equivalence has a constant truth value. Let consist of those coordinates whose replacement, with all other coordinates fixed and order preserved, changes the equivalence class. Homogeneity of the pair types shows first that this does not depend on the chosen tuple. Changing coordinates one at a time then shows that agreement on implies equivalence; reversing the same chain shows that disagreement at a coordinate in implies inequivalence. This gives the displayed canonical form.
For , the four choices of give exactly the constant, minimum, maximum, and injective colourings. Suppose the asserted finite result failed for some . For every choose an equivalence relation on having no canonical -set. These finite bad relations form a finitely branching tree under restriction. König infinity lemma gives an infinite branch, hence a colouring-equivalence relation on with no canonical -set. The canonical theorem supplies an infinite canonical set, whose first vertices give a contradiction. Therefore a suitable finite exists.
The forcing is -closed, so it adds no reals:
By contrast, is countable in . The union of the -generic filter is a total binary function
Fix in a bijection . Then is a real in . It is not in : for any ground-model real and any , some coordinate of is outside , and extending there forces to differ from . Hence adds a new real, and
The forcing
is -closed, so by closed forcing it adds no new real numbers. Its generic union can be viewed as a sequence
of old reals. For every , conditions asserting that some unused row equals are dense: assigning all countably many values of that row is a legitimate condition. Thus the generic sequence surjects onto the old set of reals.
In , that set had cardinality . The forcing therefore collapses to , while adding no reals and preserving . Consequently
For and , the set
is dense in : extend any finite sequence at one fresh coordinate with the corresponding value of . The generic union meets every , so it agrees infinitely often with every ground-model . Thus is infinitely equal over and is not eventually different over .
For , conditions of whose side set contains form a dense set. Once such a condition enters , every later coordinate added to its stem must avoid . Hence the generic union is eventually different from every ground-model , and consequently is not infinitely equal over .
The four answers are therefore
With the convention that means that is stronger, a set is a generic filter over when it is a filter and meets every dense set with . Explicitly, is upward closed toward weaker conditions, every two members have a common stronger member in , and for every such .

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