MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  bl2ioo Structured version   Visualization version   GIF version

Theorem bl2ioo 25183
Description: A ball in terms of an open interval of reals. (Contributed by NM, 18-May-2007.) (Revised by Mario Carneiro, 13-Nov-2013.)
Hypothesis
Ref Expression
remet.1 𝐷 = ((abs ∘ − ) ↾ (ℝ × ℝ))
Assertion
Ref Expression
bl2ioo ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴(ball‘𝐷)𝐵) = ((𝐴 − 𝐵)(,)(𝐴 + 𝐵)))

Proof of Theorem bl2ioo
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 remet.1 . . . . . . . . . 10 𝐷 = ((abs ∘ − ) ↾ (ℝ × ℝ))
21remetdval 25180 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝐴𝐷𝑥) = (abs‘(𝐴 − 𝑥)))
3 recn 11333 . . . . . . . . . 10 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
4 recn 11333 . . . . . . . . . 10 (𝑥 ∈ ℝ → 𝑥 ∈ ℂ)
5 abssub 15541 . . . . . . . . . 10 ((𝐴 ∈ ℂ ∧ 𝑥 ∈ ℂ) → (abs‘(𝐴 − 𝑥)) = (abs‘(𝑥 − 𝐴)))
63, 4, 5syl2an 608 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (abs‘(𝐴 − 𝑥)) = (abs‘(𝑥 − 𝐴)))
72, 6eqtrd 2804 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝐴𝐷𝑥) = (abs‘(𝑥 − 𝐴)))
87breq1d 5121 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝑥 ∈ ℝ) → ((𝐴𝐷𝑥) < 𝐵 ↔ (abs‘(𝑥 − 𝐴)) < 𝐵))
98adantlr 728 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℝ) → ((𝐴𝐷𝑥) < 𝐵 ↔ (abs‘(𝑥 − 𝐴)) < 𝐵))
10 absdiflt 15532 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((abs‘(𝑥 − 𝐴)) < 𝐵 ↔ ((𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
11103expb 1139 . . . . . . 7 ((𝑥 ∈ ℝ ∧ (𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ)) → ((abs‘(𝑥 − 𝐴)) < 𝐵 ↔ ((𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
1211ancoms 464 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℝ) → ((abs‘(𝑥 − 𝐴)) < 𝐵 ↔ ((𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
139, 12bitrd 282 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℝ) → ((𝐴𝐷𝑥) < 𝐵 ↔ ((𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
1413pm5.32da 590 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝑥 ∈ ℝ ∧ (𝐴𝐷𝑥) < 𝐵) ↔ (𝑥 ∈ ℝ ∧ ((𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵)))))
15 3anass 1112 . . . 4 ((𝑥 ∈ ℝ ∧ (𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵)) ↔ (𝑥 ∈ ℝ ∧ ((𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
1614, 15bitr4di 292 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝑥 ∈ ℝ ∧ (𝐴𝐷𝑥) < 𝐵) ↔ (𝑥 ∈ ℝ ∧ (𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
17 rexr 11398 . . . 4 (𝐵 ∈ ℝ → 𝐵 ∈ ℝ*)
181rexmet 25182 . . . . 5 𝐷 ∈ (∞Met‘ℝ)
19 elbl 24779 . . . . 5 ((𝐷 ∈ (∞Met‘ℝ) ∧ 𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → (𝑥 ∈ (𝐴(ball‘𝐷)𝐵) ↔ (𝑥 ∈ ℝ ∧ (𝐴𝐷𝑥) < 𝐵)))
2018, 19mp3an1 1480 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → (𝑥 ∈ (𝐴(ball‘𝐷)𝐵) ↔ (𝑥 ∈ ℝ ∧ (𝐴𝐷𝑥) < 𝐵)))
2117, 20sylan2 605 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝑥 ∈ (𝐴(ball‘𝐷)𝐵) ↔ (𝑥 ∈ ℝ ∧ (𝐴𝐷𝑥) < 𝐵)))
22 resubcl 11665 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 − 𝐵) ∈ ℝ)
23 readdcl 11326 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + 𝐵) ∈ ℝ)
24 rexr 11398 . . . . 5 ((𝐴 − 𝐵) ∈ ℝ → (𝐴 − 𝐵) ∈ ℝ*)
25 rexr 11398 . . . . 5 ((𝐴 + 𝐵) ∈ ℝ → (𝐴 + 𝐵) ∈ ℝ*)
26 elioo2 13561 . . . . 5 (((𝐴 − 𝐵) ∈ ℝ* ∧ (𝐴 + 𝐵) ∈ ℝ*) → (𝑥 ∈ ((𝐴 − 𝐵)(,)(𝐴 + 𝐵)) ↔ (𝑥 ∈ ℝ ∧ (𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
2724, 25, 26syl2an 608 . . . 4 (((𝐴 − 𝐵) ∈ ℝ ∧ (𝐴 + 𝐵) ∈ ℝ) → (𝑥 ∈ ((𝐴 − 𝐵)(,)(𝐴 + 𝐵)) ↔ (𝑥 ∈ ℝ ∧ (𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
2822, 23, 27syl2anc 596 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝑥 ∈ ((𝐴 − 𝐵)(,)(𝐴 + 𝐵)) ↔ (𝑥 ∈ ℝ ∧ (𝐴 − 𝐵) < 𝑥 ∧ 𝑥 < (𝐴 + 𝐵))))
2916, 21, 283bitr4d 314 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝑥 ∈ (𝐴(ball‘𝐷)𝐵) ↔ 𝑥 ∈ ((𝐴 − 𝐵)(,)(𝐴 + 𝐵))))
3029eqrdv 2767 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴(ball‘𝐷)𝐵) = ((𝐴 − 𝐵)(,)(𝐴 + 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151   class class class wbr 5111   × cxp 5659   ↾ cres 5663   ∘ ccom 5665  ‘cfv 6570  (class class class)co 7455  ℂcc 11241  ℝcr 11242   + caddc 11246  ℝ*cxr 11385   < clt 11386   − cmin 11584  (,)cioo 13520  abscabs 15448  ∞Metcxmet 21725  ballcbl 21727
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787  ax-cnex 11299  ax-resscn 11300  ax-1cn 11301  ax-icn 11302  ax-addcl 11303  ax-addrcl 11304  ax-mulcl 11305  ax-mulrcl 11306  ax-mulcom 11307  ax-addass 11308  ax-mulass 11309  ax-distr 11310  ax-i2m1 11311  ax-1ne0 11312  ax-1rid 11313  ax-rnegex 11314  ax-rrecex 11315  ax-cnre 11316  ax-pre-lttri 11317  ax-pre-lttrn 11318  ax-pre-ltadd 11319  ax-pre-mulgt0 11320  ax-pre-sup 11321
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-riota 7412  df-ov 7458  df-oprab 7459  df-mpo 7460  df-om 7916  df-1st 8039  df-2nd 8040  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-rdg 8460  df-er 8759  df-map 8891  df-en 9016  df-dom 9017  df-sdom 9018  df-sup 9475  df-pnf 11388  df-mnf 11389  df-xr 11390  df-ltxr 11391  df-le 11392  df-sub 11586  df-neg 11587  df-div 12018  df-nn 12380  df-2 12449  df-3 12450  df-n0 12651  df-z 12738  df-uz 13010  df-rp 13165  df-xadd 13286  df-ioo 13524  df-seq 14189  df-exp 14249  df-cj 15313  df-re 15314  df-im 15315  df-sqrt 15449  df-abs 15450  df-psmet 21732  df-xmet 21733  df-met 21734  df-bl 21735
This theorem is used by:  ioo2bl  25184  blssioo  25186  tgioo  25187  iccntr  25213  icccmplem2  25215  reconnlem2  25219  opnreen  25223  lebnumii  25359  opnmbllem  25994  lhop  26408  dvcnvre  26411  dya2icoseg2  35032  opnrebl  37342  opnrebl2  37343  opnmbllem0  38862  iooabslt  46861
  Copyright terms: Public domain W3C validator