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

Theorem dfeven4 47115
Description: Alternate definition for even numbers. (Contributed by AV, 18-Jun-2020.)
Assertion
Ref Expression
dfeven4 Even = {𝑧 ∈ ℤ ∣ ∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖)}
Distinct variable group:   𝑧,𝑖

Proof of Theorem dfeven4
StepHypRef Expression
1 df-even 47103 . 2 Even = {𝑧 ∈ ℤ ∣ (𝑧 / 2) ∈ ℤ}
2 simpr 483 . . . . . 6 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → (𝑧 / 2) ∈ ℤ)
3 oveq2 7427 . . . . . . . 8 (𝑖 = (𝑧 / 2) → (2 · 𝑖) = (2 · (𝑧 / 2)))
43eqeq2d 2736 . . . . . . 7 (𝑖 = (𝑧 / 2) → (𝑧 = (2 · 𝑖) ↔ 𝑧 = (2 · (𝑧 / 2))))
54adantl 480 . . . . . 6 (((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) ∧ 𝑖 = (𝑧 / 2)) → (𝑧 = (2 · 𝑖) ↔ 𝑧 = (2 · (𝑧 / 2))))
6 zcn 12596 . . . . . . . . 9 (𝑧 ∈ ℤ → 𝑧 ∈ ℂ)
76adantr 479 . . . . . . . 8 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → 𝑧 ∈ ℂ)
8 2cnd 12323 . . . . . . . 8 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → 2 ∈ ℂ)
9 2ne0 12349 . . . . . . . . 9 2 ≠ 0
109a1i 11 . . . . . . . 8 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → 2 ≠ 0)
117, 8, 10divcan2d 12025 . . . . . . 7 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → (2 · (𝑧 / 2)) = 𝑧)
1211eqcomd 2731 . . . . . 6 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → 𝑧 = (2 · (𝑧 / 2)))
132, 5, 12rspcedvd 3608 . . . . 5 ((𝑧 ∈ ℤ ∧ (𝑧 / 2) ∈ ℤ) → ∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖))
1413ex 411 . . . 4 (𝑧 ∈ ℤ → ((𝑧 / 2) ∈ ℤ → ∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖)))
15 oveq1 7426 . . . . . . 7 (𝑧 = (2 · 𝑖) → (𝑧 / 2) = ((2 · 𝑖) / 2))
16 zcn 12596 . . . . . . . . 9 (𝑖 ∈ ℤ → 𝑖 ∈ ℂ)
1716adantl 480 . . . . . . . 8 ((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) → 𝑖 ∈ ℂ)
18 2cnd 12323 . . . . . . . 8 ((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) → 2 ∈ ℂ)
199a1i 11 . . . . . . . 8 ((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) → 2 ≠ 0)
2017, 18, 19divcan3d 12028 . . . . . . 7 ((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) → ((2 · 𝑖) / 2) = 𝑖)
2115, 20sylan9eqr 2787 . . . . . 6 (((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) ∧ 𝑧 = (2 · 𝑖)) → (𝑧 / 2) = 𝑖)
22 simpr 483 . . . . . . 7 ((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) → 𝑖 ∈ ℤ)
2322adantr 479 . . . . . 6 (((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) ∧ 𝑧 = (2 · 𝑖)) → 𝑖 ∈ ℤ)
2421, 23eqeltrd 2825 . . . . 5 (((𝑧 ∈ ℤ ∧ 𝑖 ∈ ℤ) ∧ 𝑧 = (2 · 𝑖)) → (𝑧 / 2) ∈ ℤ)
2524rexlimdva2 3146 . . . 4 (𝑧 ∈ ℤ → (∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖) → (𝑧 / 2) ∈ ℤ))
2614, 25impbid 211 . . 3 (𝑧 ∈ ℤ → ((𝑧 / 2) ∈ ℤ ↔ ∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖)))
2726rabbiia 3422 . 2 {𝑧 ∈ ℤ ∣ (𝑧 / 2) ∈ ℤ} = {𝑧 ∈ ℤ ∣ ∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖)}
281, 27eqtri 2753 1 Even = {𝑧 ∈ ℤ ∣ ∃𝑖 ∈ ℤ 𝑧 = (2 · 𝑖)}
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 394   = wceq 1533  wcel 2098  wne 2929  wrex 3059  {crab 3418  (class class class)co 7419  cc 11138  0cc0 11140   · cmul 11145   / cdiv 11903  2c2 12300  cz 12591   Even ceven 47101
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5300  ax-nul 5307  ax-pow 5365  ax-pr 5429  ax-un 7741  ax-resscn 11197  ax-1cn 11198  ax-icn 11199  ax-addcl 11200  ax-addrcl 11201  ax-mulcl 11202  ax-mulrcl 11203  ax-mulcom 11204  ax-addass 11205  ax-mulass 11206  ax-distr 11207  ax-i2m1 11208  ax-1ne0 11209  ax-1rid 11210  ax-rnegex 11211  ax-rrecex 11212  ax-cnre 11213  ax-pre-lttri 11214  ax-pre-lttrn 11215  ax-pre-ltadd 11216  ax-pre-mulgt0 11217
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-nel 3036  df-ral 3051  df-rex 3060  df-rmo 3363  df-reu 3364  df-rab 3419  df-v 3463  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4323  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4910  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5576  df-po 5590  df-so 5591  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-iota 6501  df-fun 6551  df-fn 6552  df-f 6553  df-f1 6554  df-fo 6555  df-f1o 6556  df-fv 6557  df-riota 7375  df-ov 7422  df-oprab 7423  df-mpo 7424  df-er 8725  df-en 8965  df-dom 8966  df-sdom 8967  df-pnf 11282  df-mnf 11283  df-xr 11284  df-ltxr 11285  df-le 11286  df-sub 11478  df-neg 11479  df-div 11904  df-2 12308  df-z 12592  df-even 47103
This theorem is referenced by:  m1expevenALTV  47124  dfeven2  47126  opoeALTV  47160  opeoALTV  47161
  Copyright terms: Public domain W3C validator