ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  df-ppi GIF version

Definition df-ppi 16154
Description: Define the prime π function, which counts the number of primes less than or equal to 𝑥, see definition in [ApostolNT] p. 8. Most often 𝑥 will be an integer, but many of our theorems support rational numbers (for example at ppiqsval 16156), and the definition would also work for cases such as numbers known to be irrational. (Contributed by Mario Carneiro, 15-Sep-2014.)
Assertion
Ref Expression
df-ppi π = (𝑥 ∈ ℝ ↦ (♯‘((0[,]𝑥) ∩ ℙ)))

Detailed syntax breakdown of Definition df-ppi
StepHypRef Expression
1 cppi 16152 . 2 class π
2 vx . . 3 setvar 𝑥
3 cr 8178 . . 3 class
4 cc0 8179 . . . . . 6 class 0
52cv 1401 . . . . . 6 class 𝑥
6 cicc 10303 . . . . . 6 class [,]
74, 5, 6co 6085 . . . . 5 class (0[,]𝑥)
8 cprime 12901 . . . . 5 class
97, 8cin 3219 . . . 4 class ((0[,]𝑥) ∩ ℙ)
10 chash 11228 . . . 4 class
119, 10cfv 5377 . . 3 class (♯‘((0[,]𝑥) ∩ ℙ))
122, 3, 11cmpt 4192 . 2 class (𝑥 ∈ ℝ ↦ (♯‘((0[,]𝑥) ∩ ℙ)))
131, 12wceq 1402 1 wff π = (𝑥 ∈ ℝ ↦ (♯‘((0[,]𝑥) ∩ ℙ)))
Colors of variables:    wff set class
This definition is used by:  ppiqval  16160
  Copyright terms: Public domain W3C validator