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

Theorem onego 48880
Description: The negative of an odd number is odd. (Contributed by AV, 20-Jun-2020.)
Assertion
Ref Expression
onego (𝐴 ∈ Odd → -𝐴 ∈ Odd )

Proof of Theorem onego
StepHypRef Expression
1 znegcl 12738 . . . 4 (𝐴 ∈ ℤ → -𝐴 ∈ ℤ)
21adantr 486 . . 3 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → -𝐴 ∈ ℤ)
3 znegcl 12738 . . . . . 6 (((𝐴 − 1) / 2) ∈ ℤ → -((𝐴 − 1) / 2) ∈ ℤ)
43adantl 487 . . . . 5 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → -((𝐴 − 1) / 2) ∈ ℤ)
5 peano2zm 12746 . . . . . . . 8 (𝐴 ∈ ℤ → (𝐴 − 1) ∈ ℤ)
65zcnd 12811 . . . . . . 7 (𝐴 ∈ ℤ → (𝐴 − 1) ∈ ℂ)
76adantr 486 . . . . . 6 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → (𝐴 − 1) ∈ ℂ)
8 2cnd 12428 . . . . . 6 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → 2 ∈ ℂ)
9 2ne0 12456 . . . . . . 7 2 ≠ 0
109a1i 11 . . . . . 6 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → 2 ≠ 0)
11 divneg 12015 . . . . . . 7 (((𝐴 − 1) ∈ ℂ ∧ 2 ∈ ℂ ∧ 2 ≠ 0) → -((𝐴 − 1) / 2) = ( -(𝐴 − 1) / 2))
1211eleq1d 2845 . . . . . 6 (((𝐴 − 1) ∈ ℂ ∧ 2 ∈ ℂ ∧ 2 ≠ 0) → ( -((𝐴 − 1) / 2) ∈ ℤ ↔ ( -(𝐴 − 1) / 2) ∈ ℤ))
137, 8, 10, 12syl3anc 1398 . . . . 5 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → ( -((𝐴 − 1) / 2) ∈ ℤ ↔ ( -(𝐴 − 1) / 2) ∈ ℤ))
144, 13mpbid 235 . . . 4 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → ( -(𝐴 − 1) / 2) ∈ ℤ)
15 zcn 12705 . . . . . . . 8 (𝐴 ∈ ℤ → 𝐴 ∈ ℂ)
16 1cnd 11309 . . . . . . . 8 (𝐴 ∈ ℤ → 1 ∈ ℂ)
17 negsubdi 11621 . . . . . . . . 9 ((𝐴 ∈ ℂ ∧ 1 ∈ ℂ) → -(𝐴 − 1) = ( -𝐴 + 1))
1817eqcomd 2766 . . . . . . . 8 ((𝐴 ∈ ℂ ∧ 1 ∈ ℂ) → ( -𝐴 + 1) = -(𝐴 − 1))
1915, 16, 18syl2anc 596 . . . . . . 7 (𝐴 ∈ ℤ → ( -𝐴 + 1) = -(𝐴 − 1))
2019oveq1d 7439 . . . . . 6 (𝐴 ∈ ℤ → (( -𝐴 + 1) / 2) = ( -(𝐴 − 1) / 2))
2120eleq1d 2845 . . . . 5 (𝐴 ∈ ℤ → ((( -𝐴 + 1) / 2) ∈ ℤ ↔ ( -(𝐴 − 1) / 2) ∈ ℤ))
2221adantr 486 . . . 4 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → ((( -𝐴 + 1) / 2) ∈ ℤ ↔ ( -(𝐴 − 1) / 2) ∈ ℤ))
2314, 22mpbird 260 . . 3 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → (( -𝐴 + 1) / 2) ∈ ℤ)
242, 23jca 521 . 2 ((𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ) → ( -𝐴 ∈ ℤ ∧ (( -𝐴 + 1) / 2) ∈ ℤ))
25 isodd2 48869 . 2 (𝐴 ∈ Odd ↔ (𝐴 ∈ ℤ ∧ ((𝐴 − 1) / 2) ∈ ℤ))
26 isodd 48863 . 2 ( -𝐴 ∈ Odd ↔ ( -𝐴 ∈ ℤ ∧ (( -𝐴 + 1) / 2) ∈ ℤ))
2724, 25, 263imtr4i 295 1 (𝐴 ∈ Odd → -𝐴 ∈ Odd )
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  (class class class)co 7424  ℂcc 11205  0cc0 11207  1c1 11208   + caddc 11210   − cmin 11548   -cneg 11549   / cdiv 11980  2c2 12404  ℤcz 12700   Odd codd 48859
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-div 11981  df-nn 12343  df-2 12412  df-n0 12614  df-z 12701  df-odd 48861
This theorem is used by:  omoeALTV  48919  emoo  48938
  Copyright terms: Public domain W3C validator