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 33165
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 11253 . . . . 5 (𝜑 → (𝐵 + 𝐶) ∈ ℝ)
4 lt2addrd.1 . . . . 5 (𝜑𝐴 ∈ ℝ)
53, 4resubcld 11657 . . . 4 (𝜑 → ((𝐵 + 𝐶) − 𝐴) ∈ ℝ)
65rehalfcld 12506 . . 3 (𝜑 → (((𝐵 + 𝐶) − 𝐴) / 2) ∈ ℝ)
71, 6resubcld 11657 . 2 (𝜑 → (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ)
82, 6resubcld 11657 . 2 (𝜑 → (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ)
92recnd 11252 . . . . . 6 (𝜑𝐶 ∈ ℂ)
101recnd 11252 . . . . . . . . 9 (𝜑𝐵 ∈ ℂ)
1110, 9addcld 11243 . . . . . . . 8 (𝜑 → (𝐵 + 𝐶) ∈ ℂ)
124recnd 11252 . . . . . . . 8 (𝜑𝐴 ∈ ℂ)
1311, 12subcld 11584 . . . . . . 7 (𝜑 → ((𝐵 + 𝐶) − 𝐴) ∈ ℂ)
1413halfcld 12504 . . . . . 6 (𝜑 → (((𝐵 + 𝐶) − 𝐴) / 2) ∈ ℂ)
159, 14, 14subsub4d 11615 . . . . 5 (𝜑 → ((𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) − (((𝐵 + 𝐶) − 𝐴) / 2)) = (𝐶 − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))))
1615oveq2d 7435 . . . 4 (𝜑 → (𝐵 + ((𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) − (((𝐵 + 𝐶) − 𝐴) / 2))) = (𝐵 + (𝐶 − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)))))
179, 14subcld 11584 . . . . 5 (𝜑 → (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℂ)
1810, 14, 17subadd23d 11606 . . . 4 (𝜑 → ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) = (𝐵 + ((𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) − (((𝐵 + 𝐶) − 𝐴) / 2))))
19132halvesd 12505 . . . . . 6 (𝜑 → ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)) = ((𝐵 + 𝐶) − 𝐴))
2019, 13eqeltrd 2865 . . . . 5 (𝜑 → ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℂ)
2110, 9, 20addsubassd 11604 . . . 4 (𝜑 → ((𝐵 + 𝐶) − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))) = (𝐵 + (𝐶 − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2)))))
2216, 18, 213eqtr4d 2810 . . 3 (𝜑 → ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) = ((𝐵 + 𝐶) − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))))
2319oveq2d 7435 . . 3 (𝜑 → ((𝐵 + 𝐶) − ((((𝐵 + 𝐶) − 𝐴) / 2) + (((𝐵 + 𝐶) − 𝐴) / 2))) = ((𝐵 + 𝐶) − ((𝐵 + 𝐶) − 𝐴)))
2411, 12nncand 11589 . . 3 (𝜑 → ((𝐵 + 𝐶) − ((𝐵 + 𝐶) − 𝐴)) = 𝐴)
2522, 23, 243eqtrrd 2805 . 2 (𝜑𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))))
26 lt2addrd.4 . . . . 5 (𝜑𝐴 < (𝐵 + 𝐶))
27 difrp 13072 . . . . . 6 ((𝐴 ∈ ℝ ∧ (𝐵 + 𝐶) ∈ ℝ) → (𝐴 < (𝐵 + 𝐶) ↔ ((𝐵 + 𝐶) − 𝐴) ∈ ℝ+))
284, 3, 27syl2anc 596 . . . . 5 (𝜑 → (𝐴 < (𝐵 + 𝐶) ↔ ((𝐵 + 𝐶) − 𝐴) ∈ ℝ+))
2926, 28mpbid 235 . . . 4 (𝜑 → ((𝐵 + 𝐶) − 𝐴) ∈ ℝ+)
3029rphalfcld 13088 . . 3 (𝜑 → (((𝐵 + 𝐶) − 𝐴) / 2) ∈ ℝ+)
311, 30ltsubrpd 13108 . 2 (𝜑 → (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵)
322, 30ltsubrpd 13108 . 2 (𝜑 → (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶)
33 oveq1 7426 . . . . 5 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝑏 + 𝑐) = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐))
3433eqeq2d 2776 . . . 4 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝐴 = (𝑏 + 𝑐) ↔ 𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐)))
35 breq1 5114 . . . 4 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝑏 < 𝐵 ↔ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵))
3634, 353anbi12d 1465 . . 3 (𝑏 = (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) → ((𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶) ↔ (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵𝑐 < 𝐶)))
37 oveq2 7427 . . . . 5 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))))
3837eqeq2d 2776 . . . 4 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) ↔ 𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)))))
39 breq1 5114 . . . 4 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → (𝑐 < 𝐶 ↔ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶))
4038, 393anbi13d 1466 . . 3 (𝑐 = (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) → ((𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + 𝑐) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵𝑐 < 𝐶) ↔ (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵 ∧ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶)))
4136, 40rspc2ev 3596 . 2 (((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ ∧ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) ∈ ℝ ∧ (𝐴 = ((𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) + (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2))) ∧ (𝐵 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐵 ∧ (𝐶 − (((𝐵 + 𝐶) − 𝐴) / 2)) < 𝐶)) → ∃𝑏 ∈ ℝ ∃𝑐 ∈ ℝ (𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶))
427, 8, 25, 31, 32, 41syl113anc 1409 1 (𝜑 → ∃𝑏 ∈ ℝ ∃𝑐 ∈ ℝ (𝐴 = (𝑏 + 𝑐) ∧ 𝑏 < 𝐵𝑐 < 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  w3a 1103   = wceq 1570  wcel 2146  wrex 3091   class class class wbr 5111  (class class class)co 7419  cc 11113  cr 11114   + caddc 11118   < clt 11258  cmin 11456   / cdiv 11886  2c2 12310  +crp 13032
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 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pow 5338  ax-pr 5406  ax-un 7742  ax-resscn 11172  ax-1cn 11173  ax-icn 11174  ax-addcl 11175  ax-addrcl 11176  ax-mulcl 11177  ax-mulrcl 11178  ax-mulcom 11179  ax-addass 11180  ax-mulass 11181  ax-distr 11182  ax-i2m1 11183  ax-1ne0 11184  ax-1rid 11185  ax-rnegex 11186  ax-rrecex 11187  ax-cnre 11188  ax-pre-lttri 11189  ax-pre-lttrn 11190  ax-pre-ltadd 11191  ax-pre-mulgt0 11192
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-nel 3067  df-ral 3082  df-rex 3092  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-iun 4960  df-br 5112  df-opab 5176  df-mpt 5195  df-tr 5221  df-id 5558  df-eprel 5563  df-po 5571  df-so 5572  df-fr 5616  df-we 5618  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-pred 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-riota 7376  df-ov 7422  df-oprab 7423  df-mpo 7424  df-om 7869  df-2nd 7993  df-frecs 8284  df-wrecs 8315  df-recs 8364  df-rdg 8403  df-er 8700  df-en 8950  df-dom 8951  df-sdom 8952  df-pnf 11260  df-mnf 11261  df-xr 11262  df-ltxr 11263  df-le 11264  df-sub 11458  df-neg 11459  df-div 11887  df-nn 12249  df-2 12318  df-rp 13033
This theorem is used by:  xlt2addrd  33174
  Copyright terms: Public domain W3C validator