Diagonal indices and floor cutoffs along atTop #
If for every k a property P k n holds for all large n, then an index κ n tending to
infinity can be chosen so slowly that P (κ n) n holds for all large n
(TauCeti.exists_tendsto_atTop_of_forall_eventually). This is the diagonal step of constructions
that must meet countably many eventual requirements at once with a single sequence, such as a
recovery sequence built from a countable neighbourhood basis. It complements Mathlib's
Filter.extraction_forall_of_eventually, which meets the requirements along a subsequence
instead.
The second statement is the diagonal extraction of a subsequence along which countably many
sequences converge at once (TauCeti.extraction_forall_exists_tendsto): if every subsequence of
each of the sequences x j has a convergent further subsequence, a single subsequence makes all of
them converge. It is the compactness step of the Arzelà–Ascoli theorem.
Finally, a sequence converges along atTop exactly when it does so along real (or other floor
semiring) cutoffs x ↦ u ⌊x⌋₊ (TauCeti.tendsto_comp_natFloor_iff). This compares limits of
partial sums ∑ n ≤ x taken over real and over natural cutoffs. More generally, a reindexing
g : ℕ → ℕ that tends to infinity and eventually never increases by more than one at a time
takes every large value, so map g atTop = atTop (TauCeti.map_atTop_eq_of_le_add_one) and
u ∘ g converges exactly when u does (TauCeti.tendsto_comp_iff_of_le_add_one). For instance,
a partial product over the primes p ≤ n is a function of the prime count π n, which moves in
steps of at most one.
In a ring of characteristic zero without zero divisors, a + k * b vanishes for all large natural
numbers k exactly when a = b = 0, and otherwise it is nonzero for all large k
(TauCeti.eventually_add_mul_eq_zero_iff): it vanishes for at most one k unless b = 0.
If for every k the property P k n holds for all large n, then there is an index κ n
tending to infinity with P (κ n) n for all large n.
Diagonal extraction. Let x j : ℕ → X be countably many sequences and l y the filter of
a convergence to y on X. If every subsequence of every x j has a further subsequence
converging to some point, then one subsequence makes every x j converge.
A sequence u converges along atTop if and only if its values u ⌊x⌋₊ at the natural
floors of x converge as x → ∞ in a floor semiring such as ℝ.
A map g : ℕ → ℕ that tends to infinity and eventually increases by at most one at each step
takes every large value, so it pushes atTop forward to atTop.
If g : ℕ → ℕ tends to infinity and eventually increases by at most one at each step, then
u ∘ g converges along atTop exactly when u does.
In a ring of characteristic zero without zero divisors, a + k * b vanishes for all large
natural numbers k exactly when a = b = 0, and otherwise it is nonzero for all large k.