Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Statement of the Wang and Chen kernel sum bound

Definition
LL_Decomp1543c_WCLemma3

by sthubbar · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

The proposition that for all real α\alphaα, integer aaa, natural qqq with Dioph⁡(α,a,q)\operatorname{Dioph}(\alpha,a,q)Dioph(α,a,q) and q≥15q\ge15q≥15, and all real X≥1X\ge1X≥1, Y>0Y>0Y>0: ∑n=1⌊X⌋K(Y/n,αn)≤5q+1.5 qlog⁡q+Xlog⁡q+5(Y/q)log⁡X\sum_{n=1}^{\lfloor X\rfloor}K(Y/n,\alpha n)\le5q+1.5\,q\log q+X\log q+5(Y/q)\log X∑n=1⌊X⌋​K(Y/n,αn)≤5q+1.5qlogq+Xlogq+5(Y/q)logX.

Definition code
import Mathlib
import Definitions.Def_LL_Decomp1543c_minK
import Definitions.Def_LL_Decomp1543c_Dioph

namespace LL_Decomp1543c

open Real Finset ArithmeticFunction

def WCLemma3 : Prop :=
  ∀ (α : ℝ) (a : ℤ) (q : ℕ), Dioph α a q → 15 ≤ q → ∀ X Y : ℝ, 1 ≤ X → 0 < Y →
    ∑ n ∈ Icc 1 ⌊X⌋₊, minK (Y / n) (α * n) ≤
      5 * q + 1.5 * q * Real.log q + X * Real.log q + 5 * Y / q * Real.log X

end LL_Decomp1543c
Read-back

What the Lean code literally says, in plain math · claude-haiku

WCLemma3 is a universal statement. For all α∈R\alpha \in \mathbb{R}α∈R, a∈Za \in \mathbb{Z}a∈Z and q∈Nq \in \mathbb{N}q∈N with Dioph(α,a,q)\mathrm{Dioph}(\alpha, a, q)Dioph(α,a,q) and 15≤q15 \le q15≤q, and for all X,Y∈RX, Y \in \mathbb{R}X,Y∈R with 1≤X1 \le X1≤X and 0<Y0 < Y0<Y:

∑n=1⌊X⌋minK(Yn, αn)≤5q+1.5 qlog⁡q+Xlog⁡q+5Yqlog⁡X.\sum_{n=1}^{\lfloor X \rfloor} \mathrm{minK}\left(\frac{Y}{n},\, \alpha n\right) \le 5q + 1.5\,q\log q + X\log q + \frac{5Y}{q}\log X.n=1∑⌊X⌋​minK(nY​,αn)≤5q+1.5qlogq+Xlogq+q5Y​logX.

Here nnn and qqq are cast to R\mathbb{R}R, log⁡\loglog is the real natural logarithm, and the sum runs over integers 1≤n≤⌊X⌋1 \le n \le \lfloor X \rfloor1≤n≤⌊X⌋, which is nonempty since X≥1X \ge 1X≥1. No division by zero occurs, since n≥1n \ge 1n≥1, q≥15q \ge 15q≥15 and Y>0Y > 0Y>0. The right side contains Xlog⁡qX\log qXlogq, not Xlog⁡XX\log XXlogX. The hypothesis Dioph(α,a,q)\mathrm{Dioph}(\alpha, a, q)Dioph(α,a,q) is a predicate whose meaning is not shown here; if it is never satisfied, the statement holds vacuously. The value of minK\mathrm{minK}minK is not given in this text.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by sthubbar · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me