ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  omoe GIF version

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

Proof of Theorem omoe
Dummy variables ๐‘Ž ๐‘ are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 odd2np1 11878 . . . . 5 (๐ด โˆˆ โ„ค โ†’ (ยฌ 2 โˆฅ ๐ด โ†” โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด))
2 odd2np1 11878 . . . . 5 (๐ต โˆˆ โ„ค โ†’ (ยฌ 2 โˆฅ ๐ต โ†” โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต))
31, 2bi2anan9 606 . . . 4 ((๐ด โˆˆ โ„ค โˆง ๐ต โˆˆ โ„ค) โ†’ ((ยฌ 2 โˆฅ ๐ด โˆง ยฌ 2 โˆฅ ๐ต) โ†” (โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด โˆง โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต)))
4 reeanv 2647 . . . . 5 (โˆƒ๐‘Ž โˆˆ โ„ค โˆƒ๐‘ โˆˆ โ„ค (((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†” (โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด โˆง โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต))
5 2z 9281 . . . . . . . . 9 2 โˆˆ โ„ค
6 zsubcl 9294 . . . . . . . . 9 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ (๐‘Ž โˆ’ ๐‘) โˆˆ โ„ค)
7 dvdsmul1 11820 . . . . . . . . 9 ((2 โˆˆ โ„ค โˆง (๐‘Ž โˆ’ ๐‘) โˆˆ โ„ค) โ†’ 2 โˆฅ (2 ยท (๐‘Ž โˆ’ ๐‘)))
85, 6, 7sylancr 414 . . . . . . . 8 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ 2 โˆฅ (2 ยท (๐‘Ž โˆ’ ๐‘)))
9 zcn 9258 . . . . . . . . 9 (๐‘Ž โˆˆ โ„ค โ†’ ๐‘Ž โˆˆ โ„‚)
10 zcn 9258 . . . . . . . . 9 (๐‘ โˆˆ โ„ค โ†’ ๐‘ โˆˆ โ„‚)
11 2cn 8990 . . . . . . . . . . . 12 2 โˆˆ โ„‚
12 mulcl 7938 . . . . . . . . . . . 12 ((2 โˆˆ โ„‚ โˆง ๐‘Ž โˆˆ โ„‚) โ†’ (2 ยท ๐‘Ž) โˆˆ โ„‚)
1311, 12mpan 424 . . . . . . . . . . 11 (๐‘Ž โˆˆ โ„‚ โ†’ (2 ยท ๐‘Ž) โˆˆ โ„‚)
14 mulcl 7938 . . . . . . . . . . . 12 ((2 โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท ๐‘) โˆˆ โ„‚)
1511, 14mpan 424 . . . . . . . . . . 11 (๐‘ โˆˆ โ„‚ โ†’ (2 ยท ๐‘) โˆˆ โ„‚)
16 ax-1cn 7904 . . . . . . . . . . . 12 1 โˆˆ โ„‚
17 pnpcan2 8197 . . . . . . . . . . . 12 (((2 ยท ๐‘Ž) โˆˆ โ„‚ โˆง (2 ยท ๐‘) โˆˆ โ„‚ โˆง 1 โˆˆ โ„‚) โ†’ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) = ((2 ยท ๐‘Ž) โˆ’ (2 ยท ๐‘)))
1816, 17mp3an3 1326 . . . . . . . . . . 11 (((2 ยท ๐‘Ž) โˆˆ โ„‚ โˆง (2 ยท ๐‘) โˆˆ โ„‚) โ†’ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) = ((2 ยท ๐‘Ž) โˆ’ (2 ยท ๐‘)))
1913, 15, 18syl2an 289 . . . . . . . . . 10 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) = ((2 ยท ๐‘Ž) โˆ’ (2 ยท ๐‘)))
20 subdi 8342 . . . . . . . . . . 11 ((2 โˆˆ โ„‚ โˆง ๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท (๐‘Ž โˆ’ ๐‘)) = ((2 ยท ๐‘Ž) โˆ’ (2 ยท ๐‘)))
2111, 20mp3an1 1324 . . . . . . . . . 10 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (2 ยท (๐‘Ž โˆ’ ๐‘)) = ((2 ยท ๐‘Ž) โˆ’ (2 ยท ๐‘)))
2219, 21eqtr4d 2213 . . . . . . . . 9 ((๐‘Ž โˆˆ โ„‚ โˆง ๐‘ โˆˆ โ„‚) โ†’ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) = (2 ยท (๐‘Ž โˆ’ ๐‘)))
239, 10, 22syl2an 289 . . . . . . . 8 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) = (2 ยท (๐‘Ž โˆ’ ๐‘)))
248, 23breqtrrd 4032 . . . . . . 7 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ 2 โˆฅ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)))
25 oveq12 5884 . . . . . . . 8 ((((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) = (๐ด โˆ’ ๐ต))
2625breq2d 4016 . . . . . . 7 ((((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ (2 โˆฅ (((2 ยท ๐‘Ž) + 1) โˆ’ ((2 ยท ๐‘) + 1)) โ†” 2 โˆฅ (๐ด โˆ’ ๐ต)))
2724, 26syl5ibcom 155 . . . . . 6 ((๐‘Ž โˆˆ โ„ค โˆง ๐‘ โˆˆ โ„ค) โ†’ ((((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ 2 โˆฅ (๐ด โˆ’ ๐ต)))
2827rexlimivv 2600 . . . . 5 (โˆƒ๐‘Ž โˆˆ โ„ค โˆƒ๐‘ โˆˆ โ„ค (((2 ยท ๐‘Ž) + 1) = ๐ด โˆง ((2 ยท ๐‘) + 1) = ๐ต) โ†’ 2 โˆฅ (๐ด โˆ’ ๐ต))
294, 28sylbir 135 . . . 4 ((โˆƒ๐‘Ž โˆˆ โ„ค ((2 ยท ๐‘Ž) + 1) = ๐ด โˆง โˆƒ๐‘ โˆˆ โ„ค ((2 ยท ๐‘) + 1) = ๐ต) โ†’ 2 โˆฅ (๐ด โˆ’ ๐ต))
303, 29syl6bi 163 . . 3 ((๐ด โˆˆ โ„ค โˆง ๐ต โˆˆ โ„ค) โ†’ ((ยฌ 2 โˆฅ ๐ด โˆง ยฌ 2 โˆฅ ๐ต) โ†’ 2 โˆฅ (๐ด โˆ’ ๐ต)))
3130imp 124 . 2 (((๐ด โˆˆ โ„ค โˆง ๐ต โˆˆ โ„ค) โˆง (ยฌ 2 โˆฅ ๐ด โˆง ยฌ 2 โˆฅ ๐ต)) โ†’ 2 โˆฅ (๐ด โˆ’ ๐ต))
3231an4s 588 1 (((๐ด โˆˆ โ„ค โˆง ยฌ 2 โˆฅ ๐ด) โˆง (๐ต โˆˆ โ„ค โˆง ยฌ 2 โˆฅ ๐ต)) โ†’ 2 โˆฅ (๐ด โˆ’ ๐ต))
Colors of variables: wff set class
Syntax hints:  ยฌ wn 3   โ†’ wi 4   โˆง wa 104   = wceq 1353   โˆˆ wcel 2148  โˆƒwrex 2456   class class class wbr 4004  (class class class)co 5875  โ„‚cc 7809  1c1 7812   + caddc 7814   ยท cmul 7816   โˆ’ cmin 8128  2c2 8970  โ„คcz 9253   โˆฅ cdvds 11794
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4122  ax-pow 4175  ax-pr 4210  ax-un 4434  ax-setind 4537  ax-cnex 7902  ax-resscn 7903  ax-1cn 7904  ax-1re 7905  ax-icn 7906  ax-addcl 7907  ax-addrcl 7908  ax-mulcl 7909  ax-mulrcl 7910  ax-addcom 7911  ax-mulcom 7912  ax-addass 7913  ax-mulass 7914  ax-distr 7915  ax-i2m1 7916  ax-0lt1 7917  ax-1rid 7918  ax-0id 7919  ax-rnegex 7920  ax-precex 7921  ax-cnre 7922  ax-pre-ltirr 7923  ax-pre-ltwlin 7924  ax-pre-lttrn 7925  ax-pre-apti 7926  ax-pre-ltadd 7927  ax-pre-mulgt0 7928  ax-pre-mulext 7929
This theorem depends on definitions:  df-bi 117  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-xor 1376  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-nel 2443  df-ral 2460  df-rex 2461  df-reu 2462  df-rmo 2463  df-rab 2464  df-v 2740  df-sbc 2964  df-dif 3132  df-un 3134  df-in 3136  df-ss 3143  df-pw 3578  df-sn 3599  df-pr 3600  df-op 3602  df-uni 3811  df-int 3846  df-br 4005  df-opab 4066  df-id 4294  df-po 4297  df-iso 4298  df-xp 4633  df-rel 4634  df-cnv 4635  df-co 4636  df-dm 4637  df-iota 5179  df-fun 5219  df-fv 5225  df-riota 5831  df-ov 5878  df-oprab 5879  df-mpo 5880  df-pnf 7994  df-mnf 7995  df-xr 7996  df-ltxr 7997  df-le 7998  df-sub 8130  df-neg 8131  df-reap 8532  df-ap 8539  df-div 8630  df-inn 8920  df-2 8978  df-n0 9177  df-z 9254  df-dvds 11795
This theorem is referenced by:  oddprm  12259  pythagtriplem13  12276
  Copyright terms: Public domain W3C validator