| 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 7365 | . . . 4 ⊢ (𝑥 = 𝐴 → (0[,]𝑥) = (0[,]𝐴)) | |
| 2 | 1 | ineq1d 4149 | . . 3 ⊢ (𝑥 = 𝐴 → ((0[,]𝑥) ∩ ℙ) = ((0[,]𝐴) ∩ ℙ)) |
| 3 | 2 | fveq2d 6832 | . 2 ⊢ (𝑥 = 𝐴 → (♯‘((0[,]𝑥) ∩ ℙ)) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| 4 | df-ppi 27082 | . 2 ⊢ π = (𝑥 ∈ ℝ ↦ (♯‘((0[,]𝑥) ∩ ℙ))) | |
| 5 | fvex 6841 | . 2 ⊢ (♯‘((0[,]𝐴) ∩ ℙ)) ∈ V | |
| 6 | 3, 4, 5 | fvmpt 6936 | 1 ⊢ (𝐴 ∈ ℝ → (π‘𝐴) = (♯‘((0[,]𝐴) ∩ ℙ))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1547 ∈ wcel 2119 ∩ cin 3882 ‘cfv 6486 (class class class)co 7357 ℝcr 11029 0cc0 11030 [,]cicc 13293 ♯chash 14284 ℙcprime 16632 πcppi 27076 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2711 ax-sep 5219 ax-nul 5229 ax-pr 5363 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2718 df-cleq 2731 df-clel 2814 df-nfc 2888 df-ne 2935 df-ral 3054 df-rex 3064 df-rab 3392 df-v 3433 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4263 df-if 4456 df-sn 4557 df-pr 4559 df-op 4563 df-uni 4840 df-br 5074 df-opab 5136 df-mpt 5155 df-id 5514 df-xp 5625 df-rel 5626 df-cnv 5627 df-co 5628 df-dm 5629 df-iota 6442 df-fun 6488 df-fv 6494 df-ov 7360 df-ppi 27082 |
| This theorem is referenced by: ppival2 27110 ppival2g 27111 ppifl 27142 ppiwordi 27144 chtleppi 27192 |
| Copyright terms: Public domain | W3C validator |