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

Theorem znegscl 28289
Description: The surreal integers are closed under negation. (Contributed by Scott Fenton, 26-May-2025.)
Assertion
Ref Expression
znegscl (𝐴 ∈ ℤs → ( -us𝐴) ∈ ℤs)

Proof of Theorem znegscl
Dummy variables 𝑛 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nnsno 28246 . . . . . . 7 (𝑛 ∈ ℕs𝑛 No )
21adantr 479 . . . . . 6 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → 𝑛 No )
3 nnsno 28246 . . . . . . 7 (𝑚 ∈ ℕs𝑚 No )
43adantl 480 . . . . . 6 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → 𝑚 No )
52, 4negsubsdi2d 28036 . . . . 5 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → ( -us ‘(𝑛 -s 𝑚)) = (𝑚 -s 𝑛))
6 fveqeq2 6905 . . . . 5 (𝐴 = (𝑛 -s 𝑚) → (( -us𝐴) = (𝑚 -s 𝑛) ↔ ( -us ‘(𝑛 -s 𝑚)) = (𝑚 -s 𝑛)))
75, 6syl5ibrcom 246 . . . 4 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → (𝐴 = (𝑛 -s 𝑚) → ( -us𝐴) = (𝑚 -s 𝑛)))
87reximdva 3157 . . 3 (𝑛 ∈ ℕs → (∃𝑚 ∈ ℕs 𝐴 = (𝑛 -s 𝑚) → ∃𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛)))
98reximia 3070 . 2 (∃𝑛 ∈ ℕs𝑚 ∈ ℕs 𝐴 = (𝑛 -s 𝑚) → ∃𝑛 ∈ ℕs𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
10 elzs 28283 . 2 (𝐴 ∈ ℤs ↔ ∃𝑛 ∈ ℕs𝑚 ∈ ℕs 𝐴 = (𝑛 -s 𝑚))
11 elzs 28283 . . 3 (( -us𝐴) ∈ ℤs ↔ ∃𝑚 ∈ ℕs𝑛 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
12 rexcom 3277 . . 3 (∃𝑚 ∈ ℕs𝑛 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛) ↔ ∃𝑛 ∈ ℕs𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
1311, 12bitri 274 . 2 (( -us𝐴) ∈ ℤs ↔ ∃𝑛 ∈ ℕs𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
149, 10, 133imtr4i 291 1 (𝐴 ∈ ℤs → ( -us𝐴) ∈ ℤs)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394   = wceq 1533  wcel 2098  wrex 3059  cfv 6549  (class class class)co 7419   No csur 27618   -us cnegs 27978   -s csubs 27979  scnns 28236  sczs 28277
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-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5365  ax-pr 5429  ax-un 7741
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-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-pss 3964  df-nul 4323  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-tp 4635  df-op 4637  df-ot 4639  df-uni 4910  df-int 4951  df-iun 4999  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5576  df-eprel 5582  df-po 5590  df-so 5591  df-fr 5633  df-se 5634  df-we 5635  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-pred 6307  df-ord 6374  df-on 6375  df-lim 6376  df-suc 6377  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-om 7872  df-1st 7994  df-2nd 7995  df-frecs 8287  df-wrecs 8318  df-recs 8392  df-rdg 8431  df-1o 8487  df-2o 8488  df-nadd 8687  df-no 27621  df-slt 27622  df-bday 27623  df-sle 27724  df-sslt 27760  df-scut 27762  df-0s 27803  df-1s 27804  df-made 27820  df-old 27821  df-left 27823  df-right 27824  df-norec 27901  df-norec2 27912  df-adds 27923  df-negs 27980  df-subs 27981  df-n0s 28237  df-nns 28238  df-zs 28278
This theorem is referenced by:  znegscld  28290
  Copyright terms: Public domain W3C validator