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

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

Proof of Theorem negsval
Dummy variables 𝑥 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-negs 28547 . . 3 -s = norec ((𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥)))))
21norecov 28473 . 2 (𝐴 ∈ No → ( -s‘𝐴) = (𝐴(𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥))))( -s ↾ ((L‘𝐴) ∪ (R‘𝐴)))))
3 elex 3477 . . 3 (𝐴 ∈ No → 𝐴 ∈ V)
4 negsfn 28549 . . . . . 6 -s Fn No
5 fnfun 6679 . . . . . 6 ( -s Fn No → Fun -s)
64, 5ax-mp 5 . . . . 5 Fun -s
7 fvex 6939 . . . . . 6 (L‘𝐴) ∈ V
8 fvex 6939 . . . . . 6 (R‘𝐴) ∈ V
97, 8unex 7804 . . . . 5 ((L‘𝐴) ∪ (R‘𝐴)) ∈ V
10 resfunexg 7262 . . . . 5 ((Fun -s ∧ ((L‘𝐴) ∪ (R‘𝐴)) ∈ V) → ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) ∈ V)
116, 9, 10mp2an 705 . . . 4 ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) ∈ V
1211a1i 11 . . 3 (𝐴 ∈ No → ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) ∈ V)
13 ovexd 7497 . . 3 (𝐴 ∈ No → ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))) ∈ V)
14 fveq2 6926 . . . . . 6 (𝑥 = 𝐴 → (R‘𝑥) = (R‘𝐴))
1514imaeq2d 6074 . . . . 5 (𝑥 = 𝐴 → (𝑛 “ (R‘𝑥)) = (𝑛 “ (R‘𝐴)))
16 fveq2 6926 . . . . . 6 (𝑥 = 𝐴 → (L‘𝑥) = (L‘𝐴))
1716imaeq2d 6074 . . . . 5 (𝑥 = 𝐴 → (𝑛 “ (L‘𝑥)) = (𝑛 “ (L‘𝐴)))
1815, 17oveq12d 7480 . . . 4 (𝑥 = 𝐴 → ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥))) = ((𝑛 “ (R‘𝐴)) |s (𝑛 “ (L‘𝐴))))
19 imaeq1 6069 . . . . 5 (𝑛 = ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) → (𝑛 “ (R‘𝐴)) = (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)))
20 imaeq1 6069 . . . . 5 (𝑛 = ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) → (𝑛 “ (L‘𝐴)) = (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴)))
2119, 20oveq12d 7480 . . . 4 (𝑛 = ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) → ((𝑛 “ (R‘𝐴)) |s (𝑛 “ (L‘𝐴))) = ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))))
22 eqid 2769 . . . 4 (𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥)))) = (𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥))))
2318, 21, 22ovmpog 7622 . . 3 ((𝐴 ∈ V ∧ ( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) ∈ V ∧ ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))) ∈ V) → (𝐴(𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥))))( -s ↾ ((L‘𝐴) ∪ (R‘𝐴)))) = ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))))
243, 12, 13, 23syl3anc 1401 . 2 (𝐴 ∈ No → (𝐴(𝑥 ∈ V, 𝑛 ∈ V ↦ ((𝑛 “ (R‘𝑥)) |s (𝑛 “ (L‘𝑥))))( -s ↾ ((L‘𝐴) ∪ (R‘𝐴)))) = ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))))
25 ssun2 4182 . . . . 5 (R‘𝐴) ⊆ ((L‘𝐴) ∪ (R‘𝐴))
26 resima2 6079 . . . . 5 ((R‘𝐴) ⊆ ((L‘𝐴) ∪ (R‘𝐴)) → (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) = ( -s “ (R‘𝐴)))
2725, 26ax-mp 5 . . . 4 (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) = ( -s “ (R‘𝐴))
28 ssun1 4181 . . . . 5 (L‘𝐴) ⊆ ((L‘𝐴) ∪ (R‘𝐴))
29 resima2 6079 . . . . 5 ((L‘𝐴) ⊆ ((L‘𝐴) ∪ (R‘𝐴)) → (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴)) = ( -s “ (L‘𝐴)))
3028, 29ax-mp 5 . . . 4 (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴)) = ( -s “ (L‘𝐴))
3127, 30oveq12i 7474 . . 3 ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))) = (( -s “ (R‘𝐴)) |s ( -s “ (L‘𝐴)))
3231a1i 11 . 2 (𝐴 ∈ No → ((( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (R‘𝐴)) |s (( -s ↾ ((L‘𝐴) ∪ (R‘𝐴))) “ (L‘𝐴))) = (( -s “ (R‘𝐴)) |s ( -s “ (L‘𝐴))))
332, 24, 323eqtrd 2808 1 (𝐴 ∈ No → ( -s‘𝐴) = (( -s “ (R‘𝐴)) |s ( -s “ (L‘𝐴))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2151  Vcvv 3456   ⊆ wss 3902   ∪ cun 4154   ↾ cres 5663   “ cima 5664  Fun wfun 6567   Fn wfn 6568  ‘cfv 6573  (class class class)co 7462   ∈ cmpo 7464  Nocsur 28137   |s ccuts 28285  Lcleft 28351  Rcright 28352   -scnegs 28545
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 7794
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 7465  df-oprab 7466  df-mpo 7467  df-2nd 8047  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-1o 8525  df-2o 8526  df-no 28140  df-lts 28141  df-bday 28142  df-slts 28284  df-cuts 28286  df-made 28353  df-old 28354  df-left 28356  df-right 28357  df-norec 28464  df-negs 28547
This theorem is used by:  neg0s  28552  neg1s  28553  negsproplem3  28556  negsid  28567  negsunif  28581  negbdaylem  28582
  Copyright terms: Public domain W3C validator