Hua's inequality, fourth moment,
ProvedCircleMethod.hua_L4_deg_twoHua's inequality in its simplest instance: the fourth moment of the quadratic Weyl sum. For every there is a constant with
By the counting identity, the left-hand side equals the number of solutions of
so the assertion is that this system has only solutions — that is, essentially only the diagonal ones . The proof reduces to the divisor bound: for each fixed value of the number of ways of writing it as a difference of two squares is controlled by the number of its divisors.
Mean value estimates of this shape are the second pillar of the circle method, complementing the pointwise Weyl bound. The pointwise bound alone is too weak to make the minor arcs negligible; one interpolates, using Hölder's inequality, between the pointwise supremum bound and a mean value bound like this one. Hua's inequality is the general- version, of which this is the case .
Formalization Note. The integrand is the real-valued function , so the integral is real. Note the phase is , with coerced from to before squaring. The constant depends only on , not on .
import Definitions.Def_CircleMethod_genfun import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.NumberTheory.Divisors import Mathlib.Data.Fintype.Pi open Finset
namespace CircleMethod
theorem hua_L4_deg_two {ε : ℝ} (hε : 0 < ε) :
∃ C : ℝ, 0 < C ∧ ∀ N : ℕ, 0 < N →
(∫ θ in (0:ℝ)..1, ‖∑ x ∈ Finset.range N, e (θ * (x : ℝ) ^ 2)‖ ^ 4)
≤ C * (N : ℝ) ^ (2 + ε) := by sorry
end CircleMethodRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back: hua_L4_deg_two
What the declaration asserts
Fix a real number (supplied implicitly, so the statement is universally quantified over all real ) together with a hypothesis that . The theorem then asserts:
There exists a real number such that
and such that for every natural number satisfying ,
Meaning of the symbols
- is not the ordinary exponential; it is the bundle's own definition
where the real argument is coerced into . For real arguments therefore has modulus .
- The summation index ranges over the finite set — that is, terms starting at , not . In particular the term is present and contributes for every . Each natural number is coerced to a real number, squared in , and multiplied by ; so the summand is and the inner sum is the classical quadratic Weyl sum
-
is the norm on , i.e. the complex modulus, so the integrand is the non-negative real quantity , the fourth power being a natural-number power. The integrand is real-valued; the outer expression is a real number.
-
The integral is the oriented interval integral from to with respect to (Lebesgue/Bochner integral over , taken with the positive orientation ). As a total function, this construct returns when its integrand is not integrable; for the continuous integrand here that degenerate branch does not arise.
-
On the right-hand side, is coerced to a real number and raised to the real exponent ; this is the real power function , well defined and positive because .
Quantifier structure and edge cases
-
The order of quantification is: first (with ), then the constant , then . Hence is allowed to depend on , but a single must work uniformly for all admissible .
-
The hypothesis is satisfiable, so the statement is not vacuous on that count; nothing bounds from above, so arbitrarily large are also included.
-
is only required to be strictly positive; no bound, effectivity, or dependence on is specified, and no claim is made about how behaves as .
-
The case is excluded by the hypothesis ; the empty sum and the value never occur. is included, where the sum is the single constant term .
-
The inequality is non-strict (), and its direction is: the fourth-moment integral is bounded above by . No matching lower bound, no asymptotic equality, and no statement about any exponent other than is asserted.
Items in scope but not used
The bundled definitions
are in scope in the surrounding namespace but do not appear anywhere in this statement.
The declaration carries no proof: its body is a placeholder, so the statement is asserted but not established by this code.
Confirmed by the mission captain (proposal self-audit).