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

Theorem icodiamlt 15614
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 11362 . . . 4 (𝐵 ∈ ℝ → 𝐵 ∈ ℝ*)
2 elico2 13548 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → (𝐶 ∈ (𝐴[,)𝐵) ↔ (𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵)))
3 elico2 13548 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → (𝐷 ∈ (𝐴[,)𝐵) ↔ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵)))
42, 3anbi12d 644 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) ↔ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))))
54biimpd 232 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) → ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))))
61, 5sylan2 605 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) → ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))))
7 simplr 781 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐵 ∈ ℝ)
87recnd 11344 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐵 ∈ ℂ)
9 simpll 779 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐴 ∈ ℝ)
109recnd 11344 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐴 ∈ ℂ)
118, 10negsubdi2d 11692 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → -(𝐵 − 𝐴) = (𝐴 − 𝐵))
129, 7resubcld 11751 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐴 − 𝐵) ∈ ℝ)
13 simprl1 1237 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐶 ∈ ℝ)
1413, 7resubcld 11751 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐶 − 𝐵) ∈ ℝ)
15 simprr1 1240 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐷 ∈ ℝ)
1613, 15resubcld 11751 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐶 − 𝐷) ∈ ℝ)
17 simprl2 1238 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐴 ≤ 𝐶)
189, 13, 7, 17lesub1dd 11939 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐴 − 𝐵) ≤ (𝐶 − 𝐵))
19 simprr3 1242 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐷 < 𝐵)
2015, 7, 13, 19ltsub2dd 11936 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐶 − 𝐵) < (𝐶 − 𝐷))
2112, 14, 16, 18, 20lelttrd 11475 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐴 − 𝐵) < (𝐶 − 𝐷))
2211, 21eqbrtrd 5126 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → -(𝐵 − 𝐴) < (𝐶 − 𝐷))
237, 15resubcld 11751 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐵 − 𝐷) ∈ ℝ)
247, 9resubcld 11751 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐵 − 𝐴) ∈ ℝ)
25 simprl3 1239 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐶 < 𝐵)
2613, 7, 15, 25ltsub1dd 11935 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐶 − 𝐷) < (𝐵 − 𝐷))
27 simprr2 1241 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → 𝐴 ≤ 𝐷)
289, 15, 7, 27lesub2dd 11940 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐵 − 𝐷) ≤ (𝐵 − 𝐴))
2916, 23, 24, 26, 28ltletrd 11477 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (𝐶 − 𝐷) < (𝐵 − 𝐴))
3016, 24absltd 15608 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → ((abs‘(𝐶 − 𝐷)) < (𝐵 − 𝐴) ↔ ( -(𝐵 − 𝐴) < (𝐶 − 𝐷) ∧ (𝐶 − 𝐷) < (𝐵 − 𝐴))))
3122, 29, 30mpbir2and 726 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ ((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵))) → (abs‘(𝐶 − 𝐷)) < (𝐵 − 𝐴))
3231ex 418 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (((𝐶 ∈ ℝ ∧ 𝐴 ≤ 𝐶 ∧ 𝐶 < 𝐵) ∧ (𝐷 ∈ ℝ ∧ 𝐴 ≤ 𝐷 ∧ 𝐷 < 𝐵)) → (abs‘(𝐶 − 𝐷)) < (𝐵 − 𝐴)))
336, 32syld 48 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵)) → (abs‘(𝐶 − 𝐷)) < (𝐵 − 𝐴)))
3433imp 412 1 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ (𝐴[,)𝐵) ∧ 𝐷 ∈ (𝐴[,)𝐵))) → (abs‘(𝐶 − 𝐷)) < (𝐵 − 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   ∈ wcel 2144   class class class wbr 5102  ‘cfv 6543  (class class class)co 7424  ℝcr 11206  ℝ*cxr 11349   < clt 11350   ≤ cle 11351   − cmin 11548   -cneg 11549  [,)cico 13485  abscabs 15410
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284  ax-pre-sup 11285
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-sup 9441  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-div 11981  df-nn 12343  df-2 12412  df-3 12413  df-n0 12614  df-z 12701  df-uz 12973  df-rp 13128  df-ico 13489  df-seq 14152  df-exp 14212  df-cj 15275  df-re 15276  df-im 15277  df-sqrt 15411  df-abs 15412
This theorem is used by:  irrapxlem2  43967  hoiqssbllem2  47769
  Copyright terms: Public domain W3C validator