Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > isodd | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
isodd | ⊢ (𝑍 ∈ Odd ↔ (𝑍 ∈ ℤ ∧ ((𝑍 + 1) / 2) ∈ ℤ)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq1 7262 | . . . 4 ⊢ (𝑧 = 𝑍 → (𝑧 + 1) = (𝑍 + 1)) | |
2 | 1 | oveq1d 7270 | . . 3 ⊢ (𝑧 = 𝑍 → ((𝑧 + 1) / 2) = ((𝑍 + 1) / 2)) |
3 | 2 | eleq1d 2823 | . 2 ⊢ (𝑧 = 𝑍 → (((𝑧 + 1) / 2) ∈ ℤ ↔ ((𝑍 + 1) / 2) ∈ ℤ)) |
4 | df-odd 44967 | . 2 ⊢ Odd = {𝑧 ∈ ℤ ∣ ((𝑧 + 1) / 2) ∈ ℤ} | |
5 | 3, 4 | elrab2 3620 | 1 ⊢ (𝑍 ∈ Odd ↔ (𝑍 ∈ ℤ ∧ ((𝑍 + 1) / 2) ∈ ℤ)) |
Colors of variables: wff setvar class |
Syntax hints: ↔ wb 205 ∧ wa 395 = wceq 1539 ∈ wcel 2108 (class class class)co 7255 1c1 10803 + caddc 10805 / cdiv 11562 2c2 11958 ℤcz 12249 Odd codd 44965 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1784 df-sb 2069 df-clab 2716 df-cleq 2730 df-clel 2817 df-rab 3072 df-v 3424 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4254 df-if 4457 df-sn 4559 df-pr 4561 df-op 4565 df-uni 4837 df-br 5071 df-iota 6376 df-fv 6426 df-ov 7258 df-odd 44967 |
This theorem is referenced by: oddz 44971 oddp1div2z 44973 isodd2 44975 evenm1odd 44979 evennodd 44983 oddneven 44984 onego 44986 zeoALTV 45010 oddp1evenALTV 45016 1oddALTV 45030 |
Copyright terms: Public domain | W3C validator |