Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Vaughan's identity, pointwise divisor form

Proved
Vaughan.vaughan_identity_apply

by tabbott · Sep 3, 2026 · Mathlib c5ea003 (Lean v4.30.0)

circle-methodexponential-sumsnumber-theoryvinogradov

The pointwise form of Vaughan's identity. Evaluating the convolution identity at nnn and expanding each Dirichlet convolution over divisors gives

Λ(n)=∑dm=nμV(d)log⁡m−∑dm=nμV(d) ⁣ ⁣∑r∣m ⁣ΛU(r)+∑dm=n(Λ(d)−ΛU(d)) ⁣ ⁣∑c∣m ⁣(μ(c)−μV(c))+ΛU(n).\Lambda(n)=\sum_{dm=n}\mu_V(d)\log m-\sum_{dm=n}\mu_V(d)\!\!\sum_{r\mid m}\!\Lambda_U(r) +\sum_{dm=n}\bigl(\Lambda(d)-\Lambda_U(d)\bigr)\!\!\sum_{c\mid m}\!\bigl(\mu(c)-\mu_V(c)\bigr)+\Lambda_U(n).Λ(n)=dm=n∑​μV​(d)logm−dm=n∑​μV​(d)r∣m∑​ΛU​(r)+dm=n∑​(Λ(d)−ΛU​(d))c∣m∑​(μ(c)−μV​(c))+ΛU​(n).

This is the shape in which the identity is actually used: each of the three sums is a sum over divisor pairs with one factor restricted to a range, which after insertion of e(αn)e(\alpha n)e(αn) becomes a bilinear exponential sum in the two divisor variables.

Preamble
import Definitions.Def_Vino_vaughan
import Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt
import Mathlib.NumberTheory.ArithmeticFunction.Moebius
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.NumberTheory.ArithmeticFunction.Misc
import Mathlib.Algebra.BigOperators.Module
import Mathlib.Algebra.Order.Interval.Finset.SuccPred
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Algebra.BigOperators.Field
import Mathlib.NumberTheory.Harmonic.Bounds
import Theorems.Thm_CircleMethod_e_neg
import Theorems.Thm_Vino_psi_le
import Theorems.Thm_CircleMethod_aux_sum_min_le
import Theorems.Thm_CircleMethod_nrm_le
import Theorems.Thm_CircleMethod_nrm_triangle
import Theorems.Thm_CircleMethod_nrm_neg
import Theorems.Thm_CircleMethod_nrm_nonneg
import Theorems.Thm_CircleMethod_nrm_eq_zero_iff
import Theorems.Thm_CircleMethod_nrm_pos_of_not_int
import Theorems.Thm_CircleMethod_norm_sum_e_le_inv_nrm
import Theorems.Thm_CircleMethod_norm_sum_e_le
import Theorems.Thm_CircleMethod_e_add
import Theorems.Thm_CircleMethod_norm_e

open Finset ArithmeticFunction

open CircleMethod
Formal statement
namespace Vaughan

theorem vaughan_identity_apply (U V n : ℕ) :
    vonMangoldt n
      = ∑ p ∈ n.divisorsAntidiagonal, muT V p.1 * Real.log p.2
        - ∑ p ∈ n.divisorsAntidiagonal, muT V p.1 * ∑ r ∈ p.2.divisors, lamT U r
        + ∑ p ∈ n.divisorsAntidiagonal,
            (vonMangoldt p.1 - lamT U p.1) * ∑ d ∈ p.2.divisors, ((moebius d : ℝ) - muT V d)
        + lamT U n := by sorry

end Vaughan
Source
H. Davenport, Multiplicative Number Theory, 3rd ed., GTM 74, Springer, 2000, Chapter 24 (Vaughan's identity)

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