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

Theorem opoe 16306
Description: The sum of two odds is even. (Contributed by Scott Fenton, 7-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
opoe (((๐ด โˆˆ โ„ค โˆง ยฌ 2 โˆฅ ๐ด) โˆง (๐ต โˆˆ โ„ค โˆง ยฌ 2 โˆฅ ๐ต)) โ†’ 2 โˆฅ (๐ด + ๐ต))

Proof of Theorem opoe
Dummy variables ๐‘Ž ๐‘ are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 odd2np1 16284 . . . . 5 (๐ด โˆˆ โ„ค โ†’ (ยฌ 2 โˆฅ ๐ด โ†” โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด))
2 odd2np1 16284 . . . . 5 (๐ต โˆˆ โ„ค โ†’ (ยฌ 2 โˆฅ ๐ต โ†” โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต))
31, 2bi2anan9 638 . . . 4 ((๐ด โˆˆ โ„ค โˆง ๐ต โˆˆ โ„ค) โ†’ ((ยฌ 2 โˆฅ ๐ด โˆง ยฌ 2 โˆฅ ๐ต) โ†” (โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด โˆง โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต)))
4 reeanv 3227 . . . . 5 (โˆƒ๐‘Ž โˆˆ โ„ค โˆƒ๐‘ โˆˆ โ„ค (((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†” (โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด โˆง โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต))
5 2z 12594 . . . . . . . . 9 2 โˆˆ โ„ค
6 zaddcl 12602 . . . . . . . . . 10 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ (๐‘Ž + ๐‘) โˆˆ โ„ค)
76peano2zd 12669 . . . . . . . . 9 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ ((๐‘Ž + ๐‘) + 1) โˆˆ โ„ค)
8 dvdsmul1 16221 . . . . . . . . 9 ((2 โˆˆ โ„ค โˆง ((๐‘Ž + ๐‘) + 1) โˆˆ โ„ค) โ†’ 2 โˆฅ (2 ยท ((๐‘Ž + ๐‘) + 1)))
95, 7, 8sylancr 588 . . . . . . . 8 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ 2 โˆฅ (2 ยท ((๐‘Ž + ๐‘) + 1)))
10 zcn 12563 . . . . . . . . 9 (๐‘Ž โˆˆ โ„ค โ†’ ๐‘Ž โˆˆ โ„‚)
11 zcn 12563 . . . . . . . . 9 (๐‘ โˆˆ โ„ค โ†’ ๐‘ โˆˆ โ„‚)
12 addcl 11192 . . . . . . . . . . . . 13 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (๐‘Ž + ๐‘) โˆˆ โ„‚)
13 2cn 12287 . . . . . . . . . . . . . 14 2 โˆˆ โ„‚
14 ax-1cn 11168 . . . . . . . . . . . . . 14 1 โˆˆ โ„‚
15 adddi 11199 . . . . . . . . . . . . . 14 ((2 โˆˆ โ„‚ โˆง (๐‘Ž + ๐‘) โˆˆ โ„‚ โˆง 1 โˆˆ โ„‚) โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = ((2 ยท (๐‘Ž + ๐‘)) + (2 ยท 1)))
1613, 14, 15mp3an13 1453 . . . . . . . . . . . . 13 ((๐‘Ž + ๐‘) โˆˆ โ„‚ โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = ((2 ยท (๐‘Ž + ๐‘)) + (2 ยท 1)))
1712, 16syl 17 . . . . . . . . . . . 12 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = ((2 ยท (๐‘Ž + ๐‘)) + (2 ยท 1)))
18 adddi 11199 . . . . . . . . . . . . . 14 ((2 โˆˆ โ„‚ โˆง ๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท (๐‘Ž + ๐‘)) = ((2 ยท ๐‘Ž) + (2 ยท ๐‘)))
1913, 18mp3an1 1449 . . . . . . . . . . . . 13 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท (๐‘Ž + ๐‘)) = ((2 ยท ๐‘Ž) + (2 ยท ๐‘)))
2019oveq1d 7424 . . . . . . . . . . . 12 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ ((2 ยท (๐‘Ž + ๐‘)) + (2 ยท 1)) = (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (2 ยท 1)))
2117, 20eqtrd 2773 . . . . . . . . . . 11 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (2 ยท 1)))
22 2t1e2 12375 . . . . . . . . . . . . 13 (2 ยท 1) = 2
23 df-2 12275 . . . . . . . . . . . . 13 2 = (1 + 1)
2422, 23eqtri 2761 . . . . . . . . . . . 12 (2 ยท 1) = (1 + 1)
2524oveq2i 7420 . . . . . . . . . . 11 (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (2 ยท 1)) = (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (1 + 1))
2621, 25eqtrdi 2789 . . . . . . . . . 10 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (1 + 1)))
27 mulcl 11194 . . . . . . . . . . . 12 ((2 โˆˆ โ„‚ โˆง ๐‘Ž โˆˆ โ„‚) โ†’ (2 ยท ๐‘Ž) โˆˆ โ„‚)
2813, 27mpan 689 . . . . . . . . . . 11 (๐‘Ž โˆˆ โ„‚ โ†’ (2 ยท ๐‘Ž) โˆˆ โ„‚)
29 mulcl 11194 . . . . . . . . . . . 12 ((2 โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท ๐‘) โˆˆ โ„‚)
3013, 29mpan 689 . . . . . . . . . . 11 (๐‘ โˆˆ โ„‚ โ†’ (2 ยท ๐‘) โˆˆ โ„‚)
31 add4 11434 . . . . . . . . . . . 12 ((((2 ยท ๐‘Ž) โˆˆ โ„‚ โˆง (2 ยท ๐‘) โˆˆ โ„‚) โˆง (1 โˆˆ โ„‚ โˆง 1 โˆˆ โ„‚)) โ†’ (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (1 + 1)) = (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)))
3214, 14, 31mpanr12 704 . . . . . . . . . . 11 (((2 ยท ๐‘Ž) โˆˆ โ„‚ โˆง (2 ยท ๐‘) โˆˆ โ„‚) โ†’ (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (1 + 1)) = (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)))
3328, 30, 32syl2an 597 . . . . . . . . . 10 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (((2 ยท ๐‘Ž) + (2 ยท ๐‘)) + (1 + 1)) = (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)))
3426, 33eqtrd 2773 . . . . . . . . 9 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)))
3510, 11, 34syl2an 597 . . . . . . . 8 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ (2 ยท ((๐‘Ž + ๐‘) + 1)) = (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)))
369, 35breqtrd 5175 . . . . . . 7 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ 2 โˆฅ (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)))
37 oveq12 7418 . . . . . . . 8 ((((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)) = (๐ด + ๐ต))
3837breq2d 5161 . . . . . . 7 ((((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ (2 โˆฅ (((2 ยท ๐‘Ž) + 1) + ((2 ยท ๐‘) + 1)) โ†” 2 โˆฅ (๐ด + ๐ต)))
3936, 38syl5ibcom 244 . . . . . 6 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ ((((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ 2 โˆฅ (๐ด + ๐ต)))
4039rexlimivv 3200 . . . . 5 (โˆƒ๐‘Ž โˆˆ โ„ค โˆƒ๐‘ โˆˆ โ„ค (((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ 2 โˆฅ (๐ด + ๐ต))
414, 40sylbir 234 . . . 4 ((โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด โˆง โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต) โ†’ 2 โˆฅ (๐ด + ๐ต))
423, 41syl6bi 253 . . 3 ((๐ด โˆˆ โ„ค โˆง ๐ต โˆˆ โ„ค) โ†’ ((ยฌ 2 โˆฅ ๐ด โˆง ยฌ 2 โˆฅ ๐ต) โ†’ 2 โˆฅ (๐ด + ๐ต)))
4342imp 408 . 2 (((๐ด โˆˆ โ„ค โˆง ๐ต โˆˆ โ„ค) โˆง (ยฌ 2 โˆฅ ๐ด โˆง ยฌ 2 โˆฅ ๐ต)) โ†’ 2 โˆฅ (๐ด + ๐ต))
4443an4s 659 1 (((๐ด โˆˆ โ„ค โˆง ยฌ 2 โˆฅ ๐ด) โˆง (๐ต โˆˆ โ„ค โˆง ยฌ 2 โˆฅ ๐ต)) โ†’ 2 โˆฅ (๐ด + ๐ต))
Colors of variables: wff setvar class
Syntax hints:  ยฌ wn 3   โ†’ wi 4   โˆง wa 397   = wceq 1542   โˆˆ wcel 2107  โˆƒwrex 3071   class class class wbr 5149  (class class class)co 7409  โ„‚cc 11108  1c1 11111   + caddc 11113   ยท cmul 11115  2c2 12267  โ„คcz 12558   โˆฅ cdvds 16197
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725  ax-resscn 11167  ax-1cn 11168  ax-icn 11169  ax-addcl 11170  ax-addrcl 11171  ax-mulcl 11172  ax-mulrcl 11173  ax-mulcom 11174  ax-addass 11175  ax-mulass 11176  ax-distr 11177  ax-i2m1 11178  ax-1ne0 11179  ax-1rid 11180  ax-rnegex 11181  ax-rrecex 11182  ax-cnre 11183  ax-pre-lttri 11184  ax-pre-lttrn 11185  ax-pre-ltadd 11186  ax-pre-mulgt0 11187
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3377  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6301  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-riota 7365  df-ov 7412  df-oprab 7413  df-mpo 7414  df-om 7856  df-2nd 7976  df-frecs 8266  df-wrecs 8297  df-recs 8371  df-rdg 8410  df-er 8703  df-en 8940  df-dom 8941  df-sdom 8942  df-pnf 11250  df-mnf 11251  df-xr 11252  df-ltxr 11253  df-le 11254  df-sub 11446  df-neg 11447  df-div 11872  df-nn 12213  df-2 12275  df-n0 12473  df-z 12559  df-dvds 16198
This theorem is referenced by:  sumodd  16331  pythagtriplem11  16758  prmlem0  17039  eupth2lem3lem4  29484
  Copyright terms: Public domain W3C validator