Metamath Proof Explorer


Theorem chtval

Description: Value of the Chebyshev function. (Contributed by Mario Carneiro, 15-Sep-2014)

Ref Expression
Assertion chtval A θ A = p 0 A log p

Proof

Step Hyp Ref Expression
1 oveq2 x = A 0 x = 0 A
2 1 ineq1d x = A 0 x = 0 A
3 2 sumeq1d x = A p 0 x log p = p 0 A log p
4 df-cht θ = x p 0 x log p
5 sumex p 0 A log p V
6 3 4 5 fvmpt A θ A = p 0 A log p