Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  isodd Structured version   Visualization version   GIF version

Theorem isodd 45081
Description: The predicate "is an odd number". An odd number is an integer which is not divisible by 2, i.e. the result of dividing the odd integer increased by 1 and then divided by 2 is still an integer. (Contributed by AV, 14-Jun-2020.)
Assertion
Ref Expression
isodd (𝑍 ∈ Odd ↔ (𝑍 ∈ ℤ ∧ ((𝑍 + 1) / 2) ∈ ℤ))

Proof of Theorem isodd
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 oveq1 7282 . . . 4 (𝑧 = 𝑍 → (𝑧 + 1) = (𝑍 + 1))
21oveq1d 7290 . . 3 (𝑧 = 𝑍 → ((𝑧 + 1) / 2) = ((𝑍 + 1) / 2))
32eleq1d 2823 . 2 (𝑧 = 𝑍 → (((𝑧 + 1) / 2) ∈ ℤ ↔ ((𝑍 + 1) / 2) ∈ ℤ))
4 df-odd 45079 . 2 Odd = {𝑧 ∈ ℤ ∣ ((𝑧 + 1) / 2) ∈ ℤ}
53, 4elrab2 3627 1 (𝑍 ∈ Odd ↔ (𝑍 ∈ ℤ ∧ ((𝑍 + 1) / 2) ∈ ℤ))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wcel 2106  (class class class)co 7275  1c1 10872   + caddc 10874   / cdiv 11632  2c2 12028  cz 12319   Odd codd 45077
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-iota 6391  df-fv 6441  df-ov 7278  df-odd 45079
This theorem is referenced by:  oddz  45083  oddp1div2z  45085  isodd2  45087  evenm1odd  45091  evennodd  45095  oddneven  45096  onego  45098  zeoALTV  45122  oddp1evenALTV  45128  1oddALTV  45142
  Copyright terms: Public domain W3C validator