Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sphere Structured version   Visualization version   GIF version

Theorem sphere 50074
Description: A sphere with center 𝑋 and radius 𝑅 in a metric space (or any extensible structure having a base set and a distance function). (Contributed by AV, 22-Jan-2023.)
Hypotheses
Ref Expression
spheres.b 𝐵 = (Base‘𝑊)
spheres.l 𝑆 = (Sphere‘𝑊)
spheres.d 𝐷 = (dist‘𝑊)
Assertion
Ref Expression
sphere ((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) → (𝑋𝑆𝑅) = {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑋) = 𝑅})
Distinct variable groups:   𝐵,𝑝   𝑊,𝑝   𝑅,𝑝   𝑋,𝑝
Allowed substitution hints:   𝐷(𝑝)   𝑆(𝑝)   𝑉(𝑝)

Proof of Theorem sphere
Dummy variables 𝑟 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 spheres.b . . . 4 𝐵 = (Base‘𝑊)
2 spheres.l . . . 4 𝑆 = (Sphere‘𝑊)
3 spheres.d . . . 4 𝐷 = (dist‘𝑊)
41, 2, 3spheres 50073 . . 3 (𝑊 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟}))
543ad2ant1 1151 . 2 ((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) → 𝑆 = (𝑥 ∈ 𝐵, 𝑟 ∈ (0[,]+∞) ↦ {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟}))
6 oveq2 7454 . . . . 5 (𝑥 = 𝑋 → (𝑝𝐷𝑥) = (𝑝𝐷𝑋))
7 id 23 . . . . 5 (𝑟 = 𝑅 → 𝑟 = 𝑅)
86, 7eqeqan12d 2777 . . . 4 ((𝑥 = 𝑋 ∧ 𝑟 = 𝑅) → ((𝑝𝐷𝑥) = 𝑟 ↔ (𝑝𝐷𝑋) = 𝑅))
98rabbidv 3423 . . 3 ((𝑥 = 𝑋 ∧ 𝑟 = 𝑅) → {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟} = {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑋) = 𝑅})
109adantl 487 . 2 (((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) ∧ (𝑥 = 𝑋 ∧ 𝑟 = 𝑅)) → {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑥) = 𝑟} = {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑋) = 𝑅})
11 simp2 1155 . 2 ((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) → 𝑋 ∈ 𝐵)
12 simp3 1156 . 2 ((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) → 𝑅 ∈ (0[,]+∞))
131fvexi 6925 . . . 4 𝐵 ∈ V
1413rabex 5305 . . 3 {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑋) = 𝑅} ∈ V
1514a1i 11 . 2 ((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) → {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑋) = 𝑅} ∈ V)
165, 10, 11, 12, 15ovmpod 7599 1 ((𝑊 ∈ 𝑉 ∧ 𝑋 ∈ 𝐵 ∧ 𝑅 ∈ (0[,]+∞)) → (𝑋𝑆𝑅) = {𝑝 ∈ 𝐵 ∣ (𝑝𝐷𝑋) = 𝑅})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  {crab 3416  Vcvv 3454  ‘cfv 6561  (class class class)co 7446   ∈ cmpo 7448  0cc0 11230  +∞cpnf 11370  [,]cicc 13509  Basecbs 17419  distcds 17469  Spherecsph 50056
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-1st 8028  df-2nd 8029  df-sph 50058
This theorem is used by:  rrxsphere  50075
  Copyright terms: Public domain W3C validator