Metamath Proof Explorer


Theorem chpvalz

Description: Value of the second Chebyshev function, or summatory of the von Mangoldt function. (Contributed by Thierry Arnoux, 28-Dec-2021)

Ref Expression
Assertion chpvalz ⊢ N ∈ ℤ → ψ ⁡ N = ∑ n = 1 N Λ ⁡ n

Proof

Step Hyp Ref Expression
1 zre ⊢ N ∈ ℤ → N ∈ ℝ
2 chpval ⊢ N ∈ ℝ → ψ ⁡ N = ∑ n = 1 N Λ ⁡ n
3 1 2 syl ⊢ N ∈ ℤ → ψ ⁡ N = ∑ n = 1 N Λ ⁡ n
4 flid ⊢ N ∈ ℤ → N = N
5 4 oveq2d ⊢ N ∈ ℤ → 1 … N = 1 … N
6 5 sumeq1d ⊢ N ∈ ℤ → ∑ n = 1 N Λ ⁡ n = ∑ n = 1 N Λ ⁡ n
7 3 6 eqtrd ⊢ N ∈ ℤ → ψ ⁡ N = ∑ n = 1 N Λ ⁡ n