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

Theorem oddp1even 12457
Description: An integer is odd iff its successor is even. (Contributed by Mario Carneiro, 5-Sep-2016.)
Assertion
Ref Expression
oddp1even (𝑁 ∈ ℤ → (¬ 2 ∥ 𝑁 ↔ 2 ∥ (𝑁 + 1)))

Proof of Theorem oddp1even
StepHypRef Expression
1 oddm1even 12456 . 2 (𝑁 ∈ ℤ → (¬ 2 ∥ 𝑁 ↔ 2 ∥ (𝑁 − 1)))
2 2z 9509 . . 3 2 ∈ ℤ
3 peano2zm 9519 . . 3 (𝑁 ∈ ℤ → (𝑁 − 1) ∈ ℤ)
4 dvdsadd 12417 . . 3 ((2 ∈ ℤ ∧ (𝑁 − 1) ∈ ℤ) → (2 ∥ (𝑁 − 1) ↔ 2 ∥ (2 + (𝑁 − 1))))
52, 3, 4sylancr 414 . 2 (𝑁 ∈ ℤ → (2 ∥ (𝑁 − 1) ↔ 2 ∥ (2 + (𝑁 − 1))))
6 2cnd 9218 . . . . 5 (𝑁 ∈ ℤ → 2 ∈ ℂ)
7 zcn 9486 . . . . 5 (𝑁 ∈ ℤ → 𝑁 ∈ ℂ)
8 1cnd 8197 . . . . 5 (𝑁 ∈ ℤ → 1 ∈ ℂ)
96, 7, 8addsub12d 8515 . . . 4 (𝑁 ∈ ℤ → (2 + (𝑁 − 1)) = (𝑁 + (2 − 1)))
10 2m1e1 9263 . . . . 5 (2 − 1) = 1
1110oveq2i 6031 . . . 4 (𝑁 + (2 − 1)) = (𝑁 + 1)
129, 11eqtrdi 2279 . . 3 (𝑁 ∈ ℤ → (2 + (𝑁 − 1)) = (𝑁 + 1))
1312breq2d 4099 . 2 (𝑁 ∈ ℤ → (2 ∥ (2 + (𝑁 − 1)) ↔ 2 ∥ (𝑁 + 1)))
141, 5, 133bitrd 214 1 (𝑁 ∈ ℤ → (¬ 2 ∥ 𝑁 ↔ 2 ∥ (𝑁 + 1)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wb 105  wcel 2201   class class class wbr 4087  (class class class)co 6020  1c1 8035   + caddc 8037  cmin 8352  2c2 9196  cz 9481  cdvds 12368
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 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-13 2203  ax-14 2204  ax-ext 2212  ax-sep 4206  ax-pow 4263  ax-pr 4298  ax-un 4529  ax-setind 4634  ax-cnex 8125  ax-resscn 8126  ax-1cn 8127  ax-1re 8128  ax-icn 8129  ax-addcl 8130  ax-addrcl 8131  ax-mulcl 8132  ax-mulrcl 8133  ax-addcom 8134  ax-mulcom 8135  ax-addass 8136  ax-mulass 8137  ax-distr 8138  ax-i2m1 8139  ax-0lt1 8140  ax-1rid 8141  ax-0id 8142  ax-rnegex 8143  ax-precex 8144  ax-cnre 8145  ax-pre-ltirr 8146  ax-pre-ltwlin 8147  ax-pre-lttrn 8148  ax-pre-apti 8149  ax-pre-ltadd 8150  ax-pre-mulgt0 8151  ax-pre-mulext 8152
This theorem depends on definitions:  df-bi 117  df-3or 1005  df-3an 1006  df-tru 1400  df-fal 1403  df-xor 1420  df-nf 1509  df-sb 1810  df-eu 2081  df-mo 2082  df-clab 2217  df-cleq 2223  df-clel 2226  df-nfc 2362  df-ne 2402  df-nel 2497  df-ral 2514  df-rex 2515  df-reu 2516  df-rmo 2517  df-rab 2518  df-v 2803  df-sbc 3031  df-dif 3201  df-un 3203  df-in 3205  df-ss 3212  df-pw 3653  df-sn 3674  df-pr 3675  df-op 3677  df-uni 3893  df-int 3928  df-br 4088  df-opab 4150  df-id 4389  df-po 4392  df-iso 4393  df-xp 4730  df-rel 4731  df-cnv 4732  df-co 4733  df-dm 4734  df-iota 5285  df-fun 5327  df-fv 5333  df-riota 5973  df-ov 6023  df-oprab 6024  df-mpo 6025  df-pnf 8218  df-mnf 8219  df-xr 8220  df-ltxr 8221  df-le 8222  df-sub 8354  df-neg 8355  df-reap 8757  df-ap 8764  df-div 8855  df-inn 9146  df-2 9204  df-n0 9405  df-z 9482  df-dvds 12369
This theorem is referenced by:  zeo5  12469  oddp1d2  12471  n2dvdsm1  12494  2sqpwodd  12768  oddennn  13033
  Copyright terms: Public domain W3C validator