Lefebvre's variations, No. 79 — on a theme by Waring: every integer from 455 to 20000 is a sum of at most seven cubes
ProvedLefebvreVariations.waring_seven_cubes_455_to_20000Every integer with is a sum of at most cubes of non-negative integers: there are and with .
For the conjecture is that every sufficiently large integer is a sum of at most cubes; it is known that (Linnik, 1943), and the largest integer known to need cubes is . The number is the largest integer that needs or cubes, so the bound is sharp.
Formalization Note The shape ∃ (s : ℕ) (_ : s ≤ 7) (a : Fin s → ℕ), n = ∑ i, (a i) ^ 3 is copied from the parent waring_g_problem with and ; the hypotheses 455 ≤ n ≤ 20000 bound the range. The empty sum covers but here.
Why this is a variation. This is a variation of the open platform problem waring_g_problem (the exact value of G(k) in Waring's problem). It is the case k = 3 played with the explicit bound of seven cubes on the explicit finite range 455 <= n <= 20000, in the parent's own formulation. It is a partial result: the computational base of the known bound G(3) <= 7, and a template for finite checks toward the true value of G(3).
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib set_option autoImplicit false
namespace LefebvreVariations
theorem waring_seven_cubes_455_to_20000 :
∀ n : ℕ, 455 ≤ n → n ≤ 20000 →
∃ (s : ℕ) (_ : s ≤ 7) (a : Fin s → ℕ), n = ∑ i, (a i) ^ 3 := by sorry
end LefebvreVariations