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

Theorem nnneo 8621
Description: If a natural number is even, its successor is odd. (Contributed by Mario Carneiro, 16-Nov-2014.)
Assertion
Ref Expression
nnneo ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง ๐ถ = (2o ยทo ๐ด)) โ†’ ยฌ suc ๐ถ = (2o ยทo ๐ต))

Proof of Theorem nnneo
StepHypRef Expression
1 nnon 7828 . . . 4 (๐ด โˆˆ ฯ‰ โ†’ ๐ด โˆˆ On)
2 onnbtwn 6431 . . . 4 (๐ด โˆˆ On โ†’ ยฌ (๐ด โˆˆ ๐ต โˆง ๐ต โˆˆ suc ๐ด))
31, 2syl 17 . . 3 (๐ด โˆˆ ฯ‰ โ†’ ยฌ (๐ด โˆˆ ๐ต โˆง ๐ต โˆˆ suc ๐ด))
433ad2ant1 1133 . 2 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง ๐ถ = (2o ยทo ๐ด)) โ†’ ยฌ (๐ด โˆˆ ๐ต โˆง ๐ต โˆˆ suc ๐ด))
5 suceq 6403 . . . . 5 (๐ถ = (2o ยทo ๐ด) โ†’ suc ๐ถ = suc (2o ยทo ๐ด))
65eqeq1d 2733 . . . 4 (๐ถ = (2o ยทo ๐ด) โ†’ (suc ๐ถ = (2o ยทo ๐ต) โ†” suc (2o ยทo ๐ด) = (2o ยทo ๐ต)))
763ad2ant3 1135 . . 3 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง ๐ถ = (2o ยทo ๐ด)) โ†’ (suc ๐ถ = (2o ยทo ๐ต) โ†” suc (2o ยทo ๐ด) = (2o ยทo ๐ต)))
8 ovex 7410 . . . . . . . 8 (2o ยทo ๐ด) โˆˆ V
98sucid 6419 . . . . . . 7 (2o ยทo ๐ด) โˆˆ suc (2o ยทo ๐ด)
10 eleq2 2821 . . . . . . 7 (suc (2o ยทo ๐ด) = (2o ยทo ๐ต) โ†’ ((2o ยทo ๐ด) โˆˆ suc (2o ยทo ๐ด) โ†” (2o ยทo ๐ด) โˆˆ (2o ยทo ๐ต)))
119, 10mpbii 232 . . . . . 6 (suc (2o ยทo ๐ด) = (2o ยทo ๐ต) โ†’ (2o ยทo ๐ด) โˆˆ (2o ยทo ๐ต))
12 2onn 8608 . . . . . . . 8 2o โˆˆ ฯ‰
13 nnmord 8599 . . . . . . . 8 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง 2o โˆˆ ฯ‰) โ†’ ((๐ด โˆˆ ๐ต โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ด) โˆˆ (2o ยทo ๐ต)))
1412, 13mp3an3 1450 . . . . . . 7 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โ†’ ((๐ด โˆˆ ๐ต โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ด) โˆˆ (2o ยทo ๐ต)))
15 simpl 483 . . . . . . 7 ((๐ด โˆˆ ๐ต โˆง โˆ… โˆˆ 2o) โ†’ ๐ด โˆˆ ๐ต)
1614, 15syl6bir 253 . . . . . 6 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โ†’ ((2o ยทo ๐ด) โˆˆ (2o ยทo ๐ต) โ†’ ๐ด โˆˆ ๐ต))
1711, 16syl5 34 . . . . 5 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โ†’ (suc (2o ยทo ๐ด) = (2o ยทo ๐ต) โ†’ ๐ด โˆˆ ๐ต))
18 simpr 485 . . . . . . . . 9 (((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โˆง suc (2o ยทo ๐ด) = (2o ยทo ๐ต)) โ†’ suc (2o ยทo ๐ด) = (2o ยทo ๐ต))
19 nnmcl 8579 . . . . . . . . . . . . 13 ((2o โˆˆ ฯ‰ โˆง ๐ด โˆˆ ฯ‰) โ†’ (2o ยทo ๐ด) โˆˆ ฯ‰)
2012, 19mpan 688 . . . . . . . . . . . 12 (๐ด โˆˆ ฯ‰ โ†’ (2o ยทo ๐ด) โˆˆ ฯ‰)
21 nnon 7828 . . . . . . . . . . . 12 ((2o ยทo ๐ด) โˆˆ ฯ‰ โ†’ (2o ยทo ๐ด) โˆˆ On)
22 oa1suc 8497 . . . . . . . . . . . 12 ((2o ยทo ๐ด) โˆˆ On โ†’ ((2o ยทo ๐ด) +o 1o) = suc (2o ยทo ๐ด))
2320, 21, 223syl 18 . . . . . . . . . . 11 (๐ด โˆˆ ฯ‰ โ†’ ((2o ยทo ๐ด) +o 1o) = suc (2o ยทo ๐ด))
24 1oex 8442 . . . . . . . . . . . . . . 15 1o โˆˆ V
2524sucid 6419 . . . . . . . . . . . . . 14 1o โˆˆ suc 1o
26 df-2o 8433 . . . . . . . . . . . . . 14 2o = suc 1o
2725, 26eleqtrri 2831 . . . . . . . . . . . . 13 1o โˆˆ 2o
28 1onn 8606 . . . . . . . . . . . . . 14 1o โˆˆ ฯ‰
29 nnaord 8586 . . . . . . . . . . . . . 14 ((1o โˆˆ ฯ‰ โˆง 2o โˆˆ ฯ‰ โˆง (2o ยทo ๐ด) โˆˆ ฯ‰) โ†’ (1o โˆˆ 2o โ†” ((2o ยทo ๐ด) +o 1o) โˆˆ ((2o ยทo ๐ด) +o 2o)))
3028, 12, 20, 29mp3an12i 1465 . . . . . . . . . . . . 13 (๐ด โˆˆ ฯ‰ โ†’ (1o โˆˆ 2o โ†” ((2o ยทo ๐ด) +o 1o) โˆˆ ((2o ยทo ๐ด) +o 2o)))
3127, 30mpbii 232 . . . . . . . . . . . 12 (๐ด โˆˆ ฯ‰ โ†’ ((2o ยทo ๐ด) +o 1o) โˆˆ ((2o ยทo ๐ด) +o 2o))
32 nnmsuc 8574 . . . . . . . . . . . . 13 ((2o โˆˆ ฯ‰ โˆง ๐ด โˆˆ ฯ‰) โ†’ (2o ยทo suc ๐ด) = ((2o ยทo ๐ด) +o 2o))
3312, 32mpan 688 . . . . . . . . . . . 12 (๐ด โˆˆ ฯ‰ โ†’ (2o ยทo suc ๐ด) = ((2o ยทo ๐ด) +o 2o))
3431, 33eleqtrrd 2835 . . . . . . . . . . 11 (๐ด โˆˆ ฯ‰ โ†’ ((2o ยทo ๐ด) +o 1o) โˆˆ (2o ยทo suc ๐ด))
3523, 34eqeltrrd 2833 . . . . . . . . . 10 (๐ด โˆˆ ฯ‰ โ†’ suc (2o ยทo ๐ด) โˆˆ (2o ยทo suc ๐ด))
3635ad2antrr 724 . . . . . . . . 9 (((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โˆง suc (2o ยทo ๐ด) = (2o ยทo ๐ต)) โ†’ suc (2o ยทo ๐ด) โˆˆ (2o ยทo suc ๐ด))
3718, 36eqeltrrd 2833 . . . . . . . 8 (((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โˆง suc (2o ยทo ๐ด) = (2o ยทo ๐ต)) โ†’ (2o ยทo ๐ต) โˆˆ (2o ยทo suc ๐ด))
38 peano2 7847 . . . . . . . . . . 11 (๐ด โˆˆ ฯ‰ โ†’ suc ๐ด โˆˆ ฯ‰)
39 nnmord 8599 . . . . . . . . . . . 12 ((๐ต โˆˆ ฯ‰ โˆง suc ๐ด โˆˆ ฯ‰ โˆง 2o โˆˆ ฯ‰) โ†’ ((๐ต โˆˆ suc ๐ด โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ต) โˆˆ (2o ยทo suc ๐ด)))
4012, 39mp3an3 1450 . . . . . . . . . . 11 ((๐ต โˆˆ ฯ‰ โˆง suc ๐ด โˆˆ ฯ‰) โ†’ ((๐ต โˆˆ suc ๐ด โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ต) โˆˆ (2o ยทo suc ๐ด)))
4138, 40sylan2 593 . . . . . . . . . 10 ((๐ต โˆˆ ฯ‰ โˆง ๐ด โˆˆ ฯ‰) โ†’ ((๐ต โˆˆ suc ๐ด โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ต) โˆˆ (2o ยทo suc ๐ด)))
4241ancoms 459 . . . . . . . . 9 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โ†’ ((๐ต โˆˆ suc ๐ด โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ต) โˆˆ (2o ยทo suc ๐ด)))
4342adantr 481 . . . . . . . 8 (((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โˆง suc (2o ยทo ๐ด) = (2o ยทo ๐ต)) โ†’ ((๐ต โˆˆ suc ๐ด โˆง โˆ… โˆˆ 2o) โ†” (2o ยทo ๐ต) โˆˆ (2o ยทo suc ๐ด)))
4437, 43mpbird 256 . . . . . . 7 (((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โˆง suc (2o ยทo ๐ด) = (2o ยทo ๐ต)) โ†’ (๐ต โˆˆ suc ๐ด โˆง โˆ… โˆˆ 2o))
4544simpld 495 . . . . . 6 (((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โˆง suc (2o ยทo ๐ด) = (2o ยทo ๐ต)) โ†’ ๐ต โˆˆ suc ๐ด)
4645ex 413 . . . . 5 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โ†’ (suc (2o ยทo ๐ด) = (2o ยทo ๐ต) โ†’ ๐ต โˆˆ suc ๐ด))
4717, 46jcad 513 . . . 4 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰) โ†’ (suc (2o ยทo ๐ด) = (2o ยทo ๐ต) โ†’ (๐ด โˆˆ ๐ต โˆง ๐ต โˆˆ suc ๐ด)))
48473adant3 1132 . . 3 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง ๐ถ = (2o ยทo ๐ด)) โ†’ (suc (2o ยทo ๐ด) = (2o ยทo ๐ต) โ†’ (๐ด โˆˆ ๐ต โˆง ๐ต โˆˆ suc ๐ด)))
497, 48sylbid 239 . 2 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง ๐ถ = (2o ยทo ๐ด)) โ†’ (suc ๐ถ = (2o ยทo ๐ต) โ†’ (๐ด โˆˆ ๐ต โˆง ๐ต โˆˆ suc ๐ด)))
504, 49mtod 197 1 ((๐ด โˆˆ ฯ‰ โˆง ๐ต โˆˆ ฯ‰ โˆง ๐ถ = (2o ยทo ๐ด)) โ†’ ยฌ suc ๐ถ = (2o ยทo ๐ต))
Colors of variables: wff setvar class
Syntax hints:  ยฌ wn 3   โ†’ wi 4   โ†” wb 205   โˆง wa 396   โˆง w3a 1087   = wceq 1541   โˆˆ wcel 2106  โˆ…c0 4302  Oncon0 6337  suc csuc 6339  (class class class)co 7377  ฯ‰com 7822  1oc1o 8425  2oc2o 8426   +o coa 8429   ยทo comu 8430
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-sep 5276  ax-nul 5283  ax-pr 5404  ax-un 7692
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-reu 3365  df-rab 3419  df-v 3461  df-sbc 3758  df-csb 3874  df-dif 3931  df-un 3933  df-in 3935  df-ss 3945  df-pss 3947  df-nul 4303  df-if 4507  df-pw 4582  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4886  df-iun 4976  df-br 5126  df-opab 5188  df-mpt 5209  df-tr 5243  df-id 5551  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5608  df-we 5610  df-xp 5659  df-rel 5660  df-cnv 5661  df-co 5662  df-dm 5663  df-rn 5664  df-res 5665  df-ima 5666  df-pred 6273  df-ord 6340  df-on 6341  df-lim 6342  df-suc 6343  df-iota 6468  df-fun 6518  df-fn 6519  df-f 6520  df-f1 6521  df-fo 6522  df-f1o 6523  df-fv 6524  df-ov 7380  df-oprab 7381  df-mpo 7382  df-om 7823  df-2nd 7942  df-frecs 8232  df-wrecs 8263  df-recs 8337  df-rdg 8376  df-1o 8432  df-2o 8433  df-oadd 8436  df-omul 8437
This theorem is referenced by:  nneob  8622
  Copyright terms: Public domain W3C validator