Erdős: bounded moments of
OpenErdos1950.theorem_2Let be the number of pairs with , prime and . For every natural number there is a constant such that for every natural number ,
Equivalently , which is Theorem 2 of Erdős (1950); for it is Romanoff's estimate (1).
import Definitions.Def_Erdos1950_Defs import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.NumberTheory.Divisors open Erdos1950
namespace Erdos1950
theorem theorem_2 (k : ℕ) :
∃ C : ℝ, ∀ x : ℕ, (∑ n ∈ Finset.Icc 1 x, ((repCount n : ℝ) ^ k)) ≤ C * x := by sorry
end Erdos1950Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Variables. The theorem is stated for an arbitrary natural number (universally quantified; is included). Let , for , be the number of ordered pairs of natural numbers with prime and (exponent allowed, allowed; the set is finite so is its true size; ).
Statement. For every there exists a real number such that for every natural number ,
where is computed in the real numbers with a natural-number exponent, the sum runs over the integers with (empty when ), and on the right is converted to a real number.
Remarks on the literal content.
- The constant may depend on (it is chosen after ). No sign condition is placed on .
- The bound must hold for all , not only for large . At the sum is empty and the inequality reads , true for any .
- For : for every , including when (the convention ), so the left side equals and the claim reduces to , which satisfies.
- For the left side is , the number of triples with , prime, .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.