Database
BASIC REAL AND COMPLEX FUNCTIONS
Basic number theory
Number-theoretical functions
ppival2
Next ⟩
ppival2g
Metamath Proof Explorer
Ascii
Unicode
Theorem
ppival2
Description:
Value of the prime-counting function pi.
(Contributed by
Mario Carneiro
, 18-Sep-2014)
Ref
Expression
Assertion
ppival2
⊢
A
∈
ℤ
→
π
_
⁡
A
=
2
…
A
∩
ℙ
Proof
Step
Hyp
Ref
Expression
1
zre
⊢
A
∈
ℤ
→
A
∈
ℝ
2
ppival
⊢
A
∈
ℝ
→
π
_
⁡
A
=
0
A
∩
ℙ
3
1
2
syl
⊢
A
∈
ℤ
→
π
_
⁡
A
=
0
A
∩
ℙ
4
ppisval
⊢
A
∈
ℝ
→
0
A
∩
ℙ
=
2
…
A
∩
ℙ
5
1
4
syl
⊢
A
∈
ℤ
→
0
A
∩
ℙ
=
2
…
A
∩
ℙ
6
flid
⊢
A
∈
ℤ
→
A
=
A
7
6
oveq2d
⊢
A
∈
ℤ
→
2
…
A
=
2
…
A
8
7
ineq1d
⊢
A
∈
ℤ
→
2
…
A
∩
ℙ
=
2
…
A
∩
ℙ
9
5
8
eqtrd
⊢
A
∈
ℤ
→
0
A
∩
ℙ
=
2
…
A
∩
ℙ
10
9
fveq2d
⊢
A
∈
ℤ
→
0
A
∩
ℙ
=
2
…
A
∩
ℙ
11
3
10
eqtrd
⊢
A
∈
ℤ
→
π
_
⁡
A
=
2
…
A
∩
ℙ