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

Theorem 2tnp1ge0ge0 13824
Description: Two times an integer plus one is not negative iff the integer is not negative. (Contributed by AV, 19-Jun-2021.) (Proof shortened by AV, 10-Jul-2022.)
Assertion
Ref Expression
2tnp1ge0ge0 (๐‘ โˆˆ โ„ค โ†’ (0 โ‰ค ((2 ยท ๐‘) + 1) โ†” 0 โ‰ค ๐‘))

Proof of Theorem 2tnp1ge0ge0
StepHypRef Expression
1 2z 12622 . . . . . . 7 2 โˆˆ โ„ค
21a1i 11 . . . . . 6 (๐‘ โˆˆ โ„ค โ†’ 2 โˆˆ โ„ค)
3 id 22 . . . . . 6 (๐‘ โˆˆ โ„ค โ†’ ๐‘ โˆˆ โ„ค)
42, 3zmulcld 12700 . . . . 5 (๐‘ โˆˆ โ„ค โ†’ (2 ยท ๐‘) โˆˆ โ„ค)
54peano2zd 12697 . . . 4 (๐‘ โˆˆ โ„ค โ†’ ((2 ยท ๐‘) + 1) โˆˆ โ„ค)
65zred 12694 . . 3 (๐‘ โˆˆ โ„ค โ†’ ((2 ยท ๐‘) + 1) โˆˆ โ„)
7 2rp 13009 . . . 4 2 โˆˆ โ„+
87a1i 11 . . 3 (๐‘ โˆˆ โ„ค โ†’ 2 โˆˆ โ„+)
96, 8ge0divd 13084 . 2 (๐‘ โˆˆ โ„ค โ†’ (0 โ‰ค ((2 ยท ๐‘) + 1) โ†” 0 โ‰ค (((2 ยท ๐‘) + 1) / 2)))
104zcnd 12695 . . . . 5 (๐‘ โˆˆ โ„ค โ†’ (2 ยท ๐‘) โˆˆ โ„‚)
11 1cnd 11237 . . . . 5 (๐‘ โˆˆ โ„ค โ†’ 1 โˆˆ โ„‚)
12 2cnne0 12450 . . . . . 6 (2 โˆˆ โ„‚ โˆง 2 โ‰  0)
1312a1i 11 . . . . 5 (๐‘ โˆˆ โ„ค โ†’ (2 โˆˆ โ„‚ โˆง 2 โ‰  0))
14 divdir 11925 . . . . 5 (((2 ยท ๐‘) โˆˆ โ„‚ โˆง 1 โˆˆ โ„‚ โˆง (2 โˆˆ โ„‚ โˆง 2 โ‰  0)) โ†’ (((2 ยท ๐‘) + 1) / 2) = (((2 ยท ๐‘) / 2) + (1 / 2)))
1510, 11, 13, 14syl3anc 1368 . . . 4 (๐‘ โˆˆ โ„ค โ†’ (((2 ยท ๐‘) + 1) / 2) = (((2 ยท ๐‘) / 2) + (1 / 2)))
16 zcn 12591 . . . . . 6 (๐‘ โˆˆ โ„ค โ†’ ๐‘ โˆˆ โ„‚)
17 2cnd 12318 . . . . . 6 (๐‘ โˆˆ โ„ค โ†’ 2 โˆˆ โ„‚)
18 2ne0 12344 . . . . . . 7 2 โ‰  0
1918a1i 11 . . . . . 6 (๐‘ โˆˆ โ„ค โ†’ 2 โ‰  0)
2016, 17, 19divcan3d 12023 . . . . 5 (๐‘ โˆˆ โ„ค โ†’ ((2 ยท ๐‘) / 2) = ๐‘)
2120oveq1d 7430 . . . 4 (๐‘ โˆˆ โ„ค โ†’ (((2 ยท ๐‘) / 2) + (1 / 2)) = (๐‘ + (1 / 2)))
2215, 21eqtrd 2765 . . 3 (๐‘ โˆˆ โ„ค โ†’ (((2 ยท ๐‘) + 1) / 2) = (๐‘ + (1 / 2)))
2322breq2d 5155 . 2 (๐‘ โˆˆ โ„ค โ†’ (0 โ‰ค (((2 ยท ๐‘) + 1) / 2) โ†” 0 โ‰ค (๐‘ + (1 / 2))))
24 zre 12590 . . . 4 (๐‘ โˆˆ โ„ค โ†’ ๐‘ โˆˆ โ„)
25 halfre 12454 . . . . 5 (1 / 2) โˆˆ โ„
2625a1i 11 . . . 4 (๐‘ โˆˆ โ„ค โ†’ (1 / 2) โˆˆ โ„)
2724, 26readdcld 11271 . . 3 (๐‘ โˆˆ โ„ค โ†’ (๐‘ + (1 / 2)) โˆˆ โ„)
28 halfge0 12457 . . . 4 0 โ‰ค (1 / 2)
2924, 26addge01d 11830 . . . 4 (๐‘ โˆˆ โ„ค โ†’ (0 โ‰ค (1 / 2) โ†” ๐‘ โ‰ค (๐‘ + (1 / 2))))
3028, 29mpbii 232 . . 3 (๐‘ โˆˆ โ„ค โ†’ ๐‘ โ‰ค (๐‘ + (1 / 2)))
31 1red 11243 . . . 4 (๐‘ โˆˆ โ„ค โ†’ 1 โˆˆ โ„)
32 halflt1 12458 . . . . 5 (1 / 2) < 1
3332a1i 11 . . . 4 (๐‘ โˆˆ โ„ค โ†’ (1 / 2) < 1)
3426, 31, 24, 33ltadd2dd 11401 . . 3 (๐‘ โˆˆ โ„ค โ†’ (๐‘ + (1 / 2)) < (๐‘ + 1))
35 btwnzge0 13823 . . 3 ((((๐‘ + (1 / 2)) โˆˆ โ„ โˆง ๐‘ โˆˆ โ„ค) โˆง (๐‘ โ‰ค (๐‘ + (1 / 2)) โˆง (๐‘ + (1 / 2)) < (๐‘ + 1))) โ†’ (0 โ‰ค (๐‘ + (1 / 2)) โ†” 0 โ‰ค ๐‘))
3627, 3, 30, 34, 35syl22anc 837 . 2 (๐‘ โˆˆ โ„ค โ†’ (0 โ‰ค (๐‘ + (1 / 2)) โ†” 0 โ‰ค ๐‘))
379, 23, 363bitrd 304 1 (๐‘ โˆˆ โ„ค โ†’ (0 โ‰ค ((2 ยท ๐‘) + 1) โ†” 0 โ‰ค ๐‘))
Colors of variables: wff setvar class
Syntax hints:   โ†’ wi 4   โ†” wb 205   โˆง wa 394   = wceq 1533   โˆˆ wcel 2098   โ‰  wne 2930   class class class wbr 5143  (class class class)co 7415  โ„‚cc 11134  โ„cr 11135  0cc0 11136  1c1 11137   + caddc 11139   ยท cmul 11141   < clt 11276   โ‰ค cle 11277   / cdiv 11899  2c2 12295  โ„คcz 12586  โ„+crp 13004
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 5294  ax-nul 5301  ax-pow 5359  ax-pr 5423  ax-un 7737  ax-cnex 11192  ax-resscn 11193  ax-1cn 11194  ax-icn 11195  ax-addcl 11196  ax-addrcl 11197  ax-mulcl 11198  ax-mulrcl 11199  ax-mulcom 11200  ax-addass 11201  ax-mulass 11202  ax-distr 11203  ax-i2m1 11204  ax-1ne0 11205  ax-1rid 11206  ax-rnegex 11207  ax-rrecex 11208  ax-cnre 11209  ax-pre-lttri 11210  ax-pre-lttrn 11211  ax-pre-ltadd 11212  ax-pre-mulgt0 11213  ax-pre-sup 11214
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 2931  df-nel 3037  df-ral 3052  df-rex 3061  df-rmo 3364  df-reu 3365  df-rab 3420  df-v 3465  df-sbc 3770  df-csb 3886  df-dif 3943  df-un 3945  df-in 3947  df-ss 3957  df-pss 3960  df-nul 4319  df-if 4525  df-pw 4600  df-sn 4625  df-pr 4627  df-op 4631  df-uni 4904  df-iun 4993  df-br 5144  df-opab 5206  df-mpt 5227  df-tr 5261  df-id 5570  df-eprel 5576  df-po 5584  df-so 5585  df-fr 5627  df-we 5629  df-xp 5678  df-rel 5679  df-cnv 5680  df-co 5681  df-dm 5682  df-rn 5683  df-res 5684  df-ima 5685  df-pred 6300  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-riota 7371  df-ov 7418  df-oprab 7419  df-mpo 7420  df-om 7868  df-2nd 7990  df-frecs 8283  df-wrecs 8314  df-recs 8388  df-rdg 8427  df-er 8721  df-en 8961  df-dom 8962  df-sdom 8963  df-sup 9463  df-inf 9464  df-pnf 11278  df-mnf 11279  df-xr 11280  df-ltxr 11281  df-le 11282  df-sub 11474  df-neg 11475  df-div 11900  df-nn 12241  df-2 12303  df-n0 12501  df-z 12587  df-uz 12851  df-rp 13005  df-fl 13787
This theorem is referenced by:  oddnn02np1  16322
  Copyright terms: Public domain W3C validator