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

Theorem difgtsumgt 12572
Description: If the difference of a real number and a nonnegative integer is greater than another real number, the sum of the real number and the nonnegative integer is also greater than the other real number. (Contributed by AV, 13-Aug-2021.)
Assertion
Ref Expression
difgtsumgt ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐶 < (𝐴𝐵) → 𝐶 < (𝐴 + 𝐵)))

Proof of Theorem difgtsumgt
StepHypRef Expression
1 recn 11244 . . . . . . 7 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
2 nn0cn 12529 . . . . . . 7 (𝐵 ∈ ℕ0𝐵 ∈ ℂ)
31, 2anim12i 611 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0) → (𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ))
433adant3 1129 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ))
5 negsub 11554 . . . . 5 ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + -𝐵) = (𝐴𝐵))
64, 5syl 17 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐴 + -𝐵) = (𝐴𝐵))
76eqcomd 2731 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐴𝐵) = (𝐴 + -𝐵))
87breq2d 5164 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐶 < (𝐴𝐵) ↔ 𝐶 < (𝐴 + -𝐵)))
9 simp3 1135 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → 𝐶 ∈ ℝ)
10 simp1 1133 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → 𝐴 ∈ ℝ)
11 nn0re 12528 . . . . . . 7 (𝐵 ∈ ℕ0𝐵 ∈ ℝ)
1211renegcld 11687 . . . . . 6 (𝐵 ∈ ℕ0 → -𝐵 ∈ ℝ)
13123ad2ant2 1131 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → -𝐵 ∈ ℝ)
1410, 13readdcld 11289 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐴 + -𝐵) ∈ ℝ)
15113ad2ant2 1131 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → 𝐵 ∈ ℝ)
1610, 15readdcld 11289 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐴 + 𝐵) ∈ ℝ)
179, 14, 163jca 1125 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐶 ∈ ℝ ∧ (𝐴 + -𝐵) ∈ ℝ ∧ (𝐴 + 𝐵) ∈ ℝ))
18 nn0negleid 12571 . . . . 5 (𝐵 ∈ ℕ0 → -𝐵𝐵)
19183ad2ant2 1131 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → -𝐵𝐵)
2013, 15, 10, 19leadd2dd 11875 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐴 + -𝐵) ≤ (𝐴 + 𝐵))
2117, 20lelttrdi 11422 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐶 < (𝐴 + -𝐵) → 𝐶 < (𝐴 + 𝐵)))
228, 21sylbid 239 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℕ0𝐶 ∈ ℝ) → (𝐶 < (𝐴𝐵) → 𝐶 < (𝐴 + 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394  w3a 1084   = wceq 1533  wcel 2098   class class class wbr 5152  (class class class)co 7423  cc 11152  cr 11153   + caddc 11157   < clt 11294  cle 11295  cmin 11490  -cneg 11491  0cn0 12519
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 5303  ax-nul 5310  ax-pow 5368  ax-pr 5432  ax-un 7745  ax-resscn 11211  ax-1cn 11212  ax-icn 11213  ax-addcl 11214  ax-addrcl 11215  ax-mulcl 11216  ax-mulrcl 11217  ax-mulcom 11218  ax-addass 11219  ax-mulass 11220  ax-distr 11221  ax-i2m1 11222  ax-1ne0 11223  ax-1rid 11224  ax-rnegex 11225  ax-rrecex 11226  ax-cnre 11227  ax-pre-lttri 11228  ax-pre-lttrn 11229  ax-pre-ltadd 11230  ax-pre-mulgt0 11231
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 2930  df-nel 3036  df-ral 3051  df-rex 3060  df-reu 3364  df-rab 3419  df-v 3463  df-sbc 3776  df-csb 3892  df-dif 3949  df-un 3951  df-in 3953  df-ss 3963  df-pss 3966  df-nul 4325  df-if 4533  df-pw 4608  df-sn 4633  df-pr 4635  df-op 4639  df-uni 4913  df-iun 5002  df-br 5153  df-opab 5215  df-mpt 5236  df-tr 5270  df-id 5579  df-eprel 5585  df-po 5593  df-so 5594  df-fr 5636  df-we 5638  df-xp 5687  df-rel 5688  df-cnv 5689  df-co 5690  df-dm 5691  df-rn 5692  df-res 5693  df-ima 5694  df-pred 6311  df-ord 6378  df-on 6379  df-lim 6380  df-suc 6381  df-iota 6505  df-fun 6555  df-fn 6556  df-f 6557  df-f1 6558  df-fo 6559  df-f1o 6560  df-fv 6561  df-riota 7379  df-ov 7426  df-oprab 7427  df-mpo 7428  df-om 7876  df-2nd 8003  df-frecs 8295  df-wrecs 8326  df-recs 8400  df-rdg 8439  df-er 8733  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11296  df-mnf 11297  df-xr 11298  df-ltxr 11299  df-le 11300  df-sub 11492  df-neg 11493  df-nn 12260  df-n0 12520
This theorem is referenced by:  difsqpwdvds  16884
  Copyright terms: Public domain W3C validator