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

Theorem subsfo 28527
Description: Surreal subtraction is an onto function. (Contributed by Scott Fenton, 17-May-2025.)
Assertion
Ref Expression
subsfo −s :(No × No)⟶ontoNo

Proof of Theorem subsfo
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 subsf 28526 . 2 −s :(No × No)⟶No
2 0no 28271 . . . . 5 0s ∈ No
3 opelxpi 5698 . . . . 5 ((𝑥 ∈ No ∧ 0s ∈ No) → ⟨𝑥, 0s ⟩ ∈ (No × No))
42, 3mpan2 704 . . . 4 (𝑥 ∈ No → ⟨𝑥, 0s ⟩ ∈ (No × No))
5 subsval 28522 . . . . . 6 ((𝑥 ∈ No ∧ 0s ∈ No) → (𝑥 −s 0s ) = (𝑥 +s ( -s‘ 0s )))
62, 5mpan2 704 . . . . 5 (𝑥 ∈ No → (𝑥 −s 0s ) = (𝑥 +s ( -s‘ 0s )))
7 neg0s 28488 . . . . . . 7 ( -s‘ 0s ) = 0s
87oveq2i 7472 . . . . . 6 (𝑥 +s ( -s‘ 0s )) = (𝑥 +s 0s )
9 addsrid 28426 . . . . . 6 (𝑥 ∈ No → (𝑥 +s 0s ) = 𝑥)
108, 9eqtrid 2816 . . . . 5 (𝑥 ∈ No → (𝑥 +s ( -s‘ 0s )) = 𝑥)
116, 10eqtr2d 2805 . . . 4 (𝑥 ∈ No → 𝑥 = (𝑥 −s 0s ))
12 fveq2 6926 . . . . . 6 (𝑦 = ⟨𝑥, 0s ⟩ → ( −s ‘𝑦) = ( −s ‘⟨𝑥, 0s ⟩))
13 df-ov 7464 . . . . . 6 (𝑥 −s 0s ) = ( −s ‘⟨𝑥, 0s ⟩)
1412, 13eqtr4di 2822 . . . . 5 (𝑦 = ⟨𝑥, 0s ⟩ → ( −s ‘𝑦) = (𝑥 −s 0s ))
1514rspceeqv 3604 . . . 4 ((⟨𝑥, 0s ⟩ ∈ (No × No) ∧ 𝑥 = (𝑥 −s 0s )) → ∃𝑦 ∈ (No × No)𝑥 = ( −s ‘𝑦))
164, 11, 15syl2anc 596 . . 3 (𝑥 ∈ No → ∃𝑦 ∈ (No × No)𝑥 = ( −s ‘𝑦))
1716rgen 3088 . 2 ∀𝑥 ∈ No ∃𝑦 ∈ (No × No)𝑥 = ( −s ‘𝑦)
18 dffo3 7144 . 2 ( −s :(No × No)⟶ontoNo ↔ ( −s :(No × No)⟶No ∧ ∀𝑥 ∈ No ∃𝑦 ∈ (No × No)𝑥 = ( −s ‘𝑦)))
191, 17, 18mpbir2an 724 1 −s :(No × No)⟶ontoNo
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096  ⟨cop 4843   × cxp 5659  ⟶wf 6569  ⟶ontowfo 6571  ‘cfv 6573  (class class class)co 7461  Nocsur 28073   0s c0s 28267   +s cadds 28421   -scnegs 28481   −s csubs 28482
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-tp 4595  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-se 5615  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7464  df-oprab 7465  df-mpo 7466  df-1st 8045  df-2nd 8046  df-frecs 8347  df-wrecs 8378  df-recs 8427  df-1o 8524  df-2o 8525  df-nadd 8723  df-no 28076  df-lts 28077  df-bday 28078  df-slts 28220  df-cuts 28222  df-0s 28269  df-made 28289  df-old 28290  df-left 28292  df-right 28293  df-norec 28400  df-norec2 28411  df-adds 28422  df-negs 28483  df-subs 28484
This theorem is used by:  zssno  28843
  Copyright terms: Public domain W3C validator