| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > spheres | Structured version Visualization version GIF version | ||
| Description: The spheres for given centers and radii in a metric space (or any extensible structure having a base set and a distance function). (Contributed by AV, 22-Jan-2023.) |
| Ref | Expression |
|---|---|
| spheres.b | ⊢ 𝐵 = (Base‘𝑊) |
| spheres.l | ⊢ 𝑆 = (Sphere‘𝑊) |
| spheres.d | ⊢ 𝐷 = (dist‘𝑊) |
| Ref | Expression |
|---|---|
| spheres | ⊢ (𝑊 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | spheres.l | . . 3 ⊢ 𝑆 = (Sphere‘𝑊) | |
| 2 | 1 | a1i 11 | . 2 ⊢ (𝑊 ∈ 𝑉 → 𝑆 = (Sphere‘𝑊)) |
| 3 | df-sph 48723 | . . 3 ⊢ Sphere = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤), 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ (Base‘𝑤) ∣ (𝑝(dist‘𝑤)𝑥) = 𝑟})) | |
| 4 | fveq2 6861 | . . . . 5 ⊢ (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊)) | |
| 5 | spheres.b | . . . . . . 7 ⊢ 𝐵 = (Base‘𝑊) | |
| 6 | 5 | eqcomi 2739 | . . . . . 6 ⊢ (Base‘𝑊) = 𝐵 |
| 7 | 6 | a1i 11 | . . . . 5 ⊢ (𝑤 = 𝑊 → (Base‘𝑊) = 𝐵) |
| 8 | 4, 7 | eqtrd 2765 | . . . 4 ⊢ (𝑤 = 𝑊 → (Base‘𝑤) = 𝐵) |
| 9 | eqidd 2731 | . . . 4 ⊢ (𝑤 = 𝑊 → (0[,]+∞) = (0[,]+∞)) | |
| 10 | fveq2 6861 | . . . . . . . 8 ⊢ (𝑤 = 𝑊 → (dist‘𝑤) = (dist‘𝑊)) | |
| 11 | spheres.d | . . . . . . . . . 10 ⊢ 𝐷 = (dist‘𝑊) | |
| 12 | 11 | eqcomi 2739 | . . . . . . . . 9 ⊢ (dist‘𝑊) = 𝐷 |
| 13 | 12 | a1i 11 | . . . . . . . 8 ⊢ (𝑤 = 𝑊 → (dist‘𝑊) = 𝐷) |
| 14 | 10, 13 | eqtrd 2765 | . . . . . . 7 ⊢ (𝑤 = 𝑊 → (dist‘𝑤) = 𝐷) |
| 15 | 14 | oveqd 7407 | . . . . . 6 ⊢ (𝑤 = 𝑊 → (𝑝(dist‘𝑤)𝑥) = (𝑝𝐷𝑥)) |
| 16 | 15 | eqeq1d 2732 | . . . . 5 ⊢ (𝑤 = 𝑊 → ((𝑝(dist‘𝑤)𝑥) = 𝑟 ↔ (𝑝𝐷𝑥) = 𝑟)) |
| 17 | 8, 16 | rabeqbidv 3427 | . . . 4 ⊢ (𝑤 = 𝑊 → {𝑝 ∈ (Base‘𝑤) ∣ (𝑝(dist‘𝑤)𝑥) = 𝑟} = {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟}) |
| 18 | 8, 9, 17 | mpoeq123dv 7467 | . . 3 ⊢ (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤), 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ (Base‘𝑤) ∣ (𝑝(dist‘𝑤)𝑥) = 𝑟}) = (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟})) |
| 19 | elex 3471 | . . 3 ⊢ (𝑊 ∈ 𝑉 → 𝑊 ∈ V) | |
| 20 | fvex 6874 | . . . . . 6 ⊢ (Base‘𝑊) ∈ V | |
| 21 | 5, 20 | eqeltri 2825 | . . . . 5 ⊢ 𝐵 ∈ V |
| 22 | ovex 7423 | . . . . 5 ⊢ (0[,]+∞) ∈ V | |
| 23 | 21, 22 | mpoex 8061 | . . . 4 ⊢ (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟}) ∈ V |
| 24 | 23 | a1i 11 | . . 3 ⊢ (𝑊 ∈ 𝑉 → (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟}) ∈ V) |
| 25 | 3, 18, 19, 24 | fvmptd3 6994 | . 2 ⊢ (𝑊 ∈ 𝑉 → (Sphere‘𝑊) = (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟})) |
| 26 | 2, 25 | eqtrd 2765 | 1 ⊢ (𝑊 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟})) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1540 ∈ wcel 2109 {crab 3408 Vcvv 3450 ‘cfv 6514 (class class class)co 7390 ∈ cmpo 7392 0cc0 11075 +∞cpnf 11212 [,]cicc 13316 Basecbs 17186 distcds 17236 Spherecsph 48721 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-rep 5237 ax-sep 5254 ax-nul 5264 ax-pow 5323 ax-pr 5390 ax-un 7714 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-ral 3046 df-rex 3055 df-reu 3357 df-rab 3409 df-v 3452 df-sbc 3757 df-csb 3866 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-nul 4300 df-if 4492 df-pw 4568 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-iun 4960 df-br 5111 df-opab 5173 df-mpt 5192 df-id 5536 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-res 5653 df-ima 5654 df-iota 6467 df-fun 6516 df-fn 6517 df-f 6518 df-f1 6519 df-fo 6520 df-f1o 6521 df-fv 6522 df-ov 7393 df-oprab 7394 df-mpo 7395 df-1st 7971 df-2nd 7972 df-sph 48723 |
| This theorem is referenced by: sphere 48740 rrxsphere 48741 |
| Copyright terms: Public domain | W3C validator |