Completely multiplicative functions satisfy the shift relation
ProvedMultiplicativeFunctions.completelyMult_pm_one_collapseComplete multiplicativity forces invariance of the two-point correlation under prime dilation.
Let be completely multiplicative, for all , and suppose at every prime . Then for every prime and every ,
The computation is immediate once both sides are factored: and, since , also . Multiplying,
because for a -valued . The hypothesis that takes only the values at primes is exactly what is needed — the square of the prime value must be , and no constraint on elsewhere is used.
This is the easy direction of the characterisation of -valued completely multiplicative functions by their two-point correlations, the converse being the substantial statement. The relation says the correlation is unchanged by dilating by a prime, which is the invariance exploited in the Chowla and Erd\H{o}s-discrepancy circle of problems.
Formalization note. hCM is complete multiplicativity (no coprimality hypothesis), and
hpm constrains only at primes.
import Mathlib
namespace MultiplicativeFunctions
theorem completelyMult_pm_one_collapse (f : ℕ → ℝ)
(hCM : ∀ a b, f (a * b) = f a * f b)
(hpm : ∀ p, p.Prime → f p = 1 ∨ f p = -1) :
∀ p N, p.Prime → f (p * N) * f (p * N + p) = f N * f (N + 1) := by sorry
end MultiplicativeFunctions