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

Theorem negsval 27739
Description: The value of the surreal negation function. (Contributed by Scott Fenton, 20-Aug-2024.)
Assertion
Ref Expression
negsval (𝐴 No → ( -us𝐴) = (( -us “ ( R ‘𝐴)) |s ( -us “ ( L ‘𝐴))))

Proof of Theorem negsval
Dummy variables 𝑥 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-negs 27735 . . 3 -us = norec ((𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥)))))
21norecov 27669 . 2 (𝐴 No → ( -us𝐴) = (𝐴(𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥))))( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴)))))
3 elex 3491 . . 3 (𝐴 No 𝐴 ∈ V)
4 negsfn 27737 . . . . . 6 -us Fn No
5 fnfun 6648 . . . . . 6 ( -us Fn No → Fun -us )
64, 5ax-mp 5 . . . . 5 Fun -us
7 fvex 6903 . . . . . 6 ( L ‘𝐴) ∈ V
8 fvex 6903 . . . . . 6 ( R ‘𝐴) ∈ V
97, 8unex 7735 . . . . 5 (( L ‘𝐴) ∪ ( R ‘𝐴)) ∈ V
10 resfunexg 7218 . . . . 5 ((Fun -us ∧ (( L ‘𝐴) ∪ ( R ‘𝐴)) ∈ V) → ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) ∈ V)
116, 9, 10mp2an 688 . . . 4 ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) ∈ V
1211a1i 11 . . 3 (𝐴 No → ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) ∈ V)
13 ovexd 7446 . . 3 (𝐴 No → ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))) ∈ V)
14 fveq2 6890 . . . . . 6 (𝑥 = 𝐴 → ( R ‘𝑥) = ( R ‘𝐴))
1514imaeq2d 6058 . . . . 5 (𝑥 = 𝐴 → (𝑛 “ ( R ‘𝑥)) = (𝑛 “ ( R ‘𝐴)))
16 fveq2 6890 . . . . . 6 (𝑥 = 𝐴 → ( L ‘𝑥) = ( L ‘𝐴))
1716imaeq2d 6058 . . . . 5 (𝑥 = 𝐴 → (𝑛 “ ( L ‘𝑥)) = (𝑛 “ ( L ‘𝐴)))
1815, 17oveq12d 7429 . . . 4 (𝑥 = 𝐴 → ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥))) = ((𝑛 “ ( R ‘𝐴)) |s (𝑛 “ ( L ‘𝐴))))
19 imaeq1 6053 . . . . 5 (𝑛 = ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) → (𝑛 “ ( R ‘𝐴)) = (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)))
20 imaeq1 6053 . . . . 5 (𝑛 = ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) → (𝑛 “ ( L ‘𝐴)) = (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴)))
2119, 20oveq12d 7429 . . . 4 (𝑛 = ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) → ((𝑛 “ ( R ‘𝐴)) |s (𝑛 “ ( L ‘𝐴))) = ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))))
22 eqid 2730 . . . 4 (𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥)))) = (𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥))))
2318, 21, 22ovmpog 7569 . . 3 ((𝐴 ∈ V ∧ ( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) ∈ V ∧ ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))) ∈ V) → (𝐴(𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥))))( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴)))) = ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))))
243, 12, 13, 23syl3anc 1369 . 2 (𝐴 No → (𝐴(𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ ( R ‘𝑥)) |s (𝑛 “ ( L ‘𝑥))))( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴)))) = ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))))
25 ssun2 4172 . . . . 5 ( R ‘𝐴) ⊆ (( L ‘𝐴) ∪ ( R ‘𝐴))
26 resima2 6015 . . . . 5 (( R ‘𝐴) ⊆ (( L ‘𝐴) ∪ ( R ‘𝐴)) → (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) = ( -us “ ( R ‘𝐴)))
2725, 26ax-mp 5 . . . 4 (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) = ( -us “ ( R ‘𝐴))
28 ssun1 4171 . . . . 5 ( L ‘𝐴) ⊆ (( L ‘𝐴) ∪ ( R ‘𝐴))
29 resima2 6015 . . . . 5 (( L ‘𝐴) ⊆ (( L ‘𝐴) ∪ ( R ‘𝐴)) → (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴)) = ( -us “ ( L ‘𝐴)))
3028, 29ax-mp 5 . . . 4 (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴)) = ( -us “ ( L ‘𝐴))
3127, 30oveq12i 7423 . . 3 ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))) = (( -us “ ( R ‘𝐴)) |s ( -us “ ( L ‘𝐴)))
3231a1i 11 . 2 (𝐴 No → ((( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( R ‘𝐴)) |s (( -us ↾ (( L ‘𝐴) ∪ ( R ‘𝐴))) “ ( L ‘𝐴))) = (( -us “ ( R ‘𝐴)) |s ( -us “ ( L ‘𝐴))))
332, 24, 323eqtrd 2774 1 (𝐴 No → ( -us𝐴) = (( -us “ ( R ‘𝐴)) |s ( -us “ ( L ‘𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2104  Vcvv 3472  cun 3945  wss 3947  cres 5677  cima 5678  Fun wfun 6536   Fn wfn 6537  cfv 6542  (class class class)co 7411  cmpo 7413   No csur 27379   |s cscut 27520   L cleft 27577   R cright 27578   -us cnegs 27733
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2701  ax-rep 5284  ax-sep 5298  ax-nul 5305  ax-pow 5362  ax-pr 5426  ax-un 7727
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2532  df-eu 2561  df-clab 2708  df-cleq 2722  df-clel 2808  df-nfc 2883  df-ne 2939  df-ral 3060  df-rex 3069  df-rmo 3374  df-reu 3375  df-rab 3431  df-v 3474  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3966  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-tp 4632  df-op 4634  df-uni 4908  df-int 4950  df-iun 4998  df-br 5148  df-opab 5210  df-mpt 5231  df-tr 5265  df-id 5573  df-eprel 5579  df-po 5587  df-so 5588  df-fr 5630  df-se 5631  df-we 5632  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-pred 6299  df-ord 6366  df-on 6367  df-suc 6369  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-riota 7367  df-ov 7414  df-oprab 7415  df-mpo 7416  df-2nd 7978  df-frecs 8268  df-wrecs 8299  df-recs 8373  df-1o 8468  df-2o 8469  df-no 27382  df-slt 27383  df-bday 27384  df-sslt 27519  df-scut 27521  df-made 27579  df-old 27580  df-left 27582  df-right 27583  df-norec 27660  df-negs 27735
This theorem is referenced by:  negs0s  27740  negsproplem3  27743  negsid  27754  negsunif  27768  negsbdaylem  27769
  Copyright terms: Public domain W3C validator