The doubling identity
Write 𝑆 =∑𝑛≥1𝜑(𝑛)/2𝑛, 𝑅𝑁 =∑𝑚≥1𝜑(𝑁 +𝑚)/2𝑚 for the local tail (Erdos249257.TotientTailPeriodKiller.totientTail),
and Φ𝑁 =∑𝑛≤𝑁𝜑(𝑛)2𝑁−𝑛 ∈ℤ for the integer prefix, so
that 2𝑁𝑆 =Φ𝑁 +𝑅𝑁. For ℎ ≥1 set
𝛼ℎ:=(2ℎ−1)𝑆.
Lemma 12.1 (The doubling identity). For all
𝑁 ≥0 and ℎ ≥1,
𝑅𝑁+1=2𝑅𝑁−𝜑(𝑁+1),𝑅𝑁+ℎ−𝑅𝑁=2𝑁𝛼ℎ−(Φ𝑁+ℎ−Φ𝑁),
so 𝑅𝑁+ℎ −𝑅𝑁 ≡2𝑁𝛼ℎ(mod1), and consequently the exact first character of the tail
difference is the ×2 orbit of
one real number:
𝑒(𝑅𝑁+ℎ−𝑅𝑁)=𝑒(2𝑁𝛼ℎ),𝑒(𝑥):=exp(2𝜋𝑖𝑥).
Hence, for fixed ℎ, the phases { 𝑅𝑁+ℎ −𝑅𝑁mod1 }𝑁≥0 are
the forward orbit of 𝛼ℎmod1 under 𝑥 ↦2𝑥.
The recurrence 𝑅𝑁+1 =2𝑅𝑁 −𝜑(𝑁 +1) is one line
from the definition and is used below only for intuition.
These identities express the phases as a lacunary exponential sum in
one real variable. The next proposition transfers an estimate for that
orbit to the truncated phases, accounting for the truncation error. The
identities themselves are already in the cited sources.
Proposition 12.2 (Transfer to the doubling orbit).
Suppose that
∀ℎ≥1 ∀𝑋0 ∃𝑋≥max(𝑋0,1):2𝑋−1∑𝑁=𝑋cos(2𝜋2𝑁𝛼ℎ)≤89100𝑋.
This hypothesis implies that 𝑆 is irrational.
Proof. Fix ℎ ≥1 and
𝑋0, and take 𝑋 as supplied. Choose 𝐿 ≥ℎ with 2𝐿 ≥1024 (2𝑋 +ℎ +𝐿 +2); such 𝐿 exists because 2𝐿/𝐿 →∞, and it satisfies the size
inequality 16(2𝑋 +ℎ +𝐿 +2) ≤2𝐿 a
fortiori. For every 𝑁 <2𝑋 the
proved truncation bound (Erdos249257.TotientTailPeriodKiller.norm_windowFirstExp_sub_tailOrbitFirstExp_lt)
gives ‖
‖
‖ 𝐸(ℎ,𝑁,𝐿) −𝑒(2𝑁𝛼ℎ) ‖
‖
‖ <2𝜋(𝑁 +𝐿 +ℎ +2)/2𝐿 ≤2𝜋/1024 <1/100, so, by the
corresponding cosine comparison (Erdos249257.TotientTailPeriodKiller.windowFirstCos_le_add_of_tailOrbitGap),
Re𝐸(ℎ,𝑁,𝐿) ≤cos(2𝜋2𝑁𝛼ℎ) +1/100. Summing over the 𝑋 values 𝑁 ∈[𝑋,2𝑋) gives ∑𝑁Re𝐸(ℎ,𝑁,𝐿) ≤89100𝑋 +1100𝑋 =910𝑋, so Theorem 9.4 produces 𝑁 ∈[𝑋,2𝑋) with C(ℎ,𝑁,𝐿), and 𝑁 ≥𝑋 ≥𝑋0. This is exactly the
quantified certificate condition of Theorem 6.47. ◻
The proof above makes the truncation margin explicit. The full
implication is also proved in Lean (ErdosProblems.Erdos249.irrational_totient_series_of_tailOrbitBlockGap).
It uses a real-part estimate for the exact phases and spends 1/100 on truncation. Compare the
sufficient norm condition of Theorem 6.59. This is a
separately sufficient condition. It is not asserted to be equivalent to
the 21/25 norm bound or to the four
separate estimates stated above. The constants account for different
quantities and different error margins.
Proof. The inequality ‖𝑥‖ℝ/ℤ ≥1/4 gives
cos(2𝜋𝑥) ≤0. Every remaining
term is at most 1, so
2𝑋−1∑𝑁=𝑋cos(2𝜋2𝑁𝛼ℎ)≤(1−𝜌ℎ(𝑋))𝑋≤89100𝑋.
Proposition 12.2 now
applies. For the digit reading, for a nondyadic 𝛼ℎ the fractional part of 2𝑁𝛼ℎ is in [1/4,3/4] exactly when those two binary
digits differ. The nondyadic qualification excludes the endpoint
ambiguity at 3/4. ◻
The exact hypothesis is the digit-change inequality in the
corollary. It is not a claim about an average run length: the two
boundary runs of a finite block need not be complete, and their lengths
are not specified by the number of interior digit changes. The finite
observations below satisfy the displayed bound at their sampled
parameters. They do not establish it on arbitrarily large blocks.
Finite block statistics for 𝛼ℎ =(2ℎ −1)𝑆. The exact digit-change
counts in the six rows are 122,
1039, 119, 1028, 1047 and 1034; the proportions and cosine averages
are rounded to four decimal places. The interval calculation described
below certifies these counts and displayed roundings.
| ℎ |
𝑋 |
𝜌ℎ(𝑋) |
𝑋−1∑𝑁∈[𝑋,2𝑋)cos(2𝜋2𝑁𝛼ℎ) |
required |
| 1 |
256 |
0.4766 |
−0.0037 |
≤0.89 |
| 1 |
2048 |
0.5073 |
−0.0043 |
≤0.89 |
| 3 |
256 |
0.4648 |
−0.0296 |
≤0.89 |
| 3 |
2048 |
0.5020 |
−0.0027 |
≤0.89 |
| 8 |
2048 |
0.5112 |
−0.0088 |
≤0.89 |
| 13 |
2048 |
0.5049 |
−0.0195 |
≤0.89 |
For the numerical enclosure, compute 𝑃 =∑6080𝑛=1𝜑(𝑛)26080−𝑛.
The elementary tail bound gives
𝑃≤26080𝑆≤𝑃+6082.
The endpoints
have the same quotient on division by 280, which certifies ⌊26000𝑆⌋; an error bound
smaller than one would not alone certify a floor near an integer
boundary. Multiplying this interval by (2ℎ −1)2𝑁−6080 encloses each phase.
None of the resulting intervals crosses a digit-test boundary, and
interval evaluation of the cosine certifies the rounded averages. Among
the first 5800 fractional digits,
the numbers of runs for ℎ =1,3,8 are
2864, 2964, 2927, and the longest runs have lengths
13, 12, 14. These count the two boundary runs as
observed, whether or not they continue outside the window. No randomness
assumption or asymptotic conclusion is part of these finite
calculations.
Observation 12.4. Lemma 12.1 expresses each tail phase
in terms of the doubling orbit of 𝛼ℎ =(2ℎ −1)𝑆. The block conditions
average those phases, the prime condition samples prescribed
prime-indexed positions, and the full-depth condition requires a finite
residue certificate for each (𝑑,𝑁)
at some multiple of 𝑑.
Corollary 12.3 gives
one sufficient digit-change test for the real-part estimate; it is not
an equivalence with the norm bound or with the four separate budgets.
Likewise, a bound on a binary run length is not the exact prime-gap
condition. Section 12.7
compares the original inequalities.