Metamath Proof Explorer


Theorem pcabs

Description: The prime count of an absolute value. (Contributed by Mario Carneiro, 13-Mar-2014)

Ref Expression
Assertion pcabs P A P pCnt A = P pCnt A

Proof

Step Hyp Ref Expression
1 oveq2 A = A P pCnt A = P pCnt A
2 1 a1i P A A = A P pCnt A = P pCnt A
3 pcneg P A P pCnt A = P pCnt A
4 oveq2 A = A P pCnt A = P pCnt A
5 4 eqeq1d A = A P pCnt A = P pCnt A P pCnt A = P pCnt A
6 3 5 syl5ibrcom P A A = A P pCnt A = P pCnt A
7 qre A A
8 7 adantl P A A
9 8 absord P A A = A A = A
10 2 6 9 mpjaod P A P pCnt A = P pCnt A