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

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

Proof of Theorem subsfo
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 subsf 28134 . 2 -s :( No × No )⟶ No
2 0no 27879 . . . . 5 0s No
3 opelxpi 5682 . . . . 5 ((𝑥 No ∧ 0s No ) → ⟨𝑥, 0s ⟩ ∈ ( No × No ))
42, 3mpan2 701 . . . 4 (𝑥 No → ⟨𝑥, 0s ⟩ ∈ ( No × No ))
5 subsval 28130 . . . . . 6 ((𝑥 No ∧ 0s No ) → (𝑥 -s 0s ) = (𝑥 +s ( -us ‘ 0s )))
62, 5mpan2 701 . . . . 5 (𝑥 No → (𝑥 -s 0s ) = (𝑥 +s ( -us ‘ 0s )))
7 neg0s 28096 . . . . . . 7 ( -us ‘ 0s ) = 0s
87oveq2i 7403 . . . . . 6 (𝑥 +s ( -us ‘ 0s )) = (𝑥 +s 0s )
9 addsrid 28034 . . . . . 6 (𝑥 No → (𝑥 +s 0s ) = 𝑥)
108, 9eqtrid 2808 . . . . 5 (𝑥 No → (𝑥 +s ( -us ‘ 0s )) = 𝑥)
116, 10eqtr2d 2797 . . . 4 (𝑥 No 𝑥 = (𝑥 -s 0s ))
12 fveq2 6863 . . . . . 6 (𝑦 = ⟨𝑥, 0s ⟩ → ( -s𝑦) = ( -s ‘⟨𝑥, 0s ⟩))
13 df-ov 7395 . . . . . 6 (𝑥 -s 0s ) = ( -s ‘⟨𝑥, 0s ⟩)
1412, 13eqtr4di 2814 . . . . 5 (𝑦 = ⟨𝑥, 0s ⟩ → ( -s𝑦) = (𝑥 -s 0s ))
1514rspceeqv 3604 . . . 4 ((⟨𝑥, 0s ⟩ ∈ ( No × No ) ∧ 𝑥 = (𝑥 -s 0s )) → ∃𝑦 ∈ ( No × No )𝑥 = ( -s𝑦))
164, 11, 15syl2anc 593 . . 3 (𝑥 No → ∃𝑦 ∈ ( No × No )𝑥 = ( -s𝑦))
1716rgen 3077 . 2 𝑥 No 𝑦 ∈ ( No × No )𝑥 = ( -s𝑦)
18 dffo3 7079 . 2 ( -s :( No × No )–onto No ↔ ( -s :( No × No )⟶ No ∧ ∀𝑥 No 𝑦 ∈ ( No × No )𝑥 = ( -s𝑦)))
191, 17, 18mpbir2an 721 1 -s :( No × No )–onto No
Colors of variables: wff setvar class
Syntax hints:   = wceq 1559  wcel 2141  wral 3075  wrex 3085  cop 4587   × cxp 5643  wf 6513  ontowfo 6515  cfv 6517  (class class class)co 7392   No csur 27681   0s c0s 27875   +s cadds 28029   -us cnegs 28089   -s csubs 28090
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5226  ax-sep 5245  ax-nul 5255  ax-pow 5321  ax-pr 5389  ax-un 7714
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3076  df-rex 3086  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4582  df-pr 4584  df-tp 4586  df-op 4588  df-uni 4865  df-int 4905  df-iun 4950  df-br 5100  df-opab 5162  df-mpt 5181  df-tr 5207  df-id 5540  df-eprel 5545  df-po 5553  df-so 5554  df-fr 5598  df-se 5599  df-we 5600  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-rn 5656  df-res 5657  df-ima 5658  df-pred 6284  df-ord 6345  df-on 6346  df-suc 6348  df-iota 6473  df-fun 6519  df-fn 6520  df-f 6521  df-f1 6522  df-fo 6523  df-f1o 6524  df-fv 6525  df-riota 7349  df-ov 7395  df-oprab 7396  df-mpo 7397  df-1st 7966  df-2nd 7967  df-frecs 8257  df-wrecs 8288  df-recs 8337  df-1o 8432  df-2o 8433  df-nadd 8631  df-no 27684  df-lts 27685  df-bday 27686  df-slts 27828  df-cuts 27830  df-0s 27877  df-made 27897  df-old 27898  df-left 27900  df-right 27901  df-norec 28008  df-norec2 28019  df-adds 28030  df-negs 28091  df-subs 28092
This theorem is referenced by:  zssno  28451
  Copyright terms: Public domain W3C validator