The leading -adic layer of a unit-fraction representation of cancels
ProvedErdos287.padic_leading_cancelLet and let be integers, each , with . Fix a prime and an integer with for all (for instance the maximal -adic valuation occurring, assumed positive). Write
for the leading layer. Then
Every individual term of the leading layer has -adic norm exactly , so the inequality is strict precisely because the leading terms cancel against one another.
The proof splits the sum at the layer: the complement has norm below because each of its terms does, while the layer itself has norm at most by the ultrametric inequality. Were the layer's norm equal to , the two parts would have different norms and the total would satisfy , contradicting .
This strictly strengthens Erdos287.padic_multiplicity, which only records that the leading layer has at least two members. For the present statement says the layer has an even number of members; for odd it imposes a weighted congruence on the unit parts . Iterating it downwards through is the layer-by-layer machinery needed for the residual core Erdos287.mixed_gap_core, where the two-even-run case stalls exactly because the leading layers of the two runs cancel and every lower layer must then be analysed in turn.
import Mathlib
namespace Erdos287
theorem padic_leading_cancel (k : ℕ) (hk : 2 ≤ k) (f : ℕ → ℕ)
(hf1 : ∀ i, i < k → 1 < f i)
(hsum : ∑ i ∈ Finset.range k, (1 : ℚ) / f i = 1)
(p : ℕ) (hp : Nat.Prime p) (a : ℕ) (ha : 1 ≤ a)
(hmax : ∀ i, i < k → padicValNat p (f i) ≤ a) :
padicNorm p (∑ i ∈ (Finset.range k).filter (fun i => padicValNat p (f i) = a),
(1 : ℚ) / f i) < (p : ℚ) ^ (a : ℤ) := by sorry
end Erdos287