Metamath Proof Explorer


Theorem vmaprm

Description: Value of the von Mangoldt function at a prime. (Contributed by Mario Carneiro, 7-Apr-2016)

Ref Expression
Assertion vmaprm P Λ P = log P

Proof

Step Hyp Ref Expression
1 prmnn P P
2 1 nncnd P P
3 2 exp1d P P 1 = P
4 3 fveq2d P Λ P 1 = Λ P
5 1nn 1
6 vmappw P 1 Λ P 1 = log P
7 5 6 mpan2 P Λ P 1 = log P
8 4 7 eqtr3d P Λ P = log P