Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

First Vaughan coefficient

Definition
LL_Decomp1543a_lam1

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

For real UUU and natural nnn, define Λ1(U,n)=Λ(n)\Lambda_1(U,n)=\Lambda(n)Λ1​(U,n)=Λ(n) if n≤Un\le Un≤U, and zero otherwise, where Λ\LambdaΛ is the von Mangoldt function.

Definition code
import Mathlib

open Real Finset ArithmeticFunction

namespace LL_Decomp1543a
noncomputable def lam1 (U : ℝ) (n : ℕ) : ℝ := if (n : ℝ) ≤ U then vonMangoldt n else 0
end LL_Decomp1543a
Read-back

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

This is a definition of a real-valued function λ1(U,n)\lambda_1(U,n)λ1​(U,n) with a real parameter UUU and a natural number nnn. It is given by

λ1(U,n)={Λ(n)if n≤U,0otherwise,\lambda_1(U,n)=\begin{cases}\Lambda(n) & \text{if } n \le U,\\ 0 & \text{otherwise,}\end{cases}λ1​(U,n)={Λ(n)0​if n≤U,otherwise,​

where Λ\LambdaΛ is the von Mangoldt function: Λ(n)=log⁡p\Lambda(n)=\log pΛ(n)=logp if n=pkn=p^kn=pk for a prime ppp and k≥1k\ge 1k≥1, and Λ(n)=0\Lambda(n)=0Λ(n)=0 otherwise, so Λ(0)=0\Lambda(0)=0Λ(0)=0 and Λ(1)=0\Lambda(1)=0Λ(1)=0. The comparison n≤Un \le Un≤U is made in the reals, with nnn cast from N\mathbb{N}N, so the cutoff is inclusive and UUU may be any real number. For U<0U<0U<0, λ1(U,n)=0\lambda_1(U,n)=0λ1​(U,n)=0 for every nnn. There is no natural-number subtraction or division, and there are no hypotheses, so nothing is vacuous.

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