| 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 7458 | . . . 4 ⊢ (𝑥 = 𝐴 → (0[,]𝑥) = (0[,]𝐴)) | |
| 2 | 1 | ineq1d 4118 | . . 3 ⊢ (𝑥 = 𝐴 → ((0[,]𝑥) ∩ ℙ) = ((0[,]𝐴) ∩ ℙ)) |
| 3 | 2 | fveq2d 6919 | . 2 ⊢ (𝑥 = 𝐴 → (♯‘((0[,]𝑥) ∩ ℙ)) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| 4 | df-ppi 27486 | . 2 ⊢ π = (𝑥 ∈ ℝ ↦ (♯‘((0[,]𝑥) ∩ ℙ))) | |
| 5 | fvex 6928 | . 2 ⊢ (♯‘((0[,]𝐴) ∩ ℙ)) ∈ V | |
| 6 | 3, 4, 5 | fvmpt 7023 | 1 ⊢ (𝐴 ∈ ℝ → (π‘𝐴) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 = wceq 1572 ∈ wcel 2150 ∩ cin 4091 ‘cfv 6565 (class class class)co 7450 ℝcr 11237 0cc0 11238 [,]cicc 13518 ♯chash 14514 ℙcprime 16889 πcppi 27480 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2200 ax-12 2219 ax-ext 2738 ax-sep 5254 ax-nul 5265 ax-pr 5397 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2104 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2842 df-nfc 2916 df-ne 2963 df-ral 3084 df-rex 3094 df-rab 3416 df-v 3455 df-ss 3900 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-sn 4588 df-pr 4590 df-op 4840 df-uni 4872 df-br 5108 df-opab 5173 df-mpt 5192 df-id 5552 df-xp 5663 df-rel 5664 df-cnv 5665 df-co 5666 df-dm 5667 df-iota 6519 df-fun 6567 df-fv 6573 df-ov 7453 df-ppi 27486 |
| This theorem is used by: ppival2 27514 ppival2g 27515 ppifl 27546 ppiwordi 27548 chtleppi 27596 |
| Copyright terms: Public domain | W3C validator |