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

Theorem znegscl 28400
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 nnno 28332 . . . . . . 7 (𝑛 ∈ ℕs𝑛 No )
21adantr 480 . . . . . 6 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → 𝑛 No )
3 nnno 28332 . . . . . . 7 (𝑚 ∈ ℕs𝑚 No )
43adantl 481 . . . . . 6 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → 𝑚 No )
52, 4negsubsdi2d 28088 . . . . 5 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → ( -us ‘(𝑛 -s 𝑚)) = (𝑚 -s 𝑛))
6 fveqeq2 6851 . . . . 5 (𝐴 = (𝑛 -s 𝑚) → (( -us𝐴) = (𝑚 -s 𝑛) ↔ ( -us ‘(𝑛 -s 𝑚)) = (𝑚 -s 𝑛)))
75, 6syl5ibrcom 247 . . . 4 ((𝑛 ∈ ℕs𝑚 ∈ ℕs) → (𝐴 = (𝑛 -s 𝑚) → ( -us𝐴) = (𝑚 -s 𝑛)))
87reximdva 3151 . . 3 (𝑛 ∈ ℕs → (∃𝑚 ∈ ℕs 𝐴 = (𝑛 -s 𝑚) → ∃𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛)))
98reximia 3073 . 2 (∃𝑛 ∈ ℕs𝑚 ∈ ℕs 𝐴 = (𝑛 -s 𝑚) → ∃𝑛 ∈ ℕs𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
10 elzs 28392 . 2 (𝐴 ∈ ℤs ↔ ∃𝑛 ∈ ℕs𝑚 ∈ ℕs 𝐴 = (𝑛 -s 𝑚))
11 elzs 28392 . . 3 (( -us𝐴) ∈ ℤs ↔ ∃𝑚 ∈ ℕs𝑛 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
12 rexcom 3267 . . 3 (∃𝑚 ∈ ℕs𝑛 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛) ↔ ∃𝑛 ∈ ℕs𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
1311, 12bitri 275 . 2 (( -us𝐴) ∈ ℤs ↔ ∃𝑛 ∈ ℕs𝑚 ∈ ℕs ( -us𝐴) = (𝑚 -s 𝑛))
149, 10, 133imtr4i 292 1 (𝐴 ∈ ℤs → ( -us𝐴) ∈ ℤs)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  wrex 3062  cfv 6500  (class class class)co 7368   No csur 27619   -us cnegs 28027   -s csubs 28028  scnns 28321  sczs 28386
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5226  ax-sep 5243  ax-nul 5253  ax-pow 5312  ax-pr 5379  ax-un 7690
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-rmo 3352  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4288  df-if 4482  df-pw 4558  df-sn 4583  df-pr 4585  df-tp 4587  df-op 4589  df-ot 4591  df-uni 4866  df-int 4905  df-iun 4950  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5527  df-eprel 5532  df-po 5540  df-so 5541  df-fr 5585  df-se 5586  df-we 5587  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-pred 6267  df-ord 6328  df-on 6329  df-lim 6330  df-suc 6331  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-riota 7325  df-ov 7371  df-oprab 7372  df-mpo 7373  df-om 7819  df-1st 7943  df-2nd 7944  df-frecs 8233  df-wrecs 8264  df-recs 8313  df-rdg 8351  df-1o 8407  df-2o 8408  df-nadd 8604  df-no 27622  df-lts 27623  df-bday 27624  df-les 27725  df-slts 27766  df-cuts 27768  df-0s 27815  df-1s 27816  df-made 27835  df-old 27836  df-left 27838  df-right 27839  df-norec 27946  df-norec2 27957  df-adds 27968  df-negs 28029  df-subs 28030  df-n0s 28322  df-nns 28323  df-zs 28387
This theorem is referenced by:  znegscld  28401  zsoring  28417  z12negscl  28486
  Copyright terms: Public domain W3C validator