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

Theorem nn0ehalf 12451
Description: The half of an even nonnegative integer is a nonnegative integer. (Contributed by AV, 22-Jun-2020.) (Revised by AV, 28-Jun-2021.)
Assertion
Ref Expression
nn0ehalf ((𝑁 ∈ ℕ0 ∧ 2 ∥ 𝑁) → (𝑁 / 2) ∈ ℕ0)

Proof of Theorem nn0ehalf
StepHypRef Expression
1 nn0z 9487 . . . 4 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
2 evend2 12437 . . . 4 (𝑁 ∈ ℤ → (2 ∥ 𝑁 ↔ (𝑁 / 2) ∈ ℤ))
31, 2syl 14 . . 3 (𝑁 ∈ ℕ0 → (2 ∥ 𝑁 ↔ (𝑁 / 2) ∈ ℤ))
4 nn0ge0 9415 . . . . . . . 8 (𝑁 ∈ ℕ0 → 0 ≤ 𝑁)
5 nn0re 9399 . . . . . . . . 9 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
6 2re 9201 . . . . . . . . . 10 2 ∈ ℝ
76a1i 9 . . . . . . . . 9 (𝑁 ∈ ℕ0 → 2 ∈ ℝ)
8 2pos 9222 . . . . . . . . . 10 0 < 2
98a1i 9 . . . . . . . . 9 (𝑁 ∈ ℕ0 → 0 < 2)
10 ge0div 9039 . . . . . . . . 9 ((𝑁 ∈ ℝ ∧ 2 ∈ ℝ ∧ 0 < 2) → (0 ≤ 𝑁 ↔ 0 ≤ (𝑁 / 2)))
115, 7, 9, 10syl3anc 1271 . . . . . . . 8 (𝑁 ∈ ℕ0 → (0 ≤ 𝑁 ↔ 0 ≤ (𝑁 / 2)))
124, 11mpbid 147 . . . . . . 7 (𝑁 ∈ ℕ0 → 0 ≤ (𝑁 / 2))
1312anim1i 340 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑁 / 2) ∈ ℤ) → (0 ≤ (𝑁 / 2) ∧ (𝑁 / 2) ∈ ℤ))
1413ancomd 267 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑁 / 2) ∈ ℤ) → ((𝑁 / 2) ∈ ℤ ∧ 0 ≤ (𝑁 / 2)))
15 elnn0z 9480 . . . . 5 ((𝑁 / 2) ∈ ℕ0 ↔ ((𝑁 / 2) ∈ ℤ ∧ 0 ≤ (𝑁 / 2)))
1614, 15sylibr 134 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑁 / 2) ∈ ℤ) → (𝑁 / 2) ∈ ℕ0)
1716ex 115 . . 3 (𝑁 ∈ ℕ0 → ((𝑁 / 2) ∈ ℤ → (𝑁 / 2) ∈ ℕ0))
183, 17sylbid 150 . 2 (𝑁 ∈ ℕ0 → (2 ∥ 𝑁 → (𝑁 / 2) ∈ ℕ0))
1918imp 124 1 ((𝑁 ∈ ℕ0 ∧ 2 ∥ 𝑁) → (𝑁 / 2) ∈ ℕ0)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  wcel 2200   class class class wbr 4084  (class class class)co 6011  cr 8019  0cc0 8020   < clt 8202  cle 8203   / cdiv 8840  2c2 9182  0cn0 9390  cz 9467  cdvds 12335
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 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-sep 4203  ax-pow 4260  ax-pr 4295  ax-un 4526  ax-setind 4631  ax-cnex 8111  ax-resscn 8112  ax-1cn 8113  ax-1re 8114  ax-icn 8115  ax-addcl 8116  ax-addrcl 8117  ax-mulcl 8118  ax-mulrcl 8119  ax-addcom 8120  ax-mulcom 8121  ax-addass 8122  ax-mulass 8123  ax-distr 8124  ax-i2m1 8125  ax-0lt1 8126  ax-1rid 8127  ax-0id 8128  ax-rnegex 8129  ax-precex 8130  ax-cnre 8131  ax-pre-ltirr 8132  ax-pre-ltwlin 8133  ax-pre-lttrn 8134  ax-pre-apti 8135  ax-pre-ltadd 8136  ax-pre-mulgt0 8137  ax-pre-mulext 8138
This theorem depends on definitions:  df-bi 117  df-3or 1003  df-3an 1004  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ne 2401  df-nel 2496  df-ral 2513  df-rex 2514  df-reu 2515  df-rmo 2516  df-rab 2517  df-v 2802  df-sbc 3030  df-dif 3200  df-un 3202  df-in 3204  df-ss 3211  df-pw 3652  df-sn 3673  df-pr 3674  df-op 3676  df-uni 3890  df-int 3925  df-br 4085  df-opab 4147  df-id 4386  df-po 4389  df-iso 4390  df-xp 4727  df-rel 4728  df-cnv 4729  df-co 4730  df-dm 4731  df-iota 5282  df-fun 5324  df-fv 5330  df-riota 5964  df-ov 6014  df-oprab 6015  df-mpo 6016  df-pnf 8204  df-mnf 8205  df-xr 8206  df-ltxr 8207  df-le 8208  df-sub 8340  df-neg 8341  df-reap 8743  df-ap 8750  df-div 8841  df-inn 9132  df-2 9190  df-n0 9391  df-z 9468  df-dvds 12336
This theorem is referenced by:  nnehalf  12452
  Copyright terms: Public domain W3C validator