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

Theorem icodiamlt 15413
Description: Two elements in a half-open interval have separation strictly less than the difference between the endpoints. (Contributed by Stefan O'Rear, 12-Sep-2014.)
Assertion
Ref Expression
icodiamlt (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵))) → (abs‘(𝐶𝐷)) < (𝐵𝐴))

Proof of Theorem icodiamlt
StepHypRef Expression
1 rexr 11289 . . . 4 (𝐵 ∈ ℝ → 𝐵 ∈ ℝ*)
2 elico2 13419 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → (𝐶 ∈ (𝐴[,)𝐵) ↔ (𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵)))
3 elico2 13419 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → (𝐷 ∈ (𝐴[,)𝐵) ↔ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵)))
42, 3anbi12d 630 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) ↔ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))))
54biimpd 228 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) → ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))))
61, 5sylan2 591 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) → ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))))
7 simplr 767 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐵 ∈ ℝ)
87recnd 11271 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐵 ∈ ℂ)
9 simpll 765 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐴 ∈ ℝ)
109recnd 11271 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐴 ∈ ℂ)
118, 10negsubdi2d 11616 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → -(𝐵𝐴) = (𝐴𝐵))
129, 7resubcld 11671 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐴𝐵) ∈ ℝ)
13 simprl1 1215 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐶 ∈ ℝ)
1413, 7resubcld 11671 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐶𝐵) ∈ ℝ)
15 simprr1 1218 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐷 ∈ ℝ)
1613, 15resubcld 11671 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐶𝐷) ∈ ℝ)
17 simprl2 1216 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐴𝐶)
189, 13, 7, 17lesub1dd 11859 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐴𝐵) ≤ (𝐶𝐵))
19 simprr3 1220 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐷 < 𝐵)
2015, 7, 13, 19ltsub2dd 11856 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐶𝐵) < (𝐶𝐷))
2112, 14, 16, 18, 20lelttrd 11401 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐴𝐵) < (𝐶𝐷))
2211, 21eqbrtrd 5163 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → -(𝐵𝐴) < (𝐶𝐷))
237, 15resubcld 11671 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐵𝐷) ∈ ℝ)
247, 9resubcld 11671 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐵𝐴) ∈ ℝ)
25 simprl3 1217 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐶 < 𝐵)
2613, 7, 15, 25ltsub1dd 11855 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐶𝐷) < (𝐵𝐷))
27 simprr2 1219 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → 𝐴𝐷)
289, 15, 7, 27lesub2dd 11860 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐵𝐷) ≤ (𝐵𝐴))
2916, 23, 24, 26, 28ltletrd 11403 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (𝐶𝐷) < (𝐵𝐴))
3016, 24absltd 15407 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → ((abs‘(𝐶𝐷)) < (𝐵𝐴) ↔ (-(𝐵𝐴) < (𝐶𝐷) ∧ (𝐶𝐷) < (𝐵𝐴))))
3122, 29, 30mpbir2and 711 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵))) → (abs‘(𝐶𝐷)) < (𝐵𝐴))
3231ex 411 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (((𝐶 ∈ ℝ ∧ 𝐴𝐶𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴𝐷𝐷 < 𝐵)) → (abs‘(𝐶𝐷)) < (𝐵𝐴)))
336, 32syld 47 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) → (abs‘(𝐶𝐷)) < (𝐵𝐴)))
3433imp 405 1 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵))) → (abs‘(𝐶𝐷)) < (𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394  w3a 1084  wcel 2098   class class class wbr 5141  cfv 6542  (class class class)co 7415  cr 11136  *cxr 11276   < clt 11277  cle 11278  cmin 11473  -cneg 11474  [,)cico 13357  abscabs 15212
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5292  ax-nul 5299  ax-pow 5358  ax-pr 5422  ax-un 7737  ax-cnex 11193  ax-resscn 11194  ax-1cn 11195  ax-icn 11196  ax-addcl 11197  ax-addrcl 11198  ax-mulcl 11199  ax-mulrcl 11200  ax-mulcom 11201  ax-addass 11202  ax-mulass 11203  ax-distr 11204  ax-i2m1 11205  ax-1ne0 11206  ax-1rid 11207  ax-rnegex 11208  ax-rrecex 11209  ax-cnre 11210  ax-pre-lttri 11211  ax-pre-lttrn 11212  ax-pre-ltadd 11213  ax-pre-mulgt0 11214  ax-pre-sup 11215
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2932  df-nel 3038  df-ral 3053  df-rex 3062  df-rmo 3365  df-reu 3366  df-rab 3421  df-v 3465  df-sbc 3769  df-csb 3885  df-dif 3942  df-un 3944  df-in 3946  df-ss 3956  df-pss 3958  df-nul 4317  df-if 4523  df-pw 4598  df-sn 4623  df-pr 4625  df-op 4629  df-uni 4902  df-iun 4991  df-br 5142  df-opab 5204  df-mpt 5225  df-tr 5259  df-id 5569  df-eprel 5575  df-po 5583  df-so 5584  df-fr 5626  df-we 5628  df-xp 5677  df-rel 5678  df-cnv 5679  df-co 5680  df-dm 5681  df-rn 5682  df-res 5683  df-ima 5684  df-pred 6299  df-ord 6366  df-on 6367  df-lim 6368  df-suc 6369  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-riota 7371  df-ov 7418  df-oprab 7419  df-mpo 7420  df-om 7868  df-2nd 7991  df-frecs 8284  df-wrecs 8315  df-recs 8389  df-rdg 8428  df-er 8722  df-en 8962  df-dom 8963  df-sdom 8964  df-sup 9464  df-pnf 11279  df-mnf 11280  df-xr 11281  df-ltxr 11282  df-le 11283  df-sub 11475  df-neg 11476  df-div 11901  df-nn 12242  df-2 12304  df-3 12305  df-n0 12502  df-z 12588  df-uz 12852  df-rp 13006  df-ico 13361  df-seq 13998  df-exp 14058  df-cj 15077  df-re 15078  df-im 15079  df-sqrt 15213  df-abs 15214
This theorem is referenced by:  irrapxlem2  42281  hoiqssbllem2  46047
  Copyright terms: Public domain W3C validator
OSZAR »