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

Theorem subsfo 28433
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 28432 . 2 -s :( No × No )⟶ No
2 0no 28177 . . . . 5 0s ∈ No
3 opelxpi 5688 . . . . 5 ((𝑥 ∈ No ∧ 0s ∈ No ) → ⟨𝑥, 0s ⟩ ∈ ( No × No ))
42, 3mpan2 704 . . . 4 (𝑥 ∈ No → ⟨𝑥, 0s ⟩ ∈ ( No × No ))
5 subsval 28428 . . . . . 6 ((𝑥 ∈ No ∧ 0s ∈ No ) → (𝑥 -s 0s ) = (𝑥 +s ( -us ‘ 0s )))
62, 5mpan2 704 . . . . 5 (𝑥 ∈ No → (𝑥 -s 0s ) = (𝑥 +s ( -us ‘ 0s )))
7 neg0s 28394 . . . . . . 7 ( -us ‘ 0s ) = 0s
87oveq2i 7423 . . . . . 6 (𝑥 +s ( -us ‘ 0s )) = (𝑥 +s 0s )
9 addsrid 28332 . . . . . 6 (𝑥 ∈ No → (𝑥 +s 0s ) = 𝑥)
108, 9eqtrid 2808 . . . . 5 (𝑥 ∈ No → (𝑥 +s ( -us ‘ 0s )) = 𝑥)
116, 10eqtr2d 2797 . . . 4 (𝑥 ∈ No → 𝑥 = (𝑥 -s 0s ))
12 fveq2 6877 . . . . . 6 (𝑦 = ⟨𝑥, 0s ⟩ → ( -s ‘𝑦) = ( -s ‘⟨𝑥, 0s ⟩))
13 df-ov 7415 . . . . . 6 (𝑥 -s 0s ) = ( -s ‘⟨𝑥, 0s ⟩)
1412, 13eqtr4di 2814 . . . . 5 (𝑦 = ⟨𝑥, 0s ⟩ → ( -s ‘𝑦) = (𝑥 -s 0s ))
1514rspceeqv 3599 . . . 4 ((⟨𝑥, 0s ⟩ ∈ ( No × No ) ∧ 𝑥 = (𝑥 -s 0s )) → ∃𝑦 ∈ ( No × No )𝑥 = ( -s ‘𝑦))
164, 11, 15syl2anc 596 . . 3 (𝑥 ∈ No → ∃𝑦 ∈ ( No × No )𝑥 = ( -s ‘𝑦))
1716rgen 3079 . 2 ∀𝑥 ∈ No ∃𝑦 ∈ ( No × No )𝑥 = ( -s ‘𝑦)
18 dffo3 7094 . 2 ( -s :( No × No )–onto→ No ↔ ( -s :( No × No )⟶ No ∧ ∀𝑥 ∈ No ∃𝑦 ∈ ( No × No )𝑥 = ( -s ‘𝑦)))
191, 17, 18mpbir2an 724 1 -s :( No × No )–onto→ No
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  ⟨cop 4590   × cxp 5649  ⟶wf 6527  –onto→wfo 6529  ‘cfv 6531  (class class class)co 7412   No csur 27979   0s c0s 28173   +s cadds 28327   -us cnegs 28387   -s csubs 28388
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-1o 8460  df-2o 8461  df-nadd 8659  df-no 27982  df-lts 27983  df-bday 27984  df-slts 28126  df-cuts 28128  df-0s 28175  df-made 28195  df-old 28196  df-left 28198  df-right 28199  df-norec 28306  df-norec2 28317  df-adds 28328  df-negs 28389  df-subs 28390
This theorem is used by:  zssno  28749
  Copyright terms: Public domain W3C validator