MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  eln0zs Structured version   Visualization version   GIF version

Theorem eln0zs 28295
Description: Non-negative surreal integer property expressed in terms of integers. (Contributed by Scott Fenton, 25-Jul-2025.)
Assertion
Ref Expression
eln0zs (𝑁 ∈ ℕ0s ↔ (𝑁 ∈ ℤs ∧ 0s ≤s 𝑁))

Proof of Theorem eln0zs
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 n0zs 28284 . . 3 (𝑁 ∈ ℕ0s𝑁 ∈ ℤs)
2 n0sge0 28237 . . 3 (𝑁 ∈ ℕ0s → 0s ≤s 𝑁)
31, 2jca 511 . 2 (𝑁 ∈ ℕ0s → (𝑁 ∈ ℤs ∧ 0s ≤s 𝑁))
4 elzs 28279 . . . 4 (𝑁 ∈ ℤs ↔ ∃𝑥 ∈ ℕs𝑦 ∈ ℕs 𝑁 = (𝑥 -s 𝑦))
5 nnsno 28224 . . . . . . . . . 10 (𝑥 ∈ ℕs𝑥 No )
65adantr 480 . . . . . . . . 9 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → 𝑥 No )
7 nnsno 28224 . . . . . . . . . 10 (𝑦 ∈ ℕs𝑦 No )
87adantl 481 . . . . . . . . 9 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → 𝑦 No )
96, 8subsge0d 28010 . . . . . . . 8 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → ( 0s ≤s (𝑥 -s 𝑦) ↔ 𝑦 ≤s 𝑥))
10 nnn0s 28227 . . . . . . . . 9 (𝑦 ∈ ℕs𝑦 ∈ ℕ0s)
11 nnn0s 28227 . . . . . . . . 9 (𝑥 ∈ ℕs𝑥 ∈ ℕ0s)
12 n0subs 28260 . . . . . . . . 9 ((𝑦 ∈ ℕ0s𝑥 ∈ ℕ0s) → (𝑦 ≤s 𝑥 ↔ (𝑥 -s 𝑦) ∈ ℕ0s))
1310, 11, 12syl2anr 597 . . . . . . . 8 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → (𝑦 ≤s 𝑥 ↔ (𝑥 -s 𝑦) ∈ ℕ0s))
149, 13bitrd 279 . . . . . . 7 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → ( 0s ≤s (𝑥 -s 𝑦) ↔ (𝑥 -s 𝑦) ∈ ℕ0s))
1514biimpd 229 . . . . . 6 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → ( 0s ≤s (𝑥 -s 𝑦) → (𝑥 -s 𝑦) ∈ ℕ0s))
16 breq2 5114 . . . . . . 7 (𝑁 = (𝑥 -s 𝑦) → ( 0s ≤s 𝑁 ↔ 0s ≤s (𝑥 -s 𝑦)))
17 eleq1 2817 . . . . . . 7 (𝑁 = (𝑥 -s 𝑦) → (𝑁 ∈ ℕ0s ↔ (𝑥 -s 𝑦) ∈ ℕ0s))
1816, 17imbi12d 344 . . . . . 6 (𝑁 = (𝑥 -s 𝑦) → (( 0s ≤s 𝑁𝑁 ∈ ℕ0s) ↔ ( 0s ≤s (𝑥 -s 𝑦) → (𝑥 -s 𝑦) ∈ ℕ0s)))
1915, 18syl5ibrcom 247 . . . . 5 ((𝑥 ∈ ℕs𝑦 ∈ ℕs) → (𝑁 = (𝑥 -s 𝑦) → ( 0s ≤s 𝑁𝑁 ∈ ℕ0s)))
2019rexlimivv 3180 . . . 4 (∃𝑥 ∈ ℕs𝑦 ∈ ℕs 𝑁 = (𝑥 -s 𝑦) → ( 0s ≤s 𝑁𝑁 ∈ ℕ0s))
214, 20sylbi 217 . . 3 (𝑁 ∈ ℤs → ( 0s ≤s 𝑁𝑁 ∈ ℕ0s))
2221imp 406 . 2 ((𝑁 ∈ ℤs ∧ 0s ≤s 𝑁) → 𝑁 ∈ ℕ0s)
233, 22impbii 209 1 (𝑁 ∈ ℕ0s ↔ (𝑁 ∈ ℤs ∧ 0s ≤s 𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wcel 2109  wrex 3054   class class class wbr 5110  (class class class)co 7390   No csur 27558   ≤s csle 27663   0s c0s 27741   -s csubs 27933  0scnn0s 28213  scnns 28214  sczs 28273
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-rep 5237  ax-sep 5254  ax-nul 5264  ax-pow 5323  ax-pr 5390  ax-un 7714
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-rmo 3356  df-reu 3357  df-rab 3409  df-v 3452  df-sbc 3757  df-csb 3866  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-pss 3937  df-nul 4300  df-if 4492  df-pw 4568  df-sn 4593  df-pr 4595  df-tp 4597  df-op 4599  df-ot 4601  df-uni 4875  df-int 4914  df-iun 4960  df-br 5111  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5536  df-eprel 5541  df-po 5549  df-so 5550  df-fr 5594  df-se 5595  df-we 5596  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-rn 5652  df-res 5653  df-ima 5654  df-pred 6277  df-ord 6338  df-on 6339  df-lim 6340  df-suc 6341  df-iota 6467  df-fun 6516  df-fn 6517  df-f 6518  df-f1 6519  df-fo 6520  df-f1o 6521  df-fv 6522  df-riota 7347  df-ov 7393  df-oprab 7394  df-mpo 7395  df-om 7846  df-1st 7971  df-2nd 7972  df-frecs 8263  df-wrecs 8294  df-recs 8343  df-rdg 8381  df-1o 8437  df-2o 8438  df-nadd 8633  df-no 27561  df-slt 27562  df-bday 27563  df-sle 27664  df-sslt 27700  df-scut 27702  df-0s 27743  df-1s 27744  df-made 27762  df-old 27763  df-left 27765  df-right 27766  df-norec 27852  df-norec2 27863  df-adds 27874  df-negs 27934  df-subs 27935  df-n0s 28215  df-nns 28216  df-zs 28274
This theorem is referenced by:  zn0subs  28298  peano5uzs  28299  zs12ge0  28349
  Copyright terms: Public domain W3C validator