| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ppival | Structured version Visualization version GIF version | ||
| Description: Value of the prime-counting function pi. (Contributed by Mario Carneiro, 15-Sep-2014.) |
| Ref | Expression |
|---|---|
| ppival | ⊢ (𝐴 ∈ ℝ → (π‘𝐴) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | oveq2 7418 | . . . 4 ⊢ (𝑥 = 𝐴 → (0[,]𝑥) = (0[,]𝐴)) | |
| 2 | 1 | ineq1d 4171 | . . 3 ⊢ (𝑥 = 𝐴 → ((0[,]𝑥) ∩ ℙ) = ((0[,]𝐴) ∩ ℙ)) |
| 3 | 2 | fveq2d 6885 | . 2 ⊢ (𝑥 = 𝐴 → (♯‘((0[,]𝑥) ∩ ℙ)) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| 4 | df-ppi 27240 | . 2 ⊢ π = (𝑥 ∈ ℝ ↦ (♯‘((0[,]𝑥) ∩ ℙ))) | |
| 5 | fvex 6894 | . 2 ⊢ (♯‘((0[,]𝐴) ∩ ℙ)) ∈ V | |
| 6 | 3, 4, 5 | fvmpt 6989 | 1 ⊢ (𝐴 ∈ ℝ → (π‘𝐴) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1568 ∈ wcel 2141 ∩ cin 3903 ‘cfv 6536 (class class class)co 7410 ℝcr 11098 0cc0 11099 [,]cicc 13374 ♯chash 14365 ℙcprime 16728 πcppi 27234 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1823 ax-4 1837 ax-5 1938 ax-6 1995 ax-7 2036 ax-8 2143 ax-9 2151 ax-10 2174 ax-11 2190 ax-12 2211 ax-ext 2733 ax-sep 5256 ax-nul 5268 ax-pr 5404 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1571 df-fal 1581 df-ex 1808 df-nf 1812 df-sb 2095 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3078 df-rex 3088 df-rab 3415 df-v 3455 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4487 df-sn 4589 df-pr 4591 df-op 4595 df-uni 4872 df-br 5109 df-opab 5173 df-mpt 5192 df-id 5556 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-iota 6492 df-fun 6538 df-fv 6544 df-ov 7413 df-ppi 27240 |
| This theorem is referenced by: ppival2 27268 ppival2g 27269 ppifl 27300 ppiwordi 27302 chtleppi 27350 |
| Copyright terms: Public domain | W3C validator |