Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  lt2addrd Structured version   Visualization version   GIF version

Theorem lt2addrd 30081
Description: If the right-hand side of a 'less than' relationship is an addition, then we can express the left-hand side as an addition, too, where each term is respectively less than each term of the original right side. (Contributed by Thierry Arnoux, 15-Mar-2017.)
Hypotheses
Ref Expression
lt2addrd.1 (𝜑𝐴 ∈ ℝ)
lt2addrd.2 (𝜑𝐵 ∈ ℝ)
lt2addrd.3 (𝜑𝐶 ∈ ℝ)
lt2addrd.4 (𝜑𝐴 < (𝐵 + 𝐶))
Assertion
Ref Expression
lt2addrd (𝜑 → ∃𝑏 ∈ ℝ ∃𝑐 ∈ ℝ (𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶))
Distinct variable groups:   𝑏,𝑐,𝐴   𝐵,𝑏,𝑐   𝐶,𝑏,𝑐
Allowed substitution hints:   𝜑(𝑏,𝑐)

Proof of Theorem lt2addrd
StepHypRef Expression
1 lt2addrd.2 . . 3 (𝜑𝐵 ∈ ℝ)
2 lt2addrd.3 . . . . . 6 (𝜑𝐶 ∈ ℝ)
31, 2readdcld 10406 . . . . 5 (𝜑 → (𝐵 + 𝐶) ∈ ℝ)
4 lt2addrd.1 . . . . 5 (𝜑𝐴 ∈ ℝ)
53, 4resubcld 10803 . . . 4 (𝜑 → ((𝐵 + 𝐶) − 𝐴) ∈ ℝ)
65rehalfcld 11629 . . 3 (𝜑 → (((𝐵 + 𝐶) − 𝐴) / 2) ∈ ℝ)
71, 6resubcld 10803 . 2 (𝜑 → (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ)
82, 6resubcld 10803 . 2 (𝜑 → (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ)
92recnd 10405 . . . . . 6 (𝜑𝐶 ∈ ℂ)
101recnd 10405 . . . . . . . . 9 (𝜑𝐵 ∈ ℂ)
1110, 9addcld 10396 . . . . . . . 8 (𝜑 → (𝐵 + 𝐶) ∈ ℂ)
124recnd 10405 . . . . . . . 8 (𝜑𝐴 ∈ ℂ)
1311, 12subcld 10734 . . . . . . 7 (𝜑 → ((𝐵 + 𝐶) − 𝐴) ∈ ℂ)
1413halfcld 11627 . . . . . 6 (𝜑 → (((𝐵 + 𝐶) − 𝐴) / 2) ∈ ℂ)
159, 14, 14subsub4d 10765 . . . . 5 (𝜑 → ((𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) − (((𝐵 + 𝐶) − 𝐴) / 2)) = (𝐶 − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))))
1615oveq2d 6938 . . . 4 (𝜑 → (𝐵 + ((𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) − (((𝐵 + 𝐶) − 𝐴) / 2))) = (𝐵 + (𝐶 − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)))))
179, 14subcld 10734 . . . . 5 (𝜑 → (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℂ)
1810, 14, 17subadd23d 10756 . . . 4 (𝜑 → ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) = (𝐵 + ((𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) − (((𝐵 + 𝐶) − 𝐴) / 2))))
19132halvesd 11628 . . . . . 6 (𝜑 → ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)) = ((𝐵 + 𝐶) − 𝐴))
2019, 13eqeltrd 2859 . . . . 5 (𝜑 → ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℂ)
2110, 9, 20addsubassd 10754 . . . 4 (𝜑 → ((𝐵 + 𝐶) − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))) = (𝐵 + (𝐶 − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)))))
2216, 18, 213eqtr4d 2824 . . 3 (𝜑 → ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) = ((𝐵 + 𝐶) − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))))
2319oveq2d 6938 . . 3 (𝜑 → ((𝐵 + 𝐶) − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))) = ((𝐵 + 𝐶) − ((𝐵 + 𝐶) − 𝐴)))
2411, 12nncand 10739 . . 3 (𝜑 → ((𝐵 + 𝐶) − ((𝐵 + 𝐶) − 𝐴)) = 𝐴)
2522, 23, 243eqtrrd 2819 . 2 (𝜑𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))))
26 lt2addrd.4 . . . . 5 (𝜑𝐴 < (𝐵 + 𝐶))
27 difrp 12177 . . . . . 6 ((𝐴 ∈ ℝ ∧ (𝐵 + 𝐶) ∈ ℝ) → (𝐴 < (𝐵 + 𝐶) ↔ ((𝐵 + 𝐶) − 𝐴) ∈ ℝ+))
284, 3, 27syl2anc 579 . . . . 5 (𝜑 → (𝐴 < (𝐵 + 𝐶) ↔ ((𝐵 + 𝐶) − 𝐴) ∈ ℝ+))
2926, 28mpbid 224 . . . 4 (𝜑 → ((𝐵 + 𝐶) − 𝐴) ∈ ℝ+)
3029rphalfcld 12193 . . 3 (𝜑 → (((𝐵 + 𝐶) − 𝐴) / 2) ∈ ℝ+)
311, 30ltsubrpd 12213 . 2 (𝜑 → (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵)
322, 30ltsubrpd 12213 . 2 (𝜑 → (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶)
33 oveq1 6929 . . . . 5 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝑏 + 𝑐) = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐))
3433eqeq2d 2788 . . . 4 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝐴 = (𝑏 + 𝑐) ↔ 𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐)))
35 breq1 4889 . . . 4 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝑏 < 𝐵 ↔ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵))
3634, 353anbi12d 1510 . . 3 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → ((𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶) ↔ (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵𝑐 < 𝐶)))
37 oveq2 6930 . . . . 5 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))))
3837eqeq2d 2788 . . . 4 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) ↔ 𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)))))
39 breq1 4889 . . . 4 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝑐 < 𝐶 ↔ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶))
4038, 393anbi13d 1511 . . 3 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → ((𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵𝑐 < 𝐶) ↔ (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵 ∧ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶)))
4136, 40rspc2ev 3526 . 2 (((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ ∧ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ ∧ (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵 ∧ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶)) → ∃𝑏 ∈ ℝ ∃𝑐 ∈ ℝ (𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶))
427, 8, 25, 31, 32, 41syl113anc 1450 1 (𝜑 → ∃𝑏 ∈ ℝ ∃𝑐 ∈ ℝ (𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  w3a 1071   = wceq 1601  wcel 2107  wrex 3091   class class class wbr 4886  (class class class)co 6922  cc 10270  cr 10271   + caddc 10275   < clt 10411  cmin 10606   / cdiv 11032  2c2 11430  +crp 12137
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1839  ax-4 1853  ax-5 1953  ax-6 2021  ax-7 2055  ax-8 2109  ax-9 2116  ax-10 2135  ax-11 2150  ax-12 2163  ax-13 2334  ax-ext 2754  ax-sep 5017  ax-nul 5025  ax-pow 5077  ax-pr 5138  ax-un 7226  ax-resscn 10329  ax-1cn 10330  ax-icn 10331  ax-addcl 10332  ax-addrcl 10333  ax-mulcl 10334  ax-mulrcl 10335  ax-mulcom 10336  ax-addass 10337  ax-mulass 10338  ax-distr 10339  ax-i2m1 10340  ax-1ne0 10341  ax-1rid 10342  ax-rnegex 10343  ax-rrecex 10344  ax-cnre 10345  ax-pre-lttri 10346  ax-pre-lttrn 10347  ax-pre-ltadd 10348  ax-pre-mulgt0 10349
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 837  df-3or 1072  df-3an 1073  df-tru 1605  df-ex 1824  df-nf 1828  df-sb 2012  df-mo 2551  df-eu 2587  df-clab 2764  df-cleq 2770  df-clel 2774  df-nfc 2921  df-ne 2970  df-nel 3076  df-ral 3095  df-rex 3096  df-reu 3097  df-rmo 3098  df-rab 3099  df-v 3400  df-sbc 3653  df-csb 3752  df-dif 3795  df-un 3797  df-in 3799  df-ss 3806  df-nul 4142  df-if 4308  df-pw 4381  df-sn 4399  df-pr 4401  df-op 4405  df-uni 4672  df-br 4887  df-opab 4949  df-mpt 4966  df-id 5261  df-po 5274  df-so 5275  df-xp 5361  df-rel 5362  df-cnv 5363  df-co 5364  df-dm 5365  df-rn 5366  df-res 5367  df-ima 5368  df-iota 6099  df-fun 6137  df-fn 6138  df-f 6139  df-f1 6140  df-fo 6141  df-f1o 6142  df-fv 6143  df-riota 6883  df-ov 6925  df-oprab 6926  df-mpt2 6927  df-er 8026  df-en 8242  df-dom 8243  df-sdom 8244  df-pnf 10413  df-mnf 10414  df-xr 10415  df-ltxr 10416  df-le 10417  df-sub 10608  df-neg 10609  df-div 11033  df-2 11438  df-rp 12138
This theorem is referenced by:  xlt2addrd  30088
  Copyright terms: Public domain W3C validator