MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  absrdbnd Structured version   Unicode version

Theorem absrdbnd 12946
Description: Bound on the absolute value of a real number rounded to the nearest integer. (Contributed by Jeff Madsen, 2-Sep-2009.) (Proof shortened by Mario Carneiro, 14-Sep-2015.)
Assertion
Ref Expression
absrdbnd  |-  ( A  e.  RR  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  <_ 
( ( |_ `  ( abs `  A ) )  +  1 ) )

Proof of Theorem absrdbnd
StepHypRef Expression
1 halfre 10650 . . . . . . . 8  |-  ( 1  /  2 )  e.  RR
2 readdcl 9475 . . . . . . . 8  |-  ( ( A  e.  RR  /\  ( 1  /  2
)  e.  RR )  ->  ( A  +  ( 1  /  2
) )  e.  RR )
31, 2mpan2 671 . . . . . . 7  |-  ( A  e.  RR  ->  ( A  +  ( 1  /  2 ) )  e.  RR )
4 reflcl 11762 . . . . . . 7  |-  ( ( A  +  ( 1  /  2 ) )  e.  RR  ->  ( |_ `  ( A  +  ( 1  /  2
) ) )  e.  RR )
53, 4syl 16 . . . . . 6  |-  ( A  e.  RR  ->  ( |_ `  ( A  +  ( 1  /  2
) ) )  e.  RR )
65recnd 9522 . . . . 5  |-  ( A  e.  RR  ->  ( |_ `  ( A  +  ( 1  /  2
) ) )  e.  CC )
7 abscl 12884 . . . . 5  |-  ( ( |_ `  ( A  +  ( 1  / 
2 ) ) )  e.  CC  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  e.  RR )
86, 7syl 16 . . . 4  |-  ( A  e.  RR  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  e.  RR )
9 recn 9482 . . . . 5  |-  ( A  e.  RR  ->  A  e.  CC )
10 abscl 12884 . . . . 5  |-  ( A  e.  CC  ->  ( abs `  A )  e.  RR )
119, 10syl 16 . . . 4  |-  ( A  e.  RR  ->  ( abs `  A )  e.  RR )
12 1re 9495 . . . . 5  |-  1  e.  RR
1312a1i 11 . . . 4  |-  ( A  e.  RR  ->  1  e.  RR )
148, 11resubcld 9886 . . . . 5  |-  ( A  e.  RR  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  ( abs `  A
) )  e.  RR )
15 resubcl 9783 . . . . . . . 8  |-  ( ( ( |_ `  ( A  +  ( 1  /  2 ) ) )  e.  RR  /\  A  e.  RR )  ->  ( ( |_ `  ( A  +  (
1  /  2 ) ) )  -  A
)  e.  RR )
165, 15mpancom 669 . . . . . . 7  |-  ( A  e.  RR  ->  (
( |_ `  ( A  +  ( 1  /  2 ) ) )  -  A )  e.  RR )
1716recnd 9522 . . . . . 6  |-  ( A  e.  RR  ->  (
( |_ `  ( A  +  ( 1  /  2 ) ) )  -  A )  e.  CC )
18 abscl 12884 . . . . . 6  |-  ( ( ( |_ `  ( A  +  ( 1  /  2 ) ) )  -  A )  e.  CC  ->  ( abs `  ( ( |_
`  ( A  +  ( 1  /  2
) ) )  -  A ) )  e.  RR )
1917, 18syl 16 . . . . 5  |-  ( A  e.  RR  ->  ( abs `  ( ( |_
`  ( A  +  ( 1  /  2
) ) )  -  A ) )  e.  RR )
20 abs2dif 12937 . . . . . 6  |-  ( ( ( |_ `  ( A  +  ( 1  /  2 ) ) )  e.  CC  /\  A  e.  CC )  ->  ( ( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  ( abs `  A
) )  <_  ( abs `  ( ( |_
`  ( A  +  ( 1  /  2
) ) )  -  A ) ) )
216, 9, 20syl2anc 661 . . . . 5  |-  ( A  e.  RR  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  ( abs `  A
) )  <_  ( abs `  ( ( |_
`  ( A  +  ( 1  /  2
) ) )  -  A ) ) )
221a1i 11 . . . . . 6  |-  ( A  e.  RR  ->  (
1  /  2 )  e.  RR )
23 rddif 12945 . . . . . 6  |-  ( A  e.  RR  ->  ( abs `  ( ( |_
`  ( A  +  ( 1  /  2
) ) )  -  A ) )  <_ 
( 1  /  2
) )
24 halflt1 10653 . . . . . . . 8  |-  ( 1  /  2 )  <  1
251, 12, 24ltleii 9607 . . . . . . 7  |-  ( 1  /  2 )  <_ 
1
2625a1i 11 . . . . . 6  |-  ( A  e.  RR  ->  (
1  /  2 )  <_  1 )
2719, 22, 13, 23, 26letrd 9638 . . . . 5  |-  ( A  e.  RR  ->  ( abs `  ( ( |_
`  ( A  +  ( 1  /  2
) ) )  -  A ) )  <_ 
1 )
2814, 19, 13, 21, 27letrd 9638 . . . 4  |-  ( A  e.  RR  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  ( abs `  A
) )  <_  1
)
298, 11, 13, 28subled 10052 . . 3  |-  ( A  e.  RR  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  <_ 
( abs `  A
) )
303flcld 11764 . . . . . . 7  |-  ( A  e.  RR  ->  ( |_ `  ( A  +  ( 1  /  2
) ) )  e.  ZZ )
31 nn0abscl 12918 . . . . . . 7  |-  ( ( |_ `  ( A  +  ( 1  / 
2 ) ) )  e.  ZZ  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  e. 
NN0 )
3230, 31syl 16 . . . . . 6  |-  ( A  e.  RR  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  e. 
NN0 )
3332nn0zd 10855 . . . . 5  |-  ( A  e.  RR  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  e.  ZZ )
34 peano2zm 10798 . . . . 5  |-  ( ( abs `  ( |_
`  ( A  +  ( 1  /  2
) ) ) )  e.  ZZ  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  e.  ZZ )
3533, 34syl 16 . . . 4  |-  ( A  e.  RR  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  e.  ZZ )
36 flge 11771 . . . 4  |-  ( ( ( abs `  A
)  e.  RR  /\  ( ( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  e.  ZZ )  ->  (
( ( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  <_ 
( abs `  A
)  <->  ( ( abs `  ( |_ `  ( A  +  ( 1  /  2 ) ) ) )  -  1 )  <_  ( |_ `  ( abs `  A
) ) ) )
3711, 35, 36syl2anc 661 . . 3  |-  ( A  e.  RR  ->  (
( ( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  <_ 
( abs `  A
)  <->  ( ( abs `  ( |_ `  ( A  +  ( 1  /  2 ) ) ) )  -  1 )  <_  ( |_ `  ( abs `  A
) ) ) )
3829, 37mpbid 210 . 2  |-  ( A  e.  RR  ->  (
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  <_ 
( |_ `  ( abs `  A ) ) )
39 reflcl 11762 . . . 4  |-  ( ( abs `  A )  e.  RR  ->  ( |_ `  ( abs `  A
) )  e.  RR )
4011, 39syl 16 . . 3  |-  ( A  e.  RR  ->  ( |_ `  ( abs `  A
) )  e.  RR )
418, 13, 40lesubaddd 10046 . 2  |-  ( A  e.  RR  ->  (
( ( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  -  1 )  <_ 
( |_ `  ( abs `  A ) )  <-> 
( abs `  ( |_ `  ( A  +  ( 1  /  2
) ) ) )  <_  ( ( |_
`  ( abs `  A
) )  +  1 ) ) )
4238, 41mpbid 210 1  |-  ( A  e.  RR  ->  ( abs `  ( |_ `  ( A  +  (
1  /  2 ) ) ) )  <_ 
( ( |_ `  ( abs `  A ) )  +  1 ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    e. wcel 1758   class class class wbr 4399   ` cfv 5525  (class class class)co 6199   CCcc 9390   RRcr 9391   1c1 9393    + caddc 9395    <_ cle 9529    - cmin 9705    / cdiv 10103   2c2 10481   NN0cn0 10689   ZZcz 10756   |_cfl 11756   abscabs 12840
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4520  ax-nul 4528  ax-pow 4577  ax-pr 4638  ax-un 6481  ax-cnex 9448  ax-resscn 9449  ax-1cn 9450  ax-icn 9451  ax-addcl 9452  ax-addrcl 9453  ax-mulcl 9454  ax-mulrcl 9455  ax-mulcom 9456  ax-addass 9457  ax-mulass 9458  ax-distr 9459  ax-i2m1 9460  ax-1ne0 9461  ax-1rid 9462  ax-rnegex 9463  ax-rrecex 9464  ax-cnre 9465  ax-pre-lttri 9466  ax-pre-lttrn 9467  ax-pre-ltadd 9468  ax-pre-mulgt0 9469  ax-pre-sup 9470
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2649  df-nel 2650  df-ral 2803  df-rex 2804  df-reu 2805  df-rmo 2806  df-rab 2807  df-v 3078  df-sbc 3293  df-csb 3395  df-dif 3438  df-un 3440  df-in 3442  df-ss 3449  df-pss 3451  df-nul 3745  df-if 3899  df-pw 3969  df-sn 3985  df-pr 3987  df-tp 3989  df-op 3991  df-uni 4199  df-iun 4280  df-br 4400  df-opab 4458  df-mpt 4459  df-tr 4493  df-eprel 4739  df-id 4743  df-po 4748  df-so 4749  df-fr 4786  df-we 4788  df-ord 4829  df-on 4830  df-lim 4831  df-suc 4832  df-xp 4953  df-rel 4954  df-cnv 4955  df-co 4956  df-dm 4957  df-rn 4958  df-res 4959  df-ima 4960  df-iota 5488  df-fun 5527  df-fn 5528  df-f 5529  df-f1 5530  df-fo 5531  df-f1o 5532  df-fv 5533  df-riota 6160  df-ov 6202  df-oprab 6203  df-mpt2 6204  df-om 6586  df-2nd 6687  df-recs 6941  df-rdg 6975  df-er 7210  df-en 7420  df-dom 7421  df-sdom 7422  df-sup 7801  df-pnf 9530  df-mnf 9531  df-xr 9532  df-ltxr 9533  df-le 9534  df-sub 9707  df-neg 9708  df-div 10104  df-nn 10433  df-2 10490  df-3 10491  df-n0 10690  df-z 10757  df-uz 10972  df-rp 11102  df-fl 11758  df-seq 11923  df-exp 11982  df-cj 12705  df-re 12706  df-im 12707  df-sqr 12841  df-abs 12842
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator